Class ReferenceGroup
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.ReferenceGroup
- All Implemented Interfaces:
PrideObject
,Serializable
public class ReferenceGroup extends ExperimentObject implements PrideObject
An object for storing ReferenceGroup details.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ReferenceGroup()
Empty default constructorReferenceGroup(ArrayList<Reference> references, String groupName)
Create a new ReferenceGroup object. -
Method Summary
Modifier and Type Method Description static ArrayList<ReferenceGroup>
getDefaultReferences()
Returns the default references.String
getFileName()
Returns the name to use when serializing the object.String
getName()
Returns the references group name.ArrayList<Reference>
getReferences()
Returns the references.void
setName(String groupName)
Set the references group name.void
setReferences(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:PrideObject
Returns the name to use when serializing the object.- Specified by:
getFileName
in interfacePrideObject
- Returns:
- the name to use when serializing the object
-