bpmn-moddle 9.0.2 → 9.0.3

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