1
2
3
4 package org.andromda.cartridges.bpm4struts.metafacades;
5
6 /***
7 *
8 *
9 * Metafacade interface to be used by AndroMDA cartridges.
10 */
11 public interface StrutsManageableEntityAttribute
12 extends org.andromda.metafacades.uml.ManageableEntityAttribute
13 {
14
15 /***
16 * Indicates the metafacade type (used for metafacade mappings).
17 *
18 * @return always <code>true</code>
19 */
20 public boolean isStrutsManageableEntityAttributeMetaType();
21
22 /***
23 * <p>
24 * The String format to use when referring to this date, only makes
25 * sense when the type is a date type.
26 * </p>
27 */
28 public java.lang.String getDateFormat();
29
30 /***
31 * <p>
32 * The number of columns for this field, null if default browser
33 * value is desired.
34 * </p>
35 */
36 public java.lang.Integer getFieldColumnCount();
37
38 /***
39 * <p>
40 * The number of rows for this field, null if default browser value
41 * is desired.
42 * </p>
43 */
44 public java.lang.Integer getFieldRowCount();
45
46 /***
47 *
48 */
49 public java.lang.String getMessageKey();
50
51 /***
52 *
53 */
54 public java.lang.String getMessageValue();
55
56 /***
57 * <p>
58 * The key to lookup the online help documentation. This
59 * documentation is gathered from the documentation entered by the
60 * user, as well as analyzing the model.
61 * </p>
62 */
63 public java.lang.String getOnlineHelpKey();
64
65 /***
66 * <p>
67 * The online help documentation. This documentation is gathered
68 * from the documentation entered by the user, as well as analyzing
69 * the model. The format is HTML without any style.
70 * </p>
71 */
72 public java.lang.String getOnlineHelpValue();
73
74 /***
75 * <p>
76 * The widget to use when rendering this attribute
77 * </p>
78 */
79 public java.lang.String getWidgetType();
80
81 /***
82 * <p>
83 * Whether or not this attribute should be hidden from the view
84 * </p>
85 */
86 public boolean isHidden();
87
88 /***
89 * <p>
90 * True if this attribute is of a type that cannot easily be
91 * represented as a textual string and would be an ideal candidate
92 * for HTTP's support for file-upload.
93 * </p>
94 */
95 public boolean isNeedsFileUpload();
96
97 /***
98 * <p>
99 * True if this parameter has a name that can properly be handled
100 * by Jakarta commons (this lib is used by Struts but contains a
101 * bug)
102 * </p>
103 */
104 public boolean isSafeNamePresent();
105
106 /***
107 * <p>
108 * True if this field is a date type and the date format is not be
109 * interpreted strictly.
110 * </p>
111 */
112 public boolean isStrictDateFormat();
113
114 }