org.ow2.bonita.facade.def.majorElement
Interface TransitionDefinition

All Superinterfaces:
NamedElement, ProcessElement, java.io.Serializable
All Known Implementing Classes:
TransitionDefinitionImpl

public interface TransitionDefinition
extends ProcessElement, java.io.Serializable

Activities are related to one another via flow control conditions (transition information). Each individual transition has three elementary properties, the from-activity, the to-activity and the condition under which the transition is made. Transition from one activity to another may be conditional (involving expressions which are evaluated to permit or inhibit the transition) or unconditional. This interface is derived from the Transition Information of XPDL.


Method Summary
 ConditionDefinition getCondition()
          Returns the ConditionDefinition interface defining the condition.
 java.lang.String getDescription()
          Returns the description for the transition.
 java.lang.String getFrom()
          Returns the activity processDefinitionUUID from which the transition goes out.
 java.lang.String getTo()
          Returns the activity processDefinitionUUID to which the transition goes in.
 java.lang.String getTransitionId()
          Returns the value of the id attribute of the Transition element defined into the XPDL file.
 TransitionDefinitionUUID getUUID()
          Returns the UUID for the TransitionDefinition.
 void setCondition(ConditionDefinition condition)
           
 void setDescription(java.lang.String description)
           
 void setUUID(TransitionDefinitionUUID uuid)
           
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.ProcessElement
getProcessDefinitionUUID, setProcessDefinitionUUID
 
Methods inherited from interface org.ow2.bonita.facade.def.majorElement.NamedElement
getName
 

Method Detail

getUUID

TransitionDefinitionUUID getUUID()
Returns the UUID for the TransitionDefinition.


getTransitionId

java.lang.String getTransitionId()
Returns the value of the id attribute of the Transition element defined into the XPDL file.


getFrom

java.lang.String getFrom()
Returns the activity processDefinitionUUID from which the transition goes out.


getTo

java.lang.String getTo()
Returns the activity processDefinitionUUID to which the transition goes in.


getCondition

ConditionDefinition getCondition()
Returns the ConditionDefinition interface defining the condition.


getDescription

java.lang.String getDescription()
Returns the description for the transition.


setUUID

void setUUID(TransitionDefinitionUUID uuid)

setCondition

void setCondition(ConditionDefinition condition)

setDescription

void setDescription(java.lang.String description)


Copyright © 2009 OW2 Consortium. All Rights Reserved.