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 StrutsAttribute
12 extends org.andromda.metafacades.uml.AttributeFacade
13 {
14
15 /***
16 * Indicates the metafacade type (used for metafacade mappings).
17 *
18 * @return always <code>true</code>
19 */
20 public boolean isStrutsAttributeMetaType();
21
22 /***
23 * <p>
24 * If this attribute is a date type this property represents the
25 * format in which this date is to be presented to the end-user.
26 * Null otherwise.
27 * </p>
28 */
29 public java.lang.String getDateFormat();
30
31 /***
32 *
33 */
34 public java.lang.String getDummyValue(int seed);
35
36 /***
37 * <p>
38 * True if this parameter has a name that can properly be handled
39 * by Jakarta commons (this lib is used by Struts but contains a
40 * bug)
41 * </p>
42 */
43 public boolean isSafeNamePresent();
44
45 }