01: package org.andromda.cartridges.jbpm;
02:
03: import org.andromda.core.profile.Profile;
04:
05: /**
06: * The jBPM profile. Contains the profile information (tagged values, and stereotypes) for the jBPM cartridge.
07: *
08: * @author Wouter Zoons
09: */
10: public class JBpmProfile {
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_BUSINESS_PROCESS = profile
18: .get("BUSINESS_PROCESS");
19: public static final String STEREOTYPE_BEFORE_SIGNAL = profile
20: .get("BEFORE_SIGNAL");
21: public static final String STEREOTYPE_AFTER_SIGNAL = profile
22: .get("AFTER_SIGNAL");
23: public static final String STEREOTYPE_NODE_ENTER = profile
24: .get("NODE_ENTER");
25: public static final String STEREOTYPE_NODE_LEAVE = profile
26: .get("NODE_LEAVE");
27: public static final String STEREOTYPE_TASK = profile.get("TASK");
28: public static final String STEREOTYPE_TIMER = profile.get("TIMER");
29:
30: // Tagged Values
31: public static final String TAGGEDVALUE_ASSIGNMENT_EXPRESSION = profile
32: .get("ASSIGNMENT_EXPRESSION");
33: public static final String TAGGEDVALUE_TIMER_REPEAT = profile
34: .get("TIMER_REPEAT");
35: public static final String TAGGEDVALUE_TIMER_DUEDATE = profile
36: .get("TIMER_DUEDATE");
37: public static final String TAGGEDVALUE_TIMER_TRANSITION = profile
38: .get("TIMER_TRANSITION");
39: public static final String TAGGEDVALUE_TASK_BLOCKING = profile
40: .get("TASK_BLOCKING");
41: }
|