org.biopax.paxtools.impl.level2
Class smallMoleculeImpl

java.lang.Object
  extended by org.biopax.paxtools.impl.level2.bioPAXElementImpl
      extended by org.biopax.paxtools.impl.level2.entityImpl
          extended by org.biopax.paxtools.impl.level2.physicalEntityImpl
              extended by org.biopax.paxtools.impl.level2.smallMoleculeImpl
All Implemented Interfaces:
BioPAXElement, entity, InteractionParticipant, physicalEntity, smallMolecule, XReferrable

public class smallMoleculeImpl
extends physicalEntityImpl
implements smallMolecule


Field Summary
 
Fields inherited from interface org.biopax.paxtools.model.level2.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Fields inherited from interface org.biopax.paxtools.model.level2.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Fields inherited from interface org.biopax.paxtools.model.level2.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Constructor Summary
smallMoleculeImpl()
           
 
Method Summary
 void addSTRUCTURE(chemicalStructure STRUCTURE)
           
 java.lang.String getCHEMICAL_FORMULA()
           
 java.lang.Class getModelInterface()
           
 double getMOLECULAR_WEIGHT()
           
 java.util.Set<chemicalStructure> getSTRUCTURE()
           
 void removeSTRUCTURE(chemicalStructure STRUCTURE)
           
 void setCHEMICAL_FORMULA(java.lang.String CHEMICAL_FORMULA)
          A string representing the Chemical Formula of this small molecule.
 void setMOLECULAR_WEIGHT(double MOLECULAR_WEIGHT)
           
 void setSTRUCTURE(java.util.Set<chemicalStructure> STRUCTURE)
          Setter for Structure.
 
Methods inherited from class org.biopax.paxtools.impl.level2.physicalEntityImpl
addPHYSICAL_ENTITYof, equivalenceCode, isEquivalent, isPHYSICAL_ENTITYof
 
Methods inherited from class org.biopax.paxtools.impl.level2.entityImpl
addAVAILABILITY, addDATA_SOURCE, addSYNONYMS, addXREF, getAVAILABILITY, getDATA_SOURCE, getNAME, getSHORT_NAME, getSYNONYMS, getXREF, isPARTICIPANTSof, removeAVAILABILITY, removeDATA_SOURCE, removeSYNONYMS, removeXREF, setAVAILABILITY, setDATA_SOURCE, setNAME, setSHORT_NAME, setSYNONYMS, setXREF
 
Methods inherited from class org.biopax.paxtools.impl.level2.bioPAXElementImpl
addCOMMENT, equals, getCOMMENT, getRDFId, hashCode, removeCOMMENT, setCOMMENT, setRDFId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.biopax.paxtools.model.level2.physicalEntity
isPHYSICAL_ENTITYof
 
Methods inherited from interface org.biopax.paxtools.model.level2.entity
addAVAILABILITY, addDATA_SOURCE, addSYNONYMS, getAVAILABILITY, getDATA_SOURCE, getNAME, getSHORT_NAME, getSYNONYMS, removeAVAILABILITY, removeDATA_SOURCE, removeSYNONYMS, setAVAILABILITY, setDATA_SOURCE, setNAME, setSHORT_NAME, setSYNONYMS
 
Methods inherited from interface org.biopax.paxtools.model.level2.BioPAXElement
addCOMMENT, equivalenceCode, getCOMMENT, getRDFId, isEquivalent, removeCOMMENT, setCOMMENT, setRDFId
 
Methods inherited from interface org.biopax.paxtools.model.level2.XReferrable
addXREF, getXREF, removeXREF, setXREF
 
Methods inherited from interface org.biopax.paxtools.model.level2.BioPAXElement
addCOMMENT, equivalenceCode, getCOMMENT, getRDFId, isEquivalent, removeCOMMENT, setCOMMENT, setRDFId
 
Methods inherited from interface org.biopax.paxtools.model.level2.InteractionParticipant
isPARTICIPANTSof
 
Methods inherited from interface org.biopax.paxtools.model.level2.BioPAXElement
addCOMMENT, equivalenceCode, getCOMMENT, getRDFId, isEquivalent, removeCOMMENT, setCOMMENT, setRDFId
 

Constructor Detail

smallMoleculeImpl

public smallMoleculeImpl()
Method Detail

getModelInterface

public java.lang.Class getModelInterface()
Specified by:
getModelInterface in interface BioPAXElement
Overrides:
getModelInterface in class physicalEntityImpl

getCHEMICAL_FORMULA

public java.lang.String getCHEMICAL_FORMULA()
Specified by:
getCHEMICAL_FORMULA in interface smallMolecule

setCHEMICAL_FORMULA

public void setCHEMICAL_FORMULA(java.lang.String CHEMICAL_FORMULA)
A string representing the Chemical Formula of this small molecule.

Specified by:
setCHEMICAL_FORMULA in interface smallMolecule
Parameters:
CHEMICAL_FORMULA - must not be empty. Can be in CML, SMILES or InChI

getMOLECULAR_WEIGHT

public double getMOLECULAR_WEIGHT()
Specified by:
getMOLECULAR_WEIGHT in interface smallMolecule

setMOLECULAR_WEIGHT

public void setMOLECULAR_WEIGHT(double MOLECULAR_WEIGHT)
Specified by:
setMOLECULAR_WEIGHT in interface smallMolecule

getSTRUCTURE

public java.util.Set<chemicalStructure> getSTRUCTURE()
Specified by:
getSTRUCTURE in interface smallMolecule

setSTRUCTURE

public void setSTRUCTURE(java.util.Set<chemicalStructure> STRUCTURE)
Setter for Structure. This method does not validate or maintain internal links. This method is reserved for performance critical load operation. Use #addStructure for regular manipuation,

Specified by:
setSTRUCTURE in interface smallMolecule

addSTRUCTURE

public void addSTRUCTURE(chemicalStructure STRUCTURE)
Specified by:
addSTRUCTURE in interface smallMolecule

removeSTRUCTURE

public void removeSTRUCTURE(chemicalStructure STRUCTURE)
Specified by:
removeSTRUCTURE in interface smallMolecule