com.waveset.object
Class Variable

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

public class Variable
extends WorkflowComponent

The memory representation of a variable declaration.


Field Summary
static java.lang.String ATT_EXTERNAL
           
static java.lang.String ATT_INPUT
           
static java.lang.String ATT_NAME
           
static java.lang.String ATT_OUTPUT
           
static java.lang.String ATT_VALUE
           
static java.lang.String code_id
           
static java.lang.String EL_COMMENTS
           
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
Variable()
           
Variable(org.w3c.dom.Element e)
           
 
Method Summary
 java.lang.String getComments()
           
 java.lang.String getElementName()
          Return the element name.
 ExNode getInitializer()
           
 java.lang.Object getOwner()
           
 WorkflowComponent getParentComponent()
          Override WorkflowComponent.getParentComponent to return owner if it's a WorkflowComponent, null otherwise.
 java.lang.Object getValue()
           
 boolean isExternal()
           
 boolean isInput()
           
 boolean isOutput()
           
 void setComments(java.lang.String s)
           
 void setExternal(boolean b)
           
 void setInitializer(ExNode node)
           
 void setInput(boolean b)
           
 void setOutput(boolean b)
           
 void setOwner(java.lang.Object o)
           
 void setParentComponent(WorkflowComponent parentComponent)
          Override WorkflowComponent.setParentComponent to setOwner to parentComponent.
 void setValue(java.lang.Object o)
           
 java.lang.String toString()
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize into a buffer with optional indentation.
static void toXml(java.lang.StringBuffer b, int indent, java.util.List variables)
           
 
Methods inherited from class com.waveset.object.WorkflowComponent
addCommonAttributes, getLocation, getName, parseCommonAttributes, setLocation, setName
 
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, wait, wait, wait
 

Field Detail

code_id

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

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_VALUE

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

ATT_INPUT

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

ATT_OUTPUT

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

ATT_EXTERNAL

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

EL_COMMENTS

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

Variable

public Variable()

Variable

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

setOwner

public void setOwner(java.lang.Object o)

getOwner

public java.lang.Object getOwner()

setValue

public void setValue(java.lang.Object o)

getParentComponent

public WorkflowComponent getParentComponent()
Override WorkflowComponent.getParentComponent to return owner if it's a WorkflowComponent, null otherwise.

Overrides:
getParentComponent in class WorkflowComponent

setParentComponent

public void setParentComponent(WorkflowComponent parentComponent)
Override WorkflowComponent.setParentComponent to setOwner to parentComponent.

Overrides:
setParentComponent in class WorkflowComponent

setInitializer

public void setInitializer(ExNode node)

setComments

public void setComments(java.lang.String s)

setInput

public void setInput(boolean b)

setOutput

public void setOutput(boolean b)

setExternal

public void setExternal(boolean b)

toString

public java.lang.String toString()

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

getValue

public java.lang.Object getValue()

getInitializer

public ExNode getInitializer()

isInput

public boolean isInput()

isOutput

public boolean isOutput()

isExternal

public boolean isExternal()

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

toXml

public static void toXml(java.lang.StringBuffer b,
                         int indent,
                         java.util.List variables)