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

java.lang.Object
  extended by gov.nih.nci.caarray.external.v1_0.AbstractCaArrayEntity
      extended by gov.nih.nci.caarray.external.v1_0.vocabulary.Category
All Implemented Interfaces:
java.io.Serializable

public class Category
extends AbstractCaArrayEntity

A Category represents a class of values in a controlled vocabulary / ontology.

Author:
dkokotov
See Also:
Serialized Form

Constructor Summary
Category()
           
 
Method Summary
 java.lang.String getAccession()
           
 java.lang.String getName()
           
 TermSource getTermSource()
           
 java.lang.String getUrl()
           
 void setAccession(java.lang.String accession)
           
 void setName(java.lang.String name)
           
 void setTermSource(TermSource termSource)
           
 void setUrl(java.lang.String url)
           
 
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

Category

public Category()
Method Detail

getName

public java.lang.String getName()
Returns:
the name of this category.

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getAccession

public java.lang.String getAccession()
Returns:
the accession for this category. The accession is a vocabulary-specific code that uniquely identifies the category 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 category.

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 Category belongs

setTermSource

public void setTermSource(TermSource termSource)
Parameters:
termSource - the termSource to set