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 Summary
Constructors Constructor Description AbstractCompound()AbstractCompound(String base) 
- 
Method Summary
All 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
- 
AbstractCompound
public AbstractCompound()
 
- 
AbstractCompound
public AbstractCompound(String base)
 
 - 
 
- 
Method Detail
- 
getUpperedBase
public String getUpperedBase()
 
- 
getDescription
public String getDescription()
- Specified by:
 getDescriptionin interfaceCompound
 
- 
setDescription
public void setDescription(String description)
- Specified by:
 setDescriptionin interfaceCompound
 
- 
getShortName
public String getShortName()
- Specified by:
 getShortNamein interfaceCompound
 
- 
setShortName
public void setShortName(String shortName)
- Specified by:
 setShortNamein interfaceCompound
 
- 
getLongName
public String getLongName()
- Specified by:
 getLongNamein interfaceCompound
 
- 
setLongName
public void setLongName(String longName)
- Specified by:
 setLongNamein interfaceCompound
 
- 
getMolecularWeight
public Float getMolecularWeight()
- Specified by:
 getMolecularWeightin interfaceCompound
 
- 
setMolecularWeight
public void setMolecularWeight(Float molecularWeight)
- Specified by:
 setMolecularWeightin interfaceCompound
 
- 
equalsIgnoreCase
public boolean equalsIgnoreCase(Compound compound)
- Specified by:
 equalsIgnoreCasein interfaceCompound
 
 - 
 
 -