Package com.nomagic.magicdraw.uml2
Class Activities
java.lang.Object
com.nomagic.magicdraw.uml2.Activities
Convenience utility methods that operate on elements from Activities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AcceptEventAction
getActionForEvent
(Event event) static Event
getEventForAction
(AcceptEventAction action) Returns an event of given action.static SignalEvent
Returns a signal event of given action.static Signal
getSignalForAction
(AcceptEventAction action) Returns a signal of given action.static InputPin
getTargetPin
(InvocationAction invocationAction) Returns target pin of InvocationAction type elements that can have targetstatic boolean
isAcceptTimeEventAction
(AcceptEventAction acceptEventAction)
-
Constructor Details
-
Activities
public Activities()
-
-
Method Details
-
isAcceptTimeEventAction
-
getEventForAction
Returns an event of given action. Event is taken from trigger.- Parameters:
action
- the given action- Returns:
- an event of given action
-
getSignalForAction
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
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
-
getTargetPin
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
-