|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.AbstractXmlObject
com.waveset.object.VariableScope
com.waveset.object.WFCase.Step
A class used to represent the execution state of an Activity from the process definition.
Nested Class Summary | |
static class |
WFCase.Step.State
An "enumeration" of constants used to indicate the state of the step. |
Field Summary |
Fields inherited from class com.waveset.object.VariableScope |
code_id |
Fields inherited from class com.waveset.util.AbstractXmlObject |
_trace |
Constructor Summary | |
WFCase.Step()
Construct an empty step object. |
|
WFCase.Step(org.w3c.dom.Element e)
Construct a activity object from its XML representation. |
Method Summary | |
void |
addAttribute(java.lang.StringBuffer b,
java.lang.String name,
int[] values)
Serialize an int array into a blank delimited string and emit it as the value of an XML attribute. |
void |
addJoin(int index)
Add a step join. |
WFCase.Result |
addResult(WFProcess.Action action)
Allocate a new action result object corresponding to a WFProcess.Action object. |
void |
addTransition(int index)
Add a step transition. |
WFProcess.Activity |
getActivity()
Get the resolved Activity object. |
int |
getActivityId()
Get the process activity id. |
java.lang.String |
getActivityName()
Get the name of the associated step activity. |
WFCase |
getCase()
Get the owning case. |
java.lang.String |
getElementName()
Return the element name. |
long |
getEndDate()
|
int[] |
getFeeds()
Get the step feeds. |
int |
getId()
Get the step id. |
int[] |
getIntArrayAttribute(org.w3c.dom.Element e,
java.lang.String name)
Parse the attribute representation of an integer array. |
WFCase.Result |
getItemResult(java.lang.String itemId)
Locate the Result object that tracks the state of a particular work item. |
int[] |
getJoins()
Get the step joins. |
java.lang.String |
getName()
Get a string describing this step. |
VariableScope |
getParentScope()
Return the parent scope. |
WFCase.Result |
getResult(int index)
Get a result object by index. |
int |
getResultCount()
Get the number of results in the list. |
WFCase.Result |
getResultForAction(int actionId)
Get a Result object given its action id. |
java.util.List |
getResults()
Get the action result list. |
long |
getStartDate()
|
WFCase.Step.State |
getState()
Get the step state. |
java.lang.String |
getTitle()
Get the last generated report title. |
int[] |
getTransitions()
Get the step transitions. |
boolean |
isComplete()
|
boolean |
isCompletionChecked()
Test the completion checked flag. |
boolean |
isExecuting()
|
boolean |
isInactive()
|
boolean |
isJoinBreak()
Test the join break flag. |
boolean |
isReady()
|
boolean |
isVariableDefined(java.lang.String name)
Test to see if the variable is defined in this scope. |
boolean |
isWaiting()
|
protected void |
setActivity(WFProcess.Activity act)
Set the resolved activity object if we happen to know it. |
protected void |
setActivityId(int id)
Set the process activity id. |
protected void |
setCase(WFCase c)
Set the owning case. |
void |
setComplete()
|
void |
setCompletionChecked(boolean b)
Set the completion checked flag. |
void |
setEndDate()
|
void |
setExecuting()
|
void |
setFeeds(int[] feeds)
Set the step feeds. |
protected void |
setId(int id)
Set the step id. |
void |
setInactive()
|
void |
setJoinBreak(boolean b)
Set the join break flag. |
void |
setJoins(int[] joins)
Set the step joins. |
void |
setReady()
|
void |
setStartDate()
|
void |
setTitle(java.lang.String s)
Set the report title. |
void |
setTransitions(int[] trans)
Set the step transitions. |
void |
setWaiting()
|
void |
toXml(java.lang.StringBuffer b,
int indent)
Emit the XML representation of the step. |
Methods inherited from class com.waveset.object.VariableScope |
assimilateLocalVariables, clearLocalVariables, expandVariables, getLocalVariable, getLocalVariables, getVariable, getVariables, getVariables, pruneGenericObjects, removeLocalVariable, resolveVariable, setLocalVariable, setLocalVariables, setVariable |
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 |
Constructor Detail |
public WFCase.Step()
public WFCase.Step(org.w3c.dom.Element e) throws WavesetException
Method Detail |
public VariableScope getParentScope()
VariableScope
getParentScope
in class VariableScope
public boolean isVariableDefined(java.lang.String name) throws WavesetException
VariableScope
isVariableDefined
in class VariableScope
WavesetException
public java.lang.String getElementName()
AbstractXmlObject
getElementName
in interface XmlObject
getElementName
in class AbstractXmlObject
public java.lang.String getName()
public WFCase getCase()
protected void setCase(WFCase c)
public int getId()
protected void setId(int id)
WFCase.addActivityInstance
as it
populates the activities list.
public int getActivityId()
WFProcess.getActivity
method.
protected void setActivityId(int id)
WFCase.addStep
.
public WFProcess.Activity getActivity() throws WavesetException
WavesetException
public java.lang.String getActivityName()
protected void setActivity(WFProcess.Activity act)
public WFCase.Step.State getState()
public int[] getFeeds()
public void setFeeds(int[] feeds)
public int[] getJoins()
public void setJoins(int[] joins)
public void addJoin(int index)
public int[] getTransitions()
public void setTransitions(int[] trans)
public void addTransition(int index)
public boolean isCompletionChecked()
public void setCompletionChecked(boolean b)
public java.lang.String getTitle()
public void setTitle(java.lang.String s)
public boolean isJoinBreak()
public void setJoinBreak(boolean b)
public java.util.List getResults()
public int getResultCount()
public WFCase.Result getResult(int index)
public WFCase.Result getResultForAction(int actionId)
public WFCase.Result addResult(WFProcess.Action action) throws WavesetException
WavesetException
public WFCase.Result getItemResult(java.lang.String itemId)
public boolean isReady()
public void setReady()
public boolean isExecuting()
public void setExecuting()
public boolean isWaiting()
public void setWaiting()
public boolean isComplete()
public void setComplete()
public boolean isInactive()
public void setInactive()
public void setStartDate()
public long getStartDate()
public void setEndDate()
public long getEndDate()
public void toXml(java.lang.StringBuffer b, int indent)
toXml
in interface XmlObject
toXml
in class AbstractXmlObject
public void addAttribute(java.lang.StringBuffer b, java.lang.String name, int[] values)
public int[] getIntArrayAttribute(org.w3c.dom.Element e, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |