Class Activities

java.lang.Object
com.nomagic.magicdraw.uml2.Activities

public class Activities extends Object
Convenience utility methods that operate on elements from Activities.
  • Constructor Details

    • Activities

      public Activities()
  • Method Details

    • isAcceptTimeEventAction

      public static boolean isAcceptTimeEventAction(AcceptEventAction acceptEventAction)
    • getEventForAction

      @CheckForNull public static Event getEventForAction(AcceptEventAction action)
      Returns an event of given action. Event is taken from trigger.
      Parameters:
      action - the given action
      Returns:
      an event of given action
    • getSignalForAction

      @CheckForNull public static Signal getSignalForAction(AcceptEventAction action)
      Returns a signal of given action. Signal is taken from trigger signal event.
      Parameters:
      action - the given action
      Returns:
      a signal of given action
    • getSignalEventForAction

      @CheckForNull public static SignalEvent getSignalEventForAction(AcceptEventAction action)
      Returns a signal event of given action. Signal Event is taken from trigger.
      Parameters:
      action - the given action
      Returns:
      a signal event of given action
    • getActionForEvent

      @CheckForNull public static AcceptEventAction getActionForEvent(Event event)
    • getTargetPin

      @CheckForNull public static InputPin getTargetPin(InvocationAction invocationAction)
      Returns target pin of InvocationAction type elements that can have target
      Parameters:
      invocationAction - action to get the target pin from
      Returns:
      target pin of the action