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 import java.util.Collection;
8
9 /**
10 * A representation of the model object 'Activity'. The specification of parameterized behavior as
11 * the coordinated sequencing of subordinate units whose individual elements are actions.
12 *
13 * Metafacade interface to be used by AndroMDA cartridges.
14 */
15 public interface EventFacade
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 isEventFacadeMetaType();
24
25 /**
26 * The parameters to this event.
27 * @return Collection<ParameterFacade>
28 */
29 public Collection<ParameterFacade> getParameters();
30
31 /**
32 * If this event is located on an action state, this will represent that state.
33 * @return StateFacade
34 */
35 public StateFacade getState();
36
37 /**
38 * If this event is located on a transition, this represents that transition.
39 * @return TransitionFacade
40 */
41 public TransitionFacade getTransition();
42 }