Interface OapiTransition


public interface OapiTransition
A transition to a new state of a state machine.

The following attributes and references are supported:

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all metadata on an element (documentation etc.).
    Returns the name of the transition.
    Returns the target state of the transition.
    Returns a logic statement defining the condition when the transition is allowed.
    void
    Set all metadata on an element (documentation etc.).
    void
    setName(String value)
    Set the name of the transition.
    void
    Set the target state of the transition.
    void
    setWhen(String value)
    Set a logic statement defining the condition when the transition is allowed.
  • Method Details

    • getWhen

      String getWhen()
      Returns a logic statement defining the condition when the transition is allowed.
      Returns:
      a logic statement defining the condition when the transition is allowed
      See Also:
    • setWhen

      void setWhen(String value)
      Set a logic statement defining the condition when the transition is allowed.
      Parameters:
      value - the new value of the 'When' attribute.
      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 transition.
      Returns:
      the name of the transition
      See Also:
    • setName

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

      String getTarget()
      Returns the target state of the transition.
      Returns:
      the target state of the transition
      See Also:
    • setTarget

      void setTarget(String value)
      Set the target state of the transition.
      Parameters:
      value - the new value of the 'Target' attribute.
      See Also: