com.waveset.object
Class Variable
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.object.WorkflowComponent
com.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.
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 |
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
Variable
public Variable()
Variable
public Variable(org.w3c.dom.Element e)
throws WavesetException
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)