1 // license-header java merge-point
2 //
3 // Attention: generated code (by Metafacade.vsl) - do not modify!
4 //
5 package org.andromda.cartridges.bpm4struts.metafacades;
6
7 import org.andromda.metafacades.uml.AttributeFacade;
8
9 /**
10 * TODO: Model Documentation for org.andromda.cartridges.bpm4struts.metafacades.StrutsAttribute
11 *
12 * Metafacade interface to be used by AndroMDA cartridges.
13 */
14 public interface StrutsAttribute
15 extends AttributeFacade
16 {
17 /**
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return boolean always <code>true</code>
21 */
22 public boolean isStrutsAttributeMetaType();
23
24 /**
25 * If this attribute is a date type this property represents the format in which this date is to
26 * be presented to the end-user. Null otherwise.
27 * @return String
28 */
29 public String getDateFormat();
30
31 /**
32 * TODO: Model Documentation for
33 * org.andromda.cartridges.bpm4struts.metafacades.StrutsAttribute.getDummyValue
34 * @param seed int
35 * @return String
36 */
37 public String getDummyValue(int seed);
38
39 /**
40 * True if this parameter has a name that can properly be handled by Jakarta commons (this lib
41 * is used by Struts but contains a bug)
42 * @return boolean
43 */
44 public boolean isSafeNamePresent();
45 }