gov.nih.nci.caarray.external.v1_0.vocabulary
Class Term
java.lang.Object
gov.nih.nci.caarray.external.v1_0.AbstractCaArrayEntity
gov.nih.nci.caarray.external.v1_0.vocabulary.Term
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Organism
public class Term
- extends AbstractCaArrayEntity
A Term represents a value from a controlled vocabulary / ontology.
- Author:
- dkokotov
- See Also:
- Serialized Form
Constructor Summary |
Term()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Term
public Term()
getAccession
public java.lang.String getAccession()
- Returns:
- the accession for this term. The accession is a vocabulary-specific code that uniquely identifies the
term within the vocabulary.
setAccession
public void setAccession(java.lang.String accession)
- Parameters:
accession
- the accession to set
getUrl
public java.lang.String getUrl()
- Returns:
- the url for this term.
setUrl
public void setUrl(java.lang.String url)
- Parameters:
url
- the url to set
getTermSource
public TermSource getTermSource()
- Returns:
- the TermSource representing the vocabulary to which this Term belongs
setTermSource
public void setTermSource(TermSource termSource)
- Parameters:
termSource
- the termSource to set
getValue
public java.lang.String getValue()
- Returns:
- the value for this term
setValue
public void setValue(java.lang.String value)
- Parameters:
value
- the value to set