org.biojava3.core.sequence.template
Class AbstractCompound

java.lang.Object
  extended by org.biojava3.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
AbstractCompound(String base)
           
 
Method Summary
 String getBase()
           
 String getDescription()
           
 String getLongName()
           
 Float getMolecularWeight()
           
 String getShortName()
           
 String getUpperedBase()
           
 void setDescription(String description)
           
 void setLongName(String longName)
           
 void setMolecularWeight(Float molecularWeight)
           
 void setShortName(String shortName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.biojava3.core.sequence.template.Compound
equalsIgnoreCase
 

Constructor Detail

AbstractCompound

public AbstractCompound(String base)
Method Detail

getBase

public String getBase()

getUpperedBase

public String getUpperedBase()

getDescription

public String getDescription()
Specified by:
getDescription in interface Compound

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Compound

getShortName

public String getShortName()
Specified by:
getShortName in interface Compound

setShortName

public void setShortName(String shortName)
Specified by:
setShortName in interface Compound

getLongName

public String getLongName()
Specified by:
getLongName in interface Compound

setLongName

public void setLongName(String longName)
Specified by:
setLongName in interface Compound

getMolecularWeight

public Float getMolecularWeight()
Specified by:
getMolecularWeight in interface Compound

setMolecularWeight

public void setMolecularWeight(Float molecularWeight)
Specified by:
setMolecularWeight in interface Compound

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 BioJava. All Rights Reserved.