Package org.openscience.cdk.interfaces
Interface IReactionScheme
- All Superinterfaces:
Cloneable,ICDKObject,IChemObject,IReactionSet
- All Known Implementing Classes:
DebugReactionScheme,ReactionScheme,ReactionScheme
Classes that implement this interface of 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>
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IReactionScheme reactScheme) Add a scheme of reactions.clone()Clones this IReactionScheme 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 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
-
Method Details
-
add
Add a scheme of reactions.- Parameters:
reactScheme- The IReactionScheme to include
-
reactionSchemes
Iterable<IReactionScheme> reactionSchemes()Returns an Iterable for looping over all IMolecularScheme in this ReactionScheme.- Returns:
- An Iterable with the IMolecularScheme in this ReactionScheme
-
getReactionSchemeCount
int getReactionSchemeCount()Returns the number of ReactionScheme in this Scheme.- Returns:
- The number of ReactionScheme in this Scheme
-
removeAllReactionSchemes
void removeAllReactionSchemes()Removes all IReactionScheme from this chemObject. -
removeReactionScheme
Removes an IReactionScheme from this chemObject.- Parameters:
scheme- The IReactionScheme to be removed from this chemObject
-
clone
Clones this IReactionScheme object and its content.- Specified by:
clonein interfaceIChemObject- Returns:
- The cloned object
- Throws:
CloneNotSupportedException- if the IChemObject cannot be cloned
-