Class ConsequencesImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.model.ConsequencesImpl
-
- All Implemented Interfaces:
Serializable
,Consequences
public class ConsequencesImpl extends Object implements Consequences, Serializable
Class implementing the representation of the <consequences> element of a Process Model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsequencesImpl()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConsequence(Consequence consequence)
Add a Consequence to the collectionConsequence
createConsequence()
Crate a ConsequenceList<Consequence>
getConsequenceList()
Get the actionsIterator<Consequence>
iterateConsequence()
Iterate through the Consequence objects
-
-
-
Method Detail
-
getConsequenceList
public List<Consequence> getConsequenceList()
Get the actions- Specified by:
getConsequenceList
in interfaceConsequences
- Returns:
- the actions as a Hashtable
-
addConsequence
public void addConsequence(Consequence consequence)
Description copied from interface:Consequences
Add a Consequence to the collection- Specified by:
addConsequence
in interfaceConsequences
- Parameters:
consequence
- to be added
-
createConsequence
public Consequence createConsequence()
Description copied from interface:Consequences
Crate a Consequence- Specified by:
createConsequence
in interfaceConsequences
- Returns:
- a object implementing Consequence
-
iterateConsequence
public Iterator<Consequence> iterateConsequence()
Description copied from interface:Consequences
Iterate through the Consequence objects- Specified by:
iterateConsequence
in interfaceConsequences
- Returns:
- an Iterator
-
-