com.silverpeas.workflow.api.model
Interface Consequences

All Known Implementing Classes:
ConsequencesImpl

public interface Consequences

Interface describing a representation of the <consequences> element of a Process Model.


Method Summary
 void addConsequence(Consequence consequence)
          Add a Consequence to the collection
 Consequence createConsequence()
          Crate a Consequence
 List<Consequence> getConsequenceList()
          Get the target consequences
 Iterator<Consequence> iterateConsequence()
          Iterate through the Consequence objects
 

Method Detail

getConsequenceList

List<Consequence> getConsequenceList()
Get the target consequences

Returns:
the target consequences as a Vector

iterateConsequence

Iterator<Consequence> iterateConsequence()
Iterate through the Consequence objects

Returns:
an Iterator

createConsequence

Consequence createConsequence()
Crate a Consequence

Returns:
a object implementing Consequence

addConsequence

void addConsequence(Consequence consequence)
Add a Consequence to the collection

Parameters:
consequence - to be added


Copyright © 2016 Silverpeas. All Rights Reserved.