001: /* JaWEConstants.java
002: *
003: * Authors:
004: * Stefanovic Nenad chupo@iis.ns.ac.yu
005: * Bojanic Sasa sasaboy@neobee.net
006: * Puskas Vladimir vpuskas@eunet.yu
007: * Pilipovic Goran zboniek@uns.ac.yu
008: *
009: */
010:
011: package org.enhydra.jawe;
012:
013: /**
014: * Used to hold various static variables to be easily accessed
015: * from anywhere.
016: */
017: public class JaWEConstants {
018:
019: public static final String JAWE_CURRENT_CONFIG_HOME = "JaWE_CURRENT_CONFIG_HOME";
020: public static final String JAWE_CONFIG_NAME = "JaWE_CONFIG_NAME";
021: //--------------------------
022: public static final String JAWE_HOME = System
023: .getProperty("JaWE_HOME");
024: public static final String JAWE_CONF_HOME = ((JAWE_HOME != null) ? (JAWE_HOME
025: + "/" + "config")
026: : (null));
027:
028: public static final String JAWE_USER_HOME = System
029: .getProperty("user.home")
030: + "/.JaWE";
031:
032: public static final String JAWE_BASIC_PROPERTYFILE_PATH = "org/enhydra/jawe/properties/";
033: public static final String JAWE_BASIC_PROPERTYFILE_NAME = "jaweconfiguration.properties";
034:
035: public static final String JAWE_LANGUAGE_MISC_PROPERTYFILE_PATH = "org/enhydra/jawe/language/";
036: public static final String JAWE_LANGUAGE_MISC_PROPERTYFILE_NAME = "jawelanguagemisc.properties";
037:
038: public static final String JAWE_ACTIVITY_ICONS = "org/enhydra/jawe/activityicons";
039:
040: //--------------------------
041: // JaWE types
042: // Activity
043: public static final String ACTIVITY_TYPE = "ACTIVITY";
044: public static final String ACTIVITY_TYPE_BLOCK = "ACTIVITY_BLOCK";
045: public static final String ACTIVITY_TYPE_NO = "ACTIVITY_NO";
046: public static final String ACTIVITY_TYPE_ROUTE = "ACTIVITY_ROUTE";
047: public static final String ACTIVITY_TYPE_SUBFLOW = "ACTIVITY_SUBFLOW";
048: public static final String ACTIVITY_TYPE_TOOL = "ACTIVITY_TOOL";
049:
050: // Activity set
051: public static final String ACTIVITY_SET_TYPE_DEFAULT = "ACTIVITYSET_DEFAULT";
052:
053: // Actual parameter
054: public static final String ACTUAL_PARAMETER_DEFAULT = "ACTUALPARAMETER_DEFAULT";
055:
056: // Application type
057: public static final String APPLICATION_TYPE_DEFAULT = "APPLICATION_DEFAULT";
058:
059: // Data field
060: public static final String DATA_FIELD_DEFAULT = "DATAFIELD_DEFAULT";
061:
062: // Deadline
063: public static final String DEADLINE_DEFAULT = "DEADLINE_DEFAULT";
064:
065: // Enumeration
066: public static final String ENUMERATION_VALUE_DEFAULT = "ENUMERATIONVALUE_DEFAULT";
067:
068: // Extended attribute
069: public static final String EXTENDED_ATTRIBUTE_DEFAULT = "EXTENDEDATTRIBUTE_DEFAULT";
070:
071: // External Package
072: public static final String EXTERNAL_PACKAGE_DEFAULT = "EXTERNALPACKAGE_DEFAULT";
073:
074: // Formal parameter
075: public static final String FORMAL_PARAMETER_DEFAULT = "FORMALPARAMETER_DEFAULT";
076:
077: // Member
078: public static final String MEMBER_DEFAULT = "MEMBER_DEFAULT";
079:
080: // Namespace
081: public static final String NAMESPACE_DEFAULT = "NAMESPACE_DEFAULT";
082:
083: // Package
084: public static final String PACKAGE_DEFAULT = "PACKAGE_DEFAULT";
085: public static final String PACKAGE_EXTERNAL = "PACKAGE_EXTERNAL";
086: public static final String PACKAGE_TRANSIENT = "PACKAGE_TRANSIENT";
087:
088: // Participant
089: public static final String PARTICIPANT_TYPE = "PARTICIPANT";
090: public static final String PARTICIPANT_TYPE_HUMAN = "PARTICIPANT_HUMAN";
091: public static final String PARTICIPANT_TYPE_ORGANIZATIONAL_UNIT = "PARTICIPANT_ORGANIZATIONAL_UNIT";
092: public static final String PARTICIPANT_TYPE_RESOURCE = "PARTICIPANT_RESOURCE";
093: public static final String PARTICIPANT_TYPE_RESOURCE_SET = "PARTICIPANT_RESOURCE_SET";
094: public static final String PARTICIPANT_TYPE_ROLE = "PARTICIPANT_ROLE";
095: public static final String PARTICIPANT_TYPE_SYSTEM = "PARTICIPANT_SYSTEM";
096:
097: // Responsible
098: public static final String RESPONSIBLE_DEFAULT = "RESPONSIBLE_DEFAULT";
099:
100: // Tool
101: public static final String TOOL_DEFAULT = "TOOL_DEFAULT";
102:
103: // Transitions
104: public static final String TRANSITION_TYPE = "TRANSITION";
105: public static final String TRANSITION_TYPE_UNCONDITIONAL = "TRANSITION_UNCONDITIONAL";
106: public static final String TRANSITION_TYPE_CONDITIONAL = "TRANSITION_CONDITIONAL";
107: public static final String TRANSITION_TYPE_DEFAULTEXCEPTION = "TRANSITION_DEFAULTEXCEPTION";
108: public static final String TRANSITION_TYPE_EXCEPTION = "TRANSITION_EXCEPTION";
109: public static final String TRANSITION_TYPE_OTHERWISE = "TRANSITION_OTHERWISE";
110:
111: // Type declaration
112: public static final String TYPE_DECLARATION_DEFAULT = "TYPEDECLARATION_DEFAULT";
113:
114: // Workflow process
115: public static final String WORKFLOW_PROCESS_TYPE_DEFAULT = "WORKFLOWPROCESS_DEFAULT";
116:
117: // Activities
118: public static final String ACTIVITIES = "ACTIVITIES";
119:
120: // ActivitySets
121: public static final String ACTIVITYSETS = "ACTIVITYSETS";
122:
123: // Applications
124: public static final String APPLICATIONS = "APPLICATIONS";
125:
126: // DataFields
127: public static final String DATAFIELDS = "DATAFIELDS";
128:
129: // External packages
130: public static final String EXTERNALPACKAGES = "EXTERNALPACKAGES";
131:
132: // Formal parameters
133: public static final String FORMALPARAMETERS = "FORMALPARAMETERS";
134:
135: // Participants
136: public static final String PARTICIPANTS = "PARTICIPANTS";
137:
138: // Processes
139: public static final String PROCESSES = "PROCESSES";
140:
141: // Transitions
142: public static final String TRANSITIONS = "TRANSITIONS";
143:
144: // Type declarations
145: public static final String TYPEDECLARATIONS = "TYPEDECLARATIONS";
146: }
|