gov.nih.nci.caarray.external.v1_0.vocabulary
Class Term

java.lang.Object
  extended by gov.nih.nci.caarray.external.v1_0.AbstractCaArrayEntity
      extended by 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()
           
 
Method Summary
 java.lang.String getAccession()
           
 TermSource getTermSource()
           
 java.lang.String getUrl()
           
 java.lang.String getValue()
           
 void setAccession(java.lang.String accession)
           
 void setTermSource(TermSource termSource)
           
 void setUrl(java.lang.String url)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class gov.nih.nci.caarray.external.v1_0.AbstractCaArrayEntity
equals, getId, getReference, hashCode, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Term

public Term()
Method Detail

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