com.waveset.object
Class WFProcess.ActionResult

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

public static class WFProcess.ActionResult
extends WorkflowComponent

A class used to define the effect an Action will have on the WavesetResult object maintained for this process. This different than Return. Return is used to assign values of workflow variables, ActionResult is used to add items to the WavesetResult object. Variables are normally visible only within the workflow process, the WavesetResult is visible to the end user.


Field Summary
static java.lang.String ATT_NAME
           
static java.lang.String ATT_OVERWRITE
           
static java.lang.String ATT_RESNAME
           
static java.lang.String ATT_TYPE
           
static java.lang.String ATT_VALUE
           
static java.lang.String EL_COMMENT
           
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
WFProcess.ActionResult()
           
WFProcess.ActionResult(org.w3c.dom.Element e)
           
 
Method Summary
 WFProcess.Action getAction()
           
 java.lang.String getComments()
           
 java.lang.String getElementName()
          Return the element name.
 ExNode getExpression()
           
 java.lang.String getResultName()
           
 java.lang.String getType()
           
 java.lang.Object getValue()
           
 boolean isOverwrite()
           
 void setAction(WFProcess.Action a)
           
 void setComments(java.lang.String s)
           
 void setExpression(ExNode node)
           
 void setOverwrite(boolean b)
           
 void setResultName(java.lang.String s)
           
 void setType(java.lang.String s)
           
 void setValue(java.lang.Object v)
           
 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_RESNAME

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

ATT_NAME

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

ATT_TYPE

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

ATT_VALUE

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

ATT_OVERWRITE

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

EL_COMMENT

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

WFProcess.ActionResult

public WFProcess.ActionResult()

WFProcess.ActionResult

public WFProcess.ActionResult(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

setAction

public void setAction(WFProcess.Action a)

getAction

public WFProcess.Action getAction()

getResultName

public java.lang.String getResultName()

setResultName

public void setResultName(java.lang.String s)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String s)

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object v)

getExpression

public ExNode getExpression()

setExpression

public void setExpression(ExNode node)

isOverwrite

public boolean isOverwrite()

setOverwrite

public void setOverwrite(boolean b)

setComments

public void setComments(java.lang.String s)

getComments

public java.lang.String getComments()

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