1
2
3
4 package org.andromda.metafacades.uml;
5
6 /***
7 * <p>
8 * A front end action state represents an operation on the server
9 * called by an action. Optionally an action state may defer
10 * operations to the controller.
11 * </p>
12 *
13 * Metafacade interface to be used by AndroMDA cartridges.
14 */
15 public interface FrontEndActionState
16 extends org.andromda.metafacades.uml.ActionStateFacade
17 {
18
19 /***
20 * Indicates the metafacade type (used for metafacade mappings).
21 *
22 * @return always <code>true</code>
23 */
24 public boolean isFrontEndActionStateMetaType();
25
26 /***
27 * <p>
28 * The method name representing this action state.
29 * </p>
30 */
31 public java.lang.String getActionMethodName();
32
33 /***
34 * <p>
35 * The actions that pass through this action state.
36 * </p>
37 */
38 public java.util.List getContainerActions();
39
40 /***
41 * <p>
42 * All calls deferred to the controller by this action state.
43 * </p>
44 */
45 public java.util.List getControllerCalls();
46
47 /***
48 * <p>
49 * All exceptions modelled on this action state.
50 * </p>
51 */
52 public java.util.List getExceptions();
53
54 /***
55 * <p>
56 * The next transition, there can be only one transition going out
57 * of an action state, otherwise decision points should be used
58 * (triggers are not supported at the server-side).
59 * </p>
60 */
61 public org.andromda.metafacades.uml.FrontEndForward getForward();
62
63 /***
64 * <p>
65 * True if this element is contained in a FrontEndUseCase.
66 * </p>
67 */
68 public boolean isContainedInFrontEndUseCase();
69
70 /***
71 * <p>
72 * Indicates whether or not this front end action state is server
73 * side. Pages, for example, are also action states but they return
74 * control to the client.
75 * </p>
76 */
77 public boolean isServerSide();
78
79 }