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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ContactGroup()
Empty default constructorContactGroup(ArrayList<Contact> contacts, String groupName)
Create a new ContactGroup object. -
Method Summary
Modifier and Type Method Description ArrayList<Contact>
getContacts()
Returns the contacts.String
getFileName()
Returns the name to use when serializing the object.String
getName()
Returns the contact group name.void
setContacts(ArrayList<Contact> contacts)
Set the contacts.void
setName(String groupName)
Set the contact group name.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
ContactGroup
public ContactGroup()Empty default constructor -
ContactGroup
Create a new ContactGroup object.- Parameters:
contacts
- the list of contactsgroupName
- the contact group name
-
-
Method Details
-
getContacts
Returns the contacts.- Returns:
- the name
-
setContacts
Set the contacts.- Parameters:
contacts
- the contacts
-
getName
Returns the contact group name.- Returns:
- the group name
-
setName
Set the contact group name.- Parameters:
groupName
- the group name to set
-
getFileName
Description copied from interface:PrideObject
Returns the name to use when serializing the object.- Specified by:
getFileName
in interfacePrideObject
- Returns:
- the name to use when serializing the object
-