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