bpmn-moddle 7.1.3 → 8.0.1

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