Interface OapiStateMachine


public interface OapiStateMachine
A behavior model that has finite, discrete values called states and defined transitions between states.

The following attributes and references are supported:

  • Method Details

    • getInitial

      OapiState getInitial()
      Returns the initial state of the state machine.
      Returns:
      the initial state of the state machine
      See Also:
    • setInitial

      void setInitial(OapiState value)
      Set the initial state of the state machine.
      Parameters:
      value - the new value of the 'Initial' containment reference.
      See Also:
    • getStates

      List<OapiState> getStates()
      Returns a list of states.
      Returns:
      a list of states
    • 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 machine.
      Returns:
      the name of the state machine
      See Also:
    • setName

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