public interface Transition extends Namespace, RedefinableElement
A Transition represents an arc between exactly one source Vertex and exactly one Target vertex (the source and targets may be the same Vertex). It may form part of a compound transition, which takes the StateMachine from one steady State configuration to another, representing the full response of the StateMachine to an occurrence of an Event that triggered it.
The following features are supported:
UMLPackage.getTransition()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Transition> |
get_transitionOfRedefinedTransition()
Returns the value of the 'transition Of Redefined Transition' reference list.
|
Region |
getContainer()
Returns the value of the 'Container' container reference.
|
Behavior |
getEffect()
Returns the value of the 'Effect' containment reference.
|
Constraint |
getGuard()
Returns the value of the 'Guard' reference.
|
TransitionKind |
getKind()
Returns the value of the 'Kind' attribute.
|
Transition |
getRedefinedTransition()
Returns the value of the 'Redefined Transition' reference.
|
java.util.Collection<Classifier> |
getRedefinitionContext()
Returns the value of the 'Redefinition Context' reference list.
|
Vertex |
getSource()
Returns the value of the 'Source' reference.
|
Vertex |
getTarget()
Returns the value of the 'Target' reference.
|
java.util.Collection<Trigger> |
getTrigger()
Returns the value of the 'Trigger' containment reference list.
|
boolean |
has_transitionOfRedefinedTransition() |
boolean |
hasTrigger() |
void |
setContainer(Region value)
Sets the value of the '
Container ' container
reference. |
void |
setEffect(Behavior value)
Sets the value of the '
Effect ' containment reference. |
void |
setGuard(Constraint value)
Sets the value of the '
Guard ' reference. |
void |
setKind(TransitionKind value)
Sets the value of the '
Kind ' attribute. |
void |
setRedefinedTransition(Transition value)
Sets the value of the
'
Redefined Transition ' reference. |
void |
setSource(Vertex value)
Sets the value of the '
Source ' reference. |
void |
setTarget(Vertex value)
Sets the value of the '
Target ' reference. |
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull TransitionKind getKind()
"external"
.
The literals are from the enumeration TransitionKind
.
Indicates the precise type of the Transition.
TransitionKind
,
setKind(TransitionKind)
,
UMLPackage.getTransition_Kind()
void setKind(@CheckForNull TransitionKind value)
Kind
' attribute.
value
- the new value of the 'Kind' attribute.TransitionKind
,
getKind()
@CheckForNull Region getContainer()
Transition
'.
Designates the Region that owns this Transition.
setContainer(Region)
,
UMLPackage.getTransition_Container()
,
Region.getTransition()
void setContainer(@CheckForNull Region value)
Container
' container
reference.
value
- the new value of the 'Container' container reference.getContainer()
@CheckForNull Vertex getTarget()
Incoming
'.
Designates the target Vertex that is reached when the Transition is taken.
setTarget(Vertex)
,
UMLPackage.getTransition_Target()
,
Vertex.getIncoming()
void setTarget(@CheckForNull Vertex value)
Target
' reference.
value
- the new value of the 'Target' reference.getTarget()
@CheckForNull Transition getRedefinedTransition()
.mdbehaviorstatemachines.Transition#get_transitionOfRedefinedTransition transition Of Redefined Transition
'.
The Transition that is redefined by this Transition.
setRedefinedTransition(Transition)
,
UMLPackage.getTransition_RedefinedTransition()
,
get_transitionOfRedefinedTransition()
void setRedefinedTransition(@CheckForNull Transition value)
Redefined Transition
' reference.
value
- the new value of the 'Redefined Transition' reference.getRedefinedTransition()
java.util.Collection<Transition> get_transitionOfRedefinedTransition()
Transition
.
It is bidirectional and its opposite is
'Redefined Transition
'.
If the meaning of the 'transition Of Redefined Transition' reference isn't clear, there really should be more of a description here...
UMLPackage.getTransition__transitionOfRedefinedTransition()
,
getRedefinedTransition()
@CheckForNull Constraint getGuard()
transition Of Guard
'.
A guard is a Constraint that provides a fine-grained control over the firing of the Transition. The guard is evaluated when an Event occurrence is dispatched by
the StateMachine. If the guard is true at that time, the Transition may be enabled, otherwise, it is disabled. Guards should be pure expressions without side
effects. Guard expressions with side effects are ill formed.
setGuard(Constraint)
,
UMLPackage.getTransition_Guard()
,
Constraint.get_transitionOfGuard()
void setGuard(@CheckForNull Constraint value)
Guard
' reference.
value
- the new value of the 'Guard' reference.getGuard()
@CheckForNull Behavior getEffect()
transition Of Effect
'.
Specifies an optional behavior to be performed when the Transition fires.
setEffect(Behavior)
,
UMLPackage.getTransition_Effect()
,
Behavior.get_transitionOfEffect()
void setEffect(@CheckForNull Behavior value)
Effect
' containment reference.
value
- the new value of the 'Effect' containment reference.getEffect()
java.util.Collection<Trigger> getTrigger()
Trigger
.
It is bidirectional and its opposite is
'transition Of Trigger
'.
Specifies the Triggers that may fire the transition.
UMLPackage.getTransition_Trigger()
,
Trigger.get_transitionOfTrigger()
@CheckForNull Vertex getSource()
Outgoing
'.
Designates the originating Vertex (State or Pseudostate) of the Transition.
setSource(Vertex)
,
UMLPackage.getTransition_Source()
,
Vertex.getOutgoing()
void setSource(@CheckForNull Vertex value)
Source
' reference.
value
- the new value of the 'Source' reference.getSource()
java.util.Collection<Classifier> getRedefinitionContext()
Classifier
.
It is bidirectional and its opposite is
'transition Of Redefinition Context
'.
References the Classifier in which context this element may be redefined.
getRedefinitionContext
in interface RedefinableElement
UMLPackage.getTransition_RedefinitionContext()
,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_transitionOfRedefinitionContext
boolean has_transitionOfRedefinedTransition() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasTrigger() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException