Class ContactGroup
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.ContactGroup
- All Implemented Interfaces:
PrideObject,Serializable
An object for storing ContactGroup details.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorContactGroup(ArrayList<Contact> contacts, String groupName) Create a new ContactGroup object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the contacts.Returns the name to use when serializing the object.getName()Returns the contact group name.voidsetContacts(ArrayList<Contact> contacts) Set the contacts.voidSet 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:PrideObjectReturns the name to use when serializing the object.- Specified by:
getFileNamein interfacePrideObject- Returns:
- the name to use when serializing the object
-