|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.pride.prideobjects.Sample
public class Sample
An object for storing Sample details.
Constructor Summary | |
---|---|
Sample(String name,
ArrayList<CvTerm> cvTerms)
Create a new Sample object. |
Method Summary | |
---|---|
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sample(String name, ArrayList<CvTerm> cvTerms)
name
- cvTerms
- Method Detail |
---|
public String getName()
public void setName(String name)
name
- the name to setpublic ArrayList<CvTerm> getCvTerms()
public void setCvTerms(ArrayList<CvTerm> cvTerms)
cvTerms
- the cvTerms to setpublic static ArrayList<Sample> getDefaultSamples()
public String getFileName()
PrideObject
getFileName
in interface PrideObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |