Interface Transition
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,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
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:
- Model:
- annotation="MOF package='statemachines.mdbehaviorstatemachines'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'transition Of Redefined Transition' reference list.Returns the value of the 'Container' container reference.Returns the value of the 'Effect' containment reference.getGuard()
Returns the value of the 'Guard' reference.getKind()
Returns the value of the 'Kind' attribute.Returns the value of the 'Redefined Transition' reference.Returns the value of the 'Redefinition Context' reference list.Returns the value of the 'Source' reference.Returns the value of the 'Target' reference.Returns the value of the 'Trigger' containment reference list.boolean
boolean
void
setContainer
(Region value) Sets the value of the 'Container
' container reference.void
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
Sets the value of the 'Source
' reference.void
Sets the value of the 'Target
' reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
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.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
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
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
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:
- Model:
- default="external" required="true" ordered="false"
- Generated:
-
setKind
Sets the value of the 'Kind
' attribute.- Parameters:
value
- the new value of the 'Kind' attribute.- See Also:
- Generated:
-
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:
- Model:
- opposite="transition" required="true" transient="false" ordered="false"
- Generated:
-
setContainer
Sets the value of the 'Container
' container reference.- Parameters:
value
- the new value of the 'Container' container reference.- See Also:
- Generated:
-
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:
- Model:
- opposite="incoming" required="true" ordered="false"
- Generated:
-
setTarget
Sets the value of the 'Target
' reference.- Parameters:
value
- the new value of the 'Target' reference.- See Also:
- Generated:
-
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:
- Model:
- opposite="_transitionOfRedefinedTransition" ordered="false"
- Generated:
-
setRedefinedTransition
Sets the value of the 'Redefined Transition
' reference.- Parameters:
value
- the new value of the 'Redefined Transition' reference.- See Also:
- Generated:
-
get_transitionOfRedefinedTransition
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:
- Model:
- opposite="redefinedTransition" ordered="false"
- Generated:
-
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:
- Model:
- opposite="_transitionOfGuard" ordered="false"
- Generated:
-
setGuard
Sets the value of the 'Guard
' reference.- Parameters:
value
- the new value of the 'Guard' reference.- See Also:
- Generated:
-
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:
- Model:
- opposite="_transitionOfEffect" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setEffect
Sets the value of the 'Effect
' containment reference.- Parameters:
value
- the new value of the 'Effect' containment reference.- See Also:
- Generated:
-
getTrigger
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:
- Model:
- opposite="_transitionOfTrigger" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
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:
- Model:
- opposite="outgoing" required="true" ordered="false"
- Generated:
-
setSource
Sets the value of the 'Source
' reference.- Parameters:
value
- the new value of the 'Source' reference.- See Also:
- Generated:
-
getRedefinitionContext
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:
-