Package ubic.gemma.model.genome
Class Taxon
- java.lang.Object
-
- ubic.gemma.model.genome.Taxon
-
- All Implemented Interfaces:
Serializable
,Identifiable
public class Taxon extends Object implements Identifiable, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Taxon.Factory
-
Constructor Summary
Constructors Constructor Description Taxon()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Returnstrue
if the argument is a Taxon instance and all identifiers for this entity equal the identifiers of the argument entity.String
getCommonName()
ExternalDatabase
getExternalDatabase()
Long
getId()
boolean
getIsGenesUsable()
Integer
getNcbiId()
String
getScientificName()
Integer
getSecondaryNcbiId()
int
hashCode()
void
setCommonName(String commonName)
void
setExternalDatabase(ExternalDatabase externalDatabase)
void
setId(Long id)
void
setIsGenesUsable(boolean isGenesUsable)
void
setNcbiId(Integer ncbiId)
void
setScientificName(String scientificName)
void
setSecondaryNcbiId(Integer secondaryNcbiId)
String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(Object object)
Returnstrue
if the argument is a Taxon instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
toString()
-
getCommonName
public String getCommonName()
-
setCommonName
public void setCommonName(String commonName)
-
getExternalDatabase
public ExternalDatabase getExternalDatabase()
-
setExternalDatabase
public void setExternalDatabase(ExternalDatabase externalDatabase)
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable
-
setId
public void setId(Long id)
-
getIsGenesUsable
public boolean getIsGenesUsable()
-
setIsGenesUsable
public void setIsGenesUsable(boolean isGenesUsable)
-
getNcbiId
public Integer getNcbiId()
-
setNcbiId
public void setNcbiId(Integer ncbiId)
-
getScientificName
public String getScientificName()
-
setScientificName
public void setScientificName(String scientificName)
-
getSecondaryNcbiId
public Integer 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
public void setSecondaryNcbiId(Integer secondaryNcbiId)
-
-