Class SimpleOrthologue
- java.lang.Object
-
- org.biojava.bio.program.homologene.SimpleOrthologue
-
- All Implemented Interfaces:
Orthologue
public class SimpleOrthologue extends Object implements Orthologue
this entry contains data about the orthologue.
-
-
Constructor Summary
Constructors Constructor Description SimpleOrthologue(int taxonID, String locusID, String homologeneID, String accession)
this constructor does the Taxon lookup for you tooSimpleOrthologue(Taxon taxon, String locusID, String homologeneID, String accession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAccession()
get the Accession ID associated with this orthologue.String
getHomologeneID()
get the Homologene ID.String
getLocusID()
get the locus ID associated with this orthologue.Taxon
getTaxon()
return the Taxon associated with this orthologueint
getTaxonID()
a convenience method to return the TaxonID for thsi orhtologue.String
getTitle()
return the title used by Genbank for this proteinvoid
setTitle(String title)
-
-
-
Constructor Detail
-
SimpleOrthologue
public SimpleOrthologue(Taxon taxon, String locusID, String homologeneID, String accession)
-
SimpleOrthologue
public SimpleOrthologue(int taxonID, String locusID, String homologeneID, String accession) throws IllegalArgumentException
this constructor does the Taxon lookup for you too- Throws:
IllegalArgumentException
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:Orthologue
return the title used by Genbank for this protein- Specified by:
getTitle
in interfaceOrthologue
-
getTaxon
public Taxon getTaxon()
Description copied from interface:Orthologue
return the Taxon associated with this orthologue- Specified by:
getTaxon
in interfaceOrthologue
-
getTaxonID
public int getTaxonID()
Description copied from interface:Orthologue
a convenience method to return the TaxonID for thsi orhtologue.- Specified by:
getTaxonID
in interfaceOrthologue
-
getLocusID
public String getLocusID()
Description copied from interface:Orthologue
get the locus ID associated with this orthologue. It can be null.- Specified by:
getLocusID
in interfaceOrthologue
-
getHomologeneID
public String getHomologeneID()
Description copied from interface:Orthologue
get the Homologene ID. This is unique and always defined.- Specified by:
getHomologeneID
in interfaceOrthologue
-
getAccession
public String getAccession()
Description copied from interface:Orthologue
get the Accession ID associated with this orthologue.- Specified by:
getAccession
in interfaceOrthologue
-
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interfaceOrthologue
-
-