Class Sample
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.Sample
- All Implemented Interfaces:
PrideObject
,Serializable
public class Sample extends ExperimentObject implements PrideObject
An object for storing Sample details.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ArrayList<CvTerm>
getCvTerms()
Returns the CV terms.static ArrayList<Sample>
getDefaultSamples()
Returns a list of default samples.String
getFileName()
Returns the name to use when serializing the object.String
getName()
Returns the name of the sample.void
setCvTerms(ArrayList<CvTerm> cvTerms)
Set the CV terms.void
setName(String name)
Set the name of the sample.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
Method Details
-
getName
Returns the name of the sample.- Returns:
- the name
-
setName
Set the name of the sample.- Parameters:
name
- the name to set
-
getCvTerms
Returns the CV terms.- Returns:
- the cvTerms
-
setCvTerms
Set the CV terms.- Parameters:
cvTerms
- the cvTerms to set
-
getDefaultSamples
Returns a list of default samples.- Returns:
- a list of default samples
-
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
-