Class AnnotationsWebService.TaxonValueObject
java.lang.Object
ubic.gemma.rest.AnnotationsWebService.TaxonValueObject
- Enclosing class:
AnnotationsWebService
An organism an entry derives from.
- Author:
- tesarst
-
Constructor Summary
ConstructorsConstructorDescriptionTaxonValueObject(int ncbiTaxonId, String label) Creates a newTaxonValueObjectinstance. -
Method Summary
-
Constructor Details
-
TaxonValueObject
Creates a newTaxonValueObjectinstance.- Parameters:
ncbiTaxonId- NCBI taxonomy id. The reason this is not just a label: Rattus norvegicus (10116) and Rattus rattus (10117) both read as "rat", so a name alone cannot separate them.label- The source's own rendering, e.g.Homo sapiens (Human).
-
-
Method Details
-
getNcbiTaxonId
public int getNcbiTaxonId()NCBI taxonomy id. The reason this is not just a label: Rattus norvegicus (10116) and Rattus rattus (10117) both read as "rat", so a name alone cannot separate them. -
getLabel
The source's own rendering, e.g.Homo sapiens (Human). -
equals
-
hashCode
-
toString
-