Class ContactGroup

java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.ContactGroup
All Implemented Interfaces:
PrideObject, Serializable

public class ContactGroup
extends ExperimentObject
implements PrideObject
An object for storing ContactGroup details.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ContactGroup

      public ContactGroup()
      Empty default constructor
    • ContactGroup

      public ContactGroup​(ArrayList<Contact> contacts, String groupName)
      Create a new ContactGroup object.
      Parameters:
      contacts - the list of contacts
      groupName - the contact group name
  • Method Details

    • getContacts

      public ArrayList<Contact> getContacts()
      Returns the contacts.
      Returns:
      the name
    • setContacts

      public void setContacts​(ArrayList<Contact> contacts)
      Set the contacts.
      Parameters:
      contacts - the contacts
    • getName

      public String getName()
      Returns the contact group name.
      Returns:
      the group name
    • setName

      public void setName​(String groupName)
      Set the contact group name.
      Parameters:
      groupName - the group name to set
    • getFileName

      public String getFileName()
      Description copied from interface: PrideObject
      Returns the name to use when serializing the object.
      Specified by:
      getFileName in interface PrideObject
      Returns:
      the name to use when serializing the object