public class Sample extends Object implements PrideObject, Serializable
Constructor and Description |
---|
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.
|
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 © 2016. All rights reserved.