Class AbstractCompound
- java.lang.Object
- 
- org.biojava.nbio.core.sequence.template.AbstractCompound
 
- 
- All Implemented Interfaces:
- Compound
 - Direct Known Subclasses:
- AminoAcidCompound,- CodonCompound,- NucleotideCompound
 
 public abstract class AbstractCompound extends Object implements Compound The details of a Compound- Author:
- Andy Yates
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractCompound()AbstractCompound(String base)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleanequalsIgnoreCase(Compound compound)StringgetBase()StringgetDescription()StringgetLongName()FloatgetMolecularWeight()StringgetShortName()StringgetUpperedBase()inthashCode()voidsetDescription(String description)voidsetLongName(String longName)voidsetMolecularWeight(Float molecularWeight)voidsetShortName(String shortName)StringtoString()
 
- 
- 
- 
Constructor Detail- 
AbstractCompoundpublic AbstractCompound() 
 - 
AbstractCompoundpublic AbstractCompound(String base) 
 
- 
 - 
Method Detail- 
getUpperedBasepublic String getUpperedBase() 
 - 
getDescriptionpublic String getDescription() - Specified by:
- getDescriptionin interface- Compound
 
 - 
setDescriptionpublic void setDescription(String description) - Specified by:
- setDescriptionin interface- Compound
 
 - 
getShortNamepublic String getShortName() - Specified by:
- getShortNamein interface- Compound
 
 - 
setShortNamepublic void setShortName(String shortName) - Specified by:
- setShortNamein interface- Compound
 
 - 
getLongNamepublic String getLongName() - Specified by:
- getLongNamein interface- Compound
 
 - 
setLongNamepublic void setLongName(String longName) - Specified by:
- setLongNamein interface- Compound
 
 - 
getMolecularWeightpublic Float getMolecularWeight() - Specified by:
- getMolecularWeightin interface- Compound
 
 - 
setMolecularWeightpublic void setMolecularWeight(Float molecularWeight) - Specified by:
- setMolecularWeightin interface- Compound
 
 - 
equalsIgnoreCasepublic boolean equalsIgnoreCase(Compound compound) - Specified by:
- equalsIgnoreCasein interface- Compound
 
 
- 
 
-