com.waveset.object
Class WFProcess.Iteration

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.WorkflowComponent
          extended bycom.waveset.object.WFProcess.Iteration
All Implemented Interfaces:
com.sun.idm.debugger.common.Locatable, javax.naming.Referenceable, XmlObject
Enclosing class:
WFProcess

public static class WFProcess.Iteration
extends WorkflowComponent

A class used to define iteration parameters for an Action. Provides a relatively simple declarative way to define iteration over a list of values, without creating a procedural language.


Field Summary
static java.lang.String ATT_ITERSRC
           
static java.lang.String ATT_ITERVAR
           
static java.lang.String EL_BREAK
           
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
WFProcess.Iteration()
           
WFProcess.Iteration(org.w3c.dom.Element e)
           
 
Method Summary
 WFProcess.Action getAction()
           
 ExNode getBreakExpression()
           
 java.lang.String getElementName()
          Return the element name.
 java.lang.String getIterationSource()
           
 java.lang.String getIterationVariable()
           
 void setAction(WFProcess.Action a)
           
 void setBreakExpression(ExNode node)
           
 void setIterationSource(java.lang.String s)
           
 void setIterationVariable(java.lang.String s)
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize into a buffer with optional indentation.
 
Methods inherited from class com.waveset.object.WorkflowComponent
addCommonAttributes, getLocation, getName, getParentComponent, parseCommonAttributes, setLocation, setName, setParentComponent
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values

ATT_ITERVAR

public static final java.lang.String ATT_ITERVAR
See Also:
Constant Field Values

ATT_ITERSRC

public static final java.lang.String ATT_ITERSRC
See Also:
Constant Field Values

EL_BREAK

public static final java.lang.String EL_BREAK
See Also:
Constant Field Values
Constructor Detail

WFProcess.Iteration

public WFProcess.Iteration()

WFProcess.Iteration

public WFProcess.Iteration(org.w3c.dom.Element e)
                    throws WavesetException
Method Detail

getElementName

public java.lang.String getElementName()
Description copied from class: AbstractXmlObject
Return the element name.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject

getIterationVariable

public java.lang.String getIterationVariable()

setIterationVariable

public void setIterationVariable(java.lang.String s)

getIterationSource

public java.lang.String getIterationSource()

setIterationSource

public void setIterationSource(java.lang.String s)

getBreakExpression

public ExNode getBreakExpression()

setBreakExpression

public void setBreakExpression(ExNode node)

setAction

public void setAction(WFProcess.Action a)

getAction

public WFProcess.Action getAction()

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Description copied from class: AbstractXmlObject
Serialize into a buffer with optional indentation. This must be implemented by the subclass.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject