public class Instrument extends Object implements PrideObject, Serializable
| Constructor and Description |
|---|
Instrument(String name,
CvTerm source,
CvTerm detector,
ArrayList<CvTerm> cvTerms)
Create a new Instrument object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getName()
public void setName(String name)
name - the name to setpublic 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()
PrideObjectgetFileName in interface PrideObjectCopyright © 2014. All rights reserved.