public class Instrument extends java.lang.Object implements PrideObject, java.io.Serializable
| Constructor and Description |
|---|
Instrument(java.lang.String name,
CvTerm source,
CvTerm detector,
java.util.ArrayList<CvTerm> cvTerms)
Create a new Instrument object.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<CvTerm> |
getCvTerms()
Returns the CV terms.
|
static java.util.ArrayList<Instrument> |
getDefaultInstruments()
Returns a list of predefined instruments.
|
CvTerm |
getDetector()
Returns the instrument detector.
|
java.lang.String |
getFileName()
Returns the name to use when serializing the object.
|
java.lang.String |
getName()
Returns the instrument name.
|
CvTerm |
getSource()
Returns the instrument source.
|
void |
setCvTerms(java.util.ArrayList<CvTerm> cvTerms)
Set the CV terms.
|
void |
setDetector(CvTerm detector)
Set the instrument detector.
|
void |
setName(java.lang.String name)
Set the instrument name.
|
void |
setSource(CvTerm source)
Set the instrument source.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic java.util.ArrayList<CvTerm> getCvTerms()
public void setCvTerms(java.util.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 java.util.ArrayList<Instrument> getDefaultInstruments()
public java.lang.String getFileName()
PrideObjectgetFileName in interface PrideObjectCopyright © 2014. All Rights Reserved.