Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


oracle.wcps.conductor.scenario.syntax
Interface IForEachStatement

All Superinterfaces:
ICompoundStatement, IIteratingStatement, IStatement

public interface IForEachStatement
extends IIteratingStatement

Looping statement to iterate over a collection of items.

The collection expression must resolve to a java.util.Collection or java.util.Map to iterate. If the collection resolves to java.util.Map, each item will resolve to java.util.Map.Entry.


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement
IStatement.ErrorLevel

 

Field Summary
static java.lang.String DEFAULT_VARIABLE_NAME
          Specifies the default variable name to "item" if variableName is not defined.

 

Fields inherited from interface oracle.wcps.conductor.scenario.syntax.IIteratingStatement
DEFAULT_MAX_ITERATIONS, UNLIMITED_ITERATIONS

 

Method Summary
 java.lang.String getCollectionExpression()
          Returns the expression that is used to resolve the collection within the IScenarioContext.
 java.lang.String getVariableName()
          Returns the variable name, if specified.
 void setCollectionExpression(java.lang.String expression)
          Sets the expression that is used to resolve the collection within the IScenarioContext.
 void setVariableName(java.lang.String variableName)
          Sets the name of the variable to be used during the current iteration.

 

Methods inherited from interface oracle.wcps.conductor.scenario.syntax.IIteratingStatement
getMaximumIterations, setMaximumIterations

 

Methods inherited from interface oracle.wcps.conductor.scenario.syntax.ICompoundStatement
addStatement, addStatement, deleteStatement, getBody, getFirstErrorMessage, getStatement, indexOfStatement, raiseError

 

Methods inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement
getComments, getContainerScenarioName, getErrorLevel, getErrorMessage, getId, getLabel, getParentStatement, raiseError, setComments, setId, setLabel

 

Field Detail

DEFAULT_VARIABLE_NAME

static final java.lang.String DEFAULT_VARIABLE_NAME
Specifies the default variable name to "item" if variableName is not defined.
See Also:
Constant Field Values

Method Detail

getVariableName

java.lang.String getVariableName()
Returns the variable name, if specified.

setVariableName

void setVariableName(java.lang.String variableName)
Sets the name of the variable to be used during the current iteration.

getCollectionExpression

java.lang.String getCollectionExpression()
Returns the expression that is used to resolve the collection within the IScenarioContext.

setCollectionExpression

void setCollectionExpression(java.lang.String expression)
Sets the expression that is used to resolve the collection within the IScenarioContext.

For example, ${customerList}.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.