public class Sample extends ExperimentObject implements PrideObject
NO_KEY
Constructor and Description |
---|
Sample()
Empty default constructor
|
Sample(String name,
ArrayList<CvTerm> cvTerms)
Create a new Sample object.
|
Modifier and Type | Method and 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.
|
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
public String getName()
public void setName(String name)
name
- the name to setpublic void setCvTerms(ArrayList<CvTerm> cvTerms)
cvTerms
- the cvTerms to setpublic static ArrayList<Sample> getDefaultSamples()
public String getFileName()
PrideObject
getFileName
in interface PrideObject
Copyright © 2021. All rights reserved.