Interface IFlow

All Superinterfaces:
IElement, IEntity, IHyperlinkOwner, INamedElement

public interface IFlow extends INamedElement
Interface for Flows.
  • Method Details

    • getSource

      IActivityNode getSource()
      Get Source ActivityNode.
      Returns:
      ActivityNode.
    • getTarget

      IActivityNode getTarget()
      Get Target ActivityNode.
      Returns:
      ActivityNode.
    • getGuard

      String getGuard()
      Get Guard Condition.
      Returns:
      Guard Condition.
    • getAction

      String getAction()
      Get Action.
      Returns:
      Action.
    • setGuard

      void setGuard(String guard)
      Set Guard Condition.
      Parameters:
      guard - Guard Condition. In the case of null, Guard Condition shall be deleted.
      Throws:
      InvalidEditingException - InvalidEditingException occurs.
      Keys:
              ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
              PARAMETER_ERROR_KEY - if a parameter is not set properly.
              READ_ONLY_KEY - if a read-only element is edited.
      Values:
              Error messages for exceptions.
      Since:
      6.8.0
    • setAction

      void setAction(String action)
      Set Action.
      Parameters:
      action - Action. In the case of null, Action shall be deleted.
      Throws:
      InvalidEditingException - InvalidEditingException occurs.
      Keys:
              ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
              PARAMETER_ERROR_KEY - if a parameter is not set properly.
              READ_ONLY_KEY - if a read-only element is edited.
      Values:
              Error messages for exceptions.
      Since:
      6.8.0