Vinyeh commited on
Commit
9aaa410
·
verified ·
1 Parent(s): 4f2132a

Add pinned source: camunda-dmn-examples (part 18)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Parameter.java +29 -0
  2. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ParameterMapping.java +37 -0
  3. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanFragment.java +31 -0
  4. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItem.java +60 -0
  5. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemControl.java +37 -0
  6. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemDefinition.java +33 -0
  7. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemOnPart.java +45 -0
  8. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemStartTrigger.java +35 -0
  9. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemTransitionStandardEvent.java +27 -0
  10. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanningTable.java +31 -0
  11. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Process.java +39 -0
  12. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ProcessParameter.java +25 -0
  13. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ProcessRefExpression.java +25 -0
  14. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ProcessTask.java +51 -0
  15. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Property.java +33 -0
  16. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Relationship.java +41 -0
  17. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/RepetitionRule.java +43 -0
  18. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/RequiredRule.java +37 -0
  19. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Role.java +29 -0
  20. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Sentry.java +37 -0
  21. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Source.java +25 -0
  22. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Stage.java +44 -0
  23. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/StartTrigger.java +25 -0
  24. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TableItem.java +33 -0
  25. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Target.java +25 -0
  26. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Task.java +41 -0
  27. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Text.java +25 -0
  28. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TextAnnotation.java +33 -0
  29. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TimerEvent.java +25 -0
  30. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TimerEventListener.java +33 -0
  31. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TimerExpression.java +25 -0
  32. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TransformationExpression.java +25 -0
  33. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/UserEvent.java +25 -0
  34. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/UserEventListener.java +29 -0
  35. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaCaseExecutionListener.java +51 -0
  36. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaExpression.java +27 -0
  37. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaField.java +47 -0
  38. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaIn.java +55 -0
  39. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaOut.java +46 -0
  40. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaScript.java +35 -0
  41. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaString.java +26 -0
  42. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaTaskListener.java +50 -0
  43. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaVariableListener.java +50 -0
  44. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaVariableOnPart.java +35 -0
  45. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaVariableTransitionEvent.java +32 -0
  46. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn10/CMMN10.xsd +64 -0
  47. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn10/CMMN10CaseModel.xsd +1090 -0
  48. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn11/CMMN11.xsd +78 -0
  49. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn11/CMMN11CaseModel.xsd +1337 -0
  50. source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn11/CMMNDI11.xsd +89 -0
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Parameter.java ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface Parameter extends CmmnElement {
24
+
25
+ String getName();
26
+
27
+ void setName(String name);
28
+
29
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ParameterMapping.java ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface ParameterMapping extends CmmnElement {
24
+
25
+ Parameter getSource();
26
+
27
+ void setSource(Parameter parameter);
28
+
29
+ Parameter getTarget();
30
+
31
+ void setTarget(Parameter parameter);
32
+
33
+ TransformationExpression getTransformation();
34
+
35
+ void setTransformation(TransformationExpression transformationExpression);
36
+
37
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanFragment.java ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface PlanFragment extends PlanItemDefinition {
26
+
27
+ Collection<PlanItem> getPlanItems();
28
+
29
+ Collection<Sentry> getSentrys();
30
+
31
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItem.java ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface PlanItem extends CmmnElement {
26
+
27
+ String getName();
28
+
29
+ void setName(String name);
30
+
31
+ PlanItemDefinition getDefinition();
32
+
33
+ void setDefinition(PlanItemDefinition definition);
34
+
35
+ @Deprecated
36
+ Collection<Sentry> getEntryCriterias();
37
+
38
+ @Deprecated
39
+ Collection<Sentry> getExitCriterias();
40
+
41
+ /**
42
+ * @return an immutable collection
43
+ */
44
+ Collection<Sentry> getEntryCriteria();
45
+
46
+ /**
47
+ * @return an immutable collection
48
+ */
49
+ Collection<Sentry> getExitCriteria();
50
+
51
+ Collection<EntryCriterion> getEntryCriterions();
52
+
53
+ Collection<ExitCriterion> getExitCriterions();
54
+
55
+ ItemControl getItemControl();
56
+
57
+ void setItemControl(ItemControl itemControl);
58
+
59
+
60
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemControl.java ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface PlanItemControl extends CmmnElement {
24
+
25
+ RepetitionRule getRepetitionRule();
26
+
27
+ void setRepetitionRule(RepetitionRule repetitionRule);
28
+
29
+ RequiredRule getRequiredRule();
30
+
31
+ void setRequiredRule(RequiredRule requiredRule);
32
+
33
+ ManualActivationRule getManualActivationRule();
34
+
35
+ void setManualActivationRule(ManualActivationRule manualActivationRule);
36
+
37
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemDefinition.java ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface PlanItemDefinition extends CmmnElement {
24
+
25
+ String getName();
26
+
27
+ void setName(String name);
28
+
29
+ DefaultControl getDefaultControl();
30
+
31
+ void setDefaultControl(DefaultControl defaultControl);
32
+
33
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemOnPart.java ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import org.camunda.bpm.model.cmmn.PlanItemTransition;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface PlanItemOnPart extends OnPart {
26
+
27
+ @Deprecated
28
+ Sentry getSentry();
29
+
30
+ @Deprecated
31
+ void setSentry(Sentry sentry);
32
+
33
+ ExitCriterion getExitCriterion();
34
+
35
+ void setExitCriterion(ExitCriterion exitCriterion);
36
+
37
+ PlanItem getSource();
38
+
39
+ void setSource(PlanItem source);
40
+
41
+ PlanItemTransition getStandardEvent();
42
+
43
+ void setStandardEvent(PlanItemTransition standardEvent);
44
+
45
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemStartTrigger.java ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import org.camunda.bpm.model.cmmn.PlanItemTransition;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface PlanItemStartTrigger extends StartTrigger {
26
+
27
+ PlanItem getSource();
28
+
29
+ void setSource(PlanItem source);
30
+
31
+ PlanItemTransition getStandardEvent();
32
+
33
+ void setStandardEvent(PlanItemTransition standardEvent);
34
+
35
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanItemTransitionStandardEvent.java ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import org.camunda.bpm.model.cmmn.PlanItemTransition;
20
+
21
+ public interface PlanItemTransitionStandardEvent extends CmmnModelElementInstance {
22
+
23
+ PlanItemTransition getValue();
24
+
25
+ void setValue(PlanItemTransition value);
26
+
27
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/PlanningTable.java ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface PlanningTable extends TableItem {
26
+
27
+ Collection<TableItem> getTableItems();
28
+
29
+ Collection<ApplicabilityRule> getApplicabilityRules();
30
+
31
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Process.java ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface Process extends CmmnElement {
26
+
27
+ String getName();
28
+
29
+ void setName(String name);
30
+
31
+ String getImplementationType();
32
+
33
+ void setImplementationType(String implementationType);
34
+
35
+ Collection<InputProcessParameter> getInputs();
36
+
37
+ Collection<OutputProcessParameter> getOutputs();
38
+
39
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ProcessParameter.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface ProcessParameter extends Parameter {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ProcessRefExpression.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface ProcessRefExpression extends Expression {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/ProcessTask.java ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface ProcessTask extends Task {
26
+
27
+ String getProcess();
28
+
29
+ void setProcess(String process);
30
+
31
+ ProcessRefExpression getProcessExpression();
32
+
33
+ void setProcessExpression(ProcessRefExpression processExpression);
34
+
35
+ Collection<ParameterMapping> getParameterMappings();
36
+
37
+ /** camunda extensions */
38
+
39
+ String getCamundaProcessBinding();
40
+
41
+ void setCamundaProcessBinding(String camundaProcessBinding);
42
+
43
+ String getCamundaProcessVersion();
44
+
45
+ void setCamundaProcessVersion(String camundaProcessVersion);
46
+
47
+ String getCamundaProcessTenantId();
48
+
49
+ void setCamundaProcessTenantId(String camundaProcessTenantId);
50
+
51
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Property.java ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface Property extends CmmnElement {
24
+
25
+ String getName();
26
+
27
+ void setName(String name);
28
+
29
+ String getType();
30
+
31
+ void setType(String type);
32
+
33
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Relationship.java ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ import org.camunda.bpm.model.cmmn.RelationshipDirection;
22
+
23
+ /**
24
+ * @author Roman Smirnov
25
+ *
26
+ */
27
+ public interface Relationship extends CmmnElement {
28
+
29
+ String getType();
30
+
31
+ void setType(String type);
32
+
33
+ RelationshipDirection getDirection();
34
+
35
+ void setDirection(RelationshipDirection direction);
36
+
37
+ Collection<Source> getSources();
38
+
39
+ Collection<Target> getTargets();
40
+
41
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/RepetitionRule.java ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface RepetitionRule extends CmmnElement {
24
+
25
+ String getName();
26
+
27
+ void setName(String name);
28
+
29
+ CaseFileItem getContext();
30
+
31
+ void setContext(CaseFileItem caseFileItem);
32
+
33
+ ConditionExpression getCondition();
34
+
35
+ void setCondition(ConditionExpression condition);
36
+
37
+ /** Camunda extensions */
38
+
39
+ String getCamundaRepeatOnStandardEvent();
40
+
41
+ void setCamundaRepeatOnStandardEvent(String standardEvent);
42
+
43
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/RequiredRule.java ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface RequiredRule extends CmmnElement {
24
+
25
+ String getName();
26
+
27
+ void setName(String name);
28
+
29
+ CaseFileItem getContext();
30
+
31
+ void setContext(CaseFileItem caseFileItem);
32
+
33
+ ConditionExpression getCondition();
34
+
35
+ void setCondition(ConditionExpression condition);
36
+
37
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Role.java ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface Role extends CmmnElement {
24
+
25
+ String getName();
26
+
27
+ void setName(String name);
28
+
29
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Sentry.java ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface Sentry extends CmmnElement {
26
+
27
+ String getName();
28
+
29
+ void setName(String name);
30
+
31
+ Collection<OnPart> getOnParts();
32
+
33
+ IfPart getIfPart();
34
+
35
+ void setIfPart(IfPart ifPart);
36
+
37
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Source.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface Source extends CmmnModelElementInstance {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Stage.java ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface Stage extends PlanFragment {
26
+
27
+ boolean isAutoComplete();
28
+
29
+ void setAutoComplete(boolean autoComplete);
30
+
31
+ @Deprecated
32
+ Collection<Sentry> getExitCriterias();
33
+
34
+ Collection<Sentry> getExitCriteria();
35
+
36
+ Collection<ExitCriterion> getExitCriterions();
37
+
38
+ PlanningTable getPlanningTable();
39
+
40
+ void setPlanningTable(PlanningTable planningTable);
41
+
42
+ Collection<PlanItemDefinition> getPlanItemDefinitions();
43
+
44
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/StartTrigger.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface StartTrigger extends CmmnElement {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TableItem.java ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface TableItem extends CmmnElement {
26
+
27
+ Collection<ApplicabilityRule> getApplicabilityRule();
28
+
29
+ Collection<Role> getAuthorizedRoles();
30
+
31
+
32
+
33
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Target.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface Target extends CmmnModelElementInstance {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Task.java ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface Task extends PlanItemDefinition {
26
+
27
+ boolean isBlocking();
28
+
29
+ void setIsBlocking(boolean isBlocking);
30
+
31
+ @Deprecated
32
+ Collection<InputsCaseParameter> getInputs();
33
+
34
+ @Deprecated
35
+ Collection<OutputsCaseParameter> getOutputs();
36
+
37
+ Collection<InputCaseParameter> getInputParameters();
38
+
39
+ Collection<OutputCaseParameter> getOutputParameters();
40
+
41
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/Text.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface Text extends CmmnModelElementInstance {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TextAnnotation.java ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface TextAnnotation extends Artifact {
24
+
25
+ String getTextFormat();
26
+
27
+ void setTextFormat(String textFormat);
28
+
29
+ Text getText();
30
+
31
+ void setText(Text text);
32
+
33
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TimerEvent.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface TimerEvent extends Event {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TimerEventListener.java ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface TimerEventListener extends EventListener {
24
+
25
+ TimerExpression getTimerExpression();
26
+
27
+ void setTimerExpression(TimerExpression timerExpression);
28
+
29
+ StartTrigger getTimerStart();
30
+
31
+ void setTimerStart(StartTrigger timerStart);
32
+
33
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TimerExpression.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface TimerExpression extends Expression {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/TransformationExpression.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface TransformationExpression extends Expression {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/UserEvent.java ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ /**
20
+ * @author Roman Smirnov
21
+ *
22
+ */
23
+ public interface UserEvent extends Event {
24
+
25
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/UserEventListener.java ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance;
18
+
19
+ import java.util.Collection;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface UserEventListener extends EventListener {
26
+
27
+ Collection<Role> getAuthorizedRoles();
28
+
29
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaCaseExecutionListener.java ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import java.util.Collection;
20
+
21
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
22
+
23
+ /**
24
+ * @author Roman Smirnov
25
+ *
26
+ */
27
+ public interface CamundaCaseExecutionListener extends CmmnModelElementInstance {
28
+
29
+ String getCamundaEvent();
30
+
31
+ void setCamundaEvent(String camundaEvent);
32
+
33
+ String getCamundaClass();
34
+
35
+ void setCamundaClass(String camundaClass);
36
+
37
+ String getCamundaExpression();
38
+
39
+ void setCamundaExpression(String camundaExpression);
40
+
41
+ String getCamundaDelegateExpression();
42
+
43
+ void setCamundaDelegateExpression(String camundaDelegateExpression);
44
+
45
+ CamundaScript getCamundaScript();
46
+
47
+ void setCamundaScript(CamundaScript camundaScript);
48
+
49
+ Collection<CamundaField> getCamundaFields();
50
+
51
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaExpression.java ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface CamundaExpression extends CmmnModelElementInstance {
26
+
27
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaField.java ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface CamundaField extends CmmnModelElementInstance {
26
+
27
+ String getCamundaName();
28
+
29
+ void setCamundaName(String camundaName);
30
+
31
+ String getCamundaExpression();
32
+
33
+ void setCamundaExpression(String camundaExpression);
34
+
35
+ String getCamundaStringValue();
36
+
37
+ void setCamundaStringValue(String camundaStringValue);
38
+
39
+ CamundaString getCamundaString();
40
+
41
+ void setCamundaString(CamundaString camundaString);
42
+
43
+ CamundaExpression getCamundaExpressionChild();
44
+
45
+ void setCamundaExpressionChild(CamundaExpression camundaExpression);
46
+
47
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaIn.java ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
20
+
21
+
22
+ /**
23
+ * The CMMN in camunda extension element
24
+ *
25
+ * @author Sebastian Menski
26
+ * @author Roman Smirnov
27
+ *
28
+ */
29
+ public interface CamundaIn extends CmmnModelElementInstance {
30
+
31
+ String getCamundaSource();
32
+
33
+ void setCamundaSource(String camundaSource);
34
+
35
+ String getCamundaSourceExpression();
36
+
37
+ void setCamundaSourceExpression(String camundaSourceExpression);
38
+
39
+ String getCamundaVariables();
40
+
41
+ void setCamundaVariables(String camundaVariables);
42
+
43
+ String getCamundaTarget();
44
+
45
+ void setCamundaTarget(String camundaTarget);
46
+
47
+ String getCamundaBusinessKey();
48
+
49
+ void setCamundaBusinessKey(String camundaBusinessKey);
50
+
51
+ boolean getCamundaLocal();
52
+
53
+ void setCamundaLocal(boolean local);
54
+
55
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaOut.java ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
20
+
21
+ /**
22
+ * The CMMN out camunda extension element
23
+ *
24
+ * @author Sebastian Menski
25
+ * @author Roman Smirnov
26
+ *
27
+ */
28
+ public interface CamundaOut extends CmmnModelElementInstance {
29
+
30
+ String getCamundaSource();
31
+
32
+ void setCamundaSource(String camundaSource);
33
+
34
+ String getCamundaSourceExpression();
35
+
36
+ void setCamundaSourceExpression(String camundaSourceExpression);
37
+
38
+ String getCamundaVariables();
39
+
40
+ void setCamundaVariables(String camundaVariables);
41
+
42
+ String getCamundaTarget();
43
+
44
+ void setCamundaTarget(String camundaTarget);
45
+
46
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaScript.java ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface CamundaScript extends CmmnModelElementInstance {
26
+
27
+ String getCamundaScriptFormat();
28
+
29
+ void setCamundaScriptFormat(String scriptFormat);
30
+
31
+ String getCamundaResource();
32
+
33
+ void setCamundaResoure(String resource);
34
+
35
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaString.java ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
20
+
21
+ /**
22
+ * @author Roman Smirnov
23
+ *
24
+ */
25
+ public interface CamundaString extends CmmnModelElementInstance {
26
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaTaskListener.java ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import java.util.Collection;
20
+
21
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
22
+
23
+ /**
24
+ * @author Roman Smirnov
25
+ *
26
+ */
27
+ public interface CamundaTaskListener extends CmmnModelElementInstance {
28
+
29
+ String getCamundaEvent();
30
+
31
+ void setCamundaEvent(String camundaEvent);
32
+
33
+ String getCamundaClass();
34
+
35
+ void setCamundaClass(String camundaClass);
36
+
37
+ String getCamundaExpression();
38
+
39
+ void setCamundaExpression(String camundaExpression);
40
+
41
+ String getCamundaDelegateExpression();
42
+
43
+ void setCamundaDelegateExpression(String camundaDelegateExpression);
44
+
45
+ CamundaScript getCamundaScript();
46
+
47
+ void setCamundaScript(CamundaScript camundaScript);
48
+
49
+ Collection<CamundaField> getCamundaFields();
50
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaVariableListener.java ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import java.util.Collection;
20
+
21
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
22
+
23
+ /**
24
+ * @author Thorben Lindhauer
25
+ *
26
+ */
27
+ public interface CamundaVariableListener extends CmmnModelElementInstance {
28
+
29
+ String getCamundaEvent();
30
+
31
+ void setCamundaEvent(String camundaEvent);
32
+
33
+ String getCamundaClass();
34
+
35
+ void setCamundaClass(String camundaClass);
36
+
37
+ String getCamundaExpression();
38
+
39
+ void setCamundaExpression(String camundaExpression);
40
+
41
+ String getCamundaDelegateExpression();
42
+
43
+ void setCamundaDelegateExpression(String camundaDelegateExpression);
44
+
45
+ Collection<CamundaField> getCamundaFields();
46
+
47
+ CamundaScript getCamundaScript();
48
+
49
+ void setCamundaScript(CamundaScript camundaScript);
50
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaVariableOnPart.java ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.VariableTransition;
20
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
21
+ /**
22
+ *
23
+ * @author Deivarayan Azhagappan
24
+ *
25
+ */
26
+ public interface CamundaVariableOnPart extends CmmnModelElementInstance {
27
+
28
+ String getVariableName();
29
+
30
+ void setVariableName(String variableName);
31
+
32
+ VariableTransition getVariableEvent();
33
+
34
+ void setVariableEvent(VariableTransition standardEvent);
35
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/java/org/camunda/bpm/model/cmmn/instance/camunda/CamundaVariableTransitionEvent.java ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
3
+ * under one or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information regarding copyright
5
+ * ownership. Camunda licenses this file to you under the Apache License,
6
+ * Version 2.0; you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ package org.camunda.bpm.model.cmmn.instance.camunda;
18
+
19
+ import org.camunda.bpm.model.cmmn.VariableTransition;
20
+ import org.camunda.bpm.model.cmmn.instance.CmmnModelElementInstance;
21
+ /**
22
+ *
23
+ * @author Deivarayan Azhagappan
24
+ *
25
+ */
26
+ public interface CamundaVariableTransitionEvent extends CmmnModelElementInstance {
27
+
28
+ VariableTransition getValue();
29
+
30
+ void setValue(VariableTransition value);
31
+
32
+ }
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn10/CMMN10.xsd ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema elementFormDefault="qualified"
3
+ attributeFormDefault="unqualified"
4
+ xmlns="http://www.omg.org/spec/CMMN/20131201/MODEL"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ targetNamespace="http://www.omg.org/spec/CMMN/20131201/MODEL">
7
+
8
+ <xsd:include schemaLocation="CMMN10CaseModel.xsd">
9
+ <xsd:annotation>
10
+ <xsd:documentation>
11
+ Include the CMMN 1.0 Case Model XML-Schema in the same namespace.
12
+ </xsd:documentation>
13
+ </xsd:annotation>
14
+ </xsd:include>
15
+
16
+ <!--
17
+ CMMN Definitions
18
+ -->
19
+ <xsd:element name="definitions" type="tDefinitions">
20
+ <xsd:annotation>
21
+ <xsd:documentation>
22
+ definitions is the root element of ALL CMMN elements. It is used as a container
23
+ for CMMN elements that might be re-used.
24
+ </xsd:documentation>
25
+ </xsd:annotation>
26
+ </xsd:element>
27
+
28
+ <xsd:complexType name="tDefinitions">
29
+ <xsd:annotation>
30
+ <xsd:documentation>
31
+ tDefinitions defines the type of element "definitions".
32
+ </xsd:documentation>
33
+ </xsd:annotation>
34
+ <xsd:sequence>
35
+ <xsd:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
36
+ <xsd:element ref="caseFileItemDefinition" minOccurs="0" maxOccurs="unbounded"/>
37
+ <xsd:element ref="case" minOccurs="0" maxOccurs="unbounded"/>
38
+ <xsd:element ref="process" minOccurs="0" maxOccurs="unbounded"/>
39
+ <xsd:element ref="relationship" minOccurs="0" maxOccurs="unbounded"/>
40
+ </xsd:sequence>
41
+ <xsd:attribute name="id" type="xsd:ID"/>
42
+ <xsd:attribute name="name" type="xsd:string"/>
43
+ <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>
44
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI"
45
+ use="optional" default="http://www.w3.org/1999/XPath"/>
46
+ <xsd:attribute name="exporter" type="xsd:string"/>
47
+ <xsd:attribute name="exporterVersion" type="xsd:string"/>
48
+ <xsd:attribute name="author" type="xsd:string"/>
49
+ <xsd:attribute name="creationDate" type="xsd:dateTime"/>
50
+ <xsd:anyAttribute namespace="##other" processContents="lax"/>
51
+ </xsd:complexType>
52
+
53
+ <xsd:element name="import" type="tImport"/>
54
+ <xsd:annotation>
55
+ <xsd:documentation>
56
+ import is the root element for all imports in CMMN definitions.
57
+ </xsd:documentation>
58
+ </xsd:annotation>
59
+ <xsd:complexType name="tImport">
60
+ <xsd:attribute name="location" type="xsd:string" use="required"/>
61
+ <xsd:attribute name="namespace" type="xsd:anyURI"/>
62
+ <xsd:attribute name="importType" type="xsd:anyURI" use="required"/>
63
+ </xsd:complexType>
64
+ </xsd:schema>
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn10/CMMN10CaseModel.xsd ADDED
@@ -0,0 +1,1090 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema elementFormDefault="qualified"
3
+ attributeFormDefault="unqualified"
4
+ xmlns="http://www.omg.org/spec/CMMN/20131201/MODEL"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ targetNamespace="http://www.omg.org/spec/CMMN/20131201/MODEL">
7
+
8
+ <!--
9
+ CMMN Base declarations
10
+ -->
11
+ <xsd:complexType name="tCmmnElement" abstract="true">
12
+ <xsd:annotation>
13
+ <xsd:documentation>
14
+ tCmmnElement is the base type for ALL CMMN complex types except tExpression.
15
+ </xsd:documentation>
16
+ </xsd:annotation>
17
+ <xsd:sequence>
18
+ <xsd:element ref="extensionElements" minOccurs="0" maxOccurs="1" />
19
+ </xsd:sequence>
20
+ <xsd:attribute name="id" type="xsd:ID" use="optional"/>
21
+ <xsd:attribute name="description" type="xsd:string" use="optional"/>
22
+ <xsd:anyAttribute namespace="##other" processContents="lax"/>
23
+ </xsd:complexType>
24
+
25
+ <!-- Introduce tCmmnElementWithMixedContent for expressions to allow mixed content -->
26
+ <xsd:complexType name="tCmmnElementWithMixedContent" abstract="true" mixed="true">
27
+ <xsd:annotation>
28
+ <xsd:documentation>
29
+ tCmmnElementWithMixedContent is the base type for complex type tExpression. It is
30
+ identical to tCmmnElement except that it allows for mixed content.
31
+ </xsd:documentation>
32
+ </xsd:annotation>
33
+ <xsd:sequence>
34
+ <xsd:element ref="extensionElements" minOccurs="0" maxOccurs="1" />
35
+ </xsd:sequence>
36
+ <xsd:attribute name="id" type="xsd:ID" use="optional"/>
37
+ <xsd:attribute name="description" type="xsd:string" use="optional"/>
38
+ <xsd:anyAttribute namespace="##other" processContents="lax"/>
39
+ </xsd:complexType>
40
+
41
+ <!--
42
+ Extensibility
43
+ -->
44
+ <xsd:element name="extensionElements" type="tExtensionElements" />
45
+ <xsd:complexType name="tExtensionElements">
46
+ <xsd:annotation>
47
+ <xsd:documentation>
48
+ tExtensionElements allows to extend the specified meta model in a way that it is
49
+ still CMMN-compliant.
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+ <xsd:sequence>
53
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
54
+ </xsd:sequence>
55
+ </xsd:complexType>
56
+
57
+ <!---
58
+ Relationships
59
+ -->
60
+ <xsd:element name="relationship" type="tRelationship"/>
61
+ <xsd:complexType name="tRelationship">
62
+ <xsd:complexContent>
63
+ <xsd:extension base="tCmmnElement">
64
+ <xsd:sequence>
65
+ <xsd:element name="source" type="xsd:QName" minOccurs="1" maxOccurs="unbounded"/>
66
+ <xsd:element name="target" type="xsd:QName" minOccurs="1" maxOccurs="unbounded"/>
67
+ </xsd:sequence>
68
+ <xsd:attribute name="type" type="xsd:string" use="required"/>
69
+ <xsd:attribute name="direction" type="tRelationshipDirection"/>
70
+ </xsd:extension>
71
+ </xsd:complexContent>
72
+ </xsd:complexType>
73
+
74
+ <xsd:simpleType name="tRelationshipDirection">
75
+ <xsd:restriction base="xsd:string">
76
+ <xsd:enumeration value="None"/>
77
+ <xsd:enumeration value="Forward"/>
78
+ <xsd:enumeration value="Backward"/>
79
+ <xsd:enumeration value="Both"/>
80
+ </xsd:restriction>
81
+ </xsd:simpleType>
82
+
83
+ <!--
84
+ CMMN Case elements
85
+ -->
86
+ <xsd:element name="case" type="tCase">
87
+ <xsd:annotation>
88
+ <xsd:documentation>
89
+ case is the root element for all CMMN case models. It is the container
90
+ for the Case File and Plan Model.
91
+ </xsd:documentation>
92
+ </xsd:annotation>
93
+ </xsd:element>
94
+ <xsd:complexType name="tCase">
95
+ <xsd:annotation>
96
+ <xsd:documentation>
97
+ tCase defines the type of element "case".
98
+ </xsd:documentation>
99
+ </xsd:annotation>
100
+ <xsd:complexContent>
101
+ <xsd:extension base="tCmmnElement">
102
+ <xsd:sequence>
103
+ <xsd:element name="caseFileModel" type="tCaseFile" minOccurs="0" maxOccurs="1"/>
104
+ <xsd:element name="casePlanModel" type="tStage" minOccurs="0" maxOccurs="1"/>
105
+ <xsd:element name="caseRoles" type="tRole" minOccurs="0" maxOccurs="unbounded"/>
106
+ <xsd:element name="input" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
107
+ <xsd:element name="output" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
108
+ </xsd:sequence>
109
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
110
+ </xsd:extension>
111
+ </xsd:complexContent>
112
+ </xsd:complexType>
113
+
114
+ <xsd:element name="role" type="tRole">
115
+ <xsd:annotation>
116
+ <xsd:documentation>
117
+ role is the root element for Case Roles.
118
+ </xsd:documentation>
119
+ </xsd:annotation>
120
+ </xsd:element>
121
+ <xsd:complexType name="tRole">
122
+ <xsd:annotation>
123
+ <xsd:documentation>
124
+ tRole defines the type of element "role".
125
+ </xsd:documentation>
126
+ </xsd:annotation>
127
+ <xsd:complexContent>
128
+ <xsd:extension base="tCmmnElement">
129
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
130
+ </xsd:extension>
131
+ </xsd:complexContent>
132
+ </xsd:complexType>
133
+
134
+ <!--
135
+ Plan Item Control
136
+ -->
137
+ <xsd:element name="planItemControl" type="tPlanItemControl">
138
+ <xsd:annotation>
139
+ <xsd:documentation>
140
+ planItemControl is the root element for Case Plan Control elements
141
+ including the RepetitionRule, RequiredRule and ManualActivationRule.
142
+ </xsd:documentation>
143
+ </xsd:annotation>
144
+ </xsd:element>
145
+ <xsd:complexType name="tPlanItemControl">
146
+ <xsd:annotation>
147
+ <xsd:documentation>
148
+ tPlanItemcontrol defines the type of element "planItemControl".
149
+ </xsd:documentation>
150
+ </xsd:annotation>
151
+ <xsd:complexContent>
152
+ <xsd:extension base="tCmmnElement">
153
+ <xsd:sequence>
154
+ <xsd:element ref="repetitionRule" minOccurs="0" maxOccurs="1"/>
155
+ <xsd:element ref="requiredRule" minOccurs="0" maxOccurs="1"/>
156
+ <xsd:element ref="manualActivationRule" minOccurs="0" maxOccurs="1"/>
157
+ </xsd:sequence>
158
+ </xsd:extension>
159
+ </xsd:complexContent>
160
+ </xsd:complexType>
161
+
162
+ <xsd:element name="repetitionRule" type="tRepetitionRule">
163
+ <xsd:annotation>
164
+ <xsd:documentation>
165
+ repetitionRule is the root element for specifying a
166
+ repetition rule for a PlanItemDefinition element.
167
+ </xsd:documentation>
168
+ </xsd:annotation>
169
+ </xsd:element>
170
+ <xsd:complexType name="tRepetitionRule">
171
+ <xsd:annotation>
172
+ <xsd:documentation>
173
+ tRepetitionRule defines the type of element "repetitionRule".
174
+ </xsd:documentation>
175
+ </xsd:annotation>
176
+ <xsd:complexContent>
177
+ <xsd:extension base="tCmmnElement">
178
+ <xsd:sequence>
179
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
180
+ </xsd:sequence>
181
+ <xsd:attribute name="name" type="xsd:string"/>
182
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
183
+ <xsd:annotation>
184
+ <xsd:documentation>
185
+ contextRef MUST refer a CaseFileItem if specified.
186
+ </xsd:documentation>
187
+ </xsd:annotation>
188
+ </xsd:attribute>
189
+ </xsd:extension>
190
+ </xsd:complexContent>
191
+ </xsd:complexType>
192
+
193
+ <xsd:element name="requiredRule" type="tRequiredRule">
194
+ <xsd:annotation>
195
+ <xsd:documentation>
196
+ requiredRule is the root element for specifying a
197
+ required rule for a PlanItemDefinition element.
198
+ </xsd:documentation>
199
+ </xsd:annotation>
200
+ </xsd:element>
201
+ <xsd:complexType name="tRequiredRule">
202
+ <xsd:annotation>
203
+ <xsd:documentation>
204
+ tRequiredRule defines the type of element "requiredRule".
205
+ </xsd:documentation>
206
+ </xsd:annotation>
207
+ <xsd:complexContent>
208
+ <xsd:extension base="tCmmnElement">
209
+ <xsd:sequence>
210
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
211
+ </xsd:sequence>
212
+ <xsd:attribute name="name" type="xsd:string"/>
213
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
214
+ <xsd:annotation>
215
+ <xsd:documentation>
216
+ contextRef MUST refer a CaseFileItem if specified.
217
+ </xsd:documentation>
218
+ </xsd:annotation>
219
+ </xsd:attribute>
220
+ </xsd:extension>
221
+ </xsd:complexContent>
222
+ </xsd:complexType>
223
+
224
+ <xsd:element name="manualActivationRule" type="tManualActivationRule">
225
+ <xsd:annotation>
226
+ <xsd:documentation>
227
+ manualActivationRule is the root element for specifying an
228
+ manual activation rule for a PlanItemDefinition element.
229
+ </xsd:documentation>
230
+ </xsd:annotation>
231
+ </xsd:element>
232
+ <xsd:complexType name="tManualActivationRule">
233
+ <xsd:annotation>
234
+ <xsd:documentation>
235
+ tManualActivationRule defines the type of element "manualActivationRule".
236
+ </xsd:documentation>
237
+ </xsd:annotation>
238
+ <xsd:complexContent>
239
+ <xsd:extension base="tCmmnElement">
240
+ <xsd:sequence>
241
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
242
+ </xsd:sequence>
243
+ <xsd:attribute name="name" type="xsd:string"/>
244
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
245
+ <xsd:annotation>
246
+ <xsd:documentation>
247
+ contextRef MUST refer a CaseFileItem if specified.
248
+ </xsd:documentation>
249
+ </xsd:annotation>
250
+ </xsd:attribute>
251
+ </xsd:extension>
252
+ </xsd:complexContent>
253
+ </xsd:complexType>
254
+
255
+ <!--
256
+ CMMN Information Model (Case File)
257
+ -->
258
+ <xsd:element name="caseFile" type="tCaseFile">
259
+ <xsd:annotation>
260
+ <xsd:documentation>
261
+ caseFile is the root element for the CMMN Case File Model
262
+ and is a container for CaseFileItems.
263
+ </xsd:documentation>
264
+ </xsd:annotation>
265
+ </xsd:element>
266
+ <xsd:complexType name="tCaseFile">
267
+ <xsd:annotation>
268
+ <xsd:documentation>
269
+ tCaseFile defines the type of element "caseFile".
270
+ </xsd:documentation>
271
+ </xsd:annotation>
272
+ <xsd:complexContent>
273
+ <xsd:extension base="tCmmnElement">
274
+ <xsd:sequence>
275
+ <xsd:element ref="caseFileItem" minOccurs="0" maxOccurs="unbounded"/>
276
+ </xsd:sequence>
277
+ </xsd:extension>
278
+ </xsd:complexContent>
279
+ </xsd:complexType>
280
+
281
+ <xsd:element name="caseFileItem" type="tCaseFileItem">
282
+ <xsd:annotation>
283
+ <xsd:documentation>
284
+ caseFileItem is the root element for CMMN data.
285
+ </xsd:documentation>
286
+ </xsd:annotation>
287
+ </xsd:element>
288
+ <xsd:complexType name="tCaseFileItem">
289
+ <xsd:annotation>
290
+ <xsd:documentation>
291
+ tCaseFileItem defines the type of element "caseFileItem".
292
+ </xsd:documentation>
293
+ </xsd:annotation>
294
+ <xsd:complexContent>
295
+ <xsd:extension base="tCmmnElement">
296
+ <xsd:sequence>
297
+ <xsd:element name="children" type="tChildren" minOccurs="0" maxOccurs="1"/>
298
+ </xsd:sequence>
299
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
300
+ <xsd:attribute name="multiplicity" type="MultiplicityEnum" use="optional" default="Unspecified"/>
301
+ <xsd:attribute name="definitionRef" type="xsd:QName">
302
+ <xsd:annotation>
303
+ <xsd:documentation>
304
+ definitinRef MUST refer to a "caseFileItemDefinition" element. Since
305
+ CaseFileItemDefinition is re-usable, QName is used for reference.
306
+ </xsd:documentation>
307
+ </xsd:annotation>
308
+ </xsd:attribute>
309
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
310
+ <xsd:annotation>
311
+ <xsd:documentation>
312
+ sourceRef MUST refer to a "caseFileItem" element in the case where this
313
+ "caseFileItem" has a parent.
314
+ </xsd:documentation>
315
+ </xsd:annotation>
316
+ </xsd:attribute>
317
+ <xsd:attribute name="targetRefs" type="xsd:IDREFS">
318
+ <xsd:annotation>
319
+ <xsd:documentation>
320
+ If this "caseFileItem" maintains references to "caseFileItem" childs, then
321
+ targetRefs MUST refer to "caseFileItem" elements; the targets of this caseFileItem.
322
+ </xsd:documentation>
323
+ </xsd:annotation>
324
+ </xsd:attribute>
325
+ </xsd:extension>
326
+ </xsd:complexContent>
327
+ </xsd:complexType>
328
+
329
+ <xsd:complexType name="tChildren">
330
+ <xsd:annotation>
331
+ <xsd:documentation>
332
+ tChildren defines a container for zero or more "caseFileItem" elements.
333
+ </xsd:documentation>
334
+ </xsd:annotation>
335
+ <xsd:complexContent>
336
+ <xsd:extension base="tCmmnElement">
337
+ <xsd:sequence>
338
+ <xsd:element ref="caseFileItem" minOccurs="0" maxOccurs="unbounded"/>
339
+ </xsd:sequence>
340
+ </xsd:extension>
341
+ </xsd:complexContent>
342
+ </xsd:complexType>
343
+
344
+ <xsd:element name="caseFileItemDefinition" type="tCaseFileItemDefinition">
345
+ <xsd:annotation>
346
+ <xsd:documentation>
347
+ caseFileItemDefinition defines the type of a "caseFileItem".
348
+ </xsd:documentation>
349
+ </xsd:annotation>
350
+ </xsd:element>
351
+ <xsd:complexType name="tCaseFileItemDefinition">
352
+ <xsd:annotation>
353
+ <xsd:documentation>
354
+ tCaseFileItemDefinition defines the type of element "caseFileItemDefinition"
355
+ </xsd:documentation>
356
+ </xsd:annotation>
357
+ <xsd:complexContent>
358
+ <xsd:extension base="tCmmnElement">
359
+ <xsd:sequence>
360
+ <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
361
+ </xsd:sequence>
362
+ <xsd:attribute name="name" type="xsd:string"/>
363
+ <xsd:attribute name="definitionType" type="DefinitionTypeEnum" use="optional"
364
+ default="http://www.omg.org/spec/CMMN/DefinitionType/Unspecified"/>
365
+ <xsd:attribute name="structureRef" type="xsd:QName">
366
+ <xsd:annotation>
367
+ <xsd:documentation>
368
+ structureRef refers a structure, for example an XML-Schema element
369
+ in a XSD referred by importRef
370
+ </xsd:documentation>
371
+ </xsd:annotation>
372
+ </xsd:attribute>
373
+ <xsd:attribute name="importRef" type="xsd:QName">
374
+ <xsd:annotation>
375
+ <xsd:documentation>
376
+ importRef refers an "import" element under "definitions"
377
+ </xsd:documentation>
378
+ </xsd:annotation>
379
+ </xsd:attribute>
380
+ </xsd:extension>
381
+ </xsd:complexContent>
382
+ </xsd:complexType>
383
+
384
+ <xsd:element name="property" type="tProperty"/>
385
+ <xsd:complexType name="tProperty">
386
+ <xsd:complexContent>
387
+ <xsd:extension base="tCmmnElement">
388
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
389
+ <xsd:attribute name="type" type="xsd:string" use="optional"/>
390
+ </xsd:extension>
391
+ </xsd:complexContent>
392
+ </xsd:complexType>
393
+
394
+ <xsd:simpleType name="MultiplicityEnum">
395
+ <xsd:restriction base="xsd:string">
396
+ <xsd:enumeration value="ZeroOrOne"/>
397
+ <xsd:enumeration value="ZeroOrMore"/>
398
+ <xsd:enumeration value="ExactlyOne"/>
399
+ <xsd:enumeration value="OneOrMore"/>
400
+ <xsd:enumeration value="Unspecified"/>
401
+ <xsd:enumeration value="Unknown"/>
402
+ </xsd:restriction>
403
+ </xsd:simpleType>
404
+
405
+ <xsd:simpleType name="DefinitionTypeEnum">
406
+ <xsd:union memberTypes="xsd:anyURI">
407
+ <xsd:simpleType>
408
+ <xsd:restriction base="xsd:anyURI">
409
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/CMISFolder"/>
410
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/CMISDocument"/>
411
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/CMISRelationship"/>
412
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/XSDElement"/>
413
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/XSDComplexType"/>
414
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/XSDSimpleType"/>
415
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/WSDLMessage"/>
416
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/UMLClass"/>
417
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/Unknown"/>
418
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/Unspecified"/>
419
+ </xsd:restriction>
420
+ </xsd:simpleType>
421
+ </xsd:union>
422
+ </xsd:simpleType>
423
+
424
+ <xsd:element name="expression" type="tExpression"/>
425
+ <xsd:complexType name="tExpression" mixed="true">
426
+ <xsd:complexContent>
427
+ <xsd:extension base="tCmmnElementWithMixedContent">
428
+ <xsd:sequence>
429
+ <xsd:element name="body" type="xsd:string" minOccurs="0" maxOccurs="1"/>
430
+ </xsd:sequence>
431
+ <xsd:attribute name="language" type="xsd:anyURI" use="optional"
432
+ default="http://www.w3.org/1999/XPath"/>
433
+ </xsd:extension>
434
+ </xsd:complexContent>
435
+ </xsd:complexType>
436
+
437
+
438
+ <!--
439
+ Plan Item Definition
440
+ -->
441
+
442
+ <!-- planItemDefinition is an abstract element that is used for inheritance (via substitutionGroup) -->
443
+ <xsd:element name="planItemDefinition" type="tPlanItemDefinition"/>
444
+ <xsd:complexType name="tPlanItemDefinition" abstract="true">
445
+ <xsd:complexContent>
446
+ <xsd:extension base="tCmmnElement">
447
+ <xsd:sequence>
448
+ <xsd:element name="defaultControl" type="tPlanItemControl" minOccurs="0" maxOccurs="1"/>
449
+ </xsd:sequence>
450
+ <xsd:attribute name="name" type="xsd:string"/>
451
+ </xsd:extension>
452
+ </xsd:complexContent>
453
+ </xsd:complexType>
454
+
455
+ <xsd:element name="task" type="tTask" substitutionGroup="planItemDefinition">
456
+ <xsd:annotation>
457
+ <xsd:documentation>
458
+ task represents an (abstract) Task in the Case Model and comprises
459
+ of inputs, outputs and a flag if the task is blocking or not.
460
+ </xsd:documentation>
461
+ </xsd:annotation>
462
+ </xsd:element>
463
+ <xsd:complexType name="tTask">
464
+ <xsd:complexContent>
465
+ <xsd:extension base="tPlanItemDefinition">
466
+ <xsd:sequence>
467
+ <xsd:element name="inputs" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
468
+ <xsd:element name="outputs" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
469
+ </xsd:sequence>
470
+ <xsd:attribute name="isBlocking" type="xsd:boolean" use="optional" default="true"/>
471
+ </xsd:extension>
472
+ </xsd:complexContent>
473
+ </xsd:complexType>
474
+
475
+ <xsd:element name="event" type="tEvent" substitutionGroup="planItemDefinition">
476
+ <xsd:annotation>
477
+ <xsd:documentation>
478
+ event represents an (abstract) Event in the Case Model.
479
+ </xsd:documentation>
480
+ </xsd:annotation>
481
+ </xsd:element>
482
+ <xsd:complexType name="tEvent">
483
+ <xsd:complexContent>
484
+ <xsd:extension base="tPlanItemDefinition">
485
+ </xsd:extension>
486
+ </xsd:complexContent>
487
+ </xsd:complexType>
488
+
489
+ <xsd:element name="milestone" type="tMilestone" substitutionGroup="planItemDefinition"/>
490
+ <xsd:complexType name="tMilestone">
491
+ <xsd:complexContent>
492
+ <xsd:extension base="tPlanItemDefinition">
493
+ </xsd:extension>
494
+ </xsd:complexContent>
495
+ </xsd:complexType>
496
+
497
+ <!--
498
+ Task elements
499
+ -->
500
+
501
+ <xsd:element name="parameter" type="tParameter"/>
502
+ <xsd:complexType name="tParameter" abstract="true">
503
+ <xsd:complexContent>
504
+ <xsd:extension base="tCmmnElement">
505
+ <xsd:attribute name="name" type="xsd:string"/>
506
+ </xsd:extension>
507
+ </xsd:complexContent>
508
+ </xsd:complexType>
509
+
510
+ <xsd:element name="caseParameter" type="tCaseParameter" substitutionGroup="parameter"/>
511
+ <xsd:complexType name="tCaseParameter">
512
+ <xsd:complexContent>
513
+ <xsd:extension base="tParameter">
514
+ <xsd:sequence>
515
+ <xsd:element name="bindingRefinement" type="tExpression" minOccurs="0" maxOccurs="1"/>
516
+ </xsd:sequence>
517
+ <xsd:attribute name="bindingRef" type="xsd:IDREF">
518
+ <xsd:annotation>
519
+ <xsd:documentation>
520
+ bindingRef refers a "caseFileItem" element
521
+ </xsd:documentation>
522
+ </xsd:annotation>
523
+ </xsd:attribute>
524
+ </xsd:extension>
525
+ </xsd:complexContent>
526
+ </xsd:complexType>
527
+
528
+ <xsd:element name="processParameter" type="tProcessParameter" substitutionGroup="parameter"/>
529
+ <xsd:complexType name="tProcessParameter">
530
+ <xsd:complexContent>
531
+ <xsd:extension base="tParameter">
532
+ </xsd:extension>
533
+ </xsd:complexContent>
534
+ </xsd:complexType>
535
+
536
+ <xsd:element name="humanTask" type="tHumanTask" substitutionGroup="task">
537
+ <xsd:annotation>
538
+ <xsd:documentation>
539
+ humanTask represents a HumanTask in the Case Model and comprises of
540
+ zero or one PlanningTable and a reference to a Role (the performer of
541
+ the human task).
542
+ </xsd:documentation>
543
+ </xsd:annotation>
544
+ </xsd:element>
545
+ <xsd:complexType name="tHumanTask">
546
+ <xsd:annotation>
547
+ <xsd:documentation>
548
+ tHumanTask defines the type of element "humanTask"
549
+ </xsd:documentation>
550
+ </xsd:annotation>
551
+ <xsd:complexContent>
552
+ <xsd:extension base="tTask">
553
+ <xsd:sequence>
554
+ <xsd:element name="planningTable" type="tPlanningTable" minOccurs="0" maxOccurs="unbounded"/>
555
+ </xsd:sequence>
556
+ <xsd:attribute name="performerRef" type="xsd:IDREF">
557
+ <xsd:annotation>
558
+ <xsd:documentation>
559
+ performerRef refers a "role" element
560
+ </xsd:documentation>
561
+ </xsd:annotation>
562
+ </xsd:attribute>
563
+ </xsd:extension>
564
+ </xsd:complexContent>
565
+ </xsd:complexType>
566
+
567
+ <xsd:element name="processTask" type="tProcessTask" substitutionGroup="task">
568
+ <xsd:annotation>
569
+ <xsd:documentation>
570
+ processTask represents a ProcessTask in the Case Model and comprises of
571
+ ParameterMappings and a reference to an (abstract) Process.
572
+ </xsd:documentation>
573
+ </xsd:annotation>
574
+ </xsd:element>
575
+ <xsd:complexType name="tProcessTask">
576
+ <xsd:annotation>
577
+ <xsd:documentation>
578
+ tProcessTask defines the type of element "process"
579
+ </xsd:documentation>
580
+ </xsd:annotation>
581
+ <xsd:complexContent>
582
+ <xsd:extension base="tTask">
583
+ <xsd:sequence>
584
+ <xsd:element ref="parameterMapping" minOccurs="0" maxOccurs="unbounded"/>
585
+ </xsd:sequence>
586
+ <xsd:attribute name="processRef" type="xsd:string">
587
+ <xsd:annotation>
588
+ <xsd:documentation>
589
+ processRef refers a "process" element which is re-usable and can
590
+ be imported via some other file.
591
+ </xsd:documentation>
592
+ </xsd:annotation>
593
+ </xsd:attribute>
594
+ </xsd:extension>
595
+ </xsd:complexContent>
596
+ </xsd:complexType>
597
+
598
+ <xsd:element name="process" type="tProcess">
599
+ <xsd:annotation>
600
+ <xsd:documentation>
601
+ process represents an (abstract) Business Process in CMMN. It has
602
+ a implementationType, inputs and outputs and can be referred from
603
+ a ProcessTask.
604
+ </xsd:documentation>
605
+ </xsd:annotation>
606
+ </xsd:element>
607
+ <xsd:complexType name="tProcess">
608
+ <xsd:annotation>
609
+ <xsd:documentation>
610
+ tProcess defines the type of element "process"
611
+ </xsd:documentation>
612
+ </xsd:annotation>
613
+ <xsd:complexContent>
614
+ <xsd:extension base="tCmmnElement">
615
+ <xsd:sequence>
616
+ <xsd:element name="input" type="tProcessParameter" minOccurs="0" maxOccurs="unbounded"/>
617
+ <xsd:element name="output" type="tProcessParameter" minOccurs="0" maxOccurs="unbounded"/>
618
+ </xsd:sequence>
619
+ <xsd:attribute name="name" type="xsd:string"/>
620
+ <xsd:attribute name="implementationType" type="xsd:anyURI" use="optional"
621
+ default="http://www.omg.org/spec/CMMN/ProcessType/Unspecified"/>
622
+ </xsd:extension>
623
+ </xsd:complexContent>
624
+ </xsd:complexType>
625
+
626
+ <xsd:simpleType name="ProcessTypeEnum">
627
+ <xsd:annotation>
628
+ <xsd:documentation>
629
+ Enumeration of Business Process standards known to CMMN 1.0
630
+ </xsd:documentation>
631
+ </xsd:annotation>
632
+ <xsd:union memberTypes="xsd:anyURI">
633
+ <xsd:simpleType>
634
+ <xsd:restriction base="xsd:anyURI">
635
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/BPMN20"/>
636
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/XPDL2"/>
637
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/WSBPEL20"/>
638
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/WSBPEL1"/>
639
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/Unknown"/>
640
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/Unspecified"/>
641
+ </xsd:restriction>
642
+ </xsd:simpleType>
643
+ </xsd:union>
644
+ </xsd:simpleType>
645
+
646
+ <xsd:element name="caseTask" type="tCaseTask" substitutionGroup="task">
647
+ <xsd:annotation>
648
+ <xsd:documentation>
649
+ caseTask is the root element for CaseTask in the Case Model and
650
+ comprises of ParameterMappings and a reference to a Case
651
+ </xsd:documentation>
652
+ </xsd:annotation>
653
+ </xsd:element>
654
+ <xsd:complexType name="tCaseTask">
655
+ <xsd:annotation>
656
+ <xsd:documentation>
657
+ tCaseTask defines the type of element "caseTask"
658
+ </xsd:documentation>
659
+ </xsd:annotation>
660
+ <xsd:complexContent>
661
+ <xsd:extension base="tTask">
662
+ <xsd:sequence>
663
+ <xsd:element ref="parameterMapping" minOccurs="0" maxOccurs="unbounded"/>
664
+ </xsd:sequence>
665
+ <xsd:attribute name="caseRef" type="xsd:string">
666
+ <xsd:annotation>
667
+ <xsd:documentation>
668
+ caseRef refers a "case" element which is re-usable and can
669
+ be imported via some other file.
670
+ </xsd:documentation>
671
+ </xsd:annotation>
672
+ </xsd:attribute>
673
+ </xsd:extension>
674
+ </xsd:complexContent>
675
+ </xsd:complexType>
676
+
677
+ <xsd:element name="parameterMapping" type="tParameterMapping"/>
678
+ <xsd:complexType name="tParameterMapping">
679
+ <xsd:complexContent>
680
+ <xsd:extension base="tCmmnElement">
681
+ <xsd:sequence>
682
+ <xsd:element name="transformation" type="tExpression" minOccurs="0" maxOccurs="1"/>
683
+ </xsd:sequence>
684
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
685
+ <xsd:annotation>
686
+ <xsd:documentation>
687
+ sourceRef refers a "parameter" element
688
+ </xsd:documentation>
689
+ </xsd:annotation>
690
+ </xsd:attribute>
691
+ <xsd:attribute name="targetRef" type="xsd:IDREF">
692
+ <xsd:annotation>
693
+ <xsd:documentation>
694
+ targetRef refers a "parameter" element
695
+ </xsd:documentation>
696
+ </xsd:annotation>
697
+ </xsd:attribute>
698
+ </xsd:extension>
699
+ </xsd:complexContent>
700
+ </xsd:complexType>
701
+
702
+ <!--
703
+ Event elements
704
+ -->
705
+ <xsd:element name="userEvent" type="tUserEvent" substitutionGroup="event"/>
706
+ <xsd:complexType name="tUserEvent">
707
+ <xsd:complexContent>
708
+ <xsd:extension base="tEvent">
709
+ </xsd:extension>
710
+ </xsd:complexContent>
711
+ </xsd:complexType>
712
+
713
+ <xsd:element name="timerEvent" type="tTimerEvent" substitutionGroup="event"/>
714
+ <xsd:complexType name="tTimerEvent">
715
+ <xsd:complexContent>
716
+ <xsd:extension base="tEvent">
717
+ <xsd:sequence>
718
+ <xsd:element name="timerExpression" type="tExpression" minOccurs="0" maxOccurs="1">
719
+ <xsd:annotation>
720
+ <xsd:documentation>
721
+ timerExpression is supposed to be an ISO-8601 conformant expression
722
+ </xsd:documentation>
723
+ </xsd:annotation>
724
+ </xsd:element>
725
+ <xsd:element ref="timerStart" minOccurs="0" maxOccurs="1">
726
+ <xsd:annotation>
727
+ <xsd:documentation>
728
+ timerStart can be used to trigger the timer after a PlanItem or CaseFileItem
729
+ lifecycle state transition has occurred.
730
+ </xsd:documentation>
731
+ </xsd:annotation>
732
+ </xsd:element>
733
+ </xsd:sequence>
734
+ </xsd:extension>
735
+ </xsd:complexContent>
736
+ </xsd:complexType>
737
+
738
+ <xsd:element name="timerStart" type="tStartTrigger"/>
739
+ <xsd:complexType name="tStartTrigger" abstract="true">
740
+ <xsd:complexContent>
741
+ <xsd:extension base="tCmmnElement">
742
+ </xsd:extension>
743
+ </xsd:complexContent>
744
+ </xsd:complexType>
745
+
746
+ <xsd:element name="caseFileItemStartTrigger" type="tCaseFileItemStartTrigger" substitutionGroup="timerStart"/>
747
+ <xsd:complexType name="tCaseFileItemStartTrigger">
748
+ <xsd:complexContent>
749
+ <xsd:extension base="tStartTrigger">
750
+ <xsd:sequence>
751
+ <xsd:element name="standardEvent" type="CaseFileItemTransition" minOccurs="0" maxOccurs="1"/>
752
+ </xsd:sequence>
753
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
754
+ <xsd:annotation>
755
+ <xsd:documentation>
756
+ sourceRef refers a "caseFileItem" element
757
+ </xsd:documentation>
758
+ </xsd:annotation>
759
+ </xsd:attribute>
760
+ </xsd:extension>
761
+ </xsd:complexContent>
762
+ </xsd:complexType>
763
+
764
+ <xsd:element name="planItemStartTrigger" type="tPlanItemStartTrigger" substitutionGroup="timerStart"/>
765
+ <xsd:complexType name="tPlanItemStartTrigger">
766
+ <xsd:complexContent>
767
+ <xsd:extension base="tStartTrigger">
768
+ <xsd:sequence>
769
+ <xsd:element name="standardEvent" type="PlanItemTransition" minOccurs="0" maxOccurs="1"/>
770
+ </xsd:sequence>
771
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
772
+ <xsd:annotation>
773
+ <xsd:documentation>
774
+ sourceRef refers a "planItem" element
775
+ </xsd:documentation>
776
+ </xsd:annotation>
777
+ </xsd:attribute>
778
+ </xsd:extension>
779
+ </xsd:complexContent>
780
+ </xsd:complexType>
781
+
782
+ <!--
783
+ Sentry
784
+ -->
785
+ <xsd:element name="sentry" type="tSentry">
786
+ <xsd:annotation>
787
+ <xsd:documentation>
788
+ sentry is the root element of "Sentry" in the Case Model and
789
+ comprises of zero or more OnParts and zero or one IfPart.
790
+ </xsd:documentation>
791
+ </xsd:annotation>
792
+ </xsd:element>
793
+ <xsd:complexType name="tSentry">
794
+ <xsd:annotation>
795
+ <xsd:documentation>
796
+ tSentry defines the type of element "sentry"
797
+ </xsd:documentation>
798
+ </xsd:annotation>
799
+ <xsd:complexContent>
800
+ <xsd:extension base="tCmmnElement">
801
+ <xsd:sequence>
802
+ <xsd:element ref="onPart" minOccurs="0" maxOccurs="unbounded"/>
803
+ <xsd:element ref="ifPart" minOccurs="0" maxOccurs="1"/>
804
+ </xsd:sequence>
805
+ <xsd:attribute name="name" type="xsd:string"/>
806
+ </xsd:extension>
807
+ </xsd:complexContent>
808
+ </xsd:complexType>
809
+
810
+ <xsd:element name="onPart" type="tOnPart"/>
811
+ <xsd:complexType name="tOnPart" abstract="true">
812
+ <xsd:complexContent>
813
+ <xsd:extension base="tCmmnElement">
814
+ </xsd:extension>
815
+ </xsd:complexContent>
816
+ </xsd:complexType>
817
+
818
+ <xsd:element name="caseFileItemOnPart" type="tCaseFileItemOnPart" substitutionGroup="onPart"/>
819
+ <xsd:complexType name="tCaseFileItemOnPart">
820
+ <xsd:complexContent>
821
+ <xsd:extension base="tOnPart">
822
+ <xsd:sequence>
823
+ <xsd:element name="standardEvent" type="CaseFileItemTransition" minOccurs="0" maxOccurs="1"/>
824
+ </xsd:sequence>
825
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
826
+ <xsd:annotation>
827
+ <xsd:documentation>
828
+ sourceRef refers a "caseFileItem" element
829
+ </xsd:documentation>
830
+ </xsd:annotation>
831
+ </xsd:attribute>
832
+ </xsd:extension>
833
+ </xsd:complexContent>
834
+ </xsd:complexType>
835
+
836
+ <xsd:element name="planItemOnPart" type="tPlanItemOnPart" substitutionGroup="onPart"/>
837
+ <xsd:complexType name="tPlanItemOnPart">
838
+ <xsd:complexContent>
839
+ <xsd:extension base="tOnPart">
840
+ <xsd:sequence>
841
+ <xsd:element name="standardEvent" type="PlanItemTransition" minOccurs="0" maxOccurs="1"/>
842
+ </xsd:sequence>
843
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
844
+ <xsd:annotation>
845
+ <xsd:documentation>
846
+ sourceRef refers a "planItem" element
847
+ </xsd:documentation>
848
+ </xsd:annotation>
849
+ </xsd:attribute>
850
+ <xsd:attribute name="sentryRef" type="xsd:IDREF">
851
+ <xsd:annotation>
852
+ <xsd:documentation>
853
+ sentryRef refers a "Sentry" element
854
+ </xsd:documentation>
855
+ </xsd:annotation>
856
+ </xsd:attribute>
857
+ </xsd:extension>
858
+ </xsd:complexContent>
859
+ </xsd:complexType>
860
+
861
+ <xsd:element name="ifPart" type="tIfPart"/>
862
+ <xsd:complexType name="tIfPart">
863
+ <xsd:complexContent>
864
+ <xsd:extension base="tCmmnElement">
865
+ <xsd:sequence>
866
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="unbounded"/>
867
+ </xsd:sequence>
868
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
869
+ <xsd:annotation>
870
+ <xsd:documentation>
871
+ contextRef refers a "caseFileItem" element
872
+ </xsd:documentation>
873
+ </xsd:annotation>
874
+ </xsd:attribute>
875
+ </xsd:extension>
876
+ </xsd:complexContent>
877
+ </xsd:complexType>
878
+
879
+ <xsd:simpleType name="CaseFileItemTransition">
880
+ <xsd:annotation>
881
+ <xsd:documentation>
882
+ Enumeration of CaseFileItem transitions.
883
+ </xsd:documentation>
884
+ </xsd:annotation>
885
+ <xsd:restriction base="xsd:string">
886
+ <xsd:enumeration value="addChild"/>
887
+ <xsd:enumeration value="addReference"/>
888
+ <xsd:enumeration value="create"/>
889
+ <xsd:enumeration value="delete"/>
890
+ <xsd:enumeration value="removeChild"/>
891
+ <xsd:enumeration value="removeReference"/>
892
+ <xsd:enumeration value="replace"/>
893
+ <xsd:enumeration value="update"/>
894
+ </xsd:restriction>
895
+ </xsd:simpleType>
896
+
897
+ <xsd:simpleType name="PlanItemTransition">
898
+ <xsd:annotation>
899
+ <xsd:documentation>
900
+ Enumeration of PlanItem transitions.
901
+ </xsd:documentation>
902
+ </xsd:annotation>
903
+ <xsd:restriction base="xsd:string">
904
+ <xsd:enumeration value="close"/>
905
+ <xsd:enumeration value="complete"/>
906
+ <xsd:enumeration value="create"/>
907
+ <xsd:enumeration value="disable"/>
908
+ <xsd:enumeration value="enable"/>
909
+ <xsd:enumeration value="exit"/>
910
+ <xsd:enumeration value="fault"/>
911
+ <xsd:enumeration value="manualStart"/>
912
+ <xsd:enumeration value="occur"/>
913
+ <xsd:enumeration value="parentResume"/>
914
+ <xsd:enumeration value="parentSuspend"/>
915
+ <xsd:enumeration value="reactivate"/>
916
+ <xsd:enumeration value="reenable"/>
917
+ <xsd:enumeration value="resume"/>
918
+ <xsd:enumeration value="start"/>
919
+ <xsd:enumeration value="suspend"/>
920
+ <xsd:enumeration value="terminate"/>
921
+ </xsd:restriction>
922
+ </xsd:simpleType>
923
+
924
+ <!--
925
+ Stage and Plan Fragment
926
+ -->
927
+ <xsd:element name="planFragment" type="tPlanFragment" substitutionGroup="planItemDefinition">
928
+ <xsd:annotation>
929
+ <xsd:documentation>
930
+ planFragment is the root element for PlanItems that should go into
931
+ the plan as a unit.
932
+ </xsd:documentation>
933
+ </xsd:annotation>
934
+ </xsd:element>
935
+ <xsd:complexType name="tPlanFragment">
936
+ <xsd:annotation>
937
+ <xsd:documentation>
938
+ tPlanFragment defines the type for element "planFragment"
939
+ </xsd:documentation>
940
+ </xsd:annotation>
941
+ <xsd:complexContent>
942
+ <xsd:extension base="tPlanItemDefinition">
943
+ <xsd:sequence>
944
+ <xsd:element ref="planItem" minOccurs="0" maxOccurs="unbounded"/>
945
+ <xsd:element ref="sentry" minOccurs="0" maxOccurs="unbounded"/>
946
+ </xsd:sequence>
947
+ </xsd:extension>
948
+ </xsd:complexContent>
949
+ </xsd:complexType>
950
+
951
+ <xsd:element name="stage" type="tStage" substitutionGroup="planItemDefinition">
952
+ <xsd:annotation>
953
+ <xsd:documentation>
954
+ stage represents a Stage in the Case Model and comprises of
955
+ zero or one PlanningTable, zero or more PlanItemDefinition elements
956
+ and if the Stage is the outermost Stage, zero or more references to
957
+ exit criteria Sentries.
958
+ </xsd:documentation>
959
+ </xsd:annotation>
960
+ </xsd:element>
961
+ <xsd:complexType name="tStage">
962
+ <xsd:annotation>
963
+ <xsd:documentation>
964
+ tStage defines the type for element "stage"
965
+ </xsd:documentation>
966
+ </xsd:annotation>
967
+ <xsd:complexContent>
968
+ <xsd:extension base="tPlanFragment">
969
+ <xsd:sequence>
970
+ <xsd:element ref="planningTable" minOccurs="0" maxOccurs="1"/>
971
+ <xsd:element ref="planItemDefinition" minOccurs="0" maxOccurs="unbounded"/>
972
+ </xsd:sequence>
973
+ <xsd:attribute name="autoComplete" type="xsd:boolean" use="optional" default="false"/>
974
+ <xsd:attribute name="exitCriteriaRefs" type="xsd:IDREFS">
975
+ <xsd:annotation>
976
+ <xsd:documentation>
977
+ exitCriteriaRefs refers zero or more "sentry" elements.
978
+ </xsd:documentation>
979
+ </xsd:annotation>
980
+ </xsd:attribute>
981
+ </xsd:extension>
982
+ </xsd:complexContent>
983
+ </xsd:complexType>
984
+
985
+ <xsd:element name="planItem" type="tPlanItem"/>
986
+ <xsd:complexType name="tPlanItem">
987
+ <xsd:complexContent>
988
+ <xsd:extension base="tCmmnElement">
989
+ <xsd:sequence>
990
+ <xsd:element name="itemControl" type="tPlanItemControl" minOccurs="0" maxOccurs="1"/>
991
+ </xsd:sequence>
992
+ <xsd:attribute name="name" type="xsd:string"/>
993
+ <xsd:attribute name="definitionRef" type="xsd:IDREF">
994
+ <xsd:annotation>
995
+ <xsd:documentation>
996
+ definitionRef refers a "planItemDefinition" element.
997
+ </xsd:documentation>
998
+ </xsd:annotation>
999
+ </xsd:attribute>
1000
+ <xsd:attribute name="entryCriteriaRefs" type="xsd:IDREFS">
1001
+ <xsd:annotation>
1002
+ <xsd:documentation>
1003
+ entryCriteriaRefs refers "sentry" elements.
1004
+ </xsd:documentation>
1005
+ </xsd:annotation>
1006
+ </xsd:attribute>
1007
+ <xsd:attribute name="exitCriteriaRefs" type="xsd:IDREFS">
1008
+ <xsd:annotation>
1009
+ <xsd:documentation>
1010
+ exitCriteriaRefs refers "sentry" elements.
1011
+ </xsd:documentation>
1012
+ </xsd:annotation>
1013
+ </xsd:attribute>
1014
+ </xsd:extension>
1015
+ </xsd:complexContent>
1016
+ </xsd:complexType>
1017
+
1018
+ <!--
1019
+ Planning Table
1020
+ -->
1021
+ <xsd:element name="tableItem" type="tTableItem"/>
1022
+ <xsd:complexType name="tTableItem" abstract="true">
1023
+ <xsd:complexContent>
1024
+ <xsd:extension base="tCmmnElement">
1025
+ <xsd:attribute name="applicabilityRuleRefs" type="xsd:IDREFS">
1026
+ <xsd:annotation>
1027
+ <xsd:documentation>
1028
+ applicabilityRuleRefs refers one or more "applicabilityRule" elements.
1029
+ </xsd:documentation>
1030
+ </xsd:annotation>
1031
+ </xsd:attribute>
1032
+ <xsd:attribute name="authorizedRoleRefs" type="xsd:IDREFS">
1033
+ <xsd:annotation>
1034
+ <xsd:documentation>
1035
+ authorizedRoleRefs refers zero or more "role" elements.
1036
+ </xsd:documentation>
1037
+ </xsd:annotation>
1038
+ </xsd:attribute>
1039
+ </xsd:extension>
1040
+ </xsd:complexContent>
1041
+ </xsd:complexType>
1042
+
1043
+ <xsd:element name="planningTable" type="tPlanningTable" substitutionGroup="tableItem"/>
1044
+ <xsd:complexType name="tPlanningTable">
1045
+ <xsd:complexContent>
1046
+ <xsd:extension base="tTableItem">
1047
+ <xsd:sequence>
1048
+ <xsd:element ref="tableItem" minOccurs="0" maxOccurs="unbounded"/>
1049
+ <xsd:element ref="applicabilityRule" minOccurs="0" maxOccurs="unbounded"/>
1050
+ </xsd:sequence>
1051
+ </xsd:extension>
1052
+ </xsd:complexContent>
1053
+ </xsd:complexType>
1054
+
1055
+ <xsd:element name="discretionaryItem" type="tDiscretionaryItem" substitutionGroup="tableItem"/>
1056
+ <xsd:complexType name="tDiscretionaryItem">
1057
+ <xsd:complexContent>
1058
+ <xsd:extension base="tTableItem">
1059
+ <xsd:sequence>
1060
+ <xsd:element name="itemControl" type="tPlanItemControl" minOccurs="0" maxOccurs="1"/>
1061
+ </xsd:sequence>
1062
+ <xsd:attribute name="definitionRef" type="xsd:IDREF">
1063
+ <xsd:annotation>
1064
+ <xsd:documentation>
1065
+ definitionRef refers a "planItemDefinition" element
1066
+ </xsd:documentation>
1067
+ </xsd:annotation>
1068
+ </xsd:attribute>
1069
+ </xsd:extension>
1070
+ </xsd:complexContent>
1071
+ </xsd:complexType>
1072
+
1073
+ <xsd:element name="applicabilityRule" type="tApplicabilityRule"/>
1074
+ <xsd:complexType name="tApplicabilityRule">
1075
+ <xsd:complexContent>
1076
+ <xsd:extension base="tCmmnElement">
1077
+ <xsd:sequence>
1078
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
1079
+ </xsd:sequence>
1080
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
1081
+ <xsd:annotation>
1082
+ <xsd:documentation>
1083
+ contexRef refers a "caseFileItem" element
1084
+ </xsd:documentation>
1085
+ </xsd:annotation>
1086
+ </xsd:attribute>
1087
+ </xsd:extension>
1088
+ </xsd:complexContent>
1089
+ </xsd:complexType>
1090
+ </xsd:schema>
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn11/CMMN11.xsd ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema elementFormDefault="qualified"
3
+ attributeFormDefault="unqualified"
4
+ xmlns="http://www.omg.org/spec/CMMN/20151109/MODEL"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI"
7
+ targetNamespace="http://www.omg.org/spec/CMMN/20151109/MODEL">
8
+
9
+ <xsd:include schemaLocation="CMMN11CaseModel.xsd">
10
+ <xsd:annotation>
11
+ <xsd:documentation>
12
+ Include the CMMN 1.1 Case Model XML-Schema in the same namespace.
13
+ </xsd:documentation>
14
+ </xsd:annotation>
15
+ </xsd:include>
16
+
17
+ <xsd:import namespace="http://www.omg.org/spec/CMMN/20151109/CMMNDI"
18
+ schemaLocation="CMMNDI11.xsd">
19
+ <xsd:annotation>
20
+ <xsd:documentation>
21
+ Include the CMMN 1.1 Diagram Interchange (DI) schema
22
+ </xsd:documentation>
23
+ </xsd:annotation>
24
+ </xsd:import>
25
+
26
+ <!--
27
+ CMMN Definitions
28
+ -->
29
+ <xsd:element name="definitions" type="tDefinitions">
30
+ <xsd:annotation>
31
+ <xsd:documentation>
32
+ definitions is the root element of ALL CMMN elements. It is used as a container
33
+ for CMMN elements that might be re-used.
34
+ </xsd:documentation>
35
+ </xsd:annotation>
36
+ </xsd:element>
37
+
38
+ <xsd:complexType name="tDefinitions">
39
+ <xsd:annotation>
40
+ <xsd:documentation>
41
+ tDefinitions defines the type of element "definitions".
42
+ </xsd:documentation>
43
+ </xsd:annotation>
44
+ <xsd:sequence>
45
+ <xsd:element ref="import" minOccurs="0" maxOccurs="unbounded"/>
46
+ <xsd:element ref="caseFileItemDefinition" minOccurs="0" maxOccurs="unbounded"/>
47
+ <xsd:element ref="case" minOccurs="0" maxOccurs="unbounded"/>
48
+ <xsd:element ref="process" minOccurs="0" maxOccurs="unbounded"/>
49
+ <xsd:element ref="decision" minOccurs="0" maxOccurs="unbounded"/>
50
+ <xsd:element ref="extensionElements" minOccurs="0" maxOccurs="1"/>
51
+ <xsd:element ref="relationship" minOccurs="0" maxOccurs="unbounded" />
52
+ <xsd:element ref="artifact" minOccurs="0" maxOccurs="unbounded"/>
53
+ <xsd:element ref="cmmndi:CMMNDI" minOccurs="0" maxOccurs="1"/>
54
+ </xsd:sequence>
55
+ <xsd:attribute name="id" type="xsd:ID"/>
56
+ <xsd:attribute name="name" type="xsd:string"/>
57
+ <xsd:attribute name="targetNamespace" type="xsd:anyURI" use="required"/>
58
+ <xsd:attribute name="expressionLanguage" type="xsd:anyURI"
59
+ use="optional" default="http://www.w3.org/1999/XPath"/>
60
+ <xsd:attribute name="exporter" type="xsd:string"/>
61
+ <xsd:attribute name="exporterVersion" type="xsd:string"/>
62
+ <xsd:attribute name="author" type="xsd:string"/>
63
+ <xsd:attribute name="creationDate" type="xsd:dateTime"/>
64
+ <xsd:anyAttribute namespace="##other" processContents="lax"/>
65
+ </xsd:complexType>
66
+
67
+ <xsd:element name="import" type="tImport"/>
68
+ <xsd:annotation>
69
+ <xsd:documentation>
70
+ import is the root element for all imports in CMMN definitions.
71
+ </xsd:documentation>
72
+ </xsd:annotation>
73
+ <xsd:complexType name="tImport">
74
+ <xsd:attribute name="location" type="xsd:string" use="required"/>
75
+ <xsd:attribute name="namespace" type="xsd:anyURI"/>
76
+ <xsd:attribute name="importType" type="xsd:anyURI" use="required"/>
77
+ </xsd:complexType>
78
+ </xsd:schema>
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn11/CMMN11CaseModel.xsd ADDED
@@ -0,0 +1,1337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema elementFormDefault="qualified"
3
+ attributeFormDefault="unqualified"
4
+ xmlns="http://www.omg.org/spec/CMMN/20151109/MODEL"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ targetNamespace="http://www.omg.org/spec/CMMN/20151109/MODEL">
7
+ <!-- Extension points -->
8
+ <xsd:element name="extensionElements" type="tExtensionElements"/>
9
+ <xsd:complexType name="tExtensionElements">
10
+ <xsd:sequence>
11
+ <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
12
+ </xsd:sequence>
13
+ </xsd:complexType>
14
+
15
+ <!--
16
+ Relationships
17
+ -->
18
+ <xsd:element name="relationship" type="tRelationship" />
19
+ <xsd:complexType name="tRelationship">
20
+ <xsd:complexContent>
21
+ <xsd:extension base="tCmmnElement">
22
+ <xsd:sequence>
23
+ <xsd:element name="source" type="xsd:QName" minOccurs="1" maxOccurs="unbounded" />
24
+ <xsd:element name="target" type="xsd:QName" minOccurs="1" maxOccurs="unbounded" />
25
+ </xsd:sequence>
26
+ <xsd:attribute name="type" type="xsd:string" use="required" />
27
+ <xsd:attribute name="direction" type="tRelationshipDirection" />
28
+ </xsd:extension>
29
+ </xsd:complexContent>
30
+ </xsd:complexType>
31
+
32
+ <xsd:simpleType name="tRelationshipDirection">
33
+ <xsd:restriction base="xsd:string">
34
+ <xsd:enumeration value="None" />
35
+ <xsd:enumeration value="Forward" />
36
+ <xsd:enumeration value="Backward" />
37
+ <xsd:enumeration value="Both" />
38
+ </xsd:restriction>
39
+ </xsd:simpleType>
40
+
41
+ <!--
42
+ Artifacts
43
+ -->
44
+ <xsd:element name="artifact" type="tArtifact"/>
45
+ <xsd:complexType name="tArtifact" abstract="true">
46
+ <xsd:complexContent>
47
+ <xsd:extension base="tCmmnElement">
48
+ </xsd:extension>
49
+ </xsd:complexContent>
50
+ </xsd:complexType>
51
+
52
+ <xsd:element name="association" type="tAssociation" substitutionGroup="artifact"/>
53
+ <xsd:complexType name="tAssociation">
54
+ <xsd:complexContent>
55
+ <xsd:extension base="tArtifact">
56
+ <xsd:attribute name="sourceRef" type="xsd:IDREF"/>
57
+ <xsd:attribute name="targetRef" type="xsd:IDREF"/>
58
+ <xsd:attribute name="associationDirection" type="tAssociationDirection"/>
59
+ </xsd:extension>
60
+ </xsd:complexContent>
61
+ </xsd:complexType>
62
+
63
+ <xsd:simpleType name="tAssociationDirection">
64
+ <xsd:restriction base="xsd:string">
65
+ <xsd:enumeration value="None"/>
66
+ <xsd:enumeration value="One"/>
67
+ <xsd:enumeration value="Both"/>
68
+ </xsd:restriction>
69
+ </xsd:simpleType>
70
+
71
+ <xsd:element name="textAnnotation" type="tTextAnnotation" substitutionGroup="artifact"/>
72
+ <xsd:complexType name="tTextAnnotation">
73
+ <xsd:complexContent>
74
+ <xsd:extension base="tArtifact">
75
+ <xsd:sequence>
76
+ <xsd:element name="text" type="xsd:string" minOccurs="0" maxOccurs="1"/>
77
+ </xsd:sequence>
78
+ <xsd:attribute name="textFormat" type="xsd:string"/>
79
+ </xsd:extension>
80
+ </xsd:complexContent>
81
+ </xsd:complexType>
82
+
83
+
84
+ <!--
85
+ CMMN Base declarations
86
+ -->
87
+ <xsd:complexType name="tCmmnElement" abstract="true">
88
+ <xsd:annotation>
89
+ <xsd:documentation>
90
+ tCmmnElement is the base type for ALL CMMN complex types except tExpression.
91
+ </xsd:documentation>
92
+ </xsd:annotation>
93
+ <xsd:sequence>
94
+ <xsd:element ref="documentation" minOccurs="0" maxOccurs="unbounded"/>
95
+ <xsd:element ref="extensionElements" minOccurs="0" maxOccurs="1"/>
96
+ </xsd:sequence>
97
+ <xsd:attribute name="id" type="xsd:ID" use="optional"/>
98
+ <xsd:anyAttribute namespace="##other" processContents="lax"/>
99
+ </xsd:complexType>
100
+
101
+ <!-- Introduce tCmmnElementWithMixedContent for expressions to allow mixed content -->
102
+ <xsd:complexType name="tCmmnElementWithMixedContent" abstract="true" mixed="true">
103
+ <xsd:annotation>
104
+ <xsd:documentation>
105
+ tCmmnElementWithMixedContent is the base type for complex type tExpression
106
+ and tDocumentation. It is identical to tCmmnElement except that it allows
107
+ for mixed content.
108
+ </xsd:documentation>
109
+ </xsd:annotation>
110
+ <xsd:sequence>
111
+ <xsd:element ref="documentation" minOccurs="0" maxOccurs="unbounded"/>
112
+ <xsd:element ref="extensionElements" minOccurs="0" maxOccurs="1"/>
113
+ </xsd:sequence>
114
+ <xsd:attribute name="id" type="xsd:ID" use="optional"/>
115
+ <xsd:anyAttribute namespace="##other" processContents="lax"/>
116
+ </xsd:complexType>
117
+
118
+ <xsd:element name="documentation" type="tDocumentation"/>
119
+ <xsd:complexType name="tDocumentation" mixed="true">
120
+ <xsd:sequence>
121
+ <xsd:any namespace="##any" processContents="lax" minOccurs="0"/>
122
+ </xsd:sequence>
123
+ <xsd:attribute name="id" type="xsd:ID" use="optional"/>
124
+ <xsd:attribute name="textFormat" type="xsd:string" default="text/plain"/>
125
+ </xsd:complexType>
126
+
127
+ <!--
128
+ CMMN Case elements
129
+ -->
130
+ <xsd:element name="case" type="tCase">
131
+ <xsd:annotation>
132
+ <xsd:documentation>
133
+ case is the root element for all CMMN case models. It is the container
134
+ for the Case File and Plan Model.
135
+ </xsd:documentation>
136
+ </xsd:annotation>
137
+ </xsd:element>
138
+ <xsd:complexType name="tCase">
139
+ <xsd:annotation>
140
+ <xsd:documentation>
141
+ tCase defines the type of element "case".
142
+ </xsd:documentation>
143
+ </xsd:annotation>
144
+ <xsd:complexContent>
145
+ <xsd:extension base="tCmmnElement">
146
+ <xsd:sequence>
147
+ <xsd:element name="caseFileModel" type="tCaseFile" minOccurs="0" maxOccurs="1"/>
148
+ <xsd:element name="casePlanModel" type="tStage" minOccurs="0" maxOccurs="1"/>
149
+ <xsd:element name="caseRoles" type="tCaseRoles" minOccurs="0" maxOccurs="1"/>
150
+ <xsd:element name="input" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
151
+ <xsd:element name="output" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
152
+ </xsd:sequence>
153
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
154
+ </xsd:extension>
155
+ </xsd:complexContent>
156
+ </xsd:complexType>
157
+
158
+ <xsd:complexType name="tCaseRoles">
159
+ <xsd:annotation>
160
+ <xsd:documentation>
161
+ tCaseRoles defines the type of element "caseRoles inside tCase".
162
+ </xsd:documentation>
163
+ </xsd:annotation>
164
+ <xsd:complexContent>
165
+ <xsd:extension base="tCmmnElement">
166
+ <xsd:sequence>
167
+ <xsd:element ref="role" minOccurs="0" maxOccurs="unbounded"/>
168
+ </xsd:sequence>
169
+ </xsd:extension>
170
+ </xsd:complexContent>
171
+ </xsd:complexType>
172
+
173
+ <xsd:element name="role" type="tRole">
174
+ <xsd:annotation>
175
+ <xsd:documentation>
176
+ role is the root element for Case Roles.
177
+ </xsd:documentation>
178
+ </xsd:annotation>
179
+ </xsd:element>
180
+ <xsd:complexType name="tRole">
181
+ <xsd:annotation>
182
+ <xsd:documentation>
183
+ tRole defines the type of element "role".
184
+ </xsd:documentation>
185
+ </xsd:annotation>
186
+ <xsd:complexContent>
187
+ <xsd:extension base="tCmmnElement">
188
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
189
+ </xsd:extension>
190
+ </xsd:complexContent>
191
+ </xsd:complexType>
192
+
193
+ <!--
194
+ Plan Item Control
195
+ -->
196
+ <xsd:element name="planItemControl" type="tPlanItemControl">
197
+ <xsd:annotation>
198
+ <xsd:documentation>
199
+ planItemControl is the root element for Case Plan Control elements
200
+ including the RepetitionRule, RequiredRule and ManualActivationRule.
201
+ </xsd:documentation>
202
+ </xsd:annotation>
203
+ </xsd:element>
204
+ <xsd:complexType name="tPlanItemControl">
205
+ <xsd:annotation>
206
+ <xsd:documentation>
207
+ tPlanItemcontrol defines the type of element "planItemControl".
208
+ </xsd:documentation>
209
+ </xsd:annotation>
210
+ <xsd:complexContent>
211
+ <xsd:extension base="tCmmnElement">
212
+ <xsd:sequence>
213
+ <xsd:element ref="repetitionRule" minOccurs="0" maxOccurs="1"/>
214
+ <xsd:element ref="requiredRule" minOccurs="0" maxOccurs="1"/>
215
+ <xsd:element ref="manualActivationRule" minOccurs="0" maxOccurs="1"/>
216
+ </xsd:sequence>
217
+ </xsd:extension>
218
+ </xsd:complexContent>
219
+ </xsd:complexType>
220
+
221
+ <xsd:element name="repetitionRule" type="tRepetitionRule">
222
+ <xsd:annotation>
223
+ <xsd:documentation>
224
+ repetitionRule is the root element for specifying a
225
+ repetition rule for a PlanItemDefinition element.
226
+ </xsd:documentation>
227
+ </xsd:annotation>
228
+ </xsd:element>
229
+ <xsd:complexType name="tRepetitionRule">
230
+ <xsd:annotation>
231
+ <xsd:documentation>
232
+ tRepetitionRule defines the type of element "repetitionRule".
233
+ </xsd:documentation>
234
+ </xsd:annotation>
235
+ <xsd:complexContent>
236
+ <xsd:extension base="tCmmnElement">
237
+ <xsd:sequence>
238
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
239
+ </xsd:sequence>
240
+ <xsd:attribute name="name" type="xsd:string"/>
241
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
242
+ <xsd:annotation>
243
+ <xsd:documentation>
244
+ contextRef MUST refer a CaseFileItem if specified.
245
+ </xsd:documentation>
246
+ </xsd:annotation>
247
+ </xsd:attribute>
248
+ </xsd:extension>
249
+ </xsd:complexContent>
250
+ </xsd:complexType>
251
+
252
+ <xsd:element name="requiredRule" type="tRequiredRule">
253
+ <xsd:annotation>
254
+ <xsd:documentation>
255
+ requiredRule is the root element for specifying a
256
+ required rule for a PlanItemDefinition element.
257
+ </xsd:documentation>
258
+ </xsd:annotation>
259
+ </xsd:element>
260
+ <xsd:complexType name="tRequiredRule">
261
+ <xsd:annotation>
262
+ <xsd:documentation>
263
+ tRequiredRule defines the type of element "requiredRule".
264
+ </xsd:documentation>
265
+ </xsd:annotation>
266
+ <xsd:complexContent>
267
+ <xsd:extension base="tCmmnElement">
268
+ <xsd:sequence>
269
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
270
+ </xsd:sequence>
271
+ <xsd:attribute name="name" type="xsd:string"/>
272
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
273
+ <xsd:annotation>
274
+ <xsd:documentation>
275
+ contextRef MUST refer a CaseFileItem if specified.
276
+ </xsd:documentation>
277
+ </xsd:annotation>
278
+ </xsd:attribute>
279
+ </xsd:extension>
280
+ </xsd:complexContent>
281
+ </xsd:complexType>
282
+
283
+ <xsd:element name="manualActivationRule" type="tManualActivationRule">
284
+ <xsd:annotation>
285
+ <xsd:documentation>
286
+ manualActivationRule is the root element for specifying an
287
+ manual activation rule for a PlanItemDefinition element.
288
+ </xsd:documentation>
289
+ </xsd:annotation>
290
+ </xsd:element>
291
+ <xsd:complexType name="tManualActivationRule">
292
+ <xsd:annotation>
293
+ <xsd:documentation>
294
+ tManualActivationRule defines the type of element "manualActivationRule".
295
+ </xsd:documentation>
296
+ </xsd:annotation>
297
+ <xsd:complexContent>
298
+ <xsd:extension base="tCmmnElement">
299
+ <xsd:sequence>
300
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
301
+ </xsd:sequence>
302
+ <xsd:attribute name="name" type="xsd:string"/>
303
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
304
+ <xsd:annotation>
305
+ <xsd:documentation>
306
+ contextRef MUST refer a CaseFileItem if specified.
307
+ </xsd:documentation>
308
+ </xsd:annotation>
309
+ </xsd:attribute>
310
+ </xsd:extension>
311
+ </xsd:complexContent>
312
+ </xsd:complexType>
313
+
314
+ <!--
315
+ CMMN Information Model (Case File)
316
+ -->
317
+ <xsd:element name="caseFile" type="tCaseFile">
318
+ <xsd:annotation>
319
+ <xsd:documentation>
320
+ caseFile is the root element for the CMMN Case File Model
321
+ and is a container for CaseFileItems.
322
+ </xsd:documentation>
323
+ </xsd:annotation>
324
+ </xsd:element>
325
+ <xsd:complexType name="tCaseFile">
326
+ <xsd:annotation>
327
+ <xsd:documentation>
328
+ tCaseFile defines the type of element "caseFile".
329
+ </xsd:documentation>
330
+ </xsd:annotation>
331
+ <xsd:complexContent>
332
+ <xsd:extension base="tCmmnElement">
333
+ <xsd:sequence>
334
+ <xsd:element ref="caseFileItem" minOccurs="0" maxOccurs="unbounded"/>
335
+ </xsd:sequence>
336
+ </xsd:extension>
337
+ </xsd:complexContent>
338
+ </xsd:complexType>
339
+
340
+
341
+ <xsd:element name="caseFileItem" type="tCaseFileItem">
342
+ <xsd:annotation>
343
+ <xsd:documentation>
344
+ caseFileItem is the root element for CMMN data.
345
+ </xsd:documentation>
346
+ </xsd:annotation>
347
+ </xsd:element>
348
+ <xsd:complexType name="tCaseFileItem">
349
+ <xsd:annotation>
350
+ <xsd:documentation>
351
+ tCaseFileItem defines the type of element "caseFileItem".
352
+ </xsd:documentation>
353
+ </xsd:annotation>
354
+ <xsd:complexContent>
355
+ <xsd:extension base="tCmmnElement">
356
+ <xsd:sequence>
357
+ <xsd:element name="children" type="tChildren" minOccurs="0" maxOccurs="1"/>
358
+ </xsd:sequence>
359
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
360
+ <xsd:attribute name="multiplicity" type="MultiplicityEnum" use="optional" default="Unspecified"/>
361
+ <xsd:attribute name="definitionRef" type="xsd:QName" use="optional">
362
+ <xsd:annotation>
363
+ <xsd:documentation>
364
+ definitinRef MUST refer to a "caseFileItemDefinition" element. Since
365
+ CaseFileItemDefinition is re-usable, QName is used for reference.
366
+ </xsd:documentation>
367
+ </xsd:annotation>
368
+ </xsd:attribute>
369
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
370
+ <xsd:annotation>
371
+ <xsd:documentation>
372
+ sourceRef MUST refer to a "caseFileItem" element in the case where this
373
+ "caseFileItem" has a parent.
374
+ </xsd:documentation>
375
+ </xsd:annotation>
376
+ </xsd:attribute>
377
+ <xsd:attribute name="targetRefs" type="xsd:IDREFS">
378
+ <xsd:annotation>
379
+ <xsd:documentation>
380
+ If this "caseFileItem" maintains references to "caseFileItem" childs, then
381
+ targetRefs MUST refer to "caseFileItem" elements; the targets of this caseFileItem.
382
+ </xsd:documentation>
383
+ </xsd:annotation>
384
+ </xsd:attribute>
385
+ </xsd:extension>
386
+ </xsd:complexContent>
387
+ </xsd:complexType>
388
+
389
+ <xsd:complexType name="tChildren">
390
+ <xsd:annotation>
391
+ <xsd:documentation>
392
+ tChildren defines a container for zero or more "caseFileItem" elements.
393
+ </xsd:documentation>
394
+ </xsd:annotation>
395
+ <xsd:complexContent>
396
+ <xsd:extension base="tCmmnElement">
397
+ <xsd:sequence>
398
+ <xsd:element ref="caseFileItem" minOccurs="0" maxOccurs="unbounded"/>
399
+ </xsd:sequence>
400
+ </xsd:extension>
401
+ </xsd:complexContent>
402
+ </xsd:complexType>
403
+
404
+ <xsd:element name="caseFileItemDefinition" type="tCaseFileItemDefinition">
405
+ <xsd:annotation>
406
+ <xsd:documentation>
407
+ caseFileItemDefinition defines the type of a "caseFileItem".
408
+ </xsd:documentation>
409
+ </xsd:annotation>
410
+ </xsd:element>
411
+ <xsd:complexType name="tCaseFileItemDefinition">
412
+ <xsd:annotation>
413
+ <xsd:documentation>
414
+ tCaseFileItemDefinition defines the type of element "caseFileItemDefinition"
415
+ </xsd:documentation>
416
+ </xsd:annotation>
417
+ <xsd:complexContent>
418
+ <xsd:extension base="tCmmnElement">
419
+ <xsd:sequence>
420
+ <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
421
+ </xsd:sequence>
422
+ <xsd:attribute name="name" type="xsd:string"/>
423
+ <xsd:attribute name="definitionType" type="DefinitionTypeEnum" use="optional"
424
+ default="http://www.omg.org/spec/CMMN/DefinitionType/Unspecified"/>
425
+ <xsd:attribute name="structureRef" type="xsd:QName">
426
+ <xsd:annotation>
427
+ <xsd:documentation>
428
+ structureRef refers a structure, for example an XML-Schema element
429
+ in a XSD referred by importRef
430
+ </xsd:documentation>
431
+ </xsd:annotation>
432
+ </xsd:attribute>
433
+ <xsd:attribute name="importRef" type="xsd:QName">
434
+ <xsd:annotation>
435
+ <xsd:documentation>
436
+ importRef refers an "import" element under "definitions"
437
+ </xsd:documentation>
438
+ </xsd:annotation>
439
+ </xsd:attribute>
440
+ </xsd:extension>
441
+ </xsd:complexContent>
442
+ </xsd:complexType>
443
+
444
+ <xsd:element name="property" type="tProperty"/>
445
+ <xsd:complexType name="tProperty">
446
+ <xsd:complexContent>
447
+ <xsd:extension base="tCmmnElement">
448
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
449
+ <xsd:attribute name="type" type="PropertyTypeEnum" use="optional"
450
+ default="http://www.omg.org/spec/CMMN/PropertyType/Unspecified"/>
451
+ </xsd:extension>
452
+ </xsd:complexContent>
453
+ </xsd:complexType>
454
+
455
+ <xsd:simpleType name="PropertyTypeEnum">
456
+ <xsd:union memberTypes="xsd:anyURI">
457
+ <xsd:simpleType>
458
+ <xsd:restriction base="xsd:anyURI">
459
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/string"/>
460
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/boolean"/>
461
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/integer"/>
462
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/float"/>
463
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/decimal"/>
464
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/double"/>
465
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/duration"/>
466
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/dateTime"/>
467
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/time"/>
468
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/date"/>
469
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/gYearMonth"/>
470
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/gYear"/>
471
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/gMonthDay"/>
472
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/gDay"/>
473
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/gMonth"/>
474
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/hexBinary"/>
475
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/base64Binary"/>
476
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/anyURI"/>
477
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/QName"/>
478
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/PropertyType/Unspecified"/>
479
+ </xsd:restriction>
480
+ </xsd:simpleType>
481
+ </xsd:union>
482
+ </xsd:simpleType>
483
+
484
+
485
+
486
+ <xsd:simpleType name="MultiplicityEnum">
487
+ <xsd:restriction base="xsd:string">
488
+ <xsd:enumeration value="ZeroOrOne"/>
489
+ <xsd:enumeration value="ZeroOrMore"/>
490
+ <xsd:enumeration value="ExactlyOne"/>
491
+ <xsd:enumeration value="OneOrMore"/>
492
+ <xsd:enumeration value="Unspecified"/>
493
+ <xsd:enumeration value="Unknown"/>
494
+ </xsd:restriction>
495
+ </xsd:simpleType>
496
+
497
+ <xsd:simpleType name="DefinitionTypeEnum">
498
+ <xsd:union memberTypes="xsd:anyURI">
499
+ <xsd:simpleType>
500
+ <xsd:restriction base="xsd:anyURI">
501
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/CMISFolder"/>
502
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/CMISDocument"/>
503
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/CMISRelationship"/>
504
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/XSDElement"/>
505
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/XSDComplexType"/>
506
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/XSDSimpleType"/>
507
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/WSDLMessage"/>
508
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/UMLClass"/>
509
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/Unknown"/>
510
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DefinitionType/Unspecified"/>
511
+ </xsd:restriction>
512
+ </xsd:simpleType>
513
+ </xsd:union>
514
+ </xsd:simpleType>
515
+
516
+
517
+ <xsd:element name="expression" type="tExpression"/>
518
+ <xsd:complexType name="tExpression" mixed="true">
519
+ <xsd:complexContent>
520
+ <xsd:extension base="tCmmnElementWithMixedContent">
521
+ <xsd:attribute name="language" type="xsd:anyURI" use="optional"/>
522
+ </xsd:extension>
523
+ </xsd:complexContent>
524
+ </xsd:complexType>
525
+
526
+
527
+ <!--
528
+ Plan Item Definition
529
+ -->
530
+
531
+ <!-- planItemDefinition is an abstract element that is used for inheritance (via substitutionGroup) -->
532
+ <xsd:element name="planItemDefinition" type="tPlanItemDefinition"/>
533
+ <xsd:complexType name="tPlanItemDefinition" abstract="true">
534
+ <xsd:complexContent>
535
+ <xsd:extension base="tCmmnElement">
536
+ <xsd:sequence>
537
+ <xsd:element name="defaultControl" type="tPlanItemControl" minOccurs="0" maxOccurs="1"/>
538
+ </xsd:sequence>
539
+ <xsd:attribute name="name" type="xsd:string"/>
540
+ </xsd:extension>
541
+ </xsd:complexContent>
542
+ </xsd:complexType>
543
+
544
+ <xsd:element name="task" type="tTask" substitutionGroup="planItemDefinition">
545
+ <xsd:annotation>
546
+ <xsd:documentation>
547
+ task represents an (abstract) Task in the Case Model and comprises
548
+ of input, output and a flag if the task is blocking or not.
549
+ </xsd:documentation>
550
+ </xsd:annotation>
551
+ </xsd:element>
552
+ <xsd:complexType name="tTask">
553
+ <xsd:complexContent>
554
+ <xsd:extension base="tPlanItemDefinition">
555
+ <xsd:sequence>
556
+ <xsd:element name="input" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
557
+ <xsd:element name="output" type="tCaseParameter" minOccurs="0" maxOccurs="unbounded"/>
558
+ </xsd:sequence>
559
+ <xsd:attribute name="isBlocking" type="xsd:boolean" use="optional" default="true"/>
560
+ </xsd:extension>
561
+ </xsd:complexContent>
562
+ </xsd:complexType>
563
+
564
+ <xsd:element name="eventListener" type="tEventListener" substitutionGroup="planItemDefinition">
565
+ <xsd:annotation>
566
+ <xsd:documentation>
567
+ event represents an (abstract) Event in the Case Model.
568
+ </xsd:documentation>
569
+ </xsd:annotation>
570
+ </xsd:element>
571
+ <xsd:complexType name="tEventListener">
572
+ <xsd:complexContent>
573
+ <xsd:extension base="tPlanItemDefinition">
574
+ </xsd:extension>
575
+ </xsd:complexContent>
576
+ </xsd:complexType>
577
+
578
+ <xsd:element name="milestone" type="tMilestone" substitutionGroup="planItemDefinition"/>
579
+ <xsd:complexType name="tMilestone">
580
+ <xsd:complexContent>
581
+ <xsd:extension base="tPlanItemDefinition">
582
+ </xsd:extension>
583
+ </xsd:complexContent>
584
+ </xsd:complexType>
585
+
586
+ <!--
587
+ Task elements
588
+ -->
589
+
590
+ <xsd:element name="parameter" type="tParameter"/>
591
+ <xsd:complexType name="tParameter" abstract="true">
592
+ <xsd:complexContent>
593
+ <xsd:extension base="tCmmnElement">
594
+ <xsd:attribute name="name" type="xsd:string"/>
595
+ </xsd:extension>
596
+ </xsd:complexContent>
597
+ </xsd:complexType>
598
+
599
+ <xsd:element name="caseParameter" type="tCaseParameter" substitutionGroup="parameter"/>
600
+ <xsd:complexType name="tCaseParameter">
601
+ <xsd:complexContent>
602
+ <xsd:extension base="tParameter">
603
+ <xsd:sequence>
604
+ <xsd:element name="bindingRefinement" type="tExpression" minOccurs="0" maxOccurs="1"/>
605
+ </xsd:sequence>
606
+ <xsd:attribute name="bindingRef" type="xsd:IDREF">
607
+ <xsd:annotation>
608
+ <xsd:documentation>
609
+ bindingRef refers a "caseFileItem" element
610
+ </xsd:documentation>
611
+ </xsd:annotation>
612
+ </xsd:attribute>
613
+ </xsd:extension>
614
+ </xsd:complexContent>
615
+ </xsd:complexType>
616
+
617
+ <xsd:element name="processParameter" type="tProcessParameter" substitutionGroup="parameter"/>
618
+ <xsd:complexType name="tProcessParameter">
619
+ <xsd:complexContent>
620
+ <xsd:extension base="tParameter">
621
+ </xsd:extension>
622
+ </xsd:complexContent>
623
+ </xsd:complexType>
624
+
625
+ <xsd:element name="decisionParameter" type="tDecisionParameter" substitutionGroup="parameter"/>
626
+ <xsd:complexType name="tDecisionParameter">
627
+ <xsd:complexContent>
628
+ <xsd:extension base="tParameter">
629
+ </xsd:extension>
630
+ </xsd:complexContent>
631
+ </xsd:complexType>
632
+
633
+ <xsd:element name="humanTask" type="tHumanTask" substitutionGroup="task">
634
+ <xsd:annotation>
635
+ <xsd:documentation>
636
+ humanTask represents a HumanTask in the Case Model and comprises of
637
+ zero or one PlanningTable and a reference to a Role (the performer of
638
+ the human task).
639
+ </xsd:documentation>
640
+ </xsd:annotation>
641
+ </xsd:element>
642
+ <xsd:complexType name="tHumanTask">
643
+ <xsd:annotation>
644
+ <xsd:documentation>
645
+ tHumanTask defines the type of element "humanTask"
646
+ </xsd:documentation>
647
+ </xsd:annotation>
648
+ <xsd:complexContent>
649
+ <xsd:extension base="tTask">
650
+ <xsd:sequence>
651
+ <xsd:element name="planningTable" type="tPlanningTable" minOccurs="0" maxOccurs="1"/>
652
+ </xsd:sequence>
653
+ <xsd:attribute name="performerRef" type="xsd:IDREF">
654
+ <xsd:annotation>
655
+ <xsd:documentation>
656
+ performerRef refers a "role" element
657
+ </xsd:documentation>
658
+ </xsd:annotation>
659
+ </xsd:attribute>
660
+ </xsd:extension>
661
+ </xsd:complexContent>
662
+ </xsd:complexType>
663
+
664
+ <xsd:element name="processTask" type="tProcessTask" substitutionGroup="task">
665
+ <xsd:annotation>
666
+ <xsd:documentation>
667
+ processTask represents a ProcessTask in the Case Model and comprises of
668
+ ParameterMappings and a reference to an (abstract) Process.
669
+ </xsd:documentation>
670
+ </xsd:annotation>
671
+ </xsd:element>
672
+ <xsd:complexType name="tProcessTask">
673
+ <xsd:annotation>
674
+ <xsd:documentation>
675
+ tProcessTask defines the type of element "process"
676
+ </xsd:documentation>
677
+ </xsd:annotation>
678
+ <xsd:complexContent>
679
+ <xsd:extension base="tTask">
680
+ <xsd:sequence>
681
+ <xsd:element ref="parameterMapping" minOccurs="0" maxOccurs="unbounded"/>
682
+ <xsd:element name="processRefExpression" type="tExpression" minOccurs="0" maxOccurs="1">
683
+ <xsd:annotation>
684
+ <xsd:documentation>
685
+ processRefExpression is mutually exclusive to processRef. It allows the selection of a
686
+ process at runtime via an expression rather then at design time with processRef.
687
+ </xsd:documentation>
688
+ </xsd:annotation>
689
+ </xsd:element>
690
+ </xsd:sequence>
691
+ <xsd:attribute name="processRef" type="xsd:string">
692
+ <xsd:annotation>
693
+ <xsd:documentation>
694
+ processRef refers a "process" element which is re-usable and can
695
+ be imported via some other file. processRef is mutually exclusive to processRefExpression
696
+ </xsd:documentation>
697
+ </xsd:annotation>
698
+ </xsd:attribute>
699
+ </xsd:extension>
700
+ </xsd:complexContent>
701
+ </xsd:complexType>
702
+
703
+ <xsd:element name="process" type="tProcess">
704
+ <xsd:annotation>
705
+ <xsd:documentation>
706
+ process represents an (abstract) Business Process in CMMN. It has
707
+ an implementationType, input and output and can be referred from
708
+ a ProcessTask.
709
+ </xsd:documentation>
710
+ </xsd:annotation>
711
+ </xsd:element>
712
+ <xsd:complexType name="tProcess">
713
+ <xsd:annotation>
714
+ <xsd:documentation>
715
+ tProcess defines the type of element "process"
716
+ </xsd:documentation>
717
+ </xsd:annotation>
718
+ <xsd:complexContent>
719
+ <xsd:extension base="tCmmnElement">
720
+ <xsd:sequence>
721
+ <xsd:element name="input" type="tProcessParameter" minOccurs="0" maxOccurs="unbounded"/>
722
+ <xsd:element name="output" type="tProcessParameter" minOccurs="0" maxOccurs="unbounded"/>
723
+ </xsd:sequence>
724
+ <xsd:attribute name="name" type="xsd:string"/>
725
+ <xsd:attribute name="externalRef" type="xsd:QName"/>
726
+ <xsd:attribute name="implementationType" type="xsd:anyURI" use="optional"
727
+ default="http://www.omg.org/spec/CMMN/ProcessType/Unspecified"/>
728
+ </xsd:extension>
729
+ </xsd:complexContent>
730
+ </xsd:complexType>
731
+
732
+ <xsd:simpleType name="ProcessTypeEnum">
733
+ <xsd:annotation>
734
+ <xsd:documentation>
735
+ Enumeration of Business Process standards known to CMMN 1.1
736
+ </xsd:documentation>
737
+ </xsd:annotation>
738
+ <xsd:union memberTypes="xsd:anyURI">
739
+ <xsd:simpleType>
740
+ <xsd:restriction base="xsd:anyURI">
741
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/BPMN20"/>
742
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/XPDL2"/>
743
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/WSBPEL20"/>
744
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/WSBPEL1"/>
745
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/Unknown"/>
746
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/ProcessType/Unspecified"/>
747
+ </xsd:restriction>
748
+ </xsd:simpleType>
749
+ </xsd:union>
750
+ </xsd:simpleType>
751
+
752
+ <xsd:element name="caseTask" type="tCaseTask" substitutionGroup="task">
753
+ <xsd:annotation>
754
+ <xsd:documentation>
755
+ caseTask is the root element for CaseTask in the Case Model and
756
+ comprises of ParameterMappings and a reference to a Case
757
+ </xsd:documentation>
758
+ </xsd:annotation>
759
+ </xsd:element>
760
+ <xsd:complexType name="tCaseTask">
761
+ <xsd:annotation>
762
+ <xsd:documentation>
763
+ tCaseTask defines the type of element "caseTask"
764
+ </xsd:documentation>
765
+ </xsd:annotation>
766
+ <xsd:complexContent>
767
+ <xsd:extension base="tTask">
768
+ <xsd:sequence>
769
+ <xsd:element ref="parameterMapping" minOccurs="0" maxOccurs="unbounded"/>
770
+ <xsd:element name="caseRefExpression" type="tExpression" minOccurs="0" maxOccurs="1">
771
+ <xsd:annotation>
772
+ <xsd:documentation>
773
+ caseRefExpression is mutualy exclusive to caseRef and can be used to select a case
774
+ at runtime rather then specifying caseRef at design-time.
775
+ </xsd:documentation>
776
+ </xsd:annotation>
777
+ </xsd:element>
778
+ </xsd:sequence>
779
+ <xsd:attribute name="caseRef" type="xsd:string">
780
+ <xsd:annotation>
781
+ <xsd:documentation>
782
+ caseRef refers a "case" element which is re-usable and can
783
+ be imported via some other file. caseRef is mutually exclusive to "caseRefExpression"
784
+ </xsd:documentation>
785
+ </xsd:annotation>
786
+ </xsd:attribute>
787
+ </xsd:extension>
788
+ </xsd:complexContent>
789
+ </xsd:complexType>
790
+
791
+ <xsd:element name="decisionTask" type="tDecisionTask" substitutionGroup="task">
792
+ <xsd:annotation>
793
+ <xsd:documentation>
794
+ decisionTask represents a DecisionTask in the Case Model and comprises of
795
+ ParameterMappings and a reference to an (abstract) Decision.
796
+ </xsd:documentation>
797
+ </xsd:annotation>
798
+ </xsd:element>
799
+ <xsd:complexType name="tDecisionTask">
800
+ <xsd:annotation>
801
+ <xsd:documentation>
802
+ tDecisionTask defines the type of element "decision"
803
+ </xsd:documentation>
804
+ </xsd:annotation>
805
+ <xsd:complexContent>
806
+ <xsd:extension base="tTask">
807
+ <xsd:sequence>
808
+ <xsd:element ref="parameterMapping" minOccurs="0" maxOccurs="unbounded"/>
809
+ <xsd:element name="decisionRefExpression" type="tExpression" minOccurs="0" maxOccurs="1">
810
+ <xsd:annotation>
811
+ <xsd:documentation>
812
+ decisionRefExpression is mutually exclusive to decisionRef. It allows the selection of a
813
+ decision at runtime via an expression rather then at design time with decisionRef.
814
+ </xsd:documentation>
815
+ </xsd:annotation>
816
+ </xsd:element>
817
+ </xsd:sequence>
818
+ <xsd:attribute name="decisionRef" type="xsd:string">
819
+ <xsd:annotation>
820
+ <xsd:documentation>
821
+ decisionRef refers a "decision" element which is re-usable and can
822
+ be imported via some other file. decisionRef is mutually exclusive to decisionRefExpression
823
+ </xsd:documentation>
824
+ </xsd:annotation>
825
+ </xsd:attribute>
826
+ </xsd:extension>
827
+ </xsd:complexContent>
828
+ </xsd:complexType>
829
+
830
+ <xsd:element name="decision" type="tDecision">
831
+ <xsd:annotation>
832
+ <xsd:documentation>
833
+ decision represents an (abstract) Decision in CMMN. It has
834
+ an implementationType, input and output and can be referred from
835
+ a DecisionTask.
836
+ </xsd:documentation>
837
+ </xsd:annotation>
838
+ </xsd:element>
839
+ <xsd:complexType name="tDecision">
840
+ <xsd:annotation>
841
+ <xsd:documentation>
842
+ tDecision defines the type of element "decision"
843
+ </xsd:documentation>
844
+ </xsd:annotation>
845
+ <xsd:complexContent>
846
+ <xsd:extension base="tCmmnElement">
847
+ <xsd:sequence>
848
+ <xsd:element name="input" type="tDecisionParameter" minOccurs="0" maxOccurs="unbounded"/>
849
+ <xsd:element name="output" type="tDecisionParameter" minOccurs="0" maxOccurs="unbounded"/>
850
+ </xsd:sequence>
851
+ <xsd:attribute name="name" type="xsd:string"/>
852
+ <xsd:attribute name="externalRef" type="xsd:QName"/>
853
+ <xsd:attribute name="implementationType" type="xsd:anyURI" use="optional"
854
+ default="http://www.omg.org/spec/CMMN/DecisionType/Unspecified"/>
855
+ </xsd:extension>
856
+ </xsd:complexContent>
857
+ </xsd:complexType>
858
+
859
+ <xsd:simpleType name="DecisionTypeEnum">
860
+ <xsd:annotation>
861
+ <xsd:documentation>
862
+ Enumeration of Decision standards known to CMMN 1.1
863
+ </xsd:documentation>
864
+ </xsd:annotation>
865
+ <xsd:union memberTypes="xsd:anyURI">
866
+ <xsd:simpleType>
867
+ <xsd:restriction base="xsd:anyURI">
868
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DecisionType/DMN1"/>
869
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DecisionType/Unknown"/>
870
+ <xsd:enumeration value="http://www.omg.org/spec/CMMN/DecisionType/Unspecified"/>
871
+ </xsd:restriction>
872
+ </xsd:simpleType>
873
+ </xsd:union>
874
+ </xsd:simpleType>
875
+
876
+ <xsd:element name="parameterMapping" type="tParameterMapping"/>
877
+ <xsd:complexType name="tParameterMapping">
878
+ <xsd:complexContent>
879
+ <xsd:extension base="tCmmnElement">
880
+ <xsd:sequence>
881
+ <xsd:element name="transformation" type="tExpression" minOccurs="0" maxOccurs="1"/>
882
+ </xsd:sequence>
883
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
884
+ <xsd:annotation>
885
+ <xsd:documentation>
886
+ sourceRef refers a "parameter" element
887
+ </xsd:documentation>
888
+ </xsd:annotation>
889
+ </xsd:attribute>
890
+ <xsd:attribute name="targetRef" type="xsd:IDREF">
891
+ <xsd:annotation>
892
+ <xsd:documentation>
893
+ targetRef refers a "parameter" element
894
+ </xsd:documentation>
895
+ </xsd:annotation>
896
+ </xsd:attribute>
897
+ </xsd:extension>
898
+ </xsd:complexContent>
899
+ </xsd:complexType>
900
+
901
+ <!--
902
+ Event elements
903
+ -->
904
+ <xsd:element name="userEventListener" type="tUserEventListener" substitutionGroup="eventListener"/>
905
+ <xsd:complexType name="tUserEventListener">
906
+ <xsd:complexContent>
907
+ <xsd:extension base="tEventListener">
908
+ <xsd:attribute name="authorizedRoleRefs" type="xsd:IDREFS">
909
+ <xsd:annotation>
910
+ <xsd:documentation>
911
+ authorizedRoleRefs refers zero or more "role" elements.
912
+ </xsd:documentation>
913
+ </xsd:annotation>
914
+ </xsd:attribute>
915
+ </xsd:extension>
916
+
917
+ </xsd:complexContent>
918
+ </xsd:complexType>
919
+
920
+ <xsd:element name="timerEventListener" type="tTimerEventListener" substitutionGroup="eventListener"/>
921
+ <xsd:complexType name="tTimerEventListener">
922
+ <xsd:complexContent>
923
+ <xsd:extension base="tEventListener">
924
+ <xsd:sequence>
925
+ <xsd:element name="timerExpression" type="tExpression" minOccurs="0" maxOccurs="1">
926
+ <xsd:annotation>
927
+ <xsd:documentation>
928
+ timerExpression is supposed to be an ISO-8601 conformant expression
929
+ </xsd:documentation>
930
+ </xsd:annotation>
931
+ </xsd:element>
932
+ <xsd:element ref="timerStart" minOccurs="0" maxOccurs="1">
933
+ <xsd:annotation>
934
+ <xsd:documentation>
935
+ timerStart can be used to trigger the timer after a PlanItem or CaseFileItem
936
+ lifecycle state transition has occurred.
937
+ </xsd:documentation>
938
+ </xsd:annotation>
939
+ </xsd:element>
940
+ </xsd:sequence>
941
+ </xsd:extension>
942
+ </xsd:complexContent>
943
+ </xsd:complexType>
944
+
945
+ <xsd:element name="timerStart" type="tStartTrigger"/>
946
+ <xsd:complexType name="tStartTrigger" abstract="true">
947
+ <xsd:complexContent>
948
+ <xsd:extension base="tCmmnElement">
949
+ </xsd:extension>
950
+ </xsd:complexContent>
951
+ </xsd:complexType>
952
+
953
+ <xsd:element name="caseFileItemStartTrigger" type="tCaseFileItemStartTrigger" substitutionGroup="timerStart"/>
954
+ <xsd:complexType name="tCaseFileItemStartTrigger">
955
+ <xsd:complexContent>
956
+ <xsd:extension base="tStartTrigger">
957
+ <xsd:sequence>
958
+ <xsd:element name="standardEvent" type="CaseFileItemTransition" minOccurs="0" maxOccurs="1"/>
959
+ </xsd:sequence>
960
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
961
+ <xsd:annotation>
962
+ <xsd:documentation>
963
+ sourceRef refers a "caseFileItem" element
964
+ </xsd:documentation>
965
+ </xsd:annotation>
966
+ </xsd:attribute>
967
+ </xsd:extension>
968
+ </xsd:complexContent>
969
+ </xsd:complexType>
970
+
971
+ <xsd:element name="planItemStartTrigger" type="tPlanItemStartTrigger" substitutionGroup="timerStart"/>
972
+ <xsd:complexType name="tPlanItemStartTrigger">
973
+ <xsd:complexContent>
974
+ <xsd:extension base="tStartTrigger">
975
+ <xsd:sequence>
976
+ <xsd:element name="standardEvent" type="PlanItemTransition" minOccurs="0" maxOccurs="1"/>
977
+ </xsd:sequence>
978
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
979
+ <xsd:annotation>
980
+ <xsd:documentation>
981
+ sourceRef refers a "planItem" element
982
+ </xsd:documentation>
983
+ </xsd:annotation>
984
+ </xsd:attribute>
985
+ </xsd:extension>
986
+ </xsd:complexContent>
987
+ </xsd:complexType>
988
+
989
+ <!--
990
+ Sentry
991
+ -->
992
+ <xsd:element name="sentry" type="tSentry">
993
+ <xsd:annotation>
994
+ <xsd:documentation>
995
+ sentry is the root element of "Sentry" in the Case Model and
996
+ comprises of zero or more OnParts and zero or one IfPart.
997
+ </xsd:documentation>
998
+ </xsd:annotation>
999
+ </xsd:element>
1000
+ <xsd:complexType name="tSentry">
1001
+ <xsd:annotation>
1002
+ <xsd:documentation>
1003
+ tSentry defines the type of element "sentry"
1004
+ </xsd:documentation>
1005
+ </xsd:annotation>
1006
+ <xsd:complexContent>
1007
+ <xsd:extension base="tCmmnElement">
1008
+ <xsd:sequence>
1009
+ <xsd:element ref="onPart" minOccurs="0" maxOccurs="unbounded"/>
1010
+ <xsd:element ref="ifPart" minOccurs="0" maxOccurs="1"/>
1011
+ </xsd:sequence>
1012
+ <xsd:attribute name="name" type="xsd:string"/>
1013
+ </xsd:extension>
1014
+ </xsd:complexContent>
1015
+ </xsd:complexType>
1016
+
1017
+
1018
+ <xsd:element name="onPart" type="tOnPart"/>
1019
+ <xsd:complexType name="tOnPart" abstract="true">
1020
+ <xsd:complexContent>
1021
+ <xsd:extension base="tCmmnElement">
1022
+ <xsd:attribute name="name" type="xsd:string"/>
1023
+ </xsd:extension>
1024
+ </xsd:complexContent>
1025
+ </xsd:complexType>
1026
+
1027
+ <xsd:element name="caseFileItemOnPart" type="tCaseFileItemOnPart" substitutionGroup="onPart"/>
1028
+ <xsd:complexType name="tCaseFileItemOnPart">
1029
+ <xsd:complexContent>
1030
+ <xsd:extension base="tOnPart">
1031
+ <xsd:sequence>
1032
+ <xsd:element name="standardEvent" type="CaseFileItemTransition" minOccurs="0" maxOccurs="1"/>
1033
+ </xsd:sequence>
1034
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
1035
+ <xsd:annotation>
1036
+ <xsd:documentation>
1037
+ sourceRef refers a "caseFileItem" element
1038
+ </xsd:documentation>
1039
+ </xsd:annotation>
1040
+ </xsd:attribute>
1041
+ </xsd:extension>
1042
+ </xsd:complexContent>
1043
+ </xsd:complexType>
1044
+
1045
+ <xsd:element name="planItemOnPart" type="tPlanItemOnPart" substitutionGroup="onPart"/>
1046
+ <xsd:complexType name="tPlanItemOnPart">
1047
+ <xsd:complexContent>
1048
+ <xsd:extension base="tOnPart">
1049
+ <xsd:sequence>
1050
+ <xsd:element name="standardEvent" type="PlanItemTransition" minOccurs="0" maxOccurs="1"/>
1051
+ </xsd:sequence>
1052
+ <xsd:attribute name="sourceRef" type="xsd:IDREF">
1053
+ <xsd:annotation>
1054
+ <xsd:documentation>
1055
+ sourceRef refers a "planItem" element
1056
+ </xsd:documentation>
1057
+ </xsd:annotation>
1058
+ </xsd:attribute>
1059
+ <xsd:attribute name="exitCriterionRef" type="xsd:IDREF">
1060
+ <xsd:annotation>
1061
+ <xsd:documentation>
1062
+ exitCriterionRef refers a "ExitCriterion" element that is contained in the
1063
+ "planItem" referred by sourceRef
1064
+ </xsd:documentation>
1065
+ </xsd:annotation>
1066
+ </xsd:attribute>
1067
+ </xsd:extension>
1068
+ </xsd:complexContent>
1069
+ </xsd:complexType>
1070
+
1071
+ <xsd:element name="ifPart" type="tIfPart"/>
1072
+ <xsd:complexType name="tIfPart">
1073
+ <xsd:complexContent>
1074
+ <xsd:extension base="tCmmnElement">
1075
+ <xsd:sequence>
1076
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
1077
+ </xsd:sequence>
1078
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
1079
+ <xsd:annotation>
1080
+ <xsd:documentation>
1081
+ contextRef refers a "caseFileItem" element
1082
+ </xsd:documentation>
1083
+ </xsd:annotation>
1084
+ </xsd:attribute>
1085
+ </xsd:extension>
1086
+ </xsd:complexContent>
1087
+ </xsd:complexType>
1088
+
1089
+ <xsd:simpleType name="CaseFileItemTransition">
1090
+ <xsd:annotation>
1091
+ <xsd:documentation>
1092
+ Enumeration of CaseFileItem transitions.
1093
+ </xsd:documentation>
1094
+ </xsd:annotation>
1095
+ <xsd:restriction base="xsd:string">
1096
+ <xsd:enumeration value="addChild"/>
1097
+ <xsd:enumeration value="addReference"/>
1098
+ <xsd:enumeration value="create"/>
1099
+ <xsd:enumeration value="delete"/>
1100
+ <xsd:enumeration value="removeChild"/>
1101
+ <xsd:enumeration value="removeReference"/>
1102
+ <xsd:enumeration value="replace"/>
1103
+ <xsd:enumeration value="update"/>
1104
+ </xsd:restriction>
1105
+ </xsd:simpleType>
1106
+
1107
+ <xsd:simpleType name="PlanItemTransition">
1108
+ <xsd:annotation>
1109
+ <xsd:documentation>
1110
+ Enumeration of PlanItem transitions.
1111
+ </xsd:documentation>
1112
+ </xsd:annotation>
1113
+ <xsd:restriction base="xsd:string">
1114
+ <xsd:enumeration value="close"/>
1115
+ <xsd:enumeration value="complete"/>
1116
+ <xsd:enumeration value="create"/>
1117
+ <xsd:enumeration value="disable"/>
1118
+ <xsd:enumeration value="enable"/>
1119
+ <xsd:enumeration value="exit"/>
1120
+ <xsd:enumeration value="fault"/>
1121
+ <xsd:enumeration value="manualStart"/>
1122
+ <xsd:enumeration value="occur"/>
1123
+ <xsd:enumeration value="parentResume"/>
1124
+ <xsd:enumeration value="parentSuspend"/>
1125
+ <xsd:enumeration value="reactivate"/>
1126
+ <xsd:enumeration value="reenable"/>
1127
+ <xsd:enumeration value="resume"/>
1128
+ <xsd:enumeration value="start"/>
1129
+ <xsd:enumeration value="suspend"/>
1130
+ <xsd:enumeration value="terminate"/>
1131
+ </xsd:restriction>
1132
+ </xsd:simpleType>
1133
+
1134
+ <xsd:complexType name="tCriterion" abstract="true">
1135
+ <xsd:complexContent>
1136
+ <xsd:extension base="tCmmnElement">
1137
+ <xsd:annotation>
1138
+ <xsd:documentation>
1139
+ Criterion is the abstract base class for EntryCriterion and ExitCriterion. It is
1140
+ primarily used for CMMN Diagram Interchange (CMMN DI).
1141
+ </xsd:documentation>
1142
+ </xsd:annotation>
1143
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
1144
+ <xsd:attribute name="sentryRef" type="xsd:IDREF" use="optional">
1145
+ <xsd:annotation>
1146
+ <xsd:documentation>
1147
+ sentryRef refers to an existing Sentry in this casePlanModel
1148
+ </xsd:documentation>
1149
+ </xsd:annotation>
1150
+ </xsd:attribute>
1151
+ </xsd:extension>
1152
+ </xsd:complexContent>
1153
+ </xsd:complexType>
1154
+
1155
+ <xsd:element name="entryCriterion" type="tEntryCriterion"/>
1156
+ <xsd:complexType name="tEntryCriterion">
1157
+ <xsd:complexContent>
1158
+ <xsd:extension base="tCriterion">
1159
+ <xsd:annotation>
1160
+ <xsd:documentation>
1161
+ EntryCriterion is a place holder for Entry Criteria and is primarily used for
1162
+ CMMN Diagram Interchange (CMMN DI)
1163
+ </xsd:documentation>
1164
+ </xsd:annotation>
1165
+ </xsd:extension>
1166
+ </xsd:complexContent>
1167
+ </xsd:complexType>
1168
+
1169
+ <xsd:element name="exitCriterion" type="tExitCriterion"/>
1170
+ <xsd:complexType name="tExitCriterion">
1171
+ <xsd:complexContent>
1172
+ <xsd:extension base="tCriterion">
1173
+ <xsd:annotation>
1174
+ <xsd:documentation>
1175
+ ExitCriterion is a place holder for Exit Criteria and is primarily used for
1176
+ CMMN Diagram Interchange (CMMN DI)
1177
+ </xsd:documentation>
1178
+ </xsd:annotation>
1179
+ </xsd:extension>
1180
+ </xsd:complexContent>
1181
+ </xsd:complexType>
1182
+
1183
+
1184
+ <!--
1185
+ Stage and Plan Fragment
1186
+ -->
1187
+ <xsd:element name="planFragment" type="tPlanFragment" substitutionGroup="planItemDefinition">
1188
+ <xsd:annotation>
1189
+ <xsd:documentation>
1190
+ planFragment is the root element for PlanItems that should go into
1191
+ the plan as a unit.
1192
+ </xsd:documentation>
1193
+ </xsd:annotation>
1194
+ </xsd:element>
1195
+ <xsd:complexType name="tPlanFragment">
1196
+ <xsd:annotation>
1197
+ <xsd:documentation>
1198
+ tPlanFragment defines the type for element "planFragment"
1199
+ </xsd:documentation>
1200
+ </xsd:annotation>
1201
+ <xsd:complexContent>
1202
+ <xsd:extension base="tPlanItemDefinition">
1203
+ <xsd:sequence>
1204
+ <xsd:element ref="planItem" minOccurs="0" maxOccurs="unbounded"/>
1205
+ <xsd:element ref="sentry" minOccurs="0" maxOccurs="unbounded"/>
1206
+ </xsd:sequence>
1207
+ </xsd:extension>
1208
+ </xsd:complexContent>
1209
+ </xsd:complexType>
1210
+
1211
+ <xsd:element name="stage" type="tStage" substitutionGroup="planItemDefinition">
1212
+ <xsd:annotation>
1213
+ <xsd:documentation>
1214
+ stage represents a Stage in the Case Model and comprises of
1215
+ zero or one PlanningTable, zero or more PlanItemDefinition elements
1216
+ and if the Stage is the outermost Stage, zero or more references to
1217
+ exitCriterion.
1218
+ </xsd:documentation>
1219
+ </xsd:annotation>
1220
+ </xsd:element>
1221
+
1222
+ <xsd:complexType name="tStage">
1223
+ <xsd:annotation>
1224
+ <xsd:documentation>
1225
+ tStage defines the type for element "stage"
1226
+ </xsd:documentation>
1227
+ </xsd:annotation>
1228
+ <xsd:complexContent>
1229
+ <xsd:extension base="tPlanFragment">
1230
+ <xsd:sequence>
1231
+ <xsd:element ref="planningTable" minOccurs="0" maxOccurs="1"/>
1232
+ <xsd:element ref="planItemDefinition" minOccurs="0" maxOccurs="unbounded"/>
1233
+ <xsd:element ref="exitCriterion" minOccurs="0" maxOccurs="unbounded"/>
1234
+ </xsd:sequence>
1235
+ <xsd:attribute name="autoComplete" type="xsd:boolean" use="optional" default="false"/>
1236
+ </xsd:extension>
1237
+ </xsd:complexContent>
1238
+ </xsd:complexType>
1239
+
1240
+ <xsd:element name="planItem" type="tPlanItem"/>
1241
+ <xsd:complexType name="tPlanItem">
1242
+ <xsd:complexContent>
1243
+ <xsd:extension base="tCmmnElement">
1244
+ <xsd:sequence>
1245
+ <xsd:element name="itemControl" type="tPlanItemControl" minOccurs="0" maxOccurs="1"/>
1246
+ <xsd:element ref="entryCriterion" minOccurs="0" maxOccurs="unbounded"/>
1247
+ <xsd:element ref="exitCriterion" minOccurs="0" maxOccurs="unbounded"/>
1248
+ </xsd:sequence>
1249
+ <xsd:attribute name="name" type="xsd:string"/>
1250
+ <xsd:attribute name="definitionRef" type="xsd:IDREF">
1251
+ <xsd:annotation>
1252
+ <xsd:documentation>
1253
+ definitionRef refers a "planItemDefinition" element.
1254
+ </xsd:documentation>
1255
+ </xsd:annotation>
1256
+ </xsd:attribute>
1257
+ </xsd:extension>
1258
+ </xsd:complexContent>
1259
+ </xsd:complexType>
1260
+
1261
+ <!--
1262
+ Planning Table
1263
+ -->
1264
+ <xsd:element name="tableItem" type="tTableItem"/>
1265
+ <xsd:complexType name="tTableItem" abstract="true">
1266
+ <xsd:complexContent>
1267
+ <xsd:extension base="tCmmnElement">
1268
+ <xsd:attribute name="applicabilityRuleRefs" type="xsd:IDREFS">
1269
+ <xsd:annotation>
1270
+ <xsd:documentation>
1271
+ applicabilityRuleRefs refers one or more "applicabilityRule" elements.
1272
+ </xsd:documentation>
1273
+ </xsd:annotation>
1274
+ </xsd:attribute>
1275
+ <xsd:attribute name="authorizedRoleRefs" type="xsd:IDREFS">
1276
+ <xsd:annotation>
1277
+ <xsd:documentation>
1278
+ authorizedRoleRefs refers zero or more "role" elements.
1279
+ </xsd:documentation>
1280
+ </xsd:annotation>
1281
+ </xsd:attribute>
1282
+ </xsd:extension>
1283
+ </xsd:complexContent>
1284
+ </xsd:complexType>
1285
+
1286
+ <xsd:element name="planningTable" type="tPlanningTable" substitutionGroup="tableItem"/>
1287
+ <xsd:complexType name="tPlanningTable">
1288
+ <xsd:complexContent>
1289
+ <xsd:extension base="tTableItem">
1290
+ <xsd:sequence>
1291
+ <xsd:element ref="tableItem" minOccurs="0" maxOccurs="unbounded"/>
1292
+ <xsd:element ref="applicabilityRule" minOccurs="0" maxOccurs="unbounded"/>
1293
+ </xsd:sequence>
1294
+ </xsd:extension>
1295
+ </xsd:complexContent>
1296
+ </xsd:complexType>
1297
+
1298
+ <xsd:element name="discretionaryItem" type="tDiscretionaryItem" substitutionGroup="tableItem"/>
1299
+ <xsd:complexType name="tDiscretionaryItem">
1300
+ <xsd:complexContent>
1301
+ <xsd:extension base="tTableItem">
1302
+ <xsd:sequence>
1303
+ <xsd:element name="itemControl" type="tPlanItemControl" minOccurs="0" maxOccurs="1"/>
1304
+ <xsd:element ref="entryCriterion" minOccurs="0" maxOccurs="unbounded"/>
1305
+ <xsd:element ref="exitCriterion" minOccurs="0" maxOccurs="unbounded"/>
1306
+ </xsd:sequence>
1307
+ <xsd:attribute name="name" type="xsd:string" use="optional"/>
1308
+ <xsd:attribute name="definitionRef" type="xsd:IDREF">
1309
+ <xsd:annotation>
1310
+ <xsd:documentation>
1311
+ definitionRef refers a "planItemDefinition" element
1312
+ </xsd:documentation>
1313
+ </xsd:annotation>
1314
+ </xsd:attribute>
1315
+ </xsd:extension>
1316
+ </xsd:complexContent>
1317
+ </xsd:complexType>
1318
+
1319
+ <xsd:element name="applicabilityRule" type="tApplicabilityRule"/>
1320
+ <xsd:complexType name="tApplicabilityRule">
1321
+ <xsd:complexContent>
1322
+ <xsd:extension base="tCmmnElement">
1323
+ <xsd:sequence>
1324
+ <xsd:element name="condition" type="tExpression" minOccurs="0" maxOccurs="1"/>
1325
+ </xsd:sequence>
1326
+ <xsd:attribute name="name" type="xsd:string"/>
1327
+ <xsd:attribute name="contextRef" type="xsd:IDREF">
1328
+ <xsd:annotation>
1329
+ <xsd:documentation>
1330
+ contexRef refers a "caseFileItem" element
1331
+ </xsd:documentation>
1332
+ </xsd:annotation>
1333
+ </xsd:attribute>
1334
+ </xsd:extension>
1335
+ </xsd:complexContent>
1336
+ </xsd:complexType>
1337
+ </xsd:schema>
source_data/pinned/camunda-dmn-examples/commit-ee4826e5e76c/model-api/cmmn-model/src/main/resources/org/camunda/bpm/model/cmmn/schema/cmmn11/CMMNDI11.xsd ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3
+ xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI"
4
+ xmlns:dc="http://www.omg.org/spec/CMMN/20151109/DC"
5
+ xmlns:di="http://www.omg.org/spec/CMMN/20151109/DI"
6
+ targetNamespace="http://www.omg.org/spec/CMMN/20151109/CMMNDI"
7
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
8
+ <xsd:import namespace="http://www.omg.org/spec/CMMN/20151109/DC"
9
+ schemaLocation="DC.xsd"/>
10
+ <xsd:import namespace="http://www.omg.org/spec/CMMN/20151109/DI"
11
+ schemaLocation="DI.xsd"/>
12
+ <xsd:element name="CMMNDI" type="cmmndi:CMMNDI"/>
13
+ <xsd:element name="CMMNDiagram" type="cmmndi:CMMNDiagram"/>
14
+ <xsd:element name="CMMNDiagramElement" type="di:DiagramElement">
15
+ <xsd:annotation>
16
+ <xsd:documentation>This element should never be instantiated directly, but rather concrete implementation should. It is placed there only to be referred in the sequence</xsd:documentation>
17
+ </xsd:annotation>
18
+ </xsd:element>
19
+ <xsd:element name="CMMNShape" type="cmmndi:CMMNShape" substitutionGroup="cmmndi:CMMNDiagramElement"/>
20
+ <xsd:element name="CMMNEdge" type="cmmndi:CMMNEdge" substitutionGroup="cmmndi:CMMNDiagramElement"/>
21
+ <xsd:element name="CMMNStyle" type="cmmndi:CMMNStyle" substitutionGroup="di:Style"/>
22
+ <xsd:element name="CMMNLabel" type="cmmndi:CMMNLabel"/>
23
+ <xsd:complexType name="CMMNDI">
24
+ <xsd:sequence>
25
+ <xsd:element ref="cmmndi:CMMNDiagram" minOccurs="0" maxOccurs="unbounded"/>
26
+ <xsd:element ref="cmmndi:CMMNStyle" minOccurs="0" maxOccurs="unbounded"/>
27
+ </xsd:sequence>
28
+ </xsd:complexType>
29
+ <xsd:complexType name="CMMNDiagram">
30
+ <xsd:complexContent>
31
+ <xsd:extension base="di:Diagram">
32
+ <xsd:sequence>
33
+ <xsd:element name="Size" type="dc:Dimension" minOccurs="0" maxOccurs="1"/>
34
+ <xsd:element ref="cmmndi:CMMNDiagramElement" minOccurs="0" maxOccurs="unbounded"/>
35
+ </xsd:sequence>
36
+ <xsd:attribute name="cmmnElementRef" type="xsd:QName"/>
37
+ </xsd:extension>
38
+ </xsd:complexContent>
39
+ </xsd:complexType>
40
+ <xsd:complexType name="CMMNShape">
41
+ <xsd:complexContent>
42
+ <xsd:extension base="di:Shape">
43
+ <xsd:sequence>
44
+ <xsd:element ref="cmmndi:CMMNLabel"/>
45
+ </xsd:sequence>
46
+ <xsd:attribute name="cmmnElementRef" type="xsd:QName" use="required"/>
47
+ <xsd:attribute name="isCollapsed" type="xsd:boolean"/>
48
+ <xsd:attribute name="isPlanningTableCollapsed" type="xsd:boolean"/>
49
+ </xsd:extension>
50
+ </xsd:complexContent>
51
+ </xsd:complexType>
52
+ <xsd:complexType name="CMMNEdge">
53
+ <xsd:complexContent>
54
+ <xsd:extension base="di:Edge">
55
+ <xsd:sequence>
56
+ <xsd:element ref="cmmndi:CMMNLabel"/>
57
+ </xsd:sequence>
58
+ <xsd:attribute name="cmmnElementRef" type="xsd:QName"/>
59
+ <xsd:attribute name="sourceCMMNElementRef" type="xsd:QName"/>
60
+ <xsd:attribute name="targetCMMNElementRef" type="xsd:QName"/>
61
+ <xsd:attribute name="isStandardEventVisible" type="xsd:boolean"/>
62
+ </xsd:extension>
63
+ </xsd:complexContent>
64
+ </xsd:complexType>
65
+ <xsd:complexType name="CMMNLabel">
66
+ <xsd:complexContent>
67
+ <xsd:extension base="di:Shape"/>
68
+ </xsd:complexContent>
69
+ </xsd:complexType>
70
+ <xsd:complexType name="CMMNStyle">
71
+ <xsd:complexContent>
72
+ <xsd:extension base="di:Style">
73
+ <xsd:sequence>
74
+ <xsd:element name="FillColor" type="dc:Color" minOccurs="0" maxOccurs="1"/>
75
+ <xsd:element name="StrokeColor" type="dc:Color" minOccurs="0" maxOccurs="1"/>
76
+ <xsd:element name="FontColor" type="dc:Color" minOccurs="0" maxOccurs="1"/>
77
+ </xsd:sequence>
78
+ <xsd:attribute name="fontFamily" type="xsd:string"/>
79
+ <xsd:attribute name="fontSize" type="xsd:double"/>
80
+ <xsd:attribute name="fontItalic" type="xsd:boolean"/>
81
+ <xsd:attribute name="fontBold" type="xsd:boolean"/>
82
+ <xsd:attribute name="fontUnderline" type="xsd:boolean"/>
83
+ <xsd:attribute name="fontStrikeThrough" type="xsd:boolean"/>
84
+ <xsd:attribute name="labelHorizontalAlignement" type="dc:AlignmentKind"/>
85
+ <xsd:attribute name="labelVerticalAlignment" type="dc:AlignmentKind"/>
86
+ </xsd:extension>
87
+ </xsd:complexContent>
88
+ </xsd:complexType>
89
+ </xsd:schema>