001: /*--
002:
003: Copyright (C) 2002-2005 Adrian Price.
004: All rights reserved.
005:
006: Redistribution and use in source and binary forms, with or without
007: modification, are permitted provided that the following conditions
008: are met:
009:
010: 1. Redistributions of source code must retain the above copyright
011: notice, this list of conditions, and the following disclaimer.
012:
013: 2. Redistributions in binary form must reproduce the above copyright
014: notice, this list of conditions, and the disclaimer that follows
015: these conditions in the documentation and/or other materials
016: provided with the distribution.
017:
018: 3. The names "OBE" and "Open Business Engine" must not be used to
019: endorse or promote products derived from this software without prior
020: written permission. For written permission, please contact
021: adrianprice@sourceforge.net.
022:
023: 4. Products derived from this software may not be called "OBE" or
024: "Open Business Engine", nor may "OBE" or "Open Business Engine"
025: appear in their name, without prior written permission from
026: Adrian Price (adrianprice@users.sourceforge.net).
027:
028: THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
029: WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
030: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
031: DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT,
032: INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
033: (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
034: SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
035: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
036: STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
037: IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
038: POSSIBILITY OF SUCH DAMAGE.
039:
040: For more information on OBE, please see
041: <http://obe.sourceforge.net/>.
042:
043: */
044:
045: package org.obe.xpdl;
046:
047: import org.obe.util.W3CNames;
048:
049: /**
050: * Provides string constants for the XPDL tag names.
051: *
052: * @author Anthony Eden
053: * @author Adrian Price
054: */
055: public interface XPDLNames extends OBENames, W3CNames {
056: /**
057: * Namespace prefix to use for XPDL elements.
058: */
059: String XPDL_NS_PREFIX = "xpdl";
060: /**
061: * The XPDL namespace URI.
062: */
063: String XPDL_NS_URI = "http://www.wfmc.org/2002/XPDL1.0";
064: /**
065: * The XPDL schema URI.
066: */
067: String XPDL_SCHEMA_LOCATION = "http://www.wfmc.org/2002/XPDL1.0 xpdl-1.0.xsd";
068:
069: /**
070: * Unique identifier.
071: */
072: String ID = "Id";
073:
074: /**
075: * Entity name.
076: */
077: String NAME = "Name";
078:
079: /**
080: * Tag which defines a brief description of an element.
081: */
082: String DESCRIPTION = "Description";
083:
084: String EXTENDED_ATTRIBUTES = "ExtendedAttributes";
085: String EXTENDED_ATTRIBUTE = "ExtendedAttribute";
086: String VALUE = "Value";
087:
088: /**
089: * Tag which identifies a documentation URL.
090: */
091: String DOCUMENTATION = "Documentation";
092:
093: /**
094: * Tag which identifies an icon URL.
095: */
096: String ICON = "Icon";
097:
098: /**
099: * The main enclosing tag which defines a complete package.
100: */
101: String PACKAGE = "Package";
102:
103: String PACKAGE_HEADER = "PackageHeader";
104: String REDEFINABLE_HEADER = "RedefinableHeader";
105: String CONFORMANCE_CLASS = "ConformanceClass";
106: String GRAPH_CONFORMANCE = "GraphConformance";
107:
108: /**
109: * Tag which identifies the XPDL version.
110: */
111: String XPDL_VERSION = "XPDLVersion";
112:
113: /**
114: * Tag which identifiers the workflow designer vendor.
115: */
116: String VENDOR = "Vendor";
117:
118: /**
119: * Tag which represents a creation date.
120: */
121: String CREATED = "Created";
122:
123: /**
124: * Tag which represents an entity author.
125: */
126: String AUTHOR = "Author";
127:
128: /**
129: * Tag which represents an entity version.
130: */
131: String VERSION = "Version";
132: String CODEPAGE = "Codepage";
133: String COUNTRYKEY = "Countrykey";
134: String PUBLICATION_STATUS = "PublicationStatus";
135:
136: String PARTICIPANTS = "Participants";
137: String PARTICIPANT = "Participant";
138: String PARTICIPANT_TYPE = "ParticipantType";
139:
140: String APPLICATIONS = "Applications";
141: String APPLICATION = "Application";
142:
143: String WORKFLOW_PROCESSES = "WorkflowProcesses";
144: String WORKFLOW_PROCESS = "WorkflowProcess";
145: String ACCESS_LEVEL = "AccessLevel";
146: String PROCESS_HEADER = "ProcessHeader";
147: String EXTERNAL_PACKAGES = "ExternalPackages";
148: String EXTERNAL_PACKAGE = "ExternalPackage";
149: String HREF = "href";
150:
151: String PRIORITY = "Priority";
152: String PRIORITY_UNIT = "PriorityUnit";
153: String COST = "Cost";
154: String COST_UNIT = "CostUnit";
155: String RESPONSIBLES = "Responsibles";
156: String RESPONSIBLE = "Responsible";
157:
158: String LIMIT = "Limit";
159: String VALID_FROM = "ValidFrom";
160: String VALID_TO = "ValidTo";
161: String TIME_ESTIMATION = "TimeEstimation";
162:
163: String DURATION = "Duration";
164: String DURATION_UNIT = "DurationUnit";
165:
166: String SIMULATION_INFORMATION = "SimulationInformation";
167: String INSTANTIATION_TYPE = "InstantiationType";
168: String WAITING_TIME = "WaitingTime";
169: String WORKING_TIME = "WorkingTime";
170:
171: String ACTIVITIES = "Activities";
172: String ACTIVITY = "Activity";
173: String ACTIVITY_SET = "ActivitySet";
174: String ACTIVITY_SETS = "ActivitySets";
175:
176: String SUBFLOW = "SubFlow";
177: String TOOL = "Tool";
178: String NO = "No";
179:
180: String EXECUTION = "Execution";
181:
182: String FORMAL_PARAMETERS = "FormalParameters";
183: String FORMAL_PARAMETER = "FormalParameter";
184: String INDEX = "Index";
185: String MODE = "Mode";
186:
187: String ACTUAL_PARAMETERS = "ActualParameters";
188: String ACTUAL_PARAMETER = "ActualParameter";
189:
190: String DATA_FIELDS = "DataFields";
191: String DATA_FIELD = "DataField";
192: String EXPIRATION = "Expiration";
193: String INITIAL_VALUE = "InitialValue";
194: String IS_ARRAY = "IsArray";
195: String LENGTH = "Length";
196:
197: String ROUTE = "Route";
198: String IMPLEMENTATION = "Implementation";
199: String BLOCKACTIVITY = "BlockActivity";
200: String BLOCKID = "BlockId";
201: String PERFORMER = "Performer";
202: String START_MODE = "StartMode";
203: String FINISH_MODE = "FinishMode";
204: String MANUAL = "Manual";
205: String AUTOMATIC = "Automatic";
206:
207: String TRANSITION_RESTRICTIONS = "TransitionRestrictions";
208: String TRANSITION_RESTRICTION = "TransitionRestriction";
209: String JOIN = "Join";
210: String SPLIT = "Split";
211:
212: String BLOCK_NAME = "BlockName";
213: String BEGIN = "Begin";
214: String END = "End";
215:
216: String TRANSITIONS = "Transitions";
217: String TRANSITION = "Transition";
218: String FROM = "From";
219: String TO = "To";
220:
221: String TRANSITION_REFERENCES = "TransitionRefs";
222: String TRANSITION_REFERENCE = "TransitionRef";
223:
224: String CONDITION = "Condition";
225: String XPRESSION = "Xpression";
226:
227: String TYPE_DECLARATIONS = "TypeDeclarations";
228: String TYPE_DECLARATION = "TypeDeclaration";
229:
230: String TYPE = "Type";
231: String MEMBER = "Member";
232: String DATA_TYPE = "DataType";
233: String PLAIN_TYPE = "PlainType";
234: String BASIC_TYPE = "BasicType";
235: String SCHEMA_TYPE = "SchemaType";
236: String RECORD_TYPE = "RecordType";
237: String UNION_TYPE = "UnionType";
238: String ENUMERATION_TYPE = "EnumerationType";
239: String ENUMERATION_VALUE = "EnumerationValue";
240: String ARRAY_TYPE = "ArrayType";
241: String LOWER_INDEX = "LowerIndex";
242: String UPPER_INDEX = "UpperIndex";
243: String LIST_TYPE = "ListType";
244: String DECLARED_TYPE = "DeclaredType";
245:
246: String EXTERNAL_REFERENCE = "ExternalReference";
247: String NAMESPACE = "namespace";
248: String LOCATION = "location";
249: String XREF = "xref";
250:
251: String SCRIPT = "Script";
252: String GRAMMAR = "Grammar";
253:
254: String DEADLINE = "Deadline";
255: String DEADLINE_CONDITION = "DeadlineCondition";
256: String EXCEPTION_NAME = "ExceptionName";
257:
258: String BOOLEAN_KIND = "BOOLEAN";
259: String PERFORMER_KIND = "PERFORMER";
260: String STRING_KIND = "STRING";
261: String FLOAT_KIND = "FLOAT";
262: String INTEGER_KIND = "INTEGER";
263: String REFERENCE_KIND = "REFERENCE";
264: String DATETIME_KIND = "DATETIME";
265: String UNION_KIND = "UNION";
266: String ENUMERATION_KIND = "ENUMERATION";
267: String ARRAY_KIND = "ARRAY";
268: String LIST_KIND = "LIST";
269: String EXTERNAL_REFERENCE_KIND = "EXTERNAL_REFERENCE";
270: String SCHEMA_KIND = "SCHEMA";
271: String APPLICATION_KIND = "APPLICATION";
272: String PROCEDURE_KIND = "PROCEDURE";
273: String CONDITION_KIND = "CONDITION";
274: String OTHERWISE_KIND = "OTHERWISE";
275: String EXCEPTION_KIND = "EXCEPTION";
276: String DEFAULTEXCEPTION_KIND = "DEFAULTEXCEPTION";
277: String OUT_KIND = "OUT";
278: String IN_KIND = "IN";
279: String INOUT_KIND = "INOUT";
280: String PUBLIC_KIND = "PUBLIC";
281: String PRIVATE_KIND = "PRIVATE";
282: String SYNCHR_KIND = "SYNCHR";
283: String ASYNCHR_KIND = "ASYNCHR";
284: String NON_BLOCKED_KIND = "NON_BLOCKED";
285: String LOOP_BLOCKED_KIND = "LOOP_BLOCKED";
286: String FULL_BLOCKED_KIND = "FULL_BLOCKED";
287: String ONCE_KIND = "ONCE";
288: String MULTIPLE_KIND = "MULTIPLE";
289: String UNDER_REVISION_KIND = "UNDER_REVISION";
290: String UNDER_TEST_KIND = "UNDER_TEST";
291: String RELEASED_KIND = "RELEASED";
292: String RESOURCE_SET_KIND = "RESOURCE_SET";
293: String RESOURCE_KIND = "RESOURCE";
294: String ROLE_KIND = "ROLE";
295: String ORGANIZATIONAL_UNIT_KIND = "ORGANIZATIONAL_UNIT";
296: String HUMAN_KIND = "HUMAN";
297: String SYSTEM_KIND = "SYSTEM";
298: String AND_KIND = "AND";
299: String XOR_KIND = "XOR";
300: String AUTOMATIC_KIND = "AUTOMATIC";
301: String MANUAL_KIND = "MANUAL";
302: }
|