View Javadoc
1   package org.andromda.cartridges.bpm4struts;
2   
3   import org.andromda.core.profile.Profile;
4   
5   /**
6    * Contains the BPM4Struts profile.
7    *
8    * @author Wouter Zoons
9    */
10  public final class Bpm4StrutsProfile
11  {
12      /**
13       * The Profile instance from which we retrieve the mapped profile names.
14       */
15      private static final Profile PROFILE = Profile.instance();
16  
17      /* ----------------- Stereotypes -------------------- */
18      /** FRONT_END_EXCEPTION */
19      public static final String STEREOTYPE_EXCEPTION = PROFILE.get("FRONT_END_EXCEPTION");
20  
21      /* ----------------- Tagged Values -------------------- */
22      /** ACTION_TYPE */
23      public static final String TAGGEDVALUE_ACTION_TYPE = PROFILE.get("ACTION_TYPE");
24      /** ACTION_RESETTABLE */
25      public static final String TAGGEDVALUE_ACTION_RESETTABLE = PROFILE.get("ACTION_RESETTABLE");
26      /** ACTION_SUCCESS_MESSAGE */
27      public static final String TAGGEDVALUE_ACTION_SUCCESS_MESSAGE = PROFILE.get("ACTION_SUCCESS_MESSAGE");
28      /** ACTION_WARNING_MESSAGE */
29      public static final String TAGGEDVALUE_ACTION_WARNING_MESSAGE = PROFILE.get("ACTION_WARNING_MESSAGE");
30      /** ACTION_FORM_SCOPE */
31      public static final String TAGGEDVALUE_ACTION_FORM_SCOPE = PROFILE.get("ACTION_FORM_SCOPE");
32      /** ACTION_FORM_KEY */
33      public static final String TAGGEDVALUE_ACTION_FORM_KEY = PROFILE.get("ACTION_FORM_KEY");
34      /** ACTION_TABLELINK */
35      public static final String TAGGEDVALUE_ACTION_TABLELINK = PROFILE.get("ACTION_TABLELINK");
36      /** INPUT_COLUMN_COUNT */
37      public static final String TAGGEDVALUE_INPUT_COLUMN_COUNT = PROFILE.get("INPUT_COLUMN_COUNT");
38      /** INPUT_ROW_COUNT */
39      public static final String TAGGEDVALUE_INPUT_ROW_COUNT = PROFILE.get("INPUT_ROW_COUNT");
40      /** INPUT_REQUIRED */
41      public static final String TAGGEDVALUE_INPUT_REQUIRED = PROFILE.get("INPUT_REQUIRED");
42      /** INPUT_READONLY */
43      public static final String TAGGEDVALUE_INPUT_READONLY = PROFILE.get("INPUT_READONLY");
44      /** INPUT_FORMAT */
45      public static final String TAGGEDVALUE_INPUT_FORMAT = PROFILE.get("INPUT_FORMAT");
46      /** INPUT_TYPE */
47      public static final String TAGGEDVALUE_INPUT_TYPE = PROFILE.get("INPUT_TYPE");
48      /** INPUT_MULTIBOX */
49      public static final String TAGGEDVALUE_INPUT_MULTIBOX = PROFILE.get("INPUT_MULTIBOX");
50      /** INPUT_RADIO */
51      public static final String TAGGEDVALUE_INPUT_RADIO = PROFILE.get("INPUT_RADIO");
52      /** INPUT_VALIDWHEN */
53      public static final String TAGGEDVALUE_INPUT_VALIDWHEN = PROFILE.get("INPUT_VALIDWHEN");
54      /** INPUT_VALIDATORS */
55      public static final String TAGGEDVALUE_INPUT_VALIDATORS = PROFILE.get("INPUT_VALIDATORS");
56      /** INPUT_CALENDAR */
57      public static final String TAGGEDVALUE_INPUT_CALENDAR = PROFILE.get("INPUT_CALENDAR");
58      /** INPUT_RESET */
59      public static final String TAGGEDVALUE_INPUT_RESET = PROFILE.get("INPUT_RESET");
60      /** TABLE_COLUMNS */
61      public static final String TAGGEDVALUE_TABLE_COLUMNS = PROFILE.get("TABLE_COLUMNS");
62      /** TABLE_MAXROWS */
63      public static final String TAGGEDVALUE_TABLE_MAXROWS = PROFILE.get("TABLE_MAXROWS");
64      /** TABLE_EXPORT */
65      public static final String TAGGEDVALUE_TABLE_EXPORT = PROFILE.get("TABLE_EXPORT");
66      /** TABLE_SORTABLE */
67      public static final String TAGGEDVALUE_TABLE_SORTABLE = PROFILE.get("TABLE_SORTABLE");
68      /** TABLE_DECORATOR */
69      public static final String TAGGEDVALUE_TABLE_DECORATOR = PROFILE.get("TABLE_DECORATOR");
70      /** EXCEPTION_TYPE */
71      public static final String TAGGEDVALUE_EXCEPTION_TYPE = PROFILE.get("EXCEPTION_TYPE");
72      /** ACTION_REDIRECT */
73      public static final String TAGGEDVALUE_ACTION_REDIRECT = PROFILE.get("ACTION_REDIRECT");
74  
75      /* ----------------- Data Types -------------------- */
76      /** CHARACTER_TYPE */
77      public static final String CHARACTER_TYPE_NAME = PROFILE.get("CHARACTER_TYPE");
78      /** BYTE_TYPE */
79      public static final String BYTE_TYPE_NAME = PROFILE.get("BYTE_TYPE");
80      /** SHORT_TYPE */
81      public static final String SHORT_TYPE_NAME = PROFILE.get("SHORT_TYPE");
82      /** INTEGER_TYPE */
83      public static final String INTEGER_TYPE_NAME = PROFILE.get("INTEGER_TYPE");
84      /** LONG_TYPE */
85      public static final String LONG_TYPE_NAME = PROFILE.get("LONG_TYPE");
86      /** FLOAT_TYPE */
87      public static final String FLOAT_TYPE_NAME = PROFILE.get("FLOAT_TYPE");
88      /** DOUBLE_TYPE */
89      public static final String DOUBLE_TYPE_NAME = PROFILE.get("DOUBLE_TYPE");
90      /** URL_TYPE */
91      public static final String URL_TYPE_NAME = PROFILE.get("URL_TYPE");
92      /** TIME_TYPE */
93      public static final String TIME_TYPE_NAME = PROFILE.get("TIME_TYPE");
94  
95      /* ----------------- Default Values ------------------- */
96      /** true */
97      public static final String TAGGEDVALUE_INPUT_DEFAULT_REQUIRED = "true";
98      /** java.lang.Exception */
99      public static final String TAGGEDVALUE_EXCEPTION_DEFAULT_TYPE = "java.lang.Exception";
100     /** form */
101     public static final String TAGGEDVALUE_ACTION_FORM_DEFAULT_KEY = "form";
102     /** hyperlink */
103     public static final String TAGGEDVALUE_ACTION_TYPE_HYPERLINK = "hyperlink";
104     /** form */
105     public static final String TAGGEDVALUE_ACTION_TYPE_FORM = "form";
106     /** image */
107     public static final String TAGGEDVALUE_ACTION_TYPE_IMAGE = "image";
108     /** table */
109     public static final String TAGGEDVALUE_ACTION_TYPE_TABLE = "table";
110     /** TAGGEDVALUE_ACTION_TYPE_FORM */
111     public static final String TAGGEDVALUE_ACTION_DEFAULT_TYPE = TAGGEDVALUE_ACTION_TYPE_FORM;
112     /** text */
113     public static final String TAGGEDVALUE_INPUT_TYPE_TEXT = "text";
114     /** plaintext */
115     public static final String TAGGEDVALUE_INPUT_TYPE_PLAINTEXT = "plaintext";
116     /** textarea */
117     public static final String TAGGEDVALUE_INPUT_TYPE_TEXTAREA = "textarea";
118     /** radio */
119     public static final String TAGGEDVALUE_INPUT_TYPE_RADIO = "radio";
120     /** checkbox */
121     public static final String TAGGEDVALUE_INPUT_TYPE_CHECKBOX = "checkbox";
122     /** hidden */
123     public static final String TAGGEDVALUE_INPUT_TYPE_HIDDEN = "hidden";
124     /** select */
125     public static final String TAGGEDVALUE_INPUT_TYPE_SELECT = "select";
126     /** password */
127     public static final String TAGGEDVALUE_INPUT_TYPE_PASSWORD = "password";
128     /** multibox */
129     public static final String TAGGEDVALUE_INPUT_TYPE_MULTIBOX = "multibox";
130     /** link */
131     public static final String TAGGEDVALUE_INPUT_TYPE_LINK = "link";
132     /** file */
133     public static final String TAGGEDVALUE_INPUT_TYPE_FILE = "file";
134     /** 3 */
135     public static final int TAGGEDVALUE_INPUT_TYPE_OPTION_DEFAULT_COUNT = 3;
136     /** 15 */
137     public static final int TAGGEDVALUE_TABLE_MAXROWS_DEFAULT_COUNT = 15;
138     /** true */
139     public static final boolean TAGGEDVALUE_TABLE_SORTABLE_DEFAULT_VALUE = true;
140     /** true */
141     public static final boolean TAGGEDVALUE_TABLE_EXPORTABLE_DEFAULT_VALUE = true;
142 
143     private Bpm4StrutsProfile()
144     {
145     }
146 }