Class ReferenceGroup
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.ReferenceGroup
- All Implemented Interfaces:
PrideObject,Serializable
An object for storing ReferenceGroup details.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorReferenceGroup(ArrayList<Reference> references, String groupName) Create a new ReferenceGroup object. -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrayList<ReferenceGroup> Returns the default references.Returns the name to use when serializing the object.getName()Returns the references group name.Returns the references.voidSet the references group name.voidsetReferences(ArrayList<Reference> references) Set the references.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
ReferenceGroup
public ReferenceGroup()Empty default constructor -
ReferenceGroup
Create a new ReferenceGroup object.- Parameters:
references- the list of referencesgroupName- the reference group name
-
-
Method Details
-
getReferences
Returns the references.- Returns:
- the name
-
setReferences
Set the references.- Parameters:
references- the references
-
getName
Returns the references group name.- Returns:
- the group name
-
setName
Set the references group name.- Parameters:
groupName- the group name to set
-
getDefaultReferences
Returns the default references.- Returns:
- the default references
-
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
-