Package org.openscience.cdk.interfaces
Interface IReactionScheme
-
- All Superinterfaces:
Cloneable
,ICDKObject
,IChemObject
,IReactionSet
- All Known Implementing Classes:
DebugReactionScheme
,ReactionScheme
,ReactionScheme
public interface IReactionScheme extends IReactionSet
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>
- Source code:
- main
- Belongs to CDK module:
- interfaces
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(IReactionScheme reactScheme)
Add a scheme of reactions.Object
clone()
Clones this IReactionScheme object and its content.int
getReactionSchemeCount()
Returns the number of ReactionScheme in this Scheme.Iterable<IReactionScheme>
reactionSchemes()
Returns an Iterable for looping over all IMolecularScheme in this ReactionScheme.void
removeAllReactionSchemes()
Removes all IReactionScheme from this chemObject.void
removeReactionScheme(IReactionScheme scheme)
Removes an IReactionScheme from this chemObject.-
Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject
getBuilder
-
Methods inherited from interface org.openscience.cdk.interfaces.IChemObject
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
-
Methods inherited from interface org.openscience.cdk.interfaces.IReactionSet
addReaction, getReaction, getReactionCount, isEmpty, reactions, removeAllReactions, removeReaction, removeReaction
-
-
-
-
Method Detail
-
add
void add(IReactionScheme reactScheme)
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
void removeReactionScheme(IReactionScheme scheme)
Removes an IReactionScheme from this chemObject.- Parameters:
scheme
- The IReactionScheme to be removed from this chemObject
-
clone
Object clone() throws CloneNotSupportedException
Clones this IReactionScheme object and its content.- Specified by:
clone
in interfaceIChemObject
- Returns:
- The cloned object
- Throws:
CloneNotSupportedException
- if the IChemObject cannot be cloned
-
-