1 package org.jbpm.bpel.xml; 2 3 7 public class BpelConstants { 8 9 public static final String NS_BPWS = "http://schemas.xmlsoap.org/ws/2004/03/business-process/"; 11 public static final String NS_BPWS_1_1 = "http://schemas.xmlsoap.org/ws/2003/03/business-process/"; 12 public static final String NS_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema"; 13 public static final String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; 14 public static final String NS_VENDOR = "http://jbpm.org/bpel"; 15 public static final String NS_EXAMPLES = "http://jbpm.org/bpel/examples"; 16 17 public static final String URN_XPATH_1_0 = "urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"; 18 19 public static final String YES = "yes"; 20 public static final String NO = "no"; 21 22 public static final String ATTR_NAME = "name"; 24 public static final String ATTR_TARGET_NAMESPACE = "targetNamespace"; 25 public static final String ELEM_IMPORT = "import"; 26 public static final String ATTR_EXPRESSION_LANGUAGE = "expressionLanguage"; 27 public static final String ATTR_QUERY_LANGUAGE = "queryLanguage"; 28 public static final String ATTR_ABSTRACT_PROCESS = "abstractProcess"; 29 public static final String ATTR_INSTANCE_COMPENSATION = "enableInstanceCompensation"; 30 31 public static final String ATTR_NAMESPACE = "namespace"; 33 public static final String ATTR_LOCATION = "location"; 34 public static final String ATTR_IMPORT_TYPE = "importType"; 35 36 public static final String ATTR_SUPPRESS_JOIN_FAILURE = "suppressJoinFailure"; 38 public static final String ATTR_LINK_NAME = "linkName"; 39 public static final String ELEM_SOURCES = "sources"; 40 public static final String ELEM_SOURCE = "source"; 41 public static final String ELEM_TRANSITION_CONDITION = "transitionCondition"; 42 public static final String ELEM_TARGETS = "targets"; 43 public static final String ELEM_JOIN_CONDITION = "joinCondition"; 44 public static final String ELEM_TARGET = "target"; 45 46 public static final String ELEM_SCOPE= "scope"; 48 public static final String ATTR_ISOLATED = "isolated"; 49 public static final String ELEM_COMPENSATION_HANDLER = "compensationHandler"; 50 public static final String ELEM_TERMINATION_HANDLER = "terminationHandler"; 51 public static final String ELEM_FAULT_HANDLERS = "faultHandlers"; 52 public static final String ELEM_CATCH_ALL = "catchAll"; 53 public static final String ELEM_EVENT_HANDLERS = "eventHandlers"; 54 public static final String ELEM_ON_EVENT = "onEvent"; 55 public static final String ELEM_CATCH = "catch"; 56 public static final String ATTR_FAULT_NAME = "faultName"; 57 public static final String ATTR_FAULT_VARIABLE = "faultVariable"; 58 public static final String ATTR_FAULT_MESSAGE_TYPE = "faultMessageType"; 59 public static final String ATTR_FAULT_ELEMENT = "faultElement"; 60 public static final String ELEM_VARIABLES = "variables"; 61 public static final String ELEM_VARIABLE = "variable"; 62 public static final String ATTR_TYPE = "type"; 63 public static final String ATTR_MESSAGE_TYPE = "messageType"; 64 public static final String ATTR_ELEMENT = "element"; 65 public static final String ELEM_PARTNER_LINKS = "partnerLinks"; 66 public static final String ELEM_PARTNER_LINK = "partnerLink"; 67 public static final String ATTR_PARTNER_LINK_TYPE = "partnerLinkType"; 68 public static final String ATTR_MY_ROLE = "myRole"; 69 public static final String ATTR_PARTNER_ROLE = "partnerRole"; 70 public static final String ELEM_CORRELATION_SETS = "correlationSets"; 71 public static final String ELEM_CORRELATION_SET = "correlationSet"; 72 public static final String ATTR_PROPERTIES = "properties"; 73 74 public static final String ELEM_EMPTY = "empty"; 76 77 public static final String ELEM_FLOW = "flow"; 79 public static final String ELEM_LINKS = "links"; 80 public static final String ELEM_LINK = "link"; 81 82 public static final String ELEM_WHILE = "while"; 84 public static final String ELEM_CONDITION = "condition"; 85 86 public static final String ELEM_SWITCH = "switch"; 88 public static final String ELEM_CASE = "case"; 89 public static final String ELEM_OTHERWISE = "otherwise"; 90 91 public static final String ATTR_PARTNER_LINK = "partnerLink"; 93 public static final String ATTR_OPERATION = "operation"; 94 public static final String ATTR_PORT_TYPE = "portType"; 95 public static final String ELEM_CORRELATIONS = "correlations"; 96 public static final String ELEM_CORRELATION = "correlation"; 97 public static final String ATTR_SET = "set"; 98 public static final String ATTR_INITIATE = "initiate"; 99 public static final String ATTR_VARIABLE = "variable"; 100 101 public static final String ELEM_SERVICE_REF = "service-ref"; 103 public static final String ATTR_REFERENCE_SCHEME = "reference-scheme"; 104 105 public static final String ELEM_INVOKE = "invoke"; 107 public static final String ATTR_INPUT_VARIABLE = "inputVariable"; 108 public static final String ATTR_OUTPUT_VARIABLE = "outputVariable"; 109 public static final String ATTR_PATTERN = "pattern"; 110 111 public static final String ELEM_RECEIVE = "receive"; 113 public static final String ATTR_CREATE_INSTANCE = "createInstance"; 114 public static final String ATTR_MESSAGE_EXCHANGE = "messageExchange"; 115 116 public static final String ELEM_REPLY= "reply"; 118 119 public static final String ELEM_WAIT= "wait"; 121 public static final String ELEM_FOR = "for"; 122 public static final String ELEM_UNTIL = "until"; 123 public static final String ELEM_REPEAT = "repeatEvery"; 124 125 public static final String ELEM_PICK= "pick"; 127 public static final String ELEM_ON_MESSAGE = "onMessage"; 128 public static final String ELEM_ON_ALARM = "onAlarm"; 129 130 public static final String ELEM_COMPENSATE= "compensate"; 132 public static final String ATTR_SCOPE = "scope"; 133 134 public static final String ELEM_ASSIGN= "assign"; 136 public static final String ELEM_COPY = "copy"; 137 public static final String ELEM_FROM = "from"; 138 public static final String ELEM_TO = "to"; 139 public static final String ATTR_EXPRESSION = "expression"; 140 public static final String ATTR_PART = "part"; 141 public static final String ATTR_QUERY = "query"; 142 public static final String ATTR_PROPERTY = "property"; 143 public static final String ATTR_ENDPOINT_REFERENCE = "endpointReference"; 144 public static final String ATTR_LITERAL = "literal"; 145 146 public static final String ELEM_SEQUENCE = "sequence"; 148 public static final String ELEM_THROW = "throw"; 149 public static final String ELEM_RETHROW = "rethrow"; 150 public static final String ELEM_EXIT = "exit"; 151 public static final String ELEM_VALIDATE = "validate"; 152 153 public static final String ELEM_SCOPES = "scopes"; 155 public static final String ELEM_CONNECTION_FACTORY = "connectionFactory"; 156 public static final String ELEM_DESTINATION = "destination"; 157 public static final String ELEM_NAMING_CONTEXT = "namingContext"; 158 159 public static final String ELEM_IMPORTS = "imports"; 161 public static final String ELEM_WSDL = "wsdl"; 162 public static final String ELEM_XML_SCHEMA = "schema"; 163 164 public static String [] BPEL_2_ACTIVITIES = { 165 ELEM_EMPTY, 166 ELEM_RECEIVE, 167 ELEM_REPLY, 168 ELEM_INVOKE, 169 ELEM_ASSIGN, 170 ELEM_THROW, 171 ELEM_EXIT, 172 ELEM_WAIT, 173 ELEM_SEQUENCE, 174 ELEM_SWITCH, 175 ELEM_WHILE, 176 ELEM_PICK, 177 ELEM_FLOW, 178 ELEM_SCOPE, 179 ELEM_COMPENSATE, 180 ELEM_RETHROW, 181 ELEM_VALIDATE 182 }; 183 184 private BpelConstants() { 186 } 187 } 188 | Popular Tags |