com.waveset.object
Class WFProcess.Argument

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

public static class WFProcess.Argument
extends WorkflowComponent

A class representing an argument to an Action. These are similar to Variable declarations but live in a separate namespace.


Field Summary
static java.lang.String ATT_FROM
           
static java.lang.String ATT_NAME
           
static java.lang.String ATT_VALUE
           
static java.lang.String EL_COMMENTS
           
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
WFProcess.Argument()
           
WFProcess.Argument(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 getFrom()
           
 java.lang.Object getValue()
           
 void setAction(WFProcess.Action a)
           
 void setComments(java.lang.String s)
           
 void setExpression(ExNode node)
           
 void setFrom(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_NAME

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

ATT_FROM

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

ATT_VALUE

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

EL_COMMENTS

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

WFProcess.Argument

public WFProcess.Argument()

WFProcess.Argument

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

setValue

public void setValue(java.lang.Object v)

setExpression

public void setExpression(ExNode node)

setComments

public void setComments(java.lang.String s)

setFrom

public void setFrom(java.lang.String s)

getFrom

public java.lang.String getFrom()

getValue

public java.lang.Object getValue()

getExpression

public ExNode getExpression()

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