Interface OapiState


public interface OapiState
The state of a state machine (final if it has no transitions).

The following attributes and references are supported:

  • Method Details

    • getTransitions

      List<OapiTransition> getTransitions()
      Returns the list of transitions between states.
      Returns:
      the list of transitions between states
    • getOnentry

      OapiAction getOnentry()
      Returns an operation fired when entering the state.
      Returns:
      an operation fired when entering the state
      See Also:
    • setOnentry

      void setOnentry(OapiAction value)
      Set an operation fired when entering the state.
      Parameters:
      value - the new value of the 'Onentry' containment reference.
      See Also:
    • getActivity

      OapiAction getActivity()
      Returns an operation launched when entering the state and completed when exiting or earlier.
      Returns:
      an operation launched when entering the state and completed when exiting or earlier
      See Also:
    • setActivity

      void setActivity(OapiAction value)
      Set an operation launched when entering the state and completed when exiting or earlier.
      Parameters:
      value - the new value of the 'Activity' containment reference.
      See Also:
    • getOnexit

      OapiAction getOnexit()
      Returns an operation launched when exiting the state.
      Returns:
      an operation launched when exiting the state
      See Also:
    • setOnexit

      void setOnexit(OapiAction value)
      Set an operation launched when exiting the state.
      Parameters:
      value - the new value of the 'Onexit' containment reference.
      See Also:
    • getAnnotation

      OapiAnnotation getAnnotation()
      Returns all metadata on an element (documentation etc.).
      Returns:
      all metadata on an element (documentation etc.)
      See Also:
    • setAnnotation

      void setAnnotation(OapiAnnotation value)
      Set all metadata on an element (documentation etc.).
      Parameters:
      value - the new value of the 'Annotation' containment reference.
      See Also:
    • getName

      String getName()
      Returns the name of the state.
      Returns:
      the name of the state
      See Also:
    • setName

      void setName(String value)
      Set the name of the state.
      Parameters:
      value - the new value of the 'Name' attribute.
      See Also: