Package com.nomagic.magicdraw.uml2
Class Activities
- java.lang.Object
-
- com.nomagic.magicdraw.uml2.Activities
-
public class Activities extends java.lang.Object
Convenience utility methods that operate on elements from Activities.
-
-
Constructor Summary
Constructors Constructor Description Activities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AcceptEventAction
getActionForEvent(Event event)
static Event
getEventForAction(AcceptEventAction action)
Returns an event of given action.static SignalEvent
getSignalEventForAction(AcceptEventAction action)
Returns a signal event of given action.static Signal
getSignalForAction(AcceptEventAction action)
Returns a signal of given action.static boolean
isAcceptTimeEventAction(AcceptEventAction acceptEventAction)
-
-
-
Method Detail
-
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)
-
-