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 booleanequals(Object o)StringgetAccession()get the Accession ID associated with this orthologue.StringgetHomologeneID()get the Homologene ID.StringgetLocusID()get the locus ID associated with this orthologue.TaxongetTaxon()return the Taxon associated with this orthologueintgetTaxonID()a convenience method to return the TaxonID for thsi orhtologue.StringgetTitle()return the title used by Genbank for this proteinvoidsetTitle(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:Orthologuereturn the title used by Genbank for this protein- Specified by:
 getTitlein interfaceOrthologue
 
- 
getTaxon
public Taxon getTaxon()
Description copied from interface:Orthologuereturn the Taxon associated with this orthologue- Specified by:
 getTaxonin interfaceOrthologue
 
- 
getTaxonID
public int getTaxonID()
Description copied from interface:Orthologuea convenience method to return the TaxonID for thsi orhtologue.- Specified by:
 getTaxonIDin interfaceOrthologue
 
- 
getLocusID
public String getLocusID()
Description copied from interface:Orthologueget the locus ID associated with this orthologue. It can be null.- Specified by:
 getLocusIDin interfaceOrthologue
 
- 
getHomologeneID
public String getHomologeneID()
Description copied from interface:Orthologueget the Homologene ID. This is unique and always defined.- Specified by:
 getHomologeneIDin interfaceOrthologue
 
- 
getAccession
public String getAccession()
Description copied from interface:Orthologueget the Accession ID associated with this orthologue.- Specified by:
 getAccessionin interfaceOrthologue
 
- 
setTitle
public void setTitle(String title)
- Specified by:
 setTitlein interfaceOrthologue
 
 - 
 
 -