Package ubic.gemma.model.genome
Class Taxon
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.genome.Taxon
- All Implemented Interfaces:
Identifiable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.booleaninthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetCommonName(String commonName) voidsetExternalDatabase(ExternalDatabase externalDatabase) voidsetIsGenesUsable(boolean isGenesUsable) voidvoidsetScientificName(String scientificName) voidsetSecondaryNcbiId(Integer secondaryNcbiId) toString()Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId
-
Constructor Details
-
Taxon
public Taxon()
-
-
Method Details
-
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCodein classAbstractIdentifiable
-
equals
Description copied from class:AbstractIdentifiableImportant note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable- See Also:
-
getCommonName
-
setCommonName
-
getExternalDatabase
-
setExternalDatabase
-
getIsGenesUsable
public boolean getIsGenesUsable() -
setIsGenesUsable
public void setIsGenesUsable(boolean isGenesUsable) -
getNcbiId
-
setNcbiId
-
getScientificName
-
setScientificName
-
getSecondaryNcbiId
- Returns:
- Represents a "secondary" Taxon id that is used for this species. The main example where this is necessary is budding yeast, which is id 4932 in GEO but genes use the (strain-specific) ID 559292.
-
setSecondaryNcbiId
-