com.waveset.object
Class WFProcess.Transition

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

public static class WFProcess.Transition
extends WorkflowComponent

A class used to represent a transition from one activity to the another.


Field Summary
static java.lang.String ATT_TO
           
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.Transition()
           
WFProcess.Transition(org.w3c.dom.Element e)
           
 
Method Summary
 WFProcess.Activity getActivity()
           
 java.lang.String getComments()
           
 ExNode getCondition()
           
 java.lang.String getElementName()
          Return the element name.
 ExNode getExpression()
           
 java.lang.String getName()
          Overload the mehtod inherited from WorkflowComponent to retrurn the "to" field.
 WFProcess getProcess()
           
 java.lang.String getTo()
           
 WFProcess.Activity getToActivity()
           
 void setActivity(WFProcess.Activity a)
           
 void setComments(java.lang.String s)
           
 void setCondition(ExNode node)
           
 void setName(java.lang.String s)
          Overload the mehtod inherited from WorkflowComponent to set the "to" field.
 void setProcess(WFProcess p)
           
 void setTo(java.lang.String s)
           
 void setToActivity(WFProcess.Activity to)
           
 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, getParentComponent, parseCommonAttributes, setLocation, 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_TO

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

EL_COMMENTS

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

WFProcess.Transition

public WFProcess.Transition()

WFProcess.Transition

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

getTo

public java.lang.String getTo()

setTo

public void setTo(java.lang.String s)

getToActivity

public WFProcess.Activity getToActivity()

setToActivity

public void setToActivity(WFProcess.Activity to)

getExpression

public ExNode getExpression()

getCondition

public ExNode getCondition()

setCondition

public void setCondition(ExNode node)

setComments

public void setComments(java.lang.String s)

getComments

public java.lang.String getComments()

setProcess

public void setProcess(WFProcess p)

getProcess

public WFProcess getProcess()

setActivity

public void setActivity(WFProcess.Activity a)

getActivity

public WFProcess.Activity getActivity()

getName

public java.lang.String getName()
Overload the mehtod inherited from WorkflowComponent to retrurn the "to" field.

Overrides:
getName in class WorkflowComponent

setName

public void setName(java.lang.String s)
Overload the mehtod inherited from WorkflowComponent to set the "to" field.

Overrides:
setName in class WorkflowComponent

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