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 a view within a front end application.
11 *
12 * Metafacade interface to be used by AndroMDA cartridges.
13 */
14 public interface FrontEndView
15 extends FrontEndActionState
16 {
17 /**
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return boolean always <code>true</code>
21 */
22 public boolean isFrontEndViewMetaType();
23
24 /**
25 * All actions that can be triggered on this view.
26 * @return List<FrontEndAction>
27 */
28 public List<FrontEndAction> getActions();
29
30 /**
31 * All parameters for each action going out of this view.
32 * @return List<FrontEndParameter>
33 */
34 public List<FrontEndParameter> getAllActionParameters();
35
36 /**
37 * All fields from all forms on the given view.
38 * @return List<FrontEndParameter>
39 */
40 public List<FrontEndParameter> getAllFormFields();
41
42 /**
43 * All tables belonging to the front end view.
44 * @return List<FrontEndParameter>
45 */
46 public List<FrontEndParameter> getTables();
47
48 /**
49 * The use-case of which this view is a member.
50 * @return FrontEndUseCase
51 */
52 public FrontEndUseCase getUseCase();
53
54 /**
55 * All those variables that will be present as variables in the target view. These are the
56 * trigger parameters on the incoming transitions.
57 * @return List<FrontEndParameter>
58 */
59 public List<FrontEndParameter> getVariables();
60
61 /**
62 * True if this element carries the FrontEndView stereotype.
63 * @return boolean
64 */
65 public boolean isFrontEndView();
66 }