public static class Table.Codon extends Object implements Compound
NucleotideCompounds, its
corresponding AminoAcidCompound and if it is a start or stop codon.
The object implements hashCode & equals but according to the nucleotide
compounds & not to the designation of it being a start, stop & amino
acid compound| Constructor and Description |
|---|
Codon(Table.CaseInsensitiveTriplet triplet) |
Codon(Table.CaseInsensitiveTriplet triplet,
AminoAcidCompound aminoAcid,
boolean start,
boolean stop) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equalsIgnoreCase(Compound compound) |
AminoAcidCompound |
getAminoAcid() |
String |
getDescription() |
String |
getLongName() |
Float |
getMolecularWeight() |
NucleotideCompound |
getOne() |
String |
getShortName() |
NucleotideCompound |
getThree() |
Table.CaseInsensitiveTriplet |
getTriplet() |
NucleotideCompound |
getTwo() |
int |
hashCode() |
boolean |
isStart() |
boolean |
isStop() |
void |
setDescription(String description) |
void |
setLongName(String longName) |
void |
setMolecularWeight(Float molecularWeight) |
void |
setShortName(String shortName) |
String |
toString() |
public Codon(Table.CaseInsensitiveTriplet triplet, AminoAcidCompound aminoAcid, boolean start, boolean stop)
public Codon(Table.CaseInsensitiveTriplet triplet)
public NucleotideCompound getOne()
public NucleotideCompound getTwo()
public NucleotideCompound getThree()
public boolean isStart()
public boolean isStop()
public AminoAcidCompound getAminoAcid()
public Table.CaseInsensitiveTriplet getTriplet()
public boolean equalsIgnoreCase(Compound compound)
equalsIgnoreCase in interface Compoundpublic String getDescription()
getDescription in interface Compoundpublic String getLongName()
getLongName in interface Compoundpublic Float getMolecularWeight()
getMolecularWeight in interface Compoundpublic String getShortName()
getShortName in interface Compoundpublic void setDescription(String description)
setDescription in interface Compoundpublic void setLongName(String longName)
setLongName in interface Compoundpublic void setMolecularWeight(Float molecularWeight)
setMolecularWeight in interface Compoundpublic void setShortName(String shortName)
setShortName in interface CompoundCopyright © 2000–2017 BioJava. All rights reserved.