public class ChemModel extends ChemObject implements Serializable, IChemModel, IChemObjectListener, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected ICrystal |
crystal
A Crystal.
|
protected IRingSet |
ringSet
A RingSet.
|
protected IAtomContainerSet |
setOfMolecules
A MoleculeSet.
|
protected IReactionSet |
setOfReactions
A ReactionSet.
|
| Constructor and Description |
|---|
ChemModel()
Constructs an new ChemModel with a null setOfMolecules.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this
ChemModel and its content. |
ICrystal |
getCrystal()
Gets the Crystal contained in this ChemModel.
|
IAtomContainerSet |
getMoleculeSet()
Returns the MoleculeSet of this ChemModel.
|
IReactionSet |
getReactionSet()
Gets the ReactionSet contained in this ChemModel.
|
IRingSet |
getRingSet()
Returns the RingSet of this ChemModel.
|
boolean |
isEmpty()
Returns true if this ChemModel is empty.
|
void |
setCrystal(ICrystal crystal)
Sets the Crystal contained in this ChemModel.
|
void |
setMoleculeSet(IAtomContainerSet setOfMolecules)
Sets the MoleculeSet of this ChemModel.
|
void |
setReactionSet(IReactionSet sor)
Sets the ReactionSet contained in this ChemModel.
|
void |
setRingSet(IRingSet ringSet)
Sets the RingSet of this ChemModel.
|
void |
stateChanged(IChemObjectChangeEvent event)
Called by objects to which this object has
registered as a listener.
|
String |
toString()
Returns a String representation of the contents of this
IChemObject.
|
addListener, addProperties, compare, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setPropertygetBuilderprotected IAtomContainerSet setOfMolecules
protected IReactionSet setOfReactions
protected IRingSet ringSet
protected ICrystal crystal
public ChemModel()
public IAtomContainerSet getMoleculeSet()
getMoleculeSet in interface IChemModelsetMoleculeSet(org.openscience.cdk.interfaces.IAtomContainerSet)public void setMoleculeSet(IAtomContainerSet setOfMolecules)
setMoleculeSet in interface IChemModelsetOfMolecules - the content of this modelgetMoleculeSet()public IRingSet getRingSet()
getRingSet in interface IChemModelsetRingSet(org.openscience.cdk.interfaces.IRingSet)public void setRingSet(IRingSet ringSet)
setRingSet in interface IChemModelringSet - the content of this modelgetRingSet()public ICrystal getCrystal()
getCrystal in interface IChemModelsetCrystal(org.openscience.cdk.interfaces.ICrystal)public void setCrystal(ICrystal crystal)
setCrystal in interface IChemModelcrystal - the Crystal to store in this modelgetCrystal()public IReactionSet getReactionSet()
getReactionSet in interface IChemModelsetReactionSet(org.openscience.cdk.interfaces.IReactionSet)public void setReactionSet(IReactionSet sor)
setReactionSet in interface IChemModelsor - the ReactionSet to store in this modelgetReactionSet()public String toString()
toString in interface IChemObjecttoString in class Objectpublic Object clone() throws CloneNotSupportedException
ChemModel and its content.clone in interface IChemObjectclone in class ChemObjectCloneNotSupportedException - if the IChemObject cannot be clonedpublic void stateChanged(IChemObjectChangeEvent event)
stateChanged in interface IChemObjectListenerevent - A change event pointing to the source of the changepublic boolean isEmpty()
isEmpty in interface IChemModelCopyright © 2021. All rights reserved.