Package org.openscience.cdk.reaction
Class ReactionChain
java.lang.Object
org.openscience.cdk.ChemObject
org.openscience.cdk.ReactionSet
org.openscience.cdk.reaction.ReactionChain
- All Implemented Interfaces:
Serializable,Cloneable,ICDKObject,IChemObject,IChemObjectListener,IReactionSet
Classes that extends the definition of reaction to a chain reaction.
This is designed to contains a set of reactions which are lineal linked as
chain. That would mean no exist branches or cycles and in this concept
you have a start reaction and final reaction. Each reaction is included
in a step of the chain.
- Author:
- miguelrojasch <miguelrojasch@yahoo.es>
- See Also:
-
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 TypeMethodDescriptionvoidaddReaction(IReaction reaction, int position) Added a IReaction for this chain in position.getReaction(int position) Get the reaction of this chain reaction object at the position.intgetReactionStep(IReaction reaction) Get the position of the reaction into this chain reaction object.Methods inherited from class org.openscience.cdk.ReactionSet
addReaction, clone, getReactionCount, isEmpty, reactions, removeAllReactions, removeReaction, removeReaction, stateChanged, toStringMethods inherited from class org.openscience.cdk.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
-
Constructor Details
-
ReactionChain
public ReactionChain()
-
-
Method Details
-
addReaction
Added a IReaction for this chain in position.- Parameters:
reaction- The IReactionposition- The position in this chain where the reaction is to be inserted
-
getReactionStep
Get the position of the reaction into this chain reaction object.- Parameters:
reaction- The IReaction to look at- Returns:
- The position of the IReaction in this chain
-
getReaction
Get the reaction of this chain reaction object at the position.- Specified by:
getReactionin interfaceIReactionSet- Overrides:
getReactionin classReactionSet- Parameters:
position- The position of the IReaction in this chain to look for- Returns:
- Reaction The IReaction to look at
-