Interface Transition
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
ProtocolTransition
public interface Transition extends Namespace, RedefinableElement
A representation of the model object 'Transition'.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:
- See Also:
UMLPackage.getTransition()
- Model:
- annotation="MOF package='statemachines.mdbehaviorstatemachines'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getKind
@CheckForNull TransitionKind getKind()
Returns the value of the 'Kind' attribute. The default value is"external"
. The literals are from the enumerationTransitionKind
. Indicates the precise type of the Transition.- Returns:
- the value of the 'Kind' attribute.
- See Also:
TransitionKind
,setKind(TransitionKind)
,UMLPackage.getTransition_Kind()
- Model:
- default="external" required="true" ordered="false"
- Generated:
-
setKind
void setKind(@CheckForNull TransitionKind value)
Sets the value of the 'Kind
' attribute.- Parameters:
value
- the new value of the 'Kind' attribute.- See Also:
TransitionKind
,getKind()
- Generated:
-
getContainer
@CheckForNull Region getContainer()
Returns the value of the 'Container' container reference. It is bidirectional and its opposite is 'Transition
'. Designates the Region that owns this Transition.- Returns:
- the value of the 'Container' container reference.
- See Also:
setContainer(Region)
,UMLPackage.getTransition_Container()
,Region.getTransition()
- Model:
- opposite="transition" required="true" transient="false" ordered="false"
- Generated:
-
setContainer
void setContainer(@CheckForNull Region value)
Sets the value of the 'Container
' container reference.- Parameters:
value
- the new value of the 'Container' container reference.- See Also:
getContainer()
- Generated:
-
getTarget
@CheckForNull Vertex getTarget()
Returns the value of the 'Target' reference. It is bidirectional and its opposite is 'Incoming
'. Designates the target Vertex that is reached when the Transition is taken.- Returns:
- the value of the 'Target' reference.
- See Also:
setTarget(Vertex)
,UMLPackage.getTransition_Target()
,Vertex.getIncoming()
- Model:
- opposite="incoming" required="true" ordered="false"
- Generated:
-
setTarget
void setTarget(@CheckForNull Vertex value)
Sets the value of the 'Target
' reference.- Parameters:
value
- the new value of the 'Target' reference.- See Also:
getTarget()
- Generated:
-
getRedefinedTransition
@CheckForNull Transition getRedefinedTransition()
Returns the value of the 'Redefined Transition' reference. It is bidirectional and its opposite is '.mdbehaviorstatemachines.Transition#get_transitionOfRedefinedTransition transition Of Redefined Transition
'. The Transition that is redefined by this Transition.- Returns:
- the value of the 'Redefined Transition' reference.
- See Also:
setRedefinedTransition(Transition)
,UMLPackage.getTransition_RedefinedTransition()
,get_transitionOfRedefinedTransition()
- Model:
- opposite="_transitionOfRedefinedTransition" ordered="false"
- Generated:
-
setRedefinedTransition
void setRedefinedTransition(@CheckForNull Transition value)
Sets the value of the 'Redefined Transition
' reference.- Parameters:
value
- the new value of the 'Redefined Transition' reference.- See Also:
getRedefinedTransition()
- Generated:
-
get_transitionOfRedefinedTransition
java.util.Collection<Transition> get_transitionOfRedefinedTransition()
Returns the value of the 'transition Of Redefined Transition' reference list. The list contents are of typeTransition
. 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...
- Returns:
- the value of the 'transition Of Redefined Transition' reference list.
- See Also:
UMLPackage.getTransition__transitionOfRedefinedTransition()
,getRedefinedTransition()
- Model:
- opposite="redefinedTransition" ordered="false"
- Generated:
-
getGuard
@CheckForNull Constraint getGuard()
Returns the value of the 'Guard' reference. It is bidirectional and its opposite is '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.- Returns:
- the value of the 'Guard' reference.
- See Also:
setGuard(Constraint)
,UMLPackage.getTransition_Guard()
,Constraint.get_transitionOfGuard()
- Model:
- opposite="_transitionOfGuard" ordered="false"
- Generated:
-
setGuard
void setGuard(@CheckForNull Constraint value)
Sets the value of the 'Guard
' reference.- Parameters:
value
- the new value of the 'Guard' reference.- See Also:
getGuard()
- Generated:
-
getEffect
@CheckForNull Behavior getEffect()
Returns the value of the 'Effect' containment reference. It is bidirectional and its opposite is 'transition Of Effect
'. Specifies an optional behavior to be performed when the Transition fires.- Returns:
- the value of the 'Effect' containment reference.
- See Also:
setEffect(Behavior)
,UMLPackage.getTransition_Effect()
,Behavior.get_transitionOfEffect()
- Model:
- opposite="_transitionOfEffect" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setEffect
void setEffect(@CheckForNull Behavior value)
Sets the value of the 'Effect
' containment reference.- Parameters:
value
- the new value of the 'Effect' containment reference.- See Also:
getEffect()
- Generated:
-
getTrigger
java.util.Collection<Trigger> getTrigger()
Returns the value of the 'Trigger' containment reference list. The list contents are of typeTrigger
. It is bidirectional and its opposite is 'transition Of Trigger
'. Specifies the Triggers that may fire the transition.- Returns:
- the value of the 'Trigger' containment reference list.
- See Also:
UMLPackage.getTransition_Trigger()
,Trigger.get_transitionOfTrigger()
- Model:
- opposite="_transitionOfTrigger" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getSource
@CheckForNull Vertex getSource()
Returns the value of the 'Source' reference. It is bidirectional and its opposite is 'Outgoing
'. Designates the originating Vertex (State or Pseudostate) of the Transition.- Returns:
- the value of the 'Source' reference.
- See Also:
setSource(Vertex)
,UMLPackage.getTransition_Source()
,Vertex.getOutgoing()
- Model:
- opposite="outgoing" required="true" ordered="false"
- Generated:
-
setSource
void setSource(@CheckForNull Vertex value)
Sets the value of the 'Source
' reference.- Parameters:
value
- the new value of the 'Source' reference.- See Also:
getSource()
- Generated:
-
getRedefinitionContext
java.util.Collection<Classifier> getRedefinitionContext()
Returns the value of the 'Redefinition Context' reference list. The list contents are of typeClassifier
. It is bidirectional and its opposite is 'transition Of Redefinition Context
'. References the Classifier in which context this element may be redefined.- Specified by:
getRedefinitionContext
in interfaceRedefinableElement
- Returns:
- the value of the 'Redefinition Context' reference list.
- See Also:
UMLPackage.getTransition_RedefinitionContext()
,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_transitionOfRedefinitionContext
- Model:
- opposite="_transitionOfRedefinitionContext" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
has_transitionOfRedefinedTransition
boolean has_transitionOfRedefinedTransition() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasTrigger
boolean hasTrigger() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-