Package ubic.gemma.model.genome
Class Gene
- All Implemented Interfaces:
Describable,Identifiable
Represents a functionally transcribed unit in the genome, recognized by other databases (NCBI, Ensembl).
-
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.getId()getName()Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.getTaxon()voidsetAccessions(Set<DatabaseEntry> accessions) voidsetAliases(Set<GeneAlias> aliases) voidsetEnsemblId(String ensemblId) voidsetMultifunctionality(Multifunctionality multifunctionality) voidsetNcbiGeneId(Integer ncbiGeneId) voidsetOfficialName(String officialName) voidsetOfficialSymbol(String officialSymbol) voidsetProducts(Set<GeneProduct> products) voidtoString()Methods inherited from class ubic.gemma.model.genome.ChromosomeFeature
getPhysicalLocation, getPreviousNcbiId, setPhysicalLocation, setPreviousNcbiIdMethods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, hashCode, setDescription, setNameMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
setId
-
Constructor Details
-
Gene
public Gene()No-arg constructor added to satisfy javabean contract
-
-
Method Details
-
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 classAbstractDescribable
-
getId
- Specified by:
getIdin interfaceIdentifiable- Overrides:
getIdin classAbstractIdentifiable
-
getName
Description copied from interface:DescribableObtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
getNamein interfaceDescribable- Overrides:
getNamein classAbstractDescribable
-
getAccessions
-
setAccessions
-
getAliases
-
setAliases
-
getEnsemblId
- Returns:
- An Ensembl ID for the gene.
-
setEnsemblId
-
getMultifunctionality
-
setMultifunctionality
-
getNcbiGeneId
-
setNcbiGeneId
-
getOfficialName
-
setOfficialName
-
getOfficialSymbol
-
setOfficialSymbol
-
getProducts
-
setProducts
-
getTaxon
- Returns:
- Note that a Gene also has a chromosome, so the organism can be inferred that way as well. This direct association is a denormalization for queries that don't care about location, just species-membership.
-
setTaxon
-