|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.pride.prideobjects.Instrument
public class Instrument
An object for storing Instrument details.
Constructor Summary | |
---|---|
Instrument(String name,
CvTerm source,
CvTerm detector,
ArrayList<CvTerm> cvTerms)
Create a new Instrument object. |
Method Summary | |
---|---|
ArrayList<CvTerm> |
getCvTerms()
Returns the CV terms. |
static ArrayList<Instrument> |
getDefaultInstruments()
Returns a list of predefined instruments. |
CvTerm |
getDetector()
Returns the instrument detector. |
String |
getFileName()
Returns the name to use when serializing the object. |
String |
getName()
Returns the instrument name. |
CvTerm |
getSource()
Returns the instrument source. |
void |
setCvTerms(ArrayList<CvTerm> cvTerms)
Set the CV terms. |
void |
setDetector(CvTerm detector)
Set the instrument detector. |
void |
setName(String name)
Set the instrument name. |
void |
setSource(CvTerm source)
Set the instrument source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Instrument(String name, CvTerm source, CvTerm detector, ArrayList<CvTerm> cvTerms)
name
- source
- detector
- 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 CvTerm getSource()
public void setSource(CvTerm source)
source
- the source to setpublic CvTerm getDetector()
public void setDetector(CvTerm detector)
detector
- the detector to setpublic static ArrayList<Instrument> getDefaultInstruments()
public String getFileName()
PrideObject
getFileName
in interface PrideObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |