1
2
3
4 package org.andromda.metafacades.uml;
5
6 /***
7 * <p>
8 * Represents an operation modeled on a controller.
9 * </p>
10 *
11 * Metafacade interface to be used by AndroMDA cartridges.
12 */
13 public interface FrontEndControllerOperation
14 extends org.andromda.metafacades.uml.OperationFacade
15 {
16
17 /***
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return always <code>true</code>
21 */
22 public boolean isFrontEndControllerOperationMetaType();
23
24 /***
25 * <p>
26 * The activity graph in which this controller operation is used.
27 * </p>
28 */
29 public org.andromda.metafacades.uml.FrontEndActivityGraph getActivityGraph();
30
31 /***
32 * <p>
33 * All those actions that contain at least one front-end action
34 * state that is deferring to this operation.
35 * </p>
36 */
37 public java.util.List getDeferringActions();
38
39 /***
40 * <p>
41 * The set of fields in the form made up form this controller
42 * operation's parameters.
43 * </p>
44 */
45 public java.util.List getFormFields();
46
47 /***
48 * <p>
49 * For each front-end controller operation argument there must
50 * exist a form field for each action deferring to that operation.
51 * This form field must carry the same name and must be of the same
52 * type. True if this is the case, false otherwise.
53 * </p>
54 */
55 public boolean isAllArgumentsHaveFormFields();
56
57 /***
58 * <p>
59 * Indicates if the owner of this operation is a controller.
60 * </p>
61 */
62 public boolean isOwnerIsController();
63
64 }