Package org.openscience.cdk.silent
Class ReactionScheme
java.lang.Object
org.openscience.cdk.silent.ChemObject
org.openscience.cdk.silent.ReactionSet
org.openscience.cdk.silent.ReactionScheme
- All Implemented Interfaces:
Serializable,Cloneable,ICDKObject,IChemObject,IChemObjectListener,IReactionScheme,IReactionSet
Classes that extends the definition of reaction to a scheme.
This is designed to contain a set of reactions which are linked in
some way but without hard coded semantics.
- Author:
- miguelrojasch <miguelrojasch@yahoo.es>
- See Also:
- Keywords:
- reaction
-
Field Summary
Fields inherited from interface org.openscience.cdk.interfaces.IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IReactionScheme scheme) Add a Scheme of Reactions.clone()Clones this ReactionScheme object and its content.intReturns the number of ReactionScheme in this Scheme.Returns an Iterable for looping over all IMolecularScheme in this ReactionScheme.voidRemoves all IReactionScheme from this chemObject.voidremoveReactionScheme(IReactionScheme scheme) Removes an IReactionScheme from this chemObject.Methods inherited from class org.openscience.cdk.silent.ReactionSet
addReaction, getReaction, getReactionCount, isEmpty, reactions, removeAllReactions, removeReaction, removeReaction, stateChanged, toStringMethods inherited from class org.openscience.cdk.silent.ChemObject
addListener, addProperties, clear, compare, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilderMethods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, clear, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toStringMethods inherited from interface org.openscience.cdk.interfaces.IReactionSet
addReaction, getReaction, getReactionCount, isEmpty, reactions, removeAllReactions, removeReaction, removeReaction
-
Constructor Details
-
ReactionScheme
public ReactionScheme()Constructs an empty ReactionScheme.
-
-
Method Details
-
add
Add a Scheme of Reactions.- Specified by:
addin interfaceIReactionScheme- Parameters:
scheme- The IReactionScheme to include
-
reactionSchemes
Returns an Iterable for looping over all IMolecularScheme in this ReactionScheme.- Specified by:
reactionSchemesin interfaceIReactionScheme- Returns:
- An Iterable with the IMolecularScheme in this ReactionScheme
-
getReactionSchemeCount
public int getReactionSchemeCount()Returns the number of ReactionScheme in this Scheme.- Specified by:
getReactionSchemeCountin interfaceIReactionScheme- Returns:
- The number of ReactionScheme in this Scheme
-
removeAllReactionSchemes
public void removeAllReactionSchemes()Removes all IReactionScheme from this chemObject.- Specified by:
removeAllReactionSchemesin interfaceIReactionScheme
-
removeReactionScheme
Removes an IReactionScheme from this chemObject.- Specified by:
removeReactionSchemein interfaceIReactionScheme- Parameters:
scheme- The IReactionScheme to be removed from this chemObject
-
clone
Clones this ReactionScheme object and its content.- Specified by:
clonein interfaceIChemObject- Specified by:
clonein interfaceIReactionScheme- Overrides:
clonein classReactionSet- Returns:
- The cloned object
- Throws:
CloneNotSupportedException- if the IChemObject cannot be cloned
-