bpmn-moddle 5.1.4 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3666 @@
1
+ import { isString, isFunction, assign } from 'min-dash';
2
+ import { Moddle } from 'moddle';
3
+ import { Reader, Writer } from 'moddle-xml';
4
+
5
+ /**
6
+ * A sub class of {@link Moddle} with support for import and export of BPMN 2.0 xml files.
7
+ *
8
+ * @class BpmnModdle
9
+ * @extends Moddle
10
+ *
11
+ * @param {Object|Array} packages to use for instantiating the model
12
+ * @param {Object} [options] additional options to pass over
13
+ */
14
+ function BpmnModdle(packages, options) {
15
+ Moddle.call(this, packages, options);
16
+ }
17
+
18
+ BpmnModdle.prototype = Object.create(Moddle.prototype);
19
+
20
+
21
+ /**
22
+ * Instantiates a BPMN model tree from a given xml string.
23
+ *
24
+ * @param {String} xmlStr
25
+ * @param {String} [typeName='bpmn:Definitions'] name of the root element
26
+ * @param {Object} [options] options to pass to the underlying reader
27
+ * @param {Function} done callback that is invoked with (err, result, parseContext)
28
+ * once the import completes
29
+ */
30
+ BpmnModdle.prototype.fromXML = function(xmlStr, typeName, options, done) {
31
+
32
+ if (!isString(typeName)) {
33
+ done = options;
34
+ options = typeName;
35
+ typeName = 'bpmn:Definitions';
36
+ }
37
+
38
+ if (isFunction(options)) {
39
+ done = options;
40
+ options = {};
41
+ }
42
+
43
+ var reader = new Reader(assign({ model: this, lax: true }, options));
44
+ var rootHandler = reader.handler(typeName);
45
+
46
+ reader.fromXML(xmlStr, rootHandler, done);
47
+ };
48
+
49
+
50
+ /**
51
+ * Serializes a BPMN 2.0 object tree to XML.
52
+ *
53
+ * @param {String} element the root element, typically an instance of `bpmn:Definitions`
54
+ * @param {Object} [options] to pass to the underlying writer
55
+ * @param {Function} done callback invoked with (err, xmlStr) once the import completes
56
+ */
57
+ BpmnModdle.prototype.toXML = function(element, options, done) {
58
+
59
+ if (isFunction(options)) {
60
+ done = options;
61
+ options = {};
62
+ }
63
+
64
+ var writer = new Writer(options);
65
+
66
+ var result;
67
+ var err;
68
+
69
+ try {
70
+ result = writer.toXML(element);
71
+ } catch (e) {
72
+ err = e;
73
+ }
74
+
75
+ return done(err, result);
76
+ };
77
+
78
+ var name = "BPMN20";
79
+ var uri = "http://www.omg.org/spec/BPMN/20100524/MODEL";
80
+ var associations = [
81
+ ];
82
+ var types = [
83
+ {
84
+ name: "Interface",
85
+ superClass: [
86
+ "RootElement"
87
+ ],
88
+ properties: [
89
+ {
90
+ name: "name",
91
+ isAttr: true,
92
+ type: "String"
93
+ },
94
+ {
95
+ name: "operations",
96
+ type: "Operation",
97
+ isMany: true
98
+ },
99
+ {
100
+ name: "implementationRef",
101
+ type: "String",
102
+ isAttr: true
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ name: "Operation",
108
+ superClass: [
109
+ "BaseElement"
110
+ ],
111
+ properties: [
112
+ {
113
+ name: "name",
114
+ isAttr: true,
115
+ type: "String"
116
+ },
117
+ {
118
+ name: "inMessageRef",
119
+ type: "Message",
120
+ isReference: true
121
+ },
122
+ {
123
+ name: "outMessageRef",
124
+ type: "Message",
125
+ isReference: true
126
+ },
127
+ {
128
+ name: "errorRef",
129
+ type: "Error",
130
+ isMany: true,
131
+ isReference: true
132
+ },
133
+ {
134
+ name: "implementationRef",
135
+ type: "String",
136
+ isAttr: true
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ name: "EndPoint",
142
+ superClass: [
143
+ "RootElement"
144
+ ]
145
+ },
146
+ {
147
+ name: "Auditing",
148
+ superClass: [
149
+ "BaseElement"
150
+ ]
151
+ },
152
+ {
153
+ name: "GlobalTask",
154
+ superClass: [
155
+ "CallableElement"
156
+ ],
157
+ properties: [
158
+ {
159
+ name: "resources",
160
+ type: "ResourceRole",
161
+ isMany: true
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ name: "Monitoring",
167
+ superClass: [
168
+ "BaseElement"
169
+ ]
170
+ },
171
+ {
172
+ name: "Performer",
173
+ superClass: [
174
+ "ResourceRole"
175
+ ]
176
+ },
177
+ {
178
+ name: "Process",
179
+ superClass: [
180
+ "FlowElementsContainer",
181
+ "CallableElement"
182
+ ],
183
+ properties: [
184
+ {
185
+ name: "processType",
186
+ type: "ProcessType",
187
+ isAttr: true
188
+ },
189
+ {
190
+ name: "isClosed",
191
+ isAttr: true,
192
+ type: "Boolean"
193
+ },
194
+ {
195
+ name: "auditing",
196
+ type: "Auditing"
197
+ },
198
+ {
199
+ name: "monitoring",
200
+ type: "Monitoring"
201
+ },
202
+ {
203
+ name: "properties",
204
+ type: "Property",
205
+ isMany: true
206
+ },
207
+ {
208
+ name: "laneSets",
209
+ type: "LaneSet",
210
+ isMany: true,
211
+ replaces: "FlowElementsContainer#laneSets"
212
+ },
213
+ {
214
+ name: "flowElements",
215
+ type: "FlowElement",
216
+ isMany: true,
217
+ replaces: "FlowElementsContainer#flowElements"
218
+ },
219
+ {
220
+ name: "artifacts",
221
+ type: "Artifact",
222
+ isMany: true
223
+ },
224
+ {
225
+ name: "resources",
226
+ type: "ResourceRole",
227
+ isMany: true
228
+ },
229
+ {
230
+ name: "correlationSubscriptions",
231
+ type: "CorrelationSubscription",
232
+ isMany: true
233
+ },
234
+ {
235
+ name: "supports",
236
+ type: "Process",
237
+ isMany: true,
238
+ isReference: true
239
+ },
240
+ {
241
+ name: "definitionalCollaborationRef",
242
+ type: "Collaboration",
243
+ isAttr: true,
244
+ isReference: true
245
+ },
246
+ {
247
+ name: "isExecutable",
248
+ isAttr: true,
249
+ type: "Boolean"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ name: "LaneSet",
255
+ superClass: [
256
+ "BaseElement"
257
+ ],
258
+ properties: [
259
+ {
260
+ name: "lanes",
261
+ type: "Lane",
262
+ isMany: true
263
+ },
264
+ {
265
+ name: "name",
266
+ isAttr: true,
267
+ type: "String"
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ name: "Lane",
273
+ superClass: [
274
+ "BaseElement"
275
+ ],
276
+ properties: [
277
+ {
278
+ name: "name",
279
+ isAttr: true,
280
+ type: "String"
281
+ },
282
+ {
283
+ name: "partitionElementRef",
284
+ type: "BaseElement",
285
+ isAttr: true,
286
+ isReference: true
287
+ },
288
+ {
289
+ name: "partitionElement",
290
+ type: "BaseElement"
291
+ },
292
+ {
293
+ name: "flowNodeRef",
294
+ type: "FlowNode",
295
+ isMany: true,
296
+ isReference: true
297
+ },
298
+ {
299
+ name: "childLaneSet",
300
+ type: "LaneSet",
301
+ xml: {
302
+ serialize: "xsi:type"
303
+ }
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ name: "GlobalManualTask",
309
+ superClass: [
310
+ "GlobalTask"
311
+ ]
312
+ },
313
+ {
314
+ name: "ManualTask",
315
+ superClass: [
316
+ "Task"
317
+ ]
318
+ },
319
+ {
320
+ name: "UserTask",
321
+ superClass: [
322
+ "Task"
323
+ ],
324
+ properties: [
325
+ {
326
+ name: "renderings",
327
+ type: "Rendering",
328
+ isMany: true
329
+ },
330
+ {
331
+ name: "implementation",
332
+ isAttr: true,
333
+ type: "String"
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ name: "Rendering",
339
+ superClass: [
340
+ "BaseElement"
341
+ ]
342
+ },
343
+ {
344
+ name: "HumanPerformer",
345
+ superClass: [
346
+ "Performer"
347
+ ]
348
+ },
349
+ {
350
+ name: "PotentialOwner",
351
+ superClass: [
352
+ "HumanPerformer"
353
+ ]
354
+ },
355
+ {
356
+ name: "GlobalUserTask",
357
+ superClass: [
358
+ "GlobalTask"
359
+ ],
360
+ properties: [
361
+ {
362
+ name: "implementation",
363
+ isAttr: true,
364
+ type: "String"
365
+ },
366
+ {
367
+ name: "renderings",
368
+ type: "Rendering",
369
+ isMany: true
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ name: "Gateway",
375
+ isAbstract: true,
376
+ superClass: [
377
+ "FlowNode"
378
+ ],
379
+ properties: [
380
+ {
381
+ name: "gatewayDirection",
382
+ type: "GatewayDirection",
383
+ "default": "Unspecified",
384
+ isAttr: true
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ name: "EventBasedGateway",
390
+ superClass: [
391
+ "Gateway"
392
+ ],
393
+ properties: [
394
+ {
395
+ name: "instantiate",
396
+ "default": false,
397
+ isAttr: true,
398
+ type: "Boolean"
399
+ },
400
+ {
401
+ name: "eventGatewayType",
402
+ type: "EventBasedGatewayType",
403
+ isAttr: true,
404
+ "default": "Exclusive"
405
+ }
406
+ ]
407
+ },
408
+ {
409
+ name: "ComplexGateway",
410
+ superClass: [
411
+ "Gateway"
412
+ ],
413
+ properties: [
414
+ {
415
+ name: "activationCondition",
416
+ type: "Expression",
417
+ xml: {
418
+ serialize: "xsi:type"
419
+ }
420
+ },
421
+ {
422
+ name: "default",
423
+ type: "SequenceFlow",
424
+ isAttr: true,
425
+ isReference: true
426
+ }
427
+ ]
428
+ },
429
+ {
430
+ name: "ExclusiveGateway",
431
+ superClass: [
432
+ "Gateway"
433
+ ],
434
+ properties: [
435
+ {
436
+ name: "default",
437
+ type: "SequenceFlow",
438
+ isAttr: true,
439
+ isReference: true
440
+ }
441
+ ]
442
+ },
443
+ {
444
+ name: "InclusiveGateway",
445
+ superClass: [
446
+ "Gateway"
447
+ ],
448
+ properties: [
449
+ {
450
+ name: "default",
451
+ type: "SequenceFlow",
452
+ isAttr: true,
453
+ isReference: true
454
+ }
455
+ ]
456
+ },
457
+ {
458
+ name: "ParallelGateway",
459
+ superClass: [
460
+ "Gateway"
461
+ ]
462
+ },
463
+ {
464
+ name: "RootElement",
465
+ isAbstract: true,
466
+ superClass: [
467
+ "BaseElement"
468
+ ]
469
+ },
470
+ {
471
+ name: "Relationship",
472
+ superClass: [
473
+ "BaseElement"
474
+ ],
475
+ properties: [
476
+ {
477
+ name: "type",
478
+ isAttr: true,
479
+ type: "String"
480
+ },
481
+ {
482
+ name: "direction",
483
+ type: "RelationshipDirection",
484
+ isAttr: true
485
+ },
486
+ {
487
+ name: "source",
488
+ isMany: true,
489
+ isReference: true,
490
+ type: "Element"
491
+ },
492
+ {
493
+ name: "target",
494
+ isMany: true,
495
+ isReference: true,
496
+ type: "Element"
497
+ }
498
+ ]
499
+ },
500
+ {
501
+ name: "BaseElement",
502
+ isAbstract: true,
503
+ properties: [
504
+ {
505
+ name: "id",
506
+ isAttr: true,
507
+ type: "String",
508
+ isId: true
509
+ },
510
+ {
511
+ name: "documentation",
512
+ type: "Documentation",
513
+ isMany: true
514
+ },
515
+ {
516
+ name: "extensionDefinitions",
517
+ type: "ExtensionDefinition",
518
+ isMany: true,
519
+ isReference: true
520
+ },
521
+ {
522
+ name: "extensionElements",
523
+ type: "ExtensionElements"
524
+ }
525
+ ]
526
+ },
527
+ {
528
+ name: "Extension",
529
+ properties: [
530
+ {
531
+ name: "mustUnderstand",
532
+ "default": false,
533
+ isAttr: true,
534
+ type: "Boolean"
535
+ },
536
+ {
537
+ name: "definition",
538
+ type: "ExtensionDefinition",
539
+ isAttr: true,
540
+ isReference: true
541
+ }
542
+ ]
543
+ },
544
+ {
545
+ name: "ExtensionDefinition",
546
+ properties: [
547
+ {
548
+ name: "name",
549
+ isAttr: true,
550
+ type: "String"
551
+ },
552
+ {
553
+ name: "extensionAttributeDefinitions",
554
+ type: "ExtensionAttributeDefinition",
555
+ isMany: true
556
+ }
557
+ ]
558
+ },
559
+ {
560
+ name: "ExtensionAttributeDefinition",
561
+ properties: [
562
+ {
563
+ name: "name",
564
+ isAttr: true,
565
+ type: "String"
566
+ },
567
+ {
568
+ name: "type",
569
+ isAttr: true,
570
+ type: "String"
571
+ },
572
+ {
573
+ name: "isReference",
574
+ "default": false,
575
+ isAttr: true,
576
+ type: "Boolean"
577
+ },
578
+ {
579
+ name: "extensionDefinition",
580
+ type: "ExtensionDefinition",
581
+ isAttr: true,
582
+ isReference: true
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ name: "ExtensionElements",
588
+ properties: [
589
+ {
590
+ name: "valueRef",
591
+ isAttr: true,
592
+ isReference: true,
593
+ type: "Element"
594
+ },
595
+ {
596
+ name: "values",
597
+ type: "Element",
598
+ isMany: true
599
+ },
600
+ {
601
+ name: "extensionAttributeDefinition",
602
+ type: "ExtensionAttributeDefinition",
603
+ isAttr: true,
604
+ isReference: true
605
+ }
606
+ ]
607
+ },
608
+ {
609
+ name: "Documentation",
610
+ superClass: [
611
+ "BaseElement"
612
+ ],
613
+ properties: [
614
+ {
615
+ name: "text",
616
+ type: "String",
617
+ isBody: true
618
+ },
619
+ {
620
+ name: "textFormat",
621
+ "default": "text/plain",
622
+ isAttr: true,
623
+ type: "String"
624
+ }
625
+ ]
626
+ },
627
+ {
628
+ name: "Event",
629
+ isAbstract: true,
630
+ superClass: [
631
+ "FlowNode",
632
+ "InteractionNode"
633
+ ],
634
+ properties: [
635
+ {
636
+ name: "properties",
637
+ type: "Property",
638
+ isMany: true
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ name: "IntermediateCatchEvent",
644
+ superClass: [
645
+ "CatchEvent"
646
+ ]
647
+ },
648
+ {
649
+ name: "IntermediateThrowEvent",
650
+ superClass: [
651
+ "ThrowEvent"
652
+ ]
653
+ },
654
+ {
655
+ name: "EndEvent",
656
+ superClass: [
657
+ "ThrowEvent"
658
+ ]
659
+ },
660
+ {
661
+ name: "StartEvent",
662
+ superClass: [
663
+ "CatchEvent"
664
+ ],
665
+ properties: [
666
+ {
667
+ name: "isInterrupting",
668
+ "default": true,
669
+ isAttr: true,
670
+ type: "Boolean"
671
+ }
672
+ ]
673
+ },
674
+ {
675
+ name: "ThrowEvent",
676
+ isAbstract: true,
677
+ superClass: [
678
+ "Event"
679
+ ],
680
+ properties: [
681
+ {
682
+ name: "dataInputs",
683
+ type: "DataInput",
684
+ isMany: true
685
+ },
686
+ {
687
+ name: "dataInputAssociations",
688
+ type: "DataInputAssociation",
689
+ isMany: true
690
+ },
691
+ {
692
+ name: "inputSet",
693
+ type: "InputSet"
694
+ },
695
+ {
696
+ name: "eventDefinitions",
697
+ type: "EventDefinition",
698
+ isMany: true
699
+ },
700
+ {
701
+ name: "eventDefinitionRef",
702
+ type: "EventDefinition",
703
+ isMany: true,
704
+ isReference: true
705
+ }
706
+ ]
707
+ },
708
+ {
709
+ name: "CatchEvent",
710
+ isAbstract: true,
711
+ superClass: [
712
+ "Event"
713
+ ],
714
+ properties: [
715
+ {
716
+ name: "parallelMultiple",
717
+ isAttr: true,
718
+ type: "Boolean",
719
+ "default": false
720
+ },
721
+ {
722
+ name: "dataOutputs",
723
+ type: "DataOutput",
724
+ isMany: true
725
+ },
726
+ {
727
+ name: "dataOutputAssociations",
728
+ type: "DataOutputAssociation",
729
+ isMany: true
730
+ },
731
+ {
732
+ name: "outputSet",
733
+ type: "OutputSet"
734
+ },
735
+ {
736
+ name: "eventDefinitions",
737
+ type: "EventDefinition",
738
+ isMany: true
739
+ },
740
+ {
741
+ name: "eventDefinitionRef",
742
+ type: "EventDefinition",
743
+ isMany: true,
744
+ isReference: true
745
+ }
746
+ ]
747
+ },
748
+ {
749
+ name: "BoundaryEvent",
750
+ superClass: [
751
+ "CatchEvent"
752
+ ],
753
+ properties: [
754
+ {
755
+ name: "cancelActivity",
756
+ "default": true,
757
+ isAttr: true,
758
+ type: "Boolean"
759
+ },
760
+ {
761
+ name: "attachedToRef",
762
+ type: "Activity",
763
+ isAttr: true,
764
+ isReference: true
765
+ }
766
+ ]
767
+ },
768
+ {
769
+ name: "EventDefinition",
770
+ isAbstract: true,
771
+ superClass: [
772
+ "RootElement"
773
+ ]
774
+ },
775
+ {
776
+ name: "CancelEventDefinition",
777
+ superClass: [
778
+ "EventDefinition"
779
+ ]
780
+ },
781
+ {
782
+ name: "ErrorEventDefinition",
783
+ superClass: [
784
+ "EventDefinition"
785
+ ],
786
+ properties: [
787
+ {
788
+ name: "errorRef",
789
+ type: "Error",
790
+ isAttr: true,
791
+ isReference: true
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ name: "TerminateEventDefinition",
797
+ superClass: [
798
+ "EventDefinition"
799
+ ]
800
+ },
801
+ {
802
+ name: "EscalationEventDefinition",
803
+ superClass: [
804
+ "EventDefinition"
805
+ ],
806
+ properties: [
807
+ {
808
+ name: "escalationRef",
809
+ type: "Escalation",
810
+ isAttr: true,
811
+ isReference: true
812
+ }
813
+ ]
814
+ },
815
+ {
816
+ name: "Escalation",
817
+ properties: [
818
+ {
819
+ name: "structureRef",
820
+ type: "ItemDefinition",
821
+ isAttr: true,
822
+ isReference: true
823
+ },
824
+ {
825
+ name: "name",
826
+ isAttr: true,
827
+ type: "String"
828
+ },
829
+ {
830
+ name: "escalationCode",
831
+ isAttr: true,
832
+ type: "String"
833
+ }
834
+ ],
835
+ superClass: [
836
+ "RootElement"
837
+ ]
838
+ },
839
+ {
840
+ name: "CompensateEventDefinition",
841
+ superClass: [
842
+ "EventDefinition"
843
+ ],
844
+ properties: [
845
+ {
846
+ name: "waitForCompletion",
847
+ isAttr: true,
848
+ type: "Boolean",
849
+ "default": true
850
+ },
851
+ {
852
+ name: "activityRef",
853
+ type: "Activity",
854
+ isAttr: true,
855
+ isReference: true
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ name: "TimerEventDefinition",
861
+ superClass: [
862
+ "EventDefinition"
863
+ ],
864
+ properties: [
865
+ {
866
+ name: "timeDate",
867
+ type: "Expression",
868
+ xml: {
869
+ serialize: "xsi:type"
870
+ }
871
+ },
872
+ {
873
+ name: "timeCycle",
874
+ type: "Expression",
875
+ xml: {
876
+ serialize: "xsi:type"
877
+ }
878
+ },
879
+ {
880
+ name: "timeDuration",
881
+ type: "Expression",
882
+ xml: {
883
+ serialize: "xsi:type"
884
+ }
885
+ }
886
+ ]
887
+ },
888
+ {
889
+ name: "LinkEventDefinition",
890
+ superClass: [
891
+ "EventDefinition"
892
+ ],
893
+ properties: [
894
+ {
895
+ name: "name",
896
+ isAttr: true,
897
+ type: "String"
898
+ },
899
+ {
900
+ name: "target",
901
+ type: "LinkEventDefinition",
902
+ isAttr: true,
903
+ isReference: true
904
+ },
905
+ {
906
+ name: "source",
907
+ type: "LinkEventDefinition",
908
+ isMany: true,
909
+ isReference: true
910
+ }
911
+ ]
912
+ },
913
+ {
914
+ name: "MessageEventDefinition",
915
+ superClass: [
916
+ "EventDefinition"
917
+ ],
918
+ properties: [
919
+ {
920
+ name: "messageRef",
921
+ type: "Message",
922
+ isAttr: true,
923
+ isReference: true
924
+ },
925
+ {
926
+ name: "operationRef",
927
+ type: "Operation",
928
+ isAttr: true,
929
+ isReference: true
930
+ }
931
+ ]
932
+ },
933
+ {
934
+ name: "ConditionalEventDefinition",
935
+ superClass: [
936
+ "EventDefinition"
937
+ ],
938
+ properties: [
939
+ {
940
+ name: "condition",
941
+ type: "Expression",
942
+ xml: {
943
+ serialize: "xsi:type"
944
+ }
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ name: "SignalEventDefinition",
950
+ superClass: [
951
+ "EventDefinition"
952
+ ],
953
+ properties: [
954
+ {
955
+ name: "signalRef",
956
+ type: "Signal",
957
+ isAttr: true,
958
+ isReference: true
959
+ }
960
+ ]
961
+ },
962
+ {
963
+ name: "Signal",
964
+ superClass: [
965
+ "RootElement"
966
+ ],
967
+ properties: [
968
+ {
969
+ name: "structureRef",
970
+ type: "ItemDefinition",
971
+ isAttr: true,
972
+ isReference: true
973
+ },
974
+ {
975
+ name: "name",
976
+ isAttr: true,
977
+ type: "String"
978
+ }
979
+ ]
980
+ },
981
+ {
982
+ name: "ImplicitThrowEvent",
983
+ superClass: [
984
+ "ThrowEvent"
985
+ ]
986
+ },
987
+ {
988
+ name: "DataState",
989
+ superClass: [
990
+ "BaseElement"
991
+ ],
992
+ properties: [
993
+ {
994
+ name: "name",
995
+ isAttr: true,
996
+ type: "String"
997
+ }
998
+ ]
999
+ },
1000
+ {
1001
+ name: "ItemAwareElement",
1002
+ superClass: [
1003
+ "BaseElement"
1004
+ ],
1005
+ properties: [
1006
+ {
1007
+ name: "itemSubjectRef",
1008
+ type: "ItemDefinition",
1009
+ isAttr: true,
1010
+ isReference: true
1011
+ },
1012
+ {
1013
+ name: "dataState",
1014
+ type: "DataState"
1015
+ }
1016
+ ]
1017
+ },
1018
+ {
1019
+ name: "DataAssociation",
1020
+ superClass: [
1021
+ "BaseElement"
1022
+ ],
1023
+ properties: [
1024
+ {
1025
+ name: "assignment",
1026
+ type: "Assignment",
1027
+ isMany: true
1028
+ },
1029
+ {
1030
+ name: "sourceRef",
1031
+ type: "ItemAwareElement",
1032
+ isMany: true,
1033
+ isReference: true
1034
+ },
1035
+ {
1036
+ name: "targetRef",
1037
+ type: "ItemAwareElement",
1038
+ isReference: true
1039
+ },
1040
+ {
1041
+ name: "transformation",
1042
+ type: "FormalExpression",
1043
+ xml: {
1044
+ serialize: "property"
1045
+ }
1046
+ }
1047
+ ]
1048
+ },
1049
+ {
1050
+ name: "DataInput",
1051
+ superClass: [
1052
+ "ItemAwareElement"
1053
+ ],
1054
+ properties: [
1055
+ {
1056
+ name: "name",
1057
+ isAttr: true,
1058
+ type: "String"
1059
+ },
1060
+ {
1061
+ name: "isCollection",
1062
+ "default": false,
1063
+ isAttr: true,
1064
+ type: "Boolean"
1065
+ },
1066
+ {
1067
+ name: "inputSetRef",
1068
+ type: "InputSet",
1069
+ isVirtual: true,
1070
+ isMany: true,
1071
+ isReference: true
1072
+ },
1073
+ {
1074
+ name: "inputSetWithOptional",
1075
+ type: "InputSet",
1076
+ isVirtual: true,
1077
+ isMany: true,
1078
+ isReference: true
1079
+ },
1080
+ {
1081
+ name: "inputSetWithWhileExecuting",
1082
+ type: "InputSet",
1083
+ isVirtual: true,
1084
+ isMany: true,
1085
+ isReference: true
1086
+ }
1087
+ ]
1088
+ },
1089
+ {
1090
+ name: "DataOutput",
1091
+ superClass: [
1092
+ "ItemAwareElement"
1093
+ ],
1094
+ properties: [
1095
+ {
1096
+ name: "name",
1097
+ isAttr: true,
1098
+ type: "String"
1099
+ },
1100
+ {
1101
+ name: "isCollection",
1102
+ "default": false,
1103
+ isAttr: true,
1104
+ type: "Boolean"
1105
+ },
1106
+ {
1107
+ name: "outputSetRef",
1108
+ type: "OutputSet",
1109
+ isVirtual: true,
1110
+ isMany: true,
1111
+ isReference: true
1112
+ },
1113
+ {
1114
+ name: "outputSetWithOptional",
1115
+ type: "OutputSet",
1116
+ isVirtual: true,
1117
+ isMany: true,
1118
+ isReference: true
1119
+ },
1120
+ {
1121
+ name: "outputSetWithWhileExecuting",
1122
+ type: "OutputSet",
1123
+ isVirtual: true,
1124
+ isMany: true,
1125
+ isReference: true
1126
+ }
1127
+ ]
1128
+ },
1129
+ {
1130
+ name: "InputSet",
1131
+ superClass: [
1132
+ "BaseElement"
1133
+ ],
1134
+ properties: [
1135
+ {
1136
+ name: "name",
1137
+ isAttr: true,
1138
+ type: "String"
1139
+ },
1140
+ {
1141
+ name: "dataInputRefs",
1142
+ type: "DataInput",
1143
+ isMany: true,
1144
+ isReference: true
1145
+ },
1146
+ {
1147
+ name: "optionalInputRefs",
1148
+ type: "DataInput",
1149
+ isMany: true,
1150
+ isReference: true
1151
+ },
1152
+ {
1153
+ name: "whileExecutingInputRefs",
1154
+ type: "DataInput",
1155
+ isMany: true,
1156
+ isReference: true
1157
+ },
1158
+ {
1159
+ name: "outputSetRefs",
1160
+ type: "OutputSet",
1161
+ isMany: true,
1162
+ isReference: true
1163
+ }
1164
+ ]
1165
+ },
1166
+ {
1167
+ name: "OutputSet",
1168
+ superClass: [
1169
+ "BaseElement"
1170
+ ],
1171
+ properties: [
1172
+ {
1173
+ name: "dataOutputRefs",
1174
+ type: "DataOutput",
1175
+ isMany: true,
1176
+ isReference: true
1177
+ },
1178
+ {
1179
+ name: "name",
1180
+ isAttr: true,
1181
+ type: "String"
1182
+ },
1183
+ {
1184
+ name: "inputSetRefs",
1185
+ type: "InputSet",
1186
+ isMany: true,
1187
+ isReference: true
1188
+ },
1189
+ {
1190
+ name: "optionalOutputRefs",
1191
+ type: "DataOutput",
1192
+ isMany: true,
1193
+ isReference: true
1194
+ },
1195
+ {
1196
+ name: "whileExecutingOutputRefs",
1197
+ type: "DataOutput",
1198
+ isMany: true,
1199
+ isReference: true
1200
+ }
1201
+ ]
1202
+ },
1203
+ {
1204
+ name: "Property",
1205
+ superClass: [
1206
+ "ItemAwareElement"
1207
+ ],
1208
+ properties: [
1209
+ {
1210
+ name: "name",
1211
+ isAttr: true,
1212
+ type: "String"
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ name: "DataInputAssociation",
1218
+ superClass: [
1219
+ "DataAssociation"
1220
+ ]
1221
+ },
1222
+ {
1223
+ name: "DataOutputAssociation",
1224
+ superClass: [
1225
+ "DataAssociation"
1226
+ ]
1227
+ },
1228
+ {
1229
+ name: "InputOutputSpecification",
1230
+ superClass: [
1231
+ "BaseElement"
1232
+ ],
1233
+ properties: [
1234
+ {
1235
+ name: "dataInputs",
1236
+ type: "DataInput",
1237
+ isMany: true
1238
+ },
1239
+ {
1240
+ name: "dataOutputs",
1241
+ type: "DataOutput",
1242
+ isMany: true
1243
+ },
1244
+ {
1245
+ name: "inputSets",
1246
+ type: "InputSet",
1247
+ isMany: true
1248
+ },
1249
+ {
1250
+ name: "outputSets",
1251
+ type: "OutputSet",
1252
+ isMany: true
1253
+ }
1254
+ ]
1255
+ },
1256
+ {
1257
+ name: "DataObject",
1258
+ superClass: [
1259
+ "FlowElement",
1260
+ "ItemAwareElement"
1261
+ ],
1262
+ properties: [
1263
+ {
1264
+ name: "isCollection",
1265
+ "default": false,
1266
+ isAttr: true,
1267
+ type: "Boolean"
1268
+ }
1269
+ ]
1270
+ },
1271
+ {
1272
+ name: "InputOutputBinding",
1273
+ properties: [
1274
+ {
1275
+ name: "inputDataRef",
1276
+ type: "InputSet",
1277
+ isAttr: true,
1278
+ isReference: true
1279
+ },
1280
+ {
1281
+ name: "outputDataRef",
1282
+ type: "OutputSet",
1283
+ isAttr: true,
1284
+ isReference: true
1285
+ },
1286
+ {
1287
+ name: "operationRef",
1288
+ type: "Operation",
1289
+ isAttr: true,
1290
+ isReference: true
1291
+ }
1292
+ ]
1293
+ },
1294
+ {
1295
+ name: "Assignment",
1296
+ superClass: [
1297
+ "BaseElement"
1298
+ ],
1299
+ properties: [
1300
+ {
1301
+ name: "from",
1302
+ type: "Expression",
1303
+ xml: {
1304
+ serialize: "xsi:type"
1305
+ }
1306
+ },
1307
+ {
1308
+ name: "to",
1309
+ type: "Expression",
1310
+ xml: {
1311
+ serialize: "xsi:type"
1312
+ }
1313
+ }
1314
+ ]
1315
+ },
1316
+ {
1317
+ name: "DataStore",
1318
+ superClass: [
1319
+ "RootElement",
1320
+ "ItemAwareElement"
1321
+ ],
1322
+ properties: [
1323
+ {
1324
+ name: "name",
1325
+ isAttr: true,
1326
+ type: "String"
1327
+ },
1328
+ {
1329
+ name: "capacity",
1330
+ isAttr: true,
1331
+ type: "Integer"
1332
+ },
1333
+ {
1334
+ name: "isUnlimited",
1335
+ "default": true,
1336
+ isAttr: true,
1337
+ type: "Boolean"
1338
+ }
1339
+ ]
1340
+ },
1341
+ {
1342
+ name: "DataStoreReference",
1343
+ superClass: [
1344
+ "ItemAwareElement",
1345
+ "FlowElement"
1346
+ ],
1347
+ properties: [
1348
+ {
1349
+ name: "dataStoreRef",
1350
+ type: "DataStore",
1351
+ isAttr: true,
1352
+ isReference: true
1353
+ }
1354
+ ]
1355
+ },
1356
+ {
1357
+ name: "DataObjectReference",
1358
+ superClass: [
1359
+ "ItemAwareElement",
1360
+ "FlowElement"
1361
+ ],
1362
+ properties: [
1363
+ {
1364
+ name: "dataObjectRef",
1365
+ type: "DataObject",
1366
+ isAttr: true,
1367
+ isReference: true
1368
+ }
1369
+ ]
1370
+ },
1371
+ {
1372
+ name: "ConversationLink",
1373
+ superClass: [
1374
+ "BaseElement"
1375
+ ],
1376
+ properties: [
1377
+ {
1378
+ name: "sourceRef",
1379
+ type: "InteractionNode",
1380
+ isAttr: true,
1381
+ isReference: true
1382
+ },
1383
+ {
1384
+ name: "targetRef",
1385
+ type: "InteractionNode",
1386
+ isAttr: true,
1387
+ isReference: true
1388
+ },
1389
+ {
1390
+ name: "name",
1391
+ isAttr: true,
1392
+ type: "String"
1393
+ }
1394
+ ]
1395
+ },
1396
+ {
1397
+ name: "ConversationAssociation",
1398
+ superClass: [
1399
+ "BaseElement"
1400
+ ],
1401
+ properties: [
1402
+ {
1403
+ name: "innerConversationNodeRef",
1404
+ type: "ConversationNode",
1405
+ isAttr: true,
1406
+ isReference: true
1407
+ },
1408
+ {
1409
+ name: "outerConversationNodeRef",
1410
+ type: "ConversationNode",
1411
+ isAttr: true,
1412
+ isReference: true
1413
+ }
1414
+ ]
1415
+ },
1416
+ {
1417
+ name: "CallConversation",
1418
+ superClass: [
1419
+ "ConversationNode"
1420
+ ],
1421
+ properties: [
1422
+ {
1423
+ name: "calledCollaborationRef",
1424
+ type: "Collaboration",
1425
+ isAttr: true,
1426
+ isReference: true
1427
+ },
1428
+ {
1429
+ name: "participantAssociations",
1430
+ type: "ParticipantAssociation",
1431
+ isMany: true
1432
+ }
1433
+ ]
1434
+ },
1435
+ {
1436
+ name: "Conversation",
1437
+ superClass: [
1438
+ "ConversationNode"
1439
+ ]
1440
+ },
1441
+ {
1442
+ name: "SubConversation",
1443
+ superClass: [
1444
+ "ConversationNode"
1445
+ ],
1446
+ properties: [
1447
+ {
1448
+ name: "conversationNodes",
1449
+ type: "ConversationNode",
1450
+ isMany: true
1451
+ }
1452
+ ]
1453
+ },
1454
+ {
1455
+ name: "ConversationNode",
1456
+ isAbstract: true,
1457
+ superClass: [
1458
+ "InteractionNode",
1459
+ "BaseElement"
1460
+ ],
1461
+ properties: [
1462
+ {
1463
+ name: "name",
1464
+ isAttr: true,
1465
+ type: "String"
1466
+ },
1467
+ {
1468
+ name: "participantRef",
1469
+ type: "Participant",
1470
+ isMany: true,
1471
+ isReference: true
1472
+ },
1473
+ {
1474
+ name: "messageFlowRefs",
1475
+ type: "MessageFlow",
1476
+ isMany: true,
1477
+ isReference: true
1478
+ },
1479
+ {
1480
+ name: "correlationKeys",
1481
+ type: "CorrelationKey",
1482
+ isMany: true
1483
+ }
1484
+ ]
1485
+ },
1486
+ {
1487
+ name: "GlobalConversation",
1488
+ superClass: [
1489
+ "Collaboration"
1490
+ ]
1491
+ },
1492
+ {
1493
+ name: "PartnerEntity",
1494
+ superClass: [
1495
+ "RootElement"
1496
+ ],
1497
+ properties: [
1498
+ {
1499
+ name: "name",
1500
+ isAttr: true,
1501
+ type: "String"
1502
+ },
1503
+ {
1504
+ name: "participantRef",
1505
+ type: "Participant",
1506
+ isMany: true,
1507
+ isReference: true
1508
+ }
1509
+ ]
1510
+ },
1511
+ {
1512
+ name: "PartnerRole",
1513
+ superClass: [
1514
+ "RootElement"
1515
+ ],
1516
+ properties: [
1517
+ {
1518
+ name: "name",
1519
+ isAttr: true,
1520
+ type: "String"
1521
+ },
1522
+ {
1523
+ name: "participantRef",
1524
+ type: "Participant",
1525
+ isMany: true,
1526
+ isReference: true
1527
+ }
1528
+ ]
1529
+ },
1530
+ {
1531
+ name: "CorrelationProperty",
1532
+ superClass: [
1533
+ "RootElement"
1534
+ ],
1535
+ properties: [
1536
+ {
1537
+ name: "correlationPropertyRetrievalExpression",
1538
+ type: "CorrelationPropertyRetrievalExpression",
1539
+ isMany: true
1540
+ },
1541
+ {
1542
+ name: "name",
1543
+ isAttr: true,
1544
+ type: "String"
1545
+ },
1546
+ {
1547
+ name: "type",
1548
+ type: "ItemDefinition",
1549
+ isAttr: true,
1550
+ isReference: true
1551
+ }
1552
+ ]
1553
+ },
1554
+ {
1555
+ name: "Error",
1556
+ superClass: [
1557
+ "RootElement"
1558
+ ],
1559
+ properties: [
1560
+ {
1561
+ name: "structureRef",
1562
+ type: "ItemDefinition",
1563
+ isAttr: true,
1564
+ isReference: true
1565
+ },
1566
+ {
1567
+ name: "name",
1568
+ isAttr: true,
1569
+ type: "String"
1570
+ },
1571
+ {
1572
+ name: "errorCode",
1573
+ isAttr: true,
1574
+ type: "String"
1575
+ }
1576
+ ]
1577
+ },
1578
+ {
1579
+ name: "CorrelationKey",
1580
+ superClass: [
1581
+ "BaseElement"
1582
+ ],
1583
+ properties: [
1584
+ {
1585
+ name: "correlationPropertyRef",
1586
+ type: "CorrelationProperty",
1587
+ isMany: true,
1588
+ isReference: true
1589
+ },
1590
+ {
1591
+ name: "name",
1592
+ isAttr: true,
1593
+ type: "String"
1594
+ }
1595
+ ]
1596
+ },
1597
+ {
1598
+ name: "Expression",
1599
+ superClass: [
1600
+ "BaseElement"
1601
+ ],
1602
+ isAbstract: false,
1603
+ properties: [
1604
+ {
1605
+ name: "body",
1606
+ type: "String",
1607
+ isBody: true
1608
+ }
1609
+ ]
1610
+ },
1611
+ {
1612
+ name: "FormalExpression",
1613
+ superClass: [
1614
+ "Expression"
1615
+ ],
1616
+ properties: [
1617
+ {
1618
+ name: "language",
1619
+ isAttr: true,
1620
+ type: "String"
1621
+ },
1622
+ {
1623
+ name: "evaluatesToTypeRef",
1624
+ type: "ItemDefinition",
1625
+ isAttr: true,
1626
+ isReference: true
1627
+ }
1628
+ ]
1629
+ },
1630
+ {
1631
+ name: "Message",
1632
+ superClass: [
1633
+ "RootElement"
1634
+ ],
1635
+ properties: [
1636
+ {
1637
+ name: "name",
1638
+ isAttr: true,
1639
+ type: "String"
1640
+ },
1641
+ {
1642
+ name: "itemRef",
1643
+ type: "ItemDefinition",
1644
+ isAttr: true,
1645
+ isReference: true
1646
+ }
1647
+ ]
1648
+ },
1649
+ {
1650
+ name: "ItemDefinition",
1651
+ superClass: [
1652
+ "RootElement"
1653
+ ],
1654
+ properties: [
1655
+ {
1656
+ name: "itemKind",
1657
+ type: "ItemKind",
1658
+ isAttr: true
1659
+ },
1660
+ {
1661
+ name: "structureRef",
1662
+ type: "String",
1663
+ isAttr: true
1664
+ },
1665
+ {
1666
+ name: "isCollection",
1667
+ "default": false,
1668
+ isAttr: true,
1669
+ type: "Boolean"
1670
+ },
1671
+ {
1672
+ name: "import",
1673
+ type: "Import",
1674
+ isAttr: true,
1675
+ isReference: true
1676
+ }
1677
+ ]
1678
+ },
1679
+ {
1680
+ name: "FlowElement",
1681
+ isAbstract: true,
1682
+ superClass: [
1683
+ "BaseElement"
1684
+ ],
1685
+ properties: [
1686
+ {
1687
+ name: "name",
1688
+ isAttr: true,
1689
+ type: "String"
1690
+ },
1691
+ {
1692
+ name: "auditing",
1693
+ type: "Auditing"
1694
+ },
1695
+ {
1696
+ name: "monitoring",
1697
+ type: "Monitoring"
1698
+ },
1699
+ {
1700
+ name: "categoryValueRef",
1701
+ type: "CategoryValue",
1702
+ isMany: true,
1703
+ isReference: true
1704
+ }
1705
+ ]
1706
+ },
1707
+ {
1708
+ name: "SequenceFlow",
1709
+ superClass: [
1710
+ "FlowElement"
1711
+ ],
1712
+ properties: [
1713
+ {
1714
+ name: "isImmediate",
1715
+ isAttr: true,
1716
+ type: "Boolean"
1717
+ },
1718
+ {
1719
+ name: "conditionExpression",
1720
+ type: "Expression",
1721
+ xml: {
1722
+ serialize: "xsi:type"
1723
+ }
1724
+ },
1725
+ {
1726
+ name: "sourceRef",
1727
+ type: "FlowNode",
1728
+ isAttr: true,
1729
+ isReference: true
1730
+ },
1731
+ {
1732
+ name: "targetRef",
1733
+ type: "FlowNode",
1734
+ isAttr: true,
1735
+ isReference: true
1736
+ }
1737
+ ]
1738
+ },
1739
+ {
1740
+ name: "FlowElementsContainer",
1741
+ isAbstract: true,
1742
+ superClass: [
1743
+ "BaseElement"
1744
+ ],
1745
+ properties: [
1746
+ {
1747
+ name: "laneSets",
1748
+ type: "LaneSet",
1749
+ isMany: true
1750
+ },
1751
+ {
1752
+ name: "flowElements",
1753
+ type: "FlowElement",
1754
+ isMany: true
1755
+ }
1756
+ ]
1757
+ },
1758
+ {
1759
+ name: "CallableElement",
1760
+ isAbstract: true,
1761
+ superClass: [
1762
+ "RootElement"
1763
+ ],
1764
+ properties: [
1765
+ {
1766
+ name: "name",
1767
+ isAttr: true,
1768
+ type: "String"
1769
+ },
1770
+ {
1771
+ name: "ioSpecification",
1772
+ type: "InputOutputSpecification",
1773
+ xml: {
1774
+ serialize: "property"
1775
+ }
1776
+ },
1777
+ {
1778
+ name: "supportedInterfaceRef",
1779
+ type: "Interface",
1780
+ isMany: true,
1781
+ isReference: true
1782
+ },
1783
+ {
1784
+ name: "ioBinding",
1785
+ type: "InputOutputBinding",
1786
+ isMany: true,
1787
+ xml: {
1788
+ serialize: "property"
1789
+ }
1790
+ }
1791
+ ]
1792
+ },
1793
+ {
1794
+ name: "FlowNode",
1795
+ isAbstract: true,
1796
+ superClass: [
1797
+ "FlowElement"
1798
+ ],
1799
+ properties: [
1800
+ {
1801
+ name: "incoming",
1802
+ type: "SequenceFlow",
1803
+ isMany: true,
1804
+ isReference: true
1805
+ },
1806
+ {
1807
+ name: "outgoing",
1808
+ type: "SequenceFlow",
1809
+ isMany: true,
1810
+ isReference: true
1811
+ },
1812
+ {
1813
+ name: "lanes",
1814
+ type: "Lane",
1815
+ isVirtual: true,
1816
+ isMany: true,
1817
+ isReference: true
1818
+ }
1819
+ ]
1820
+ },
1821
+ {
1822
+ name: "CorrelationPropertyRetrievalExpression",
1823
+ superClass: [
1824
+ "BaseElement"
1825
+ ],
1826
+ properties: [
1827
+ {
1828
+ name: "messagePath",
1829
+ type: "FormalExpression"
1830
+ },
1831
+ {
1832
+ name: "messageRef",
1833
+ type: "Message",
1834
+ isAttr: true,
1835
+ isReference: true
1836
+ }
1837
+ ]
1838
+ },
1839
+ {
1840
+ name: "CorrelationPropertyBinding",
1841
+ superClass: [
1842
+ "BaseElement"
1843
+ ],
1844
+ properties: [
1845
+ {
1846
+ name: "dataPath",
1847
+ type: "FormalExpression"
1848
+ },
1849
+ {
1850
+ name: "correlationPropertyRef",
1851
+ type: "CorrelationProperty",
1852
+ isAttr: true,
1853
+ isReference: true
1854
+ }
1855
+ ]
1856
+ },
1857
+ {
1858
+ name: "Resource",
1859
+ superClass: [
1860
+ "RootElement"
1861
+ ],
1862
+ properties: [
1863
+ {
1864
+ name: "name",
1865
+ isAttr: true,
1866
+ type: "String"
1867
+ },
1868
+ {
1869
+ name: "resourceParameters",
1870
+ type: "ResourceParameter",
1871
+ isMany: true
1872
+ }
1873
+ ]
1874
+ },
1875
+ {
1876
+ name: "ResourceParameter",
1877
+ superClass: [
1878
+ "BaseElement"
1879
+ ],
1880
+ properties: [
1881
+ {
1882
+ name: "name",
1883
+ isAttr: true,
1884
+ type: "String"
1885
+ },
1886
+ {
1887
+ name: "isRequired",
1888
+ isAttr: true,
1889
+ type: "Boolean"
1890
+ },
1891
+ {
1892
+ name: "type",
1893
+ type: "ItemDefinition",
1894
+ isAttr: true,
1895
+ isReference: true
1896
+ }
1897
+ ]
1898
+ },
1899
+ {
1900
+ name: "CorrelationSubscription",
1901
+ superClass: [
1902
+ "BaseElement"
1903
+ ],
1904
+ properties: [
1905
+ {
1906
+ name: "correlationKeyRef",
1907
+ type: "CorrelationKey",
1908
+ isAttr: true,
1909
+ isReference: true
1910
+ },
1911
+ {
1912
+ name: "correlationPropertyBinding",
1913
+ type: "CorrelationPropertyBinding",
1914
+ isMany: true
1915
+ }
1916
+ ]
1917
+ },
1918
+ {
1919
+ name: "MessageFlow",
1920
+ superClass: [
1921
+ "BaseElement"
1922
+ ],
1923
+ properties: [
1924
+ {
1925
+ name: "name",
1926
+ isAttr: true,
1927
+ type: "String"
1928
+ },
1929
+ {
1930
+ name: "sourceRef",
1931
+ type: "InteractionNode",
1932
+ isAttr: true,
1933
+ isReference: true
1934
+ },
1935
+ {
1936
+ name: "targetRef",
1937
+ type: "InteractionNode",
1938
+ isAttr: true,
1939
+ isReference: true
1940
+ },
1941
+ {
1942
+ name: "messageRef",
1943
+ type: "Message",
1944
+ isAttr: true,
1945
+ isReference: true
1946
+ }
1947
+ ]
1948
+ },
1949
+ {
1950
+ name: "MessageFlowAssociation",
1951
+ superClass: [
1952
+ "BaseElement"
1953
+ ],
1954
+ properties: [
1955
+ {
1956
+ name: "innerMessageFlowRef",
1957
+ type: "MessageFlow",
1958
+ isAttr: true,
1959
+ isReference: true
1960
+ },
1961
+ {
1962
+ name: "outerMessageFlowRef",
1963
+ type: "MessageFlow",
1964
+ isAttr: true,
1965
+ isReference: true
1966
+ }
1967
+ ]
1968
+ },
1969
+ {
1970
+ name: "InteractionNode",
1971
+ isAbstract: true,
1972
+ properties: [
1973
+ {
1974
+ name: "incomingConversationLinks",
1975
+ type: "ConversationLink",
1976
+ isVirtual: true,
1977
+ isMany: true,
1978
+ isReference: true
1979
+ },
1980
+ {
1981
+ name: "outgoingConversationLinks",
1982
+ type: "ConversationLink",
1983
+ isVirtual: true,
1984
+ isMany: true,
1985
+ isReference: true
1986
+ }
1987
+ ]
1988
+ },
1989
+ {
1990
+ name: "Participant",
1991
+ superClass: [
1992
+ "InteractionNode",
1993
+ "BaseElement"
1994
+ ],
1995
+ properties: [
1996
+ {
1997
+ name: "name",
1998
+ isAttr: true,
1999
+ type: "String"
2000
+ },
2001
+ {
2002
+ name: "interfaceRef",
2003
+ type: "Interface",
2004
+ isMany: true,
2005
+ isReference: true
2006
+ },
2007
+ {
2008
+ name: "participantMultiplicity",
2009
+ type: "ParticipantMultiplicity"
2010
+ },
2011
+ {
2012
+ name: "endPointRefs",
2013
+ type: "EndPoint",
2014
+ isMany: true,
2015
+ isReference: true
2016
+ },
2017
+ {
2018
+ name: "processRef",
2019
+ type: "Process",
2020
+ isAttr: true,
2021
+ isReference: true
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ name: "ParticipantAssociation",
2027
+ superClass: [
2028
+ "BaseElement"
2029
+ ],
2030
+ properties: [
2031
+ {
2032
+ name: "innerParticipantRef",
2033
+ type: "Participant",
2034
+ isAttr: true,
2035
+ isReference: true
2036
+ },
2037
+ {
2038
+ name: "outerParticipantRef",
2039
+ type: "Participant",
2040
+ isAttr: true,
2041
+ isReference: true
2042
+ }
2043
+ ]
2044
+ },
2045
+ {
2046
+ name: "ParticipantMultiplicity",
2047
+ properties: [
2048
+ {
2049
+ name: "minimum",
2050
+ "default": 0,
2051
+ isAttr: true,
2052
+ type: "Integer"
2053
+ },
2054
+ {
2055
+ name: "maximum",
2056
+ "default": 1,
2057
+ isAttr: true,
2058
+ type: "Integer"
2059
+ }
2060
+ ],
2061
+ superClass: [
2062
+ "BaseElement"
2063
+ ]
2064
+ },
2065
+ {
2066
+ name: "Collaboration",
2067
+ superClass: [
2068
+ "RootElement"
2069
+ ],
2070
+ properties: [
2071
+ {
2072
+ name: "name",
2073
+ isAttr: true,
2074
+ type: "String"
2075
+ },
2076
+ {
2077
+ name: "isClosed",
2078
+ isAttr: true,
2079
+ type: "Boolean"
2080
+ },
2081
+ {
2082
+ name: "participants",
2083
+ type: "Participant",
2084
+ isMany: true
2085
+ },
2086
+ {
2087
+ name: "messageFlows",
2088
+ type: "MessageFlow",
2089
+ isMany: true
2090
+ },
2091
+ {
2092
+ name: "artifacts",
2093
+ type: "Artifact",
2094
+ isMany: true
2095
+ },
2096
+ {
2097
+ name: "conversations",
2098
+ type: "ConversationNode",
2099
+ isMany: true
2100
+ },
2101
+ {
2102
+ name: "conversationAssociations",
2103
+ type: "ConversationAssociation"
2104
+ },
2105
+ {
2106
+ name: "participantAssociations",
2107
+ type: "ParticipantAssociation",
2108
+ isMany: true
2109
+ },
2110
+ {
2111
+ name: "messageFlowAssociations",
2112
+ type: "MessageFlowAssociation",
2113
+ isMany: true
2114
+ },
2115
+ {
2116
+ name: "correlationKeys",
2117
+ type: "CorrelationKey",
2118
+ isMany: true
2119
+ },
2120
+ {
2121
+ name: "choreographyRef",
2122
+ type: "Choreography",
2123
+ isMany: true,
2124
+ isReference: true
2125
+ },
2126
+ {
2127
+ name: "conversationLinks",
2128
+ type: "ConversationLink",
2129
+ isMany: true
2130
+ }
2131
+ ]
2132
+ },
2133
+ {
2134
+ name: "ChoreographyActivity",
2135
+ isAbstract: true,
2136
+ superClass: [
2137
+ "FlowNode"
2138
+ ],
2139
+ properties: [
2140
+ {
2141
+ name: "participantRef",
2142
+ type: "Participant",
2143
+ isMany: true,
2144
+ isReference: true
2145
+ },
2146
+ {
2147
+ name: "initiatingParticipantRef",
2148
+ type: "Participant",
2149
+ isAttr: true,
2150
+ isReference: true
2151
+ },
2152
+ {
2153
+ name: "correlationKeys",
2154
+ type: "CorrelationKey",
2155
+ isMany: true
2156
+ },
2157
+ {
2158
+ name: "loopType",
2159
+ type: "ChoreographyLoopType",
2160
+ "default": "None",
2161
+ isAttr: true
2162
+ }
2163
+ ]
2164
+ },
2165
+ {
2166
+ name: "CallChoreography",
2167
+ superClass: [
2168
+ "ChoreographyActivity"
2169
+ ],
2170
+ properties: [
2171
+ {
2172
+ name: "calledChoreographyRef",
2173
+ type: "Choreography",
2174
+ isAttr: true,
2175
+ isReference: true
2176
+ },
2177
+ {
2178
+ name: "participantAssociations",
2179
+ type: "ParticipantAssociation",
2180
+ isMany: true
2181
+ }
2182
+ ]
2183
+ },
2184
+ {
2185
+ name: "SubChoreography",
2186
+ superClass: [
2187
+ "ChoreographyActivity",
2188
+ "FlowElementsContainer"
2189
+ ],
2190
+ properties: [
2191
+ {
2192
+ name: "artifacts",
2193
+ type: "Artifact",
2194
+ isMany: true
2195
+ }
2196
+ ]
2197
+ },
2198
+ {
2199
+ name: "ChoreographyTask",
2200
+ superClass: [
2201
+ "ChoreographyActivity"
2202
+ ],
2203
+ properties: [
2204
+ {
2205
+ name: "messageFlowRef",
2206
+ type: "MessageFlow",
2207
+ isMany: true,
2208
+ isReference: true
2209
+ }
2210
+ ]
2211
+ },
2212
+ {
2213
+ name: "Choreography",
2214
+ superClass: [
2215
+ "Collaboration",
2216
+ "FlowElementsContainer"
2217
+ ]
2218
+ },
2219
+ {
2220
+ name: "GlobalChoreographyTask",
2221
+ superClass: [
2222
+ "Choreography"
2223
+ ],
2224
+ properties: [
2225
+ {
2226
+ name: "initiatingParticipantRef",
2227
+ type: "Participant",
2228
+ isAttr: true,
2229
+ isReference: true
2230
+ }
2231
+ ]
2232
+ },
2233
+ {
2234
+ name: "TextAnnotation",
2235
+ superClass: [
2236
+ "Artifact"
2237
+ ],
2238
+ properties: [
2239
+ {
2240
+ name: "text",
2241
+ type: "String"
2242
+ },
2243
+ {
2244
+ name: "textFormat",
2245
+ "default": "text/plain",
2246
+ isAttr: true,
2247
+ type: "String"
2248
+ }
2249
+ ]
2250
+ },
2251
+ {
2252
+ name: "Group",
2253
+ superClass: [
2254
+ "Artifact"
2255
+ ],
2256
+ properties: [
2257
+ {
2258
+ name: "categoryValueRef",
2259
+ type: "CategoryValue",
2260
+ isAttr: true,
2261
+ isReference: true
2262
+ }
2263
+ ]
2264
+ },
2265
+ {
2266
+ name: "Association",
2267
+ superClass: [
2268
+ "Artifact"
2269
+ ],
2270
+ properties: [
2271
+ {
2272
+ name: "associationDirection",
2273
+ type: "AssociationDirection",
2274
+ isAttr: true
2275
+ },
2276
+ {
2277
+ name: "sourceRef",
2278
+ type: "BaseElement",
2279
+ isAttr: true,
2280
+ isReference: true
2281
+ },
2282
+ {
2283
+ name: "targetRef",
2284
+ type: "BaseElement",
2285
+ isAttr: true,
2286
+ isReference: true
2287
+ }
2288
+ ]
2289
+ },
2290
+ {
2291
+ name: "Category",
2292
+ superClass: [
2293
+ "RootElement"
2294
+ ],
2295
+ properties: [
2296
+ {
2297
+ name: "categoryValue",
2298
+ type: "CategoryValue",
2299
+ isMany: true
2300
+ },
2301
+ {
2302
+ name: "name",
2303
+ isAttr: true,
2304
+ type: "String"
2305
+ }
2306
+ ]
2307
+ },
2308
+ {
2309
+ name: "Artifact",
2310
+ isAbstract: true,
2311
+ superClass: [
2312
+ "BaseElement"
2313
+ ]
2314
+ },
2315
+ {
2316
+ name: "CategoryValue",
2317
+ superClass: [
2318
+ "BaseElement"
2319
+ ],
2320
+ properties: [
2321
+ {
2322
+ name: "categorizedFlowElements",
2323
+ type: "FlowElement",
2324
+ isVirtual: true,
2325
+ isMany: true,
2326
+ isReference: true
2327
+ },
2328
+ {
2329
+ name: "value",
2330
+ isAttr: true,
2331
+ type: "String"
2332
+ }
2333
+ ]
2334
+ },
2335
+ {
2336
+ name: "Activity",
2337
+ isAbstract: true,
2338
+ superClass: [
2339
+ "FlowNode"
2340
+ ],
2341
+ properties: [
2342
+ {
2343
+ name: "isForCompensation",
2344
+ "default": false,
2345
+ isAttr: true,
2346
+ type: "Boolean"
2347
+ },
2348
+ {
2349
+ name: "default",
2350
+ type: "SequenceFlow",
2351
+ isAttr: true,
2352
+ isReference: true
2353
+ },
2354
+ {
2355
+ name: "ioSpecification",
2356
+ type: "InputOutputSpecification",
2357
+ xml: {
2358
+ serialize: "property"
2359
+ }
2360
+ },
2361
+ {
2362
+ name: "boundaryEventRefs",
2363
+ type: "BoundaryEvent",
2364
+ isMany: true,
2365
+ isReference: true
2366
+ },
2367
+ {
2368
+ name: "properties",
2369
+ type: "Property",
2370
+ isMany: true
2371
+ },
2372
+ {
2373
+ name: "dataInputAssociations",
2374
+ type: "DataInputAssociation",
2375
+ isMany: true
2376
+ },
2377
+ {
2378
+ name: "dataOutputAssociations",
2379
+ type: "DataOutputAssociation",
2380
+ isMany: true
2381
+ },
2382
+ {
2383
+ name: "startQuantity",
2384
+ "default": 1,
2385
+ isAttr: true,
2386
+ type: "Integer"
2387
+ },
2388
+ {
2389
+ name: "resources",
2390
+ type: "ResourceRole",
2391
+ isMany: true
2392
+ },
2393
+ {
2394
+ name: "completionQuantity",
2395
+ "default": 1,
2396
+ isAttr: true,
2397
+ type: "Integer"
2398
+ },
2399
+ {
2400
+ name: "loopCharacteristics",
2401
+ type: "LoopCharacteristics"
2402
+ }
2403
+ ]
2404
+ },
2405
+ {
2406
+ name: "ServiceTask",
2407
+ superClass: [
2408
+ "Task"
2409
+ ],
2410
+ properties: [
2411
+ {
2412
+ name: "implementation",
2413
+ isAttr: true,
2414
+ type: "String"
2415
+ },
2416
+ {
2417
+ name: "operationRef",
2418
+ type: "Operation",
2419
+ isAttr: true,
2420
+ isReference: true
2421
+ }
2422
+ ]
2423
+ },
2424
+ {
2425
+ name: "SubProcess",
2426
+ superClass: [
2427
+ "Activity",
2428
+ "FlowElementsContainer",
2429
+ "InteractionNode"
2430
+ ],
2431
+ properties: [
2432
+ {
2433
+ name: "triggeredByEvent",
2434
+ "default": false,
2435
+ isAttr: true,
2436
+ type: "Boolean"
2437
+ },
2438
+ {
2439
+ name: "artifacts",
2440
+ type: "Artifact",
2441
+ isMany: true
2442
+ }
2443
+ ]
2444
+ },
2445
+ {
2446
+ name: "LoopCharacteristics",
2447
+ isAbstract: true,
2448
+ superClass: [
2449
+ "BaseElement"
2450
+ ]
2451
+ },
2452
+ {
2453
+ name: "MultiInstanceLoopCharacteristics",
2454
+ superClass: [
2455
+ "LoopCharacteristics"
2456
+ ],
2457
+ properties: [
2458
+ {
2459
+ name: "isSequential",
2460
+ "default": false,
2461
+ isAttr: true,
2462
+ type: "Boolean"
2463
+ },
2464
+ {
2465
+ name: "behavior",
2466
+ type: "MultiInstanceBehavior",
2467
+ "default": "All",
2468
+ isAttr: true
2469
+ },
2470
+ {
2471
+ name: "loopCardinality",
2472
+ type: "Expression",
2473
+ xml: {
2474
+ serialize: "xsi:type"
2475
+ }
2476
+ },
2477
+ {
2478
+ name: "loopDataInputRef",
2479
+ type: "ItemAwareElement",
2480
+ isReference: true
2481
+ },
2482
+ {
2483
+ name: "loopDataOutputRef",
2484
+ type: "ItemAwareElement",
2485
+ isReference: true
2486
+ },
2487
+ {
2488
+ name: "inputDataItem",
2489
+ type: "DataInput",
2490
+ xml: {
2491
+ serialize: "property"
2492
+ }
2493
+ },
2494
+ {
2495
+ name: "outputDataItem",
2496
+ type: "DataOutput",
2497
+ xml: {
2498
+ serialize: "property"
2499
+ }
2500
+ },
2501
+ {
2502
+ name: "complexBehaviorDefinition",
2503
+ type: "ComplexBehaviorDefinition",
2504
+ isMany: true
2505
+ },
2506
+ {
2507
+ name: "completionCondition",
2508
+ type: "Expression",
2509
+ xml: {
2510
+ serialize: "xsi:type"
2511
+ }
2512
+ },
2513
+ {
2514
+ name: "oneBehaviorEventRef",
2515
+ type: "EventDefinition",
2516
+ isAttr: true,
2517
+ isReference: true
2518
+ },
2519
+ {
2520
+ name: "noneBehaviorEventRef",
2521
+ type: "EventDefinition",
2522
+ isAttr: true,
2523
+ isReference: true
2524
+ }
2525
+ ]
2526
+ },
2527
+ {
2528
+ name: "StandardLoopCharacteristics",
2529
+ superClass: [
2530
+ "LoopCharacteristics"
2531
+ ],
2532
+ properties: [
2533
+ {
2534
+ name: "testBefore",
2535
+ "default": false,
2536
+ isAttr: true,
2537
+ type: "Boolean"
2538
+ },
2539
+ {
2540
+ name: "loopCondition",
2541
+ type: "Expression",
2542
+ xml: {
2543
+ serialize: "xsi:type"
2544
+ }
2545
+ },
2546
+ {
2547
+ name: "loopMaximum",
2548
+ type: "Integer",
2549
+ isAttr: true
2550
+ }
2551
+ ]
2552
+ },
2553
+ {
2554
+ name: "CallActivity",
2555
+ superClass: [
2556
+ "Activity"
2557
+ ],
2558
+ properties: [
2559
+ {
2560
+ name: "calledElement",
2561
+ type: "String",
2562
+ isAttr: true
2563
+ }
2564
+ ]
2565
+ },
2566
+ {
2567
+ name: "Task",
2568
+ superClass: [
2569
+ "Activity",
2570
+ "InteractionNode"
2571
+ ]
2572
+ },
2573
+ {
2574
+ name: "SendTask",
2575
+ superClass: [
2576
+ "Task"
2577
+ ],
2578
+ properties: [
2579
+ {
2580
+ name: "implementation",
2581
+ isAttr: true,
2582
+ type: "String"
2583
+ },
2584
+ {
2585
+ name: "operationRef",
2586
+ type: "Operation",
2587
+ isAttr: true,
2588
+ isReference: true
2589
+ },
2590
+ {
2591
+ name: "messageRef",
2592
+ type: "Message",
2593
+ isAttr: true,
2594
+ isReference: true
2595
+ }
2596
+ ]
2597
+ },
2598
+ {
2599
+ name: "ReceiveTask",
2600
+ superClass: [
2601
+ "Task"
2602
+ ],
2603
+ properties: [
2604
+ {
2605
+ name: "implementation",
2606
+ isAttr: true,
2607
+ type: "String"
2608
+ },
2609
+ {
2610
+ name: "instantiate",
2611
+ "default": false,
2612
+ isAttr: true,
2613
+ type: "Boolean"
2614
+ },
2615
+ {
2616
+ name: "operationRef",
2617
+ type: "Operation",
2618
+ isAttr: true,
2619
+ isReference: true
2620
+ },
2621
+ {
2622
+ name: "messageRef",
2623
+ type: "Message",
2624
+ isAttr: true,
2625
+ isReference: true
2626
+ }
2627
+ ]
2628
+ },
2629
+ {
2630
+ name: "ScriptTask",
2631
+ superClass: [
2632
+ "Task"
2633
+ ],
2634
+ properties: [
2635
+ {
2636
+ name: "scriptFormat",
2637
+ isAttr: true,
2638
+ type: "String"
2639
+ },
2640
+ {
2641
+ name: "script",
2642
+ type: "String"
2643
+ }
2644
+ ]
2645
+ },
2646
+ {
2647
+ name: "BusinessRuleTask",
2648
+ superClass: [
2649
+ "Task"
2650
+ ],
2651
+ properties: [
2652
+ {
2653
+ name: "implementation",
2654
+ isAttr: true,
2655
+ type: "String"
2656
+ }
2657
+ ]
2658
+ },
2659
+ {
2660
+ name: "AdHocSubProcess",
2661
+ superClass: [
2662
+ "SubProcess"
2663
+ ],
2664
+ properties: [
2665
+ {
2666
+ name: "completionCondition",
2667
+ type: "Expression",
2668
+ xml: {
2669
+ serialize: "xsi:type"
2670
+ }
2671
+ },
2672
+ {
2673
+ name: "ordering",
2674
+ type: "AdHocOrdering",
2675
+ isAttr: true
2676
+ },
2677
+ {
2678
+ name: "cancelRemainingInstances",
2679
+ "default": true,
2680
+ isAttr: true,
2681
+ type: "Boolean"
2682
+ }
2683
+ ]
2684
+ },
2685
+ {
2686
+ name: "Transaction",
2687
+ superClass: [
2688
+ "SubProcess"
2689
+ ],
2690
+ properties: [
2691
+ {
2692
+ name: "protocol",
2693
+ isAttr: true,
2694
+ type: "String"
2695
+ },
2696
+ {
2697
+ name: "method",
2698
+ isAttr: true,
2699
+ type: "String"
2700
+ }
2701
+ ]
2702
+ },
2703
+ {
2704
+ name: "GlobalScriptTask",
2705
+ superClass: [
2706
+ "GlobalTask"
2707
+ ],
2708
+ properties: [
2709
+ {
2710
+ name: "scriptLanguage",
2711
+ isAttr: true,
2712
+ type: "String"
2713
+ },
2714
+ {
2715
+ name: "script",
2716
+ isAttr: true,
2717
+ type: "String"
2718
+ }
2719
+ ]
2720
+ },
2721
+ {
2722
+ name: "GlobalBusinessRuleTask",
2723
+ superClass: [
2724
+ "GlobalTask"
2725
+ ],
2726
+ properties: [
2727
+ {
2728
+ name: "implementation",
2729
+ isAttr: true,
2730
+ type: "String"
2731
+ }
2732
+ ]
2733
+ },
2734
+ {
2735
+ name: "ComplexBehaviorDefinition",
2736
+ superClass: [
2737
+ "BaseElement"
2738
+ ],
2739
+ properties: [
2740
+ {
2741
+ name: "condition",
2742
+ type: "FormalExpression"
2743
+ },
2744
+ {
2745
+ name: "event",
2746
+ type: "ImplicitThrowEvent"
2747
+ }
2748
+ ]
2749
+ },
2750
+ {
2751
+ name: "ResourceRole",
2752
+ superClass: [
2753
+ "BaseElement"
2754
+ ],
2755
+ properties: [
2756
+ {
2757
+ name: "resourceRef",
2758
+ type: "Resource",
2759
+ isReference: true
2760
+ },
2761
+ {
2762
+ name: "resourceParameterBindings",
2763
+ type: "ResourceParameterBinding",
2764
+ isMany: true
2765
+ },
2766
+ {
2767
+ name: "resourceAssignmentExpression",
2768
+ type: "ResourceAssignmentExpression"
2769
+ },
2770
+ {
2771
+ name: "name",
2772
+ isAttr: true,
2773
+ type: "String"
2774
+ }
2775
+ ]
2776
+ },
2777
+ {
2778
+ name: "ResourceParameterBinding",
2779
+ properties: [
2780
+ {
2781
+ name: "expression",
2782
+ type: "Expression",
2783
+ xml: {
2784
+ serialize: "xsi:type"
2785
+ }
2786
+ },
2787
+ {
2788
+ name: "parameterRef",
2789
+ type: "ResourceParameter",
2790
+ isAttr: true,
2791
+ isReference: true
2792
+ }
2793
+ ],
2794
+ superClass: [
2795
+ "BaseElement"
2796
+ ]
2797
+ },
2798
+ {
2799
+ name: "ResourceAssignmentExpression",
2800
+ properties: [
2801
+ {
2802
+ name: "expression",
2803
+ type: "Expression",
2804
+ xml: {
2805
+ serialize: "xsi:type"
2806
+ }
2807
+ }
2808
+ ],
2809
+ superClass: [
2810
+ "BaseElement"
2811
+ ]
2812
+ },
2813
+ {
2814
+ name: "Import",
2815
+ properties: [
2816
+ {
2817
+ name: "importType",
2818
+ isAttr: true,
2819
+ type: "String"
2820
+ },
2821
+ {
2822
+ name: "location",
2823
+ isAttr: true,
2824
+ type: "String"
2825
+ },
2826
+ {
2827
+ name: "namespace",
2828
+ isAttr: true,
2829
+ type: "String"
2830
+ }
2831
+ ]
2832
+ },
2833
+ {
2834
+ name: "Definitions",
2835
+ superClass: [
2836
+ "BaseElement"
2837
+ ],
2838
+ properties: [
2839
+ {
2840
+ name: "name",
2841
+ isAttr: true,
2842
+ type: "String"
2843
+ },
2844
+ {
2845
+ name: "targetNamespace",
2846
+ isAttr: true,
2847
+ type: "String"
2848
+ },
2849
+ {
2850
+ name: "expressionLanguage",
2851
+ "default": "http://www.w3.org/1999/XPath",
2852
+ isAttr: true,
2853
+ type: "String"
2854
+ },
2855
+ {
2856
+ name: "typeLanguage",
2857
+ "default": "http://www.w3.org/2001/XMLSchema",
2858
+ isAttr: true,
2859
+ type: "String"
2860
+ },
2861
+ {
2862
+ name: "imports",
2863
+ type: "Import",
2864
+ isMany: true
2865
+ },
2866
+ {
2867
+ name: "extensions",
2868
+ type: "Extension",
2869
+ isMany: true
2870
+ },
2871
+ {
2872
+ name: "rootElements",
2873
+ type: "RootElement",
2874
+ isMany: true
2875
+ },
2876
+ {
2877
+ name: "diagrams",
2878
+ isMany: true,
2879
+ type: "bpmndi:BPMNDiagram"
2880
+ },
2881
+ {
2882
+ name: "exporter",
2883
+ isAttr: true,
2884
+ type: "String"
2885
+ },
2886
+ {
2887
+ name: "relationships",
2888
+ type: "Relationship",
2889
+ isMany: true
2890
+ },
2891
+ {
2892
+ name: "exporterVersion",
2893
+ isAttr: true,
2894
+ type: "String"
2895
+ }
2896
+ ]
2897
+ }
2898
+ ];
2899
+ var enumerations = [
2900
+ {
2901
+ name: "ProcessType",
2902
+ literalValues: [
2903
+ {
2904
+ name: "None"
2905
+ },
2906
+ {
2907
+ name: "Public"
2908
+ },
2909
+ {
2910
+ name: "Private"
2911
+ }
2912
+ ]
2913
+ },
2914
+ {
2915
+ name: "GatewayDirection",
2916
+ literalValues: [
2917
+ {
2918
+ name: "Unspecified"
2919
+ },
2920
+ {
2921
+ name: "Converging"
2922
+ },
2923
+ {
2924
+ name: "Diverging"
2925
+ },
2926
+ {
2927
+ name: "Mixed"
2928
+ }
2929
+ ]
2930
+ },
2931
+ {
2932
+ name: "EventBasedGatewayType",
2933
+ literalValues: [
2934
+ {
2935
+ name: "Parallel"
2936
+ },
2937
+ {
2938
+ name: "Exclusive"
2939
+ }
2940
+ ]
2941
+ },
2942
+ {
2943
+ name: "RelationshipDirection",
2944
+ literalValues: [
2945
+ {
2946
+ name: "None"
2947
+ },
2948
+ {
2949
+ name: "Forward"
2950
+ },
2951
+ {
2952
+ name: "Backward"
2953
+ },
2954
+ {
2955
+ name: "Both"
2956
+ }
2957
+ ]
2958
+ },
2959
+ {
2960
+ name: "ItemKind",
2961
+ literalValues: [
2962
+ {
2963
+ name: "Physical"
2964
+ },
2965
+ {
2966
+ name: "Information"
2967
+ }
2968
+ ]
2969
+ },
2970
+ {
2971
+ name: "ChoreographyLoopType",
2972
+ literalValues: [
2973
+ {
2974
+ name: "None"
2975
+ },
2976
+ {
2977
+ name: "Standard"
2978
+ },
2979
+ {
2980
+ name: "MultiInstanceSequential"
2981
+ },
2982
+ {
2983
+ name: "MultiInstanceParallel"
2984
+ }
2985
+ ]
2986
+ },
2987
+ {
2988
+ name: "AssociationDirection",
2989
+ literalValues: [
2990
+ {
2991
+ name: "None"
2992
+ },
2993
+ {
2994
+ name: "One"
2995
+ },
2996
+ {
2997
+ name: "Both"
2998
+ }
2999
+ ]
3000
+ },
3001
+ {
3002
+ name: "MultiInstanceBehavior",
3003
+ literalValues: [
3004
+ {
3005
+ name: "None"
3006
+ },
3007
+ {
3008
+ name: "One"
3009
+ },
3010
+ {
3011
+ name: "All"
3012
+ },
3013
+ {
3014
+ name: "Complex"
3015
+ }
3016
+ ]
3017
+ },
3018
+ {
3019
+ name: "AdHocOrdering",
3020
+ literalValues: [
3021
+ {
3022
+ name: "Parallel"
3023
+ },
3024
+ {
3025
+ name: "Sequential"
3026
+ }
3027
+ ]
3028
+ }
3029
+ ];
3030
+ var prefix = "bpmn";
3031
+ var xml = {
3032
+ tagAlias: "lowerCase",
3033
+ typePrefix: "t"
3034
+ };
3035
+ var BpmnPackage = {
3036
+ name: name,
3037
+ uri: uri,
3038
+ associations: associations,
3039
+ types: types,
3040
+ enumerations: enumerations,
3041
+ prefix: prefix,
3042
+ xml: xml
3043
+ };
3044
+
3045
+ var name$1 = "BPMNDI";
3046
+ var uri$1 = "http://www.omg.org/spec/BPMN/20100524/DI";
3047
+ var types$1 = [
3048
+ {
3049
+ name: "BPMNDiagram",
3050
+ properties: [
3051
+ {
3052
+ name: "plane",
3053
+ type: "BPMNPlane",
3054
+ redefines: "di:Diagram#rootElement"
3055
+ },
3056
+ {
3057
+ name: "labelStyle",
3058
+ type: "BPMNLabelStyle",
3059
+ isMany: true
3060
+ }
3061
+ ],
3062
+ superClass: [
3063
+ "di:Diagram"
3064
+ ]
3065
+ },
3066
+ {
3067
+ name: "BPMNPlane",
3068
+ properties: [
3069
+ {
3070
+ name: "bpmnElement",
3071
+ isAttr: true,
3072
+ isReference: true,
3073
+ type: "bpmn:BaseElement",
3074
+ redefines: "di:DiagramElement#modelElement"
3075
+ }
3076
+ ],
3077
+ superClass: [
3078
+ "di:Plane"
3079
+ ]
3080
+ },
3081
+ {
3082
+ name: "BPMNShape",
3083
+ properties: [
3084
+ {
3085
+ name: "bpmnElement",
3086
+ isAttr: true,
3087
+ isReference: true,
3088
+ type: "bpmn:BaseElement",
3089
+ redefines: "di:DiagramElement#modelElement"
3090
+ },
3091
+ {
3092
+ name: "isHorizontal",
3093
+ isAttr: true,
3094
+ type: "Boolean"
3095
+ },
3096
+ {
3097
+ name: "isExpanded",
3098
+ isAttr: true,
3099
+ type: "Boolean"
3100
+ },
3101
+ {
3102
+ name: "isMarkerVisible",
3103
+ isAttr: true,
3104
+ type: "Boolean"
3105
+ },
3106
+ {
3107
+ name: "label",
3108
+ type: "BPMNLabel"
3109
+ },
3110
+ {
3111
+ name: "isMessageVisible",
3112
+ isAttr: true,
3113
+ type: "Boolean"
3114
+ },
3115
+ {
3116
+ name: "participantBandKind",
3117
+ type: "ParticipantBandKind",
3118
+ isAttr: true
3119
+ },
3120
+ {
3121
+ name: "choreographyActivityShape",
3122
+ type: "BPMNShape",
3123
+ isAttr: true,
3124
+ isReference: true
3125
+ }
3126
+ ],
3127
+ superClass: [
3128
+ "di:LabeledShape"
3129
+ ]
3130
+ },
3131
+ {
3132
+ name: "BPMNEdge",
3133
+ properties: [
3134
+ {
3135
+ name: "label",
3136
+ type: "BPMNLabel"
3137
+ },
3138
+ {
3139
+ name: "bpmnElement",
3140
+ isAttr: true,
3141
+ isReference: true,
3142
+ type: "bpmn:BaseElement",
3143
+ redefines: "di:DiagramElement#modelElement"
3144
+ },
3145
+ {
3146
+ name: "sourceElement",
3147
+ isAttr: true,
3148
+ isReference: true,
3149
+ type: "di:DiagramElement",
3150
+ redefines: "di:Edge#source"
3151
+ },
3152
+ {
3153
+ name: "targetElement",
3154
+ isAttr: true,
3155
+ isReference: true,
3156
+ type: "di:DiagramElement",
3157
+ redefines: "di:Edge#target"
3158
+ },
3159
+ {
3160
+ name: "messageVisibleKind",
3161
+ type: "MessageVisibleKind",
3162
+ isAttr: true,
3163
+ "default": "initiating"
3164
+ }
3165
+ ],
3166
+ superClass: [
3167
+ "di:LabeledEdge"
3168
+ ]
3169
+ },
3170
+ {
3171
+ name: "BPMNLabel",
3172
+ properties: [
3173
+ {
3174
+ name: "labelStyle",
3175
+ type: "BPMNLabelStyle",
3176
+ isAttr: true,
3177
+ isReference: true,
3178
+ redefines: "di:DiagramElement#style"
3179
+ }
3180
+ ],
3181
+ superClass: [
3182
+ "di:Label"
3183
+ ]
3184
+ },
3185
+ {
3186
+ name: "BPMNLabelStyle",
3187
+ properties: [
3188
+ {
3189
+ name: "font",
3190
+ type: "dc:Font"
3191
+ }
3192
+ ],
3193
+ superClass: [
3194
+ "di:Style"
3195
+ ]
3196
+ }
3197
+ ];
3198
+ var enumerations$1 = [
3199
+ {
3200
+ name: "ParticipantBandKind",
3201
+ literalValues: [
3202
+ {
3203
+ name: "top_initiating"
3204
+ },
3205
+ {
3206
+ name: "middle_initiating"
3207
+ },
3208
+ {
3209
+ name: "bottom_initiating"
3210
+ },
3211
+ {
3212
+ name: "top_non_initiating"
3213
+ },
3214
+ {
3215
+ name: "middle_non_initiating"
3216
+ },
3217
+ {
3218
+ name: "bottom_non_initiating"
3219
+ }
3220
+ ]
3221
+ },
3222
+ {
3223
+ name: "MessageVisibleKind",
3224
+ literalValues: [
3225
+ {
3226
+ name: "initiating"
3227
+ },
3228
+ {
3229
+ name: "non_initiating"
3230
+ }
3231
+ ]
3232
+ }
3233
+ ];
3234
+ var associations$1 = [
3235
+ ];
3236
+ var prefix$1 = "bpmndi";
3237
+ var BpmnDiPackage = {
3238
+ name: name$1,
3239
+ uri: uri$1,
3240
+ types: types$1,
3241
+ enumerations: enumerations$1,
3242
+ associations: associations$1,
3243
+ prefix: prefix$1
3244
+ };
3245
+
3246
+ var name$2 = "DC";
3247
+ var uri$2 = "http://www.omg.org/spec/DD/20100524/DC";
3248
+ var types$2 = [
3249
+ {
3250
+ name: "Boolean"
3251
+ },
3252
+ {
3253
+ name: "Integer"
3254
+ },
3255
+ {
3256
+ name: "Real"
3257
+ },
3258
+ {
3259
+ name: "String"
3260
+ },
3261
+ {
3262
+ name: "Font",
3263
+ properties: [
3264
+ {
3265
+ name: "name",
3266
+ type: "String",
3267
+ isAttr: true
3268
+ },
3269
+ {
3270
+ name: "size",
3271
+ type: "Real",
3272
+ isAttr: true
3273
+ },
3274
+ {
3275
+ name: "isBold",
3276
+ type: "Boolean",
3277
+ isAttr: true
3278
+ },
3279
+ {
3280
+ name: "isItalic",
3281
+ type: "Boolean",
3282
+ isAttr: true
3283
+ },
3284
+ {
3285
+ name: "isUnderline",
3286
+ type: "Boolean",
3287
+ isAttr: true
3288
+ },
3289
+ {
3290
+ name: "isStrikeThrough",
3291
+ type: "Boolean",
3292
+ isAttr: true
3293
+ }
3294
+ ]
3295
+ },
3296
+ {
3297
+ name: "Point",
3298
+ properties: [
3299
+ {
3300
+ name: "x",
3301
+ type: "Real",
3302
+ "default": "0",
3303
+ isAttr: true
3304
+ },
3305
+ {
3306
+ name: "y",
3307
+ type: "Real",
3308
+ "default": "0",
3309
+ isAttr: true
3310
+ }
3311
+ ]
3312
+ },
3313
+ {
3314
+ name: "Bounds",
3315
+ properties: [
3316
+ {
3317
+ name: "x",
3318
+ type: "Real",
3319
+ "default": "0",
3320
+ isAttr: true
3321
+ },
3322
+ {
3323
+ name: "y",
3324
+ type: "Real",
3325
+ "default": "0",
3326
+ isAttr: true
3327
+ },
3328
+ {
3329
+ name: "width",
3330
+ type: "Real",
3331
+ isAttr: true
3332
+ },
3333
+ {
3334
+ name: "height",
3335
+ type: "Real",
3336
+ isAttr: true
3337
+ }
3338
+ ]
3339
+ }
3340
+ ];
3341
+ var prefix$2 = "dc";
3342
+ var associations$2 = [
3343
+ ];
3344
+ var DcPackage = {
3345
+ name: name$2,
3346
+ uri: uri$2,
3347
+ types: types$2,
3348
+ prefix: prefix$2,
3349
+ associations: associations$2
3350
+ };
3351
+
3352
+ var name$3 = "DI";
3353
+ var uri$3 = "http://www.omg.org/spec/DD/20100524/DI";
3354
+ var types$3 = [
3355
+ {
3356
+ name: "DiagramElement",
3357
+ isAbstract: true,
3358
+ properties: [
3359
+ {
3360
+ name: "id",
3361
+ type: "String",
3362
+ isAttr: true,
3363
+ isId: true
3364
+ },
3365
+ {
3366
+ name: "extension",
3367
+ type: "Extension"
3368
+ },
3369
+ {
3370
+ name: "owningDiagram",
3371
+ type: "Diagram",
3372
+ isReadOnly: true,
3373
+ isVirtual: true,
3374
+ isReference: true
3375
+ },
3376
+ {
3377
+ name: "owningElement",
3378
+ type: "DiagramElement",
3379
+ isReadOnly: true,
3380
+ isVirtual: true,
3381
+ isReference: true
3382
+ },
3383
+ {
3384
+ name: "modelElement",
3385
+ isReadOnly: true,
3386
+ isVirtual: true,
3387
+ isReference: true,
3388
+ type: "Element"
3389
+ },
3390
+ {
3391
+ name: "style",
3392
+ type: "Style",
3393
+ isReadOnly: true,
3394
+ isVirtual: true,
3395
+ isReference: true
3396
+ },
3397
+ {
3398
+ name: "ownedElement",
3399
+ type: "DiagramElement",
3400
+ isReadOnly: true,
3401
+ isVirtual: true,
3402
+ isMany: true
3403
+ }
3404
+ ]
3405
+ },
3406
+ {
3407
+ name: "Node",
3408
+ isAbstract: true,
3409
+ superClass: [
3410
+ "DiagramElement"
3411
+ ]
3412
+ },
3413
+ {
3414
+ name: "Edge",
3415
+ isAbstract: true,
3416
+ superClass: [
3417
+ "DiagramElement"
3418
+ ],
3419
+ properties: [
3420
+ {
3421
+ name: "source",
3422
+ type: "DiagramElement",
3423
+ isReadOnly: true,
3424
+ isVirtual: true,
3425
+ isReference: true
3426
+ },
3427
+ {
3428
+ name: "target",
3429
+ type: "DiagramElement",
3430
+ isReadOnly: true,
3431
+ isVirtual: true,
3432
+ isReference: true
3433
+ },
3434
+ {
3435
+ name: "waypoint",
3436
+ isUnique: false,
3437
+ isMany: true,
3438
+ type: "dc:Point",
3439
+ xml: {
3440
+ serialize: "xsi:type"
3441
+ }
3442
+ }
3443
+ ]
3444
+ },
3445
+ {
3446
+ name: "Diagram",
3447
+ isAbstract: true,
3448
+ properties: [
3449
+ {
3450
+ name: "id",
3451
+ type: "String",
3452
+ isAttr: true,
3453
+ isId: true
3454
+ },
3455
+ {
3456
+ name: "rootElement",
3457
+ type: "DiagramElement",
3458
+ isReadOnly: true,
3459
+ isVirtual: true
3460
+ },
3461
+ {
3462
+ name: "name",
3463
+ isAttr: true,
3464
+ type: "String"
3465
+ },
3466
+ {
3467
+ name: "documentation",
3468
+ isAttr: true,
3469
+ type: "String"
3470
+ },
3471
+ {
3472
+ name: "resolution",
3473
+ isAttr: true,
3474
+ type: "Real"
3475
+ },
3476
+ {
3477
+ name: "ownedStyle",
3478
+ type: "Style",
3479
+ isReadOnly: true,
3480
+ isVirtual: true,
3481
+ isMany: true
3482
+ }
3483
+ ]
3484
+ },
3485
+ {
3486
+ name: "Shape",
3487
+ isAbstract: true,
3488
+ superClass: [
3489
+ "Node"
3490
+ ],
3491
+ properties: [
3492
+ {
3493
+ name: "bounds",
3494
+ type: "dc:Bounds"
3495
+ }
3496
+ ]
3497
+ },
3498
+ {
3499
+ name: "Plane",
3500
+ isAbstract: true,
3501
+ superClass: [
3502
+ "Node"
3503
+ ],
3504
+ properties: [
3505
+ {
3506
+ name: "planeElement",
3507
+ type: "DiagramElement",
3508
+ subsettedProperty: "DiagramElement-ownedElement",
3509
+ isMany: true
3510
+ }
3511
+ ]
3512
+ },
3513
+ {
3514
+ name: "LabeledEdge",
3515
+ isAbstract: true,
3516
+ superClass: [
3517
+ "Edge"
3518
+ ],
3519
+ properties: [
3520
+ {
3521
+ name: "ownedLabel",
3522
+ type: "Label",
3523
+ isReadOnly: true,
3524
+ subsettedProperty: "DiagramElement-ownedElement",
3525
+ isVirtual: true,
3526
+ isMany: true
3527
+ }
3528
+ ]
3529
+ },
3530
+ {
3531
+ name: "LabeledShape",
3532
+ isAbstract: true,
3533
+ superClass: [
3534
+ "Shape"
3535
+ ],
3536
+ properties: [
3537
+ {
3538
+ name: "ownedLabel",
3539
+ type: "Label",
3540
+ isReadOnly: true,
3541
+ subsettedProperty: "DiagramElement-ownedElement",
3542
+ isVirtual: true,
3543
+ isMany: true
3544
+ }
3545
+ ]
3546
+ },
3547
+ {
3548
+ name: "Label",
3549
+ isAbstract: true,
3550
+ superClass: [
3551
+ "Node"
3552
+ ],
3553
+ properties: [
3554
+ {
3555
+ name: "bounds",
3556
+ type: "dc:Bounds"
3557
+ }
3558
+ ]
3559
+ },
3560
+ {
3561
+ name: "Style",
3562
+ isAbstract: true,
3563
+ properties: [
3564
+ {
3565
+ name: "id",
3566
+ type: "String",
3567
+ isAttr: true,
3568
+ isId: true
3569
+ }
3570
+ ]
3571
+ },
3572
+ {
3573
+ name: "Extension",
3574
+ properties: [
3575
+ {
3576
+ name: "values",
3577
+ type: "Element",
3578
+ isMany: true
3579
+ }
3580
+ ]
3581
+ }
3582
+ ];
3583
+ var associations$3 = [
3584
+ ];
3585
+ var prefix$3 = "di";
3586
+ var xml$1 = {
3587
+ tagAlias: "lowerCase"
3588
+ };
3589
+ var DiPackage = {
3590
+ name: name$3,
3591
+ uri: uri$3,
3592
+ types: types$3,
3593
+ associations: associations$3,
3594
+ prefix: prefix$3,
3595
+ xml: xml$1
3596
+ };
3597
+
3598
+ var name$4 = "bpmn.io colors for BPMN";
3599
+ var uri$4 = "http://bpmn.io/schema/bpmn/biocolor/1.0";
3600
+ var prefix$4 = "bioc";
3601
+ var types$4 = [
3602
+ {
3603
+ name: "ColoredShape",
3604
+ "extends": [
3605
+ "bpmndi:BPMNShape"
3606
+ ],
3607
+ properties: [
3608
+ {
3609
+ name: "stroke",
3610
+ isAttr: true,
3611
+ type: "String"
3612
+ },
3613
+ {
3614
+ name: "fill",
3615
+ isAttr: true,
3616
+ type: "String"
3617
+ }
3618
+ ]
3619
+ },
3620
+ {
3621
+ name: "ColoredEdge",
3622
+ "extends": [
3623
+ "bpmndi:BPMNEdge"
3624
+ ],
3625
+ properties: [
3626
+ {
3627
+ name: "stroke",
3628
+ isAttr: true,
3629
+ type: "String"
3630
+ },
3631
+ {
3632
+ name: "fill",
3633
+ isAttr: true,
3634
+ type: "String"
3635
+ }
3636
+ ]
3637
+ }
3638
+ ];
3639
+ var enumerations$2 = [
3640
+ ];
3641
+ var associations$4 = [
3642
+ ];
3643
+ var BiocPackage = {
3644
+ name: name$4,
3645
+ uri: uri$4,
3646
+ prefix: prefix$4,
3647
+ types: types$4,
3648
+ enumerations: enumerations$2,
3649
+ associations: associations$4
3650
+ };
3651
+
3652
+ var packages = {
3653
+ bpmn: BpmnPackage,
3654
+ bpmndi: BpmnDiPackage,
3655
+ dc: DcPackage,
3656
+ di: DiPackage,
3657
+ bioc: BiocPackage
3658
+ };
3659
+
3660
+ function simple(additionalPackages, options) {
3661
+ var pks = assign({}, packages, additionalPackages);
3662
+
3663
+ return new BpmnModdle(pks, options);
3664
+ }
3665
+
3666
+ export default simple;