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