|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.util.AbstractBean org.obe.xpdl.model.misc.AbstractWFElement org.obe.xpdl.model.transition.Transition
Implementation of a transition.
Constructor Summary | |
Transition()
|
|
Transition(java.lang.String id,
java.lang.String name,
java.lang.String from,
java.lang.String to)
Construct a new Transition. |
Method Summary | |
void |
accept(PackageVisitor visitor)
|
Condition |
getCondition()
Get the condition which is used to determine whether or not the transition should be executed. |
Event |
getEvent()
|
ExecutionType |
getExecution()
|
java.lang.String |
getFrom()
Get the start activity ID |
Activity |
getFromActivity()
|
java.lang.String |
getTo()
Get the end activity ID. |
Activity |
getToActivity()
|
void |
setCondition(Condition condition)
Set the condition which is used to determine whether or not the transition should be executed. |
void |
setEvent(Event event)
|
void |
setExecutionType(ExecutionType executionType)
|
void |
setFrom(java.lang.String from)
Set the start activity ID. |
void |
setFromActivity(Activity fromActivity)
|
void |
setTo(java.lang.String to)
Set the end activity ID. |
void |
setToActivity(Activity toActivity)
|
java.lang.String |
toString()
|
Methods inherited from class org.obe.xpdl.model.misc.AbstractWFElement |
createExtendedAttributes, equals, getDescription, getExtendedAttributes, getId, getName, hashCode, setDescription, setExtendedAttributes, setId, setName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Transition()
public Transition(java.lang.String id, java.lang.String name, java.lang.String from, java.lang.String to)
id
- The transition IDname
- The transition namefrom
- The activity ID where the transition startsto
- The activity ID where the transition endsMethod Detail |
public void accept(PackageVisitor visitor)
public Condition getCondition()
public void setCondition(Condition condition)
condition
- The conditionpublic Event getEvent()
public void setEvent(Event event)
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
from
- The new start activity IDpublic java.lang.String getTo()
public void setTo(java.lang.String to)
to
- The end activty IDpublic Activity getToActivity()
public void setToActivity(Activity toActivity)
public Activity getFromActivity()
public void setFromActivity(Activity fromActivity)
public ExecutionType getExecution()
public void setExecutionType(ExecutionType executionType)
public java.lang.String toString()
toString
in class AbstractWFElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |