org.apache.ode.bpel.compiler.bom
Class ForEachActivity
java.lang.Object
org.apache.ode.bpel.compiler.bom.BpelObject
org.apache.ode.bpel.compiler.bom.JoinFailureSuppressor
org.apache.ode.bpel.compiler.bom.Activity
org.apache.ode.bpel.compiler.bom.CompositeActivity
org.apache.ode.bpel.compiler.bom.ForEachActivity
- All Implemented Interfaces:
- SourceLocation
public class ForEachActivity
- extends CompositeActivity
Representation of the BPEL <forEach>
activity.
Methods inherited from class org.apache.ode.bpel.compiler.bom.BpelObject |
createBpelObject, getAttribute, getAttribute, getAttribute, getAttribute, getChildren, getChildren, getChildren, getColumnNo, getElement, getExtensibilityElement, getExtensibilityElements, getFirstChild, getFirstChild, getFirstExtensibilityElementElement, getLineNo, getNamespaceContext, getPath, getTextValue, getType, getURI, is11, is20Draft, isAttributeSet, rewriteTargetNS, setURI, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ForEachActivity
public ForEachActivity(org.w3c.dom.Element el)
getCounterName
public java.lang.String getCounterName()
- Gets the counter variable name used for iteration.
- Returns:
- counter variable name
isParallel
public boolean isParallel()
- Returns whether this forEach executes iterations on nested scopes
parrallely or sequentially
- Returns:
- true if parrallel, false if sequential
getStartCounter
public Expression getStartCounter()
- \
Gets the expression that will be used as a start value for the iteration
counter.
- Returns:
- start iteration counter
getFinalCounter
public Expression getFinalCounter()
- Sets the expression that will be used as a termination value for the
forEach iterations.
- Returns:
- final counter expression
getCompletionCondition
public CompletionCondition getCompletionCondition()
- Gets a completion condition defining how many child scope completions can
occur before the forEach completes.
- Returns:
- completion condition
getChild
public ScopeActivity getChild()
- Gets the scope activity that we will iterate on.
- Returns:
- child scope activity