com.silverpeas.workflow.engine.model
Class ConsequencesImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.model.ConsequencesImpl
All Implemented Interfaces:
Consequences, Serializable

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
ConsequencesImpl()
          Constructor
 
Method Summary
 void addConsequence(Consequence consequence)
          Add a Consequence to the collection
 Consequence createConsequence()
          Crate a Consequence
 List<Consequence> getConsequenceList()
          Get the actions
 Iterator<Consequence> iterateConsequence()
          Iterate through the Consequence objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsequencesImpl

public ConsequencesImpl()
Constructor

Method Detail

getConsequenceList

public List<Consequence> getConsequenceList()
Get the actions

Specified by:
getConsequenceList in interface Consequences
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 interface Consequences
Parameters:
consequence - to be added

createConsequence

public Consequence createConsequence()
Description copied from interface: Consequences
Crate a Consequence

Specified by:
createConsequence in interface Consequences
Returns:
a object implementing Consequence

iterateConsequence

public Iterator<Consequence> iterateConsequence()
Description copied from interface: Consequences
Iterate through the Consequence objects

Specified by:
iterateConsequence in interface Consequences
Returns:
an Iterator


Copyright © 2016 Silverpeas. All Rights Reserved.