01: package org.andromda.cartridges.jsf;
02:
03: import org.andromda.core.profile.Profile;
04:
05: /**
06: * Contains the AndroMDA JSF profile.
07: *
08: * @author Chad Brandon
09: */
10: public class JSFProfile {
11: /**
12: * The Profile instance from which we retrieve the mapped profile names.
13: */
14: private static final Profile profile = Profile.instance();
15:
16: /* ----------------- Stereotypes -------------------- */
17: public static final String STEREOTYPE_FRONT_END_REGISTRATION = profile
18: .get("FRONT_END_REGISTRATION");
19:
20: /* ----------------- Tagged Values -------------------- */
21: public static final String TAGGEDVALUE_ACTION_FORM_SCOPE = profile
22: .get("ACTION_FORM_SCOPE");
23: public static final String TAGGEDVALUE_ACTION_FORM_KEY = profile
24: .get("ACTION_FORM_KEY");
25: public static final String TAGGEDVALUE_ACTION_TABLELINK = profile
26: .get("ACTION_TABLELINK");
27: public static final String TAGGEDVALUE_ACTION_TYPE = profile
28: .get("ACTION_TYPE");
29: public static final String TAGGEDVALUE_ACTION_RESETTABLE = profile
30: .get("ACTION_RESETTABLE");
31: public static final String TAGGEDVALUE_INPUT_TYPE = profile
32: .get("INPUT_TYPE");
33: public static final String TAGGEDVALUE_INPUT_TABLELINK = profile
34: .get("INPUT_TABLELINK");
35: public static final String TAGGEDVALUE_ACTION_REDIRECT = profile
36: .get("ACTION_REDIRECT");
37: public static final String TAGGEDVALUE_INPUT_REQUIRED = profile
38: .get("INPUT_REQUIRED");
39: public static final String TAGGEDVALUE_INPUT_READONLY = profile
40: .get("INPUT_READONLY");
41: public static final String TAGGEDVALUE_INPUT_VALIDWHEN = profile
42: .get("INPUT_VALIDWHEN");
43: public static final String TAGGEDVALUE_INPUT_EQUAL = profile
44: .get("INPUT_EQUAL");
45: public static final String TAGGEDVALUE_INPUT_TABLE_IDENTIFIER_COLUMNS = profile
46: .get("INPUT_TABLE_IDENTIFIER_COLUMNS");
47: public static final String TAGGEDVALUE_INPUT_VALIDATORS = profile
48: .get("INPUT_VALIDATORS");
49: public static final String TAGGEDVALUE_INPUT_FORMAT = profile
50: .get("INPUT_FORMAT");
51: public static final String TAGGEDVALUE_INPUT_RESET = profile
52: .get("INPUT_RESET");
53: public static final String TAGGEDVALUE_VIEW_TYPE = profile
54: .get("VIEW_TYPE");
55: public static final String TAGGEDVALUE_ACTION_FORM_RESET = profile
56: .get("ACTION_FORM_RESET");
57: public static final String TAGGEDVALUE_ACTION_SUCCESS_MESSAGE = profile
58: .get("ACTION_SUCCESS_MESSAGE");
59: public static final String TAGGEDVALUE_ACTION_WARNING_MESSAGE = profile
60: .get("ACTION_WARNING_MESSAGE");
61:
62: /* ----------------- Data Types -------------------- */
63: public static final String CHARACTER_TYPE_NAME = profile
64: .get("CHARACTER_TYPE");
65: public static final String BYTE_TYPE_NAME = profile
66: .get("BYTE_TYPE");
67: public static final String SHORT_TYPE_NAME = profile
68: .get("SHORT_TYPE");
69: public static final String INTEGER_TYPE_NAME = profile
70: .get("INTEGER_TYPE");
71: public static final String LONG_TYPE_NAME = profile
72: .get("LONG_TYPE");
73: public static final String FLOAT_TYPE_NAME = profile
74: .get("FLOAT_TYPE");
75: public static final String DOUBLE_TYPE_NAME = profile
76: .get("DOUBLE_TYPE");
77: public static final String URL_TYPE_NAME = profile.get("URL_TYPE");
78: public static final String TIME_TYPE_NAME = profile
79: .get("TIME_TYPE");
80: }
|