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 * An action is a named element that is the fundamental unit of executable functionality. The
9 * execution of an action represents some transformation or processing in the modeled system, be it
10 * a computer system or otherwise. An action represents a single step within an activity, that is,
11 * one that is not further decomposed within the activity. An action has pre- and post-conditions.
12 *
13 * Metafacade interface to be used by AndroMDA cartridges.
14 */
15 public interface ActionFacade
16 extends ModelElementFacade
17 {
18 /**
19 * Indicates the metafacade type (used for metafacade mappings).
20 *
21 * @return boolean always <code>true</code>
22 */
23 public boolean isActionFacadeMetaType();
24
25 /**
26 * If this action is located on an action state, this will represent that state.
27 * @return ActionStateFacade
28 */
29 public ActionStateFacade getActionState();
30
31 /**
32 * If this action is located on a transition, this represents that transition.
33 * @return TransitionFacade
34 */
35 public TransitionFacade getTransition();
36 }