|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.pvm.impl.ProcessElementImpl org.jbpm.pvm.impl.ObservableElementImpl org.jbpm.pvm.impl.TransitionImpl
public class TransitionImpl
Field Summary | |
---|---|
protected NodeImpl |
destination
|
protected ObjectReference<Condition> |
guardConditionReference
|
protected boolean |
isTakeAsync
|
protected NodeImpl |
source
|
protected ObjectReference<Condition> |
waitConditionReference
|
Fields inherited from class org.jbpm.pvm.impl.ObservableElementImpl |
---|
description, events, name |
Fields inherited from class org.jbpm.pvm.impl.ProcessElementImpl |
---|
dbid, dbversion, exceptionHandlers, processDefinition, properties |
Fields inherited from interface org.jbpm.pvm.Transition |
---|
EVENT_TRANSITION_TAKE |
Method Summary | |
---|---|
EventImpl |
createEvent()
|
NodeImpl |
getDestination()
the node in which this transition arrives. |
EventImpl |
getEvent()
the event that is fired when this transition is being taken. |
Condition |
getGuardCondition()
the condition that indicates if this transition can be taken or not. |
ObjectReference<Condition> |
getGuardConditionReference()
see Guard conditions |
ObservableElementImpl |
getParent()
the first common parent between the source and the destination node. |
NodeImpl |
getSource()
the node from which this transition leaves. |
Condition |
getWaitCondition()
the condition that is evaluated while the transition is taken and determines whether this transition should propagate to the destination node or behave as a wait state. |
ObjectReference<Condition> |
getWaitConditionReference()
see Wait conditions |
boolean |
isTakeAsync()
|
void |
makeDefault()
|
void |
setDestination(NodeImpl destination)
|
void |
setGuardConditionReference(ObjectReference<Condition> guardConditionReference)
see Guard conditions |
void |
setName(java.lang.String name)
|
void |
setSource(NodeImpl source)
|
void |
setTakeAsync(boolean isTakeAsync)
|
void |
setWaitConditionReference(ObjectReference<Condition> waitConditionReference)
|
void |
setWaitConditionReferenceConditionReference(ObjectReference<Condition> waitConditionReference)
see Wait conditions |
java.lang.String |
toString()
|
Methods inherited from class org.jbpm.pvm.impl.ObservableElementImpl |
---|
addEvent, createEvent, getDescription, getEvent, getEvents, getName, hasEvent, setDescription, setEvents |
Methods inherited from class org.jbpm.pvm.impl.ProcessElementImpl |
---|
addExceptionHandler, addProperty, createExceptionHandler, getDbid, getExceptionHandlers, getProcessDefinition, getProperties, getProperty, getPropertyKeys, setExceptionHandlers, setProcessDefinition, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jbpm.pvm.ObservableElement |
---|
getDescription, getEvent, getEvents, getName, hasEvent |
Methods inherited from interface org.jbpm.pvm.ProcessElement |
---|
getDbid, getExceptionHandlers, getProcessDefinition, getProperty, getPropertyKeys |
Field Detail |
---|
protected NodeImpl source
protected NodeImpl destination
protected ObjectReference<Condition> guardConditionReference
protected ObjectReference<Condition> waitConditionReference
protected boolean isTakeAsync
Method Detail |
---|
public void makeDefault()
public java.lang.String toString()
toString
in class java.lang.Object
public EventImpl createEvent()
public ObservableElementImpl getParent()
getParent
in interface ObservableElement
getParent
in class ObservableElementImpl
public void setName(java.lang.String name)
setName
in class ObservableElementImpl
public Condition getGuardCondition()
Transition
getGuardCondition
in interface Transition
public Condition getWaitCondition()
Transition
getWaitCondition
in interface Transition
public EventImpl getEvent()
Transition
Transition.EVENT_TRANSITION_TAKE
entry of the
events in the process element
event map
.
getEvent
in interface Transition
public NodeImpl getSource()
Transition
getSource
in interface Transition
public void setSource(NodeImpl source)
public NodeImpl getDestination()
Transition
getDestination
in interface Transition
public void setDestination(NodeImpl destination)
public ObjectReference<Condition> getGuardConditionReference()
public void setGuardConditionReference(ObjectReference<Condition> guardConditionReference)
public ObjectReference<Condition> getWaitConditionReference()
public void setWaitConditionReferenceConditionReference(ObjectReference<Condition> waitConditionReference)
public boolean isTakeAsync()
public void setTakeAsync(boolean isTakeAsync)
public void setWaitConditionReference(ObjectReference<Condition> waitConditionReference)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |