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

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:
Model:
annotation="MOF package='statemachines.mdbehaviorstatemachines'"
Generated:
  • Method Details

    • getKind

      @CheckForNull TransitionKind getKind()
      Returns the value of the 'Kind' attribute. The default value is "external". The literals are from the enumeration TransitionKind. 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

      void setKind(@CheckForNull TransitionKind value)
      Sets the value of the 'Kind' attribute.
      Parameters:
      value - the new value of the 'Kind' attribute.
      See Also:
      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:
      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:
      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:
      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:
      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:
      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:
      Generated:
    • get_transitionOfRedefinedTransition

      Collection<Transition> get_transitionOfRedefinedTransition()
      Returns the value of the 'transition Of Redefined Transition' reference list. The list contents are of type 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...

      Returns:
      the value of the 'transition Of Redefined Transition' reference list.
      See Also:
      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:
      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:
      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:
      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:
      Generated:
    • getTrigger

      Collection<Trigger> getTrigger()
      Returns the value of the 'Trigger' containment reference list. The list contents are of type Trigger. 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

      @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:
      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:
      Generated:
    • getRedefinitionContext

      Collection<Classifier> getRedefinitionContext()
      Returns the value of the 'Redefinition Context' reference list. The list contents are of type Classifier. 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 interface RedefinableElement
      Returns:
      the value of the 'Redefinition Context' reference list.
      See Also:
      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: