1 // license-header java merge-point
2 //
3 // Attention: generated code (by Metafacade.vsl) - do not modify!
4 //
5 package org.andromda.metafacades.uml;
6
7 /**
8 * A directed relationship between a source vertex and a target vertex. It may be part of a compound
9 * transition, which takes the state machine from one state configuration to another, representing
10 * the complete response of the state machine to an occurrence of an event of a particular type.
11 *
12 * Metafacade interface to be used by AndroMDA cartridges.
13 */
14 public interface TransitionFacade
15 extends ModelElementFacade
16 {
17 /**
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return boolean always <code>true</code>
21 */
22 public boolean isTransitionFacadeMetaType();
23
24 /**
25 * An action is a named element that is the fundamental unit of executable functionality. The
26 * execution
27 * of an action represents some transformation or processing in the modeled system, be it a
28 * computer
29 * system or otherwise. An action represents a single step within an activity, that is, one that
30 * is not
31 * further decomposed within the activity. An action has pre- and post-conditions.
32 * @return ActionFacade
33 */
34 public ActionFacade getEffect();
35
36 /**
37 * A representation of the model object 'Constraint'. A condition or restriction expressed in
38 * natural
39 * language text or in a machine readable language for the purpose of declaring some of the
40 * semantics
41 * of an element.
42 * @return GuardFacade
43 */
44 public GuardFacade getGuard();
45
46 /**
47 * A representation of the model object 'Vertex'. An abstraction of a node in a state machine
48 * graph. In
49 * general, it can be the source or destination of any number of transitions.
50 * @return StateVertexFacade
51 */
52 public StateVertexFacade getSource();
53
54 /**
55 * A representation of the model object 'Vertex'. An abstraction of a node in a state machine
56 * graph. In
57 * general, it can be the source or destination of any number of transitions.
58 * @return StateVertexFacade
59 */
60 public StateVertexFacade getTarget();
61
62 /**
63 * If a trigger is present on this transition, this event represents that trigger.
64 * @return EventFacade
65 */
66 public EventFacade getTrigger();
67
68 /**
69 * TODO: Model Documentation for
70 * org.andromda.metafacades.uml.TransitionFacade.enteringActionState
71 * @return boolean
72 */
73 public boolean isEnteringActionState();
74
75 /**
76 * TODO: Model Documentation for
77 * org.andromda.metafacades.uml.TransitionFacade.enteringDecisionPoint
78 * @return boolean
79 */
80 public boolean isEnteringDecisionPoint();
81
82 /**
83 * TODO: Model Documentation for
84 * org.andromda.metafacades.uml.TransitionFacade.enteringFinalState
85 * @return boolean
86 */
87 public boolean isEnteringFinalState();
88
89 /**
90 * TODO: Model Documentation for
91 * org.andromda.metafacades.uml.TransitionFacade.exitingActionState
92 * @return boolean
93 */
94 public boolean isExitingActionState();
95
96 /**
97 * TODO: Model Documentation for
98 * org.andromda.metafacades.uml.TransitionFacade.exitingDecisionPoint
99 * @return boolean
100 */
101 public boolean isExitingDecisionPoint();
102
103 /**
104 * TODO: Model Documentation for
105 * org.andromda.metafacades.uml.TransitionFacade.exitingInitialState
106 * @return boolean
107 */
108 public boolean isExitingInitialState();
109
110 /**
111 * TODO: Model Documentation for org.andromda.metafacades.uml.TransitionFacade.triggerPresent
112 * @return boolean
113 */
114 public boolean isTriggerPresent();
115 }