001: /*
002: *
003: * XPDLConstants.java -
004: * Copyright (C) 2003 Ecoo Team
005: * valdes@loria.fr
006: *
007: *
008: * This program is free software; you can redistribute it and/or
009: * modify it under the terms of the GNU Lesser General Public License
010: * as published by the Free Software Foundation; either version 2
011: * of the License, or (at your option) any later version.
012: *
013: * This program is distributed in the hope that it will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
016: * GNU Lesser General Public License for more details.
017: *
018: * You should have received a copy of the GNU Lesser General Public License
019: * along with this program; if not, write to the Free Software
020: * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
021: */
022:
023: package hero.xpdl;
024:
025: public interface XPDLConstants {
026:
027: //Separator into the activitySetMapping value: %#%
028: public static final String ACT_SET_MAP_SEPARATOR = "\u0025\u0023\u0025";
029: public static final int ACT_SET_MAP_SEPARATOR_LENGTH = 3;
030:
031: // Package Constants
032: public static final String EXTERNAL_PACKAGES = "ExternalPackages";
033: public static final String EXTERNAL_PACKAGE = "ExternalPackage";
034: public static final String EXTERNAL_PACKAGE_HREF = "href";
035:
036: // Process Constants
037: public static final String WORKFLOW_PROCESSES = "WorkflowProcesses";
038: public static final String WORKFLOW_PROCESS = "WorkflowProcess";
039: public static final String WORKFLOW_PROCESS_ID = "Id";
040: public static final String WORKFLOW_PROCESS_NAME = "Name";
041: public static final String WORKFLOW_PROCESS_VERSION = "Version";
042: public static final String WORKFLOW_PROCESS_REDEFINABLEHEADER = "RedefinableHeader";
043:
044: // Activity Constants
045: public static final String ACTIVITIES = "Activities";
046: public static final String ACTIVITY = "Activity";
047: public static final String ACTIVITY_ID = "Id";
048: public static final String ACTIVITY_NAME = "Name";
049: public static final String ACTIVITY_PERFORMER = "Performer";
050: public static final String ACTIVITY_DESCRIPTION = "Description";
051: public static final String ACTIVITY_JOIN = "Join";
052: public static final String ACTIVITY_SPLIT = "Split";
053: public static final String ACTIVITY_TYPE = "Type";
054: public static final String ACTIVITYSETS = "ActivitySets";
055: public static final String ACTIVITYSET = "ActivitySet";
056: public static final String ACTIVITYSETID = "Id";
057: public static final String ACTIVITYDEADLINE = "Deadline";
058: public static final String SUBFLOW_ID = "Id";
059: public static final String BLOCK_ID = "BlockId";
060: public static final String ROUTE = "Route";
061: public static final String BLOCK = "BlockActivity";
062: public static final String TOOL = "Tool";
063: public static final String IMPLEMENTATION = "Implementation";
064: public static final String IMPLEMENTATION_NO = "No";
065: public static final String IMPLEMENTATION_TOOL = "Tool";
066: public static final String IMPLEMENTATION_SUBFLOW = "SubFlow";
067: public static final String MODE = "Mode";
068: public static final String MODE_TYPE_XOR = "Xor";
069: public static final String MODE_TYPE_AND = "And";
070: public static final String TYPE = "Type";
071: public static final String AUTOMATIC = "Automatic";
072: public static final String MANUAL = "Manual";
073: public static final String STARTMODE = "StartMode";
074: public static final String DEADLINE_EXECUTION = "Execution";
075: public static final String SYNCHR = "Synchr";
076: public static final String ASYNCHR = "Asynchr";
077: public static final String DEADLINECONDITION = "DeadlineCondition";
078: public static final String EXCEPTIONNAME = "ExceptionName";
079: public static final String ACTUALPARAMETER = "ActualParameter";
080:
081: // Participants Constants
082: public static final String PARTICIPANTS = "Participants";
083: public static final String PARTICIPANT = "Participant";
084: public static final String PARTICIPANT_ID = "Id";
085: public static final String PARTICIPANT_NAME = "Name";
086: public static final String PARTICIPANT_DESCRIPTION = "Description";
087: public static final String PARTICIPANT_TYPE = "ParticipantType";
088: public static final String PARTICIPANT_TYPE_TYPE = "Type";
089: public static final String PARTICIPANT_TYPE_ROLE = "Role";
090: public static final String PARTICIPANT_TYPE_ORGANIZATIONAL_UNIT = "Organizational_unit";
091: public static final String PARTICIPANT_TYPE_HUMAN = "Human";
092: public static final String PARTICIPANT_TYPE_SYSTEM = "System";
093: public static final String PARTICIPANTS_ROLE = "XPDLRole";
094:
095: //Applications
096: public static final String APPLICATIONS = "Applications";
097: public static final String APPLICATION = "Application";
098: public static final String APPLICATION_ID = "Id";
099: public static final String APPLICATION_NAME = "Name";
100: public static final String APPLICATION_DESCRIPTION = "Description";
101: public static final String FORMAL_PARAMETERS = "FormalParameters";
102: public static final String FORMAL_PARAMETER = "FormalParameter";
103: public static final String FORMAL_PARAMETER_ID = "Id";
104: public static final String FORMAL_PARAMETER_INDEX = "Index";
105: public static final String FORMAL_PARAMETER_MODE = "Mode";
106:
107: // DataFields
108: public static final String DATAFIELDS = "DataFields";
109: public static final String DATAFIELD = "DataField";
110: public static final String DATAFIELD_ID = "Id";
111: public static final String DATAFIELD_NAME = "Name";
112: public static final String DATATYPE = "DataType";
113: public static final String DATATYPE_TYPE = "Type";
114: public static final String INITIALVALUE = "InitialValue";
115: public static final String BASICTYPE = "BasicType";
116: public static final String ENUMERATIONTYPE = "EnumerationType";
117: public static final String ENUMERATIONVALUE = "EnumerationValue";
118: public static final String ENUMERATIONVALUENAME = "Name";
119:
120: public static final String PACKAGE_LEVEL = "Package_level";
121:
122: // Type declarations : not used at now
123: public static final String TYPEDECLARATIONS = "TypeDeclarations";
124: public static final String TYPEDECLARATION = "TypeDeclaration";
125:
126: // Transitions Constants
127: public static final String TRANSITIONS = "Transitions";
128: public static final String TRANSITION = "Transition";
129: public static final String TRANSITION_FROM = "From";
130: public static final String TRANSITION_ID = "Id";
131: public static final String TRANSITION_NAME = "Name";
132: public static final String TRANSITION_TO = "To";
133: public static final String TRANSITION_CONDITION = "Condition";
134:
135: // Extended Attributs general constantes
136: public static final String EXTENDED_ATTRIBUTES = "ExtendedAttributes";
137: public static final String EXTENDED_ATTRIBUTE = "ExtendedAttribute";
138: public static final String EXTENDED_ATTRIBUTE_NAME = "Name";
139: public static final String EXTENDED_ATTRIBUTE_VALUE = "Value";
140:
141: // Extended attributes for Role Mapper within Participant
142: // 1st extended attribut for The mapper type (the name is automatically build)
143: public static final String EXTENDED_ATTRIBUTE_NAME_MAPPER = "Mapper";
144: public static final String EXTENDED_ATTRIBUTE_VALUE_LDAP = "LDAP";
145: public static final String EXTENDED_ATTRIBUTE_VALUE_PROPERTIES = "Properties";
146: public static final String EXTENDED_ATTRIBUTE_VALUE_CUSTUM = "Custom";
147: // 2nd extended attribut for the classname (custom attribute)
148: public static final String EXTENDED_ATTRIBUTE_NAME_MAPPER_CLASSNAME = "MapperClassName";
149: // ext. attrib name="DN" (cnx ldap de jawe)
150: public static final String EXTENDED_ATTRIBUTE_NAME_DN = "DN";
151:
152: // Extended attribut for Datafield definition meaning the property is dedicated for activity
153: public static final String EXTENDED_ATTRIBUTE_NAME_PROPERTY_ACTIVITY = "PropertyActivity";
154: // Extended attribut for Datafield definition meaning the property is used to store the UUID
155: // (created 1st time with empty doc in the repository)
156: public static final String EXTENDED_ATTRIBUTE_NAME_DOCUMENT = "Document";
157:
158: // Extended attribut for the definition of Bonita property within Activities (use of defined datafield)
159: public static final String EXTENDED_ATTRIBUTE_NAME_PROPERTY = "Property";
160: public static final String PROPAGATED_PROPERTY = "Propagated";
161:
162: // Extended attribut for Hooks (within activity or process)
163: public static final String EXTENDED_ATTRIBUTE_NAME_HOOK = "Hook";
164: public static final String HOOKEVENTNAME = "HookEventName";
165: public static final String HOOKSCRIPT = "HookScript";
166:
167: // Extended attribut for Process Initiator Mapper
168: public static final String EXTENDED_ATTRIBUTE_NAME_INITIATORMAPPER = "InitiatorMapper";
169: public static final String EXTENDED_ATTRIBUTE_INITIATOR_NAME = "InitiatorName";
170:
171: // Extended attribut for iteration (within activity)
172: public static final String EXTENDED_ATTRIBUTE_NAME_ITERATION = "Iteration";
173: public static final String ITERATIONFROM = "From";
174: public static final String ITERATIONTO = "To";
175:
176: // Extended attribut for Performer Assignment (within activity)
177: public static final String EXTENDED_ATTRIBUTE_NAME_PERFORMER_ASSIGN = "PerformerAssign";
178: public static final String PERFORMER_ASSIGN_PROPERTY = "Property";
179: public static final String PERFORMER_ASSIGN_CALLBACK = "Callback";
180:
181: // Extended attribut for Subflow version within activivity with subflow implementation
182: public static final String EXTENDED_ATTRIBUTE_NAME_SUBFLOW_VERSION = "SubFlowVersion";
183: public static final String EXTENDED_ATTRIBUTE_NAME_SUBFLOW_NAME = "SubFlowName";
184: }
|