public class SimpleOrthologue extends java.lang.Object implements Orthologue
| Constructor and Description |
|---|
SimpleOrthologue(int taxonID,
java.lang.String locusID,
java.lang.String homologeneID,
java.lang.String accession)
this constructor does the Taxon lookup for you too
|
SimpleOrthologue(Taxon taxon,
java.lang.String locusID,
java.lang.String homologeneID,
java.lang.String accession) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccession()
get the Accession ID associated with this orthologue.
|
java.lang.String |
getHomologeneID()
get the Homologene ID.
|
java.lang.String |
getLocusID()
get the locus ID associated with this orthologue.
|
Taxon |
getTaxon()
return the Taxon associated with this orthologue
|
int |
getTaxonID()
a convenience method to return the TaxonID for thsi orhtologue.
|
java.lang.String |
getTitle()
return the title used by Genbank for this protein
|
void |
setTitle(java.lang.String title) |
public SimpleOrthologue(Taxon taxon, java.lang.String locusID, java.lang.String homologeneID, java.lang.String accession)
public SimpleOrthologue(int taxonID,
java.lang.String locusID,
java.lang.String homologeneID,
java.lang.String accession)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic java.lang.String getTitle()
OrthologuegetTitle in interface Orthologuepublic Taxon getTaxon()
OrthologuegetTaxon in interface Orthologuepublic int getTaxonID()
OrthologuegetTaxonID in interface Orthologuepublic java.lang.String getLocusID()
OrthologuegetLocusID in interface Orthologuepublic java.lang.String getHomologeneID()
OrthologuegetHomologeneID in interface Orthologuepublic java.lang.String getAccession()
OrthologuegetAccession in interface Orthologuepublic void setTitle(java.lang.String title)
setTitle in interface Orthologuepublic boolean equals(java.lang.Object o)
equals in class java.lang.Object