|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sbc.orthoxml.Gene
public class Gene
Represent a gene or better molecule in the context of orthology assignments. Can be identified by a gene, protein and transcript identifier.
Constructor Summary | |
---|---|
Gene(Species species,
Database database)
Creates a Gene object from the given database and species |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Database |
getDatabase()
Returns the database the gene stems from. |
java.lang.String |
getGeneIdentifier()
Returns the gene identifier |
java.lang.String |
getProteinIdentifier()
Returns the protein identifier |
Species |
getSpecies()
Returns the species the gene stems from. |
java.lang.String |
getTranscriptIdentifier()
Returns the transcript identifier |
int |
hashCode()
|
void |
setDatabase(Database database)
Sets the database the gene stems from |
void |
setGeneIdentifier(java.lang.String geneIdentifier)
Sets the gene identifier |
void |
setProteinIdentifier(java.lang.String proteinIdentifier)
Sets the protein identifier |
void |
setSpecies(Species species)
Sets the species the gene stems from. |
void |
setTranscriptIdentifier(java.lang.String transcriptIdentifier)
Sets the transcript identifier |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gene(Species species, Database database)
species
- the species from which the gene stemsdatabase
- the database the gene stems fromMethod Detail |
---|
public java.lang.String getGeneIdentifier()
public void setGeneIdentifier(java.lang.String geneIdentifier)
geneIdentifier
- the gene identifier to setpublic java.lang.String getProteinIdentifier()
public void setProteinIdentifier(java.lang.String proteinIdentifier)
proteinIdentifier
- identifier the protein identifier to setpublic java.lang.String getTranscriptIdentifier()
public void setTranscriptIdentifier(java.lang.String transcriptIdentifier)
transcriptIdentifier
- the transcriptIdentifier to setpublic Database getDatabase()
public void setDatabase(Database database)
database
- the database to setpublic Species getSpecies()
public void setSpecies(Species species)
species
- the species to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |