bpmn-moddle 10.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs DELETED
@@ -1,3748 +0,0 @@
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
- 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
- const packages = {
3733
- bpmn: BpmnPackage,
3734
- bpmndi: BpmnDiPackage,
3735
- dc: DcPackage,
3736
- di: DiPackage,
3737
- bioc: BiocPackage,
3738
- color: BpmnInColorPackage
3739
- };
3740
-
3741
- function SimpleBpmnModdle(additionalPackages, options) {
3742
- const pks = minDash.assign({}, packages, additionalPackages);
3743
-
3744
- return new BpmnModdle(pks, options);
3745
- }
3746
-
3747
- module.exports = SimpleBpmnModdle;
3748
- //# sourceMappingURL=index.cjs.map