org.jbpm.pvm.internal.model
Class TransitionImpl
java.lang.Object
org.jbpm.pvm.internal.model.ProcessElementImpl
org.jbpm.pvm.internal.model.ObservableElementImpl
org.jbpm.pvm.internal.model.TransitionImpl
- All Implemented Interfaces:
- java.io.Serializable, Transition, ObservableElement
- Direct Known Subclasses:
- ProcessModificationsImpl.AddedTransition
public class TransitionImpl
- extends ObservableElementImpl
- implements Transition
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.pvm.internal.model.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 |
source
protected ActivityImpl source
sourceIndex
protected java.lang.Integer sourceIndex
destination
protected ActivityImpl destination
condition
protected Condition condition
makeDefault
public void makeDefault()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
createEvent
public EventImpl createEvent()
getEvent
public EventImpl getEvent()
getParent
public ObservableElementImpl getParent()
- the first common parent between the source and the destination activity. The
source and destination itself are included in the search except if
source and destination are equal. In that case (self-transition), then
it's the parent of the activity.
- Specified by:
getParent in interface ObservableElement- Overrides:
getParent in class ObservableElementImpl
setName
public void setName(java.lang.String name)
- Overrides:
setName in class ObservableElementImpl
getSource
public ActivityImpl getSource()
- Specified by:
getSource in interface Transition
setSource
public void setSource(ActivityImpl source)
getDestination
public ActivityImpl getDestination()
- Specified by:
getDestination in interface Transition
setDestination
public void setDestination(ActivityImpl destination)
getSourceIndex
public java.lang.Integer getSourceIndex()
setSourceIndex
public void setSourceIndex(java.lang.Integer sourceIndex)
getCondition
public Condition getCondition()
setCondition
public void setCondition(Condition condition)
Copyright © 2010 JBoss Community. All Rights Reserved.