bpmn-moddle 8.0.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js DELETED
@@ -1,3746 +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
- isReference: true
921
- },
922
- {
923
- name: "source",
924
- type: "LinkEventDefinition",
925
- isMany: true,
926
- isReference: true
927
- }
928
- ]
929
- },
930
- {
931
- name: "MessageEventDefinition",
932
- superClass: [
933
- "EventDefinition"
934
- ],
935
- properties: [
936
- {
937
- name: "messageRef",
938
- type: "Message",
939
- isAttr: true,
940
- isReference: true
941
- },
942
- {
943
- name: "operationRef",
944
- type: "Operation",
945
- isAttr: true,
946
- isReference: true
947
- }
948
- ]
949
- },
950
- {
951
- name: "ConditionalEventDefinition",
952
- superClass: [
953
- "EventDefinition"
954
- ],
955
- properties: [
956
- {
957
- name: "condition",
958
- type: "Expression",
959
- xml: {
960
- serialize: "xsi:type"
961
- }
962
- }
963
- ]
964
- },
965
- {
966
- name: "SignalEventDefinition",
967
- superClass: [
968
- "EventDefinition"
969
- ],
970
- properties: [
971
- {
972
- name: "signalRef",
973
- type: "Signal",
974
- isAttr: true,
975
- isReference: true
976
- }
977
- ]
978
- },
979
- {
980
- name: "Signal",
981
- superClass: [
982
- "RootElement"
983
- ],
984
- properties: [
985
- {
986
- name: "structureRef",
987
- type: "ItemDefinition",
988
- isAttr: true,
989
- isReference: true
990
- },
991
- {
992
- name: "name",
993
- isAttr: true,
994
- type: "String"
995
- }
996
- ]
997
- },
998
- {
999
- name: "ImplicitThrowEvent",
1000
- superClass: [
1001
- "ThrowEvent"
1002
- ]
1003
- },
1004
- {
1005
- name: "DataState",
1006
- superClass: [
1007
- "BaseElement"
1008
- ],
1009
- properties: [
1010
- {
1011
- name: "name",
1012
- isAttr: true,
1013
- type: "String"
1014
- }
1015
- ]
1016
- },
1017
- {
1018
- name: "ItemAwareElement",
1019
- superClass: [
1020
- "BaseElement"
1021
- ],
1022
- properties: [
1023
- {
1024
- name: "itemSubjectRef",
1025
- type: "ItemDefinition",
1026
- isAttr: true,
1027
- isReference: true
1028
- },
1029
- {
1030
- name: "dataState",
1031
- type: "DataState"
1032
- }
1033
- ]
1034
- },
1035
- {
1036
- name: "DataAssociation",
1037
- superClass: [
1038
- "BaseElement"
1039
- ],
1040
- properties: [
1041
- {
1042
- name: "sourceRef",
1043
- type: "ItemAwareElement",
1044
- isMany: true,
1045
- isReference: true
1046
- },
1047
- {
1048
- name: "targetRef",
1049
- type: "ItemAwareElement",
1050
- isReference: true
1051
- },
1052
- {
1053
- name: "transformation",
1054
- type: "FormalExpression",
1055
- xml: {
1056
- serialize: "property"
1057
- }
1058
- },
1059
- {
1060
- name: "assignment",
1061
- type: "Assignment",
1062
- isMany: true
1063
- }
1064
- ]
1065
- },
1066
- {
1067
- name: "DataInput",
1068
- superClass: [
1069
- "ItemAwareElement"
1070
- ],
1071
- properties: [
1072
- {
1073
- name: "name",
1074
- isAttr: true,
1075
- type: "String"
1076
- },
1077
- {
1078
- name: "isCollection",
1079
- "default": false,
1080
- isAttr: true,
1081
- type: "Boolean"
1082
- },
1083
- {
1084
- name: "inputSetRef",
1085
- type: "InputSet",
1086
- isMany: true,
1087
- isVirtual: true,
1088
- isReference: true
1089
- },
1090
- {
1091
- name: "inputSetWithOptional",
1092
- type: "InputSet",
1093
- isMany: true,
1094
- isVirtual: true,
1095
- isReference: true
1096
- },
1097
- {
1098
- name: "inputSetWithWhileExecuting",
1099
- type: "InputSet",
1100
- isMany: true,
1101
- isVirtual: true,
1102
- isReference: true
1103
- }
1104
- ]
1105
- },
1106
- {
1107
- name: "DataOutput",
1108
- superClass: [
1109
- "ItemAwareElement"
1110
- ],
1111
- properties: [
1112
- {
1113
- name: "name",
1114
- isAttr: true,
1115
- type: "String"
1116
- },
1117
- {
1118
- name: "isCollection",
1119
- "default": false,
1120
- isAttr: true,
1121
- type: "Boolean"
1122
- },
1123
- {
1124
- name: "outputSetRef",
1125
- type: "OutputSet",
1126
- isMany: true,
1127
- isVirtual: true,
1128
- isReference: true
1129
- },
1130
- {
1131
- name: "outputSetWithOptional",
1132
- type: "OutputSet",
1133
- isMany: true,
1134
- isVirtual: true,
1135
- isReference: true
1136
- },
1137
- {
1138
- name: "outputSetWithWhileExecuting",
1139
- type: "OutputSet",
1140
- isMany: true,
1141
- isVirtual: true,
1142
- isReference: true
1143
- }
1144
- ]
1145
- },
1146
- {
1147
- name: "InputSet",
1148
- superClass: [
1149
- "BaseElement"
1150
- ],
1151
- properties: [
1152
- {
1153
- name: "name",
1154
- isAttr: true,
1155
- type: "String"
1156
- },
1157
- {
1158
- name: "dataInputRefs",
1159
- type: "DataInput",
1160
- isMany: true,
1161
- isReference: true
1162
- },
1163
- {
1164
- name: "optionalInputRefs",
1165
- type: "DataInput",
1166
- isMany: true,
1167
- isReference: true
1168
- },
1169
- {
1170
- name: "whileExecutingInputRefs",
1171
- type: "DataInput",
1172
- isMany: true,
1173
- isReference: true
1174
- },
1175
- {
1176
- name: "outputSetRefs",
1177
- type: "OutputSet",
1178
- isMany: true,
1179
- isReference: true
1180
- }
1181
- ]
1182
- },
1183
- {
1184
- name: "OutputSet",
1185
- superClass: [
1186
- "BaseElement"
1187
- ],
1188
- properties: [
1189
- {
1190
- name: "dataOutputRefs",
1191
- type: "DataOutput",
1192
- isMany: true,
1193
- isReference: true
1194
- },
1195
- {
1196
- name: "name",
1197
- isAttr: true,
1198
- type: "String"
1199
- },
1200
- {
1201
- name: "inputSetRefs",
1202
- type: "InputSet",
1203
- isMany: true,
1204
- isReference: true
1205
- },
1206
- {
1207
- name: "optionalOutputRefs",
1208
- type: "DataOutput",
1209
- isMany: true,
1210
- isReference: true
1211
- },
1212
- {
1213
- name: "whileExecutingOutputRefs",
1214
- type: "DataOutput",
1215
- isMany: true,
1216
- isReference: true
1217
- }
1218
- ]
1219
- },
1220
- {
1221
- name: "Property",
1222
- superClass: [
1223
- "ItemAwareElement"
1224
- ],
1225
- properties: [
1226
- {
1227
- name: "name",
1228
- isAttr: true,
1229
- type: "String"
1230
- }
1231
- ]
1232
- },
1233
- {
1234
- name: "DataInputAssociation",
1235
- superClass: [
1236
- "DataAssociation"
1237
- ]
1238
- },
1239
- {
1240
- name: "DataOutputAssociation",
1241
- superClass: [
1242
- "DataAssociation"
1243
- ]
1244
- },
1245
- {
1246
- name: "InputOutputSpecification",
1247
- superClass: [
1248
- "BaseElement"
1249
- ],
1250
- properties: [
1251
- {
1252
- name: "dataInputs",
1253
- type: "DataInput",
1254
- isMany: true
1255
- },
1256
- {
1257
- name: "dataOutputs",
1258
- type: "DataOutput",
1259
- isMany: true
1260
- },
1261
- {
1262
- name: "inputSets",
1263
- type: "InputSet",
1264
- isMany: true
1265
- },
1266
- {
1267
- name: "outputSets",
1268
- type: "OutputSet",
1269
- isMany: true
1270
- }
1271
- ]
1272
- },
1273
- {
1274
- name: "DataObject",
1275
- superClass: [
1276
- "FlowElement",
1277
- "ItemAwareElement"
1278
- ],
1279
- properties: [
1280
- {
1281
- name: "isCollection",
1282
- "default": false,
1283
- isAttr: true,
1284
- type: "Boolean"
1285
- }
1286
- ]
1287
- },
1288
- {
1289
- name: "InputOutputBinding",
1290
- properties: [
1291
- {
1292
- name: "inputDataRef",
1293
- type: "InputSet",
1294
- isAttr: true,
1295
- isReference: true
1296
- },
1297
- {
1298
- name: "outputDataRef",
1299
- type: "OutputSet",
1300
- isAttr: true,
1301
- isReference: true
1302
- },
1303
- {
1304
- name: "operationRef",
1305
- type: "Operation",
1306
- isAttr: true,
1307
- isReference: true
1308
- }
1309
- ]
1310
- },
1311
- {
1312
- name: "Assignment",
1313
- superClass: [
1314
- "BaseElement"
1315
- ],
1316
- properties: [
1317
- {
1318
- name: "from",
1319
- type: "Expression",
1320
- xml: {
1321
- serialize: "xsi:type"
1322
- }
1323
- },
1324
- {
1325
- name: "to",
1326
- type: "Expression",
1327
- xml: {
1328
- serialize: "xsi:type"
1329
- }
1330
- }
1331
- ]
1332
- },
1333
- {
1334
- name: "DataStore",
1335
- superClass: [
1336
- "RootElement",
1337
- "ItemAwareElement"
1338
- ],
1339
- properties: [
1340
- {
1341
- name: "name",
1342
- isAttr: true,
1343
- type: "String"
1344
- },
1345
- {
1346
- name: "capacity",
1347
- isAttr: true,
1348
- type: "Integer"
1349
- },
1350
- {
1351
- name: "isUnlimited",
1352
- "default": true,
1353
- isAttr: true,
1354
- type: "Boolean"
1355
- }
1356
- ]
1357
- },
1358
- {
1359
- name: "DataStoreReference",
1360
- superClass: [
1361
- "ItemAwareElement",
1362
- "FlowElement"
1363
- ],
1364
- properties: [
1365
- {
1366
- name: "dataStoreRef",
1367
- type: "DataStore",
1368
- isAttr: true,
1369
- isReference: true
1370
- }
1371
- ]
1372
- },
1373
- {
1374
- name: "DataObjectReference",
1375
- superClass: [
1376
- "ItemAwareElement",
1377
- "FlowElement"
1378
- ],
1379
- properties: [
1380
- {
1381
- name: "dataObjectRef",
1382
- type: "DataObject",
1383
- isAttr: true,
1384
- isReference: true
1385
- }
1386
- ]
1387
- },
1388
- {
1389
- name: "ConversationLink",
1390
- superClass: [
1391
- "BaseElement"
1392
- ],
1393
- properties: [
1394
- {
1395
- name: "sourceRef",
1396
- type: "InteractionNode",
1397
- isAttr: true,
1398
- isReference: true
1399
- },
1400
- {
1401
- name: "targetRef",
1402
- type: "InteractionNode",
1403
- isAttr: true,
1404
- isReference: true
1405
- },
1406
- {
1407
- name: "name",
1408
- isAttr: true,
1409
- type: "String"
1410
- }
1411
- ]
1412
- },
1413
- {
1414
- name: "ConversationAssociation",
1415
- superClass: [
1416
- "BaseElement"
1417
- ],
1418
- properties: [
1419
- {
1420
- name: "innerConversationNodeRef",
1421
- type: "ConversationNode",
1422
- isAttr: true,
1423
- isReference: true
1424
- },
1425
- {
1426
- name: "outerConversationNodeRef",
1427
- type: "ConversationNode",
1428
- isAttr: true,
1429
- isReference: true
1430
- }
1431
- ]
1432
- },
1433
- {
1434
- name: "CallConversation",
1435
- superClass: [
1436
- "ConversationNode"
1437
- ],
1438
- properties: [
1439
- {
1440
- name: "calledCollaborationRef",
1441
- type: "Collaboration",
1442
- isAttr: true,
1443
- isReference: true
1444
- },
1445
- {
1446
- name: "participantAssociations",
1447
- type: "ParticipantAssociation",
1448
- isMany: true
1449
- }
1450
- ]
1451
- },
1452
- {
1453
- name: "Conversation",
1454
- superClass: [
1455
- "ConversationNode"
1456
- ]
1457
- },
1458
- {
1459
- name: "SubConversation",
1460
- superClass: [
1461
- "ConversationNode"
1462
- ],
1463
- properties: [
1464
- {
1465
- name: "conversationNodes",
1466
- type: "ConversationNode",
1467
- isMany: true
1468
- }
1469
- ]
1470
- },
1471
- {
1472
- name: "ConversationNode",
1473
- isAbstract: true,
1474
- superClass: [
1475
- "InteractionNode",
1476
- "BaseElement"
1477
- ],
1478
- properties: [
1479
- {
1480
- name: "name",
1481
- isAttr: true,
1482
- type: "String"
1483
- },
1484
- {
1485
- name: "participantRef",
1486
- type: "Participant",
1487
- isMany: true,
1488
- isReference: true
1489
- },
1490
- {
1491
- name: "messageFlowRefs",
1492
- type: "MessageFlow",
1493
- isMany: true,
1494
- isReference: true
1495
- },
1496
- {
1497
- name: "correlationKeys",
1498
- type: "CorrelationKey",
1499
- isMany: true
1500
- }
1501
- ]
1502
- },
1503
- {
1504
- name: "GlobalConversation",
1505
- superClass: [
1506
- "Collaboration"
1507
- ]
1508
- },
1509
- {
1510
- name: "PartnerEntity",
1511
- superClass: [
1512
- "RootElement"
1513
- ],
1514
- properties: [
1515
- {
1516
- name: "name",
1517
- isAttr: true,
1518
- type: "String"
1519
- },
1520
- {
1521
- name: "participantRef",
1522
- type: "Participant",
1523
- isMany: true,
1524
- isReference: true
1525
- }
1526
- ]
1527
- },
1528
- {
1529
- name: "PartnerRole",
1530
- superClass: [
1531
- "RootElement"
1532
- ],
1533
- properties: [
1534
- {
1535
- name: "name",
1536
- isAttr: true,
1537
- type: "String"
1538
- },
1539
- {
1540
- name: "participantRef",
1541
- type: "Participant",
1542
- isMany: true,
1543
- isReference: true
1544
- }
1545
- ]
1546
- },
1547
- {
1548
- name: "CorrelationProperty",
1549
- superClass: [
1550
- "RootElement"
1551
- ],
1552
- properties: [
1553
- {
1554
- name: "correlationPropertyRetrievalExpression",
1555
- type: "CorrelationPropertyRetrievalExpression",
1556
- isMany: true
1557
- },
1558
- {
1559
- name: "name",
1560
- isAttr: true,
1561
- type: "String"
1562
- },
1563
- {
1564
- name: "type",
1565
- type: "ItemDefinition",
1566
- isAttr: true,
1567
- isReference: true
1568
- }
1569
- ]
1570
- },
1571
- {
1572
- name: "Error",
1573
- superClass: [
1574
- "RootElement"
1575
- ],
1576
- properties: [
1577
- {
1578
- name: "structureRef",
1579
- type: "ItemDefinition",
1580
- isAttr: true,
1581
- isReference: true
1582
- },
1583
- {
1584
- name: "name",
1585
- isAttr: true,
1586
- type: "String"
1587
- },
1588
- {
1589
- name: "errorCode",
1590
- isAttr: true,
1591
- type: "String"
1592
- }
1593
- ]
1594
- },
1595
- {
1596
- name: "CorrelationKey",
1597
- superClass: [
1598
- "BaseElement"
1599
- ],
1600
- properties: [
1601
- {
1602
- name: "correlationPropertyRef",
1603
- type: "CorrelationProperty",
1604
- isMany: true,
1605
- isReference: true
1606
- },
1607
- {
1608
- name: "name",
1609
- isAttr: true,
1610
- type: "String"
1611
- }
1612
- ]
1613
- },
1614
- {
1615
- name: "Expression",
1616
- superClass: [
1617
- "BaseElement"
1618
- ],
1619
- isAbstract: false,
1620
- properties: [
1621
- {
1622
- name: "body",
1623
- isBody: true,
1624
- type: "String"
1625
- }
1626
- ]
1627
- },
1628
- {
1629
- name: "FormalExpression",
1630
- superClass: [
1631
- "Expression"
1632
- ],
1633
- properties: [
1634
- {
1635
- name: "language",
1636
- isAttr: true,
1637
- type: "String"
1638
- },
1639
- {
1640
- name: "evaluatesToTypeRef",
1641
- type: "ItemDefinition",
1642
- isAttr: true,
1643
- isReference: true
1644
- }
1645
- ]
1646
- },
1647
- {
1648
- name: "Message",
1649
- superClass: [
1650
- "RootElement"
1651
- ],
1652
- properties: [
1653
- {
1654
- name: "name",
1655
- isAttr: true,
1656
- type: "String"
1657
- },
1658
- {
1659
- name: "itemRef",
1660
- type: "ItemDefinition",
1661
- isAttr: true,
1662
- isReference: true
1663
- }
1664
- ]
1665
- },
1666
- {
1667
- name: "ItemDefinition",
1668
- superClass: [
1669
- "RootElement"
1670
- ],
1671
- properties: [
1672
- {
1673
- name: "itemKind",
1674
- type: "ItemKind",
1675
- isAttr: true
1676
- },
1677
- {
1678
- name: "structureRef",
1679
- isAttr: true,
1680
- type: "String"
1681
- },
1682
- {
1683
- name: "isCollection",
1684
- "default": false,
1685
- isAttr: true,
1686
- type: "Boolean"
1687
- },
1688
- {
1689
- name: "import",
1690
- type: "Import",
1691
- isAttr: true,
1692
- isReference: true
1693
- }
1694
- ]
1695
- },
1696
- {
1697
- name: "FlowElement",
1698
- isAbstract: true,
1699
- superClass: [
1700
- "BaseElement"
1701
- ],
1702
- properties: [
1703
- {
1704
- name: "name",
1705
- isAttr: true,
1706
- type: "String"
1707
- },
1708
- {
1709
- name: "auditing",
1710
- type: "Auditing"
1711
- },
1712
- {
1713
- name: "monitoring",
1714
- type: "Monitoring"
1715
- },
1716
- {
1717
- name: "categoryValueRef",
1718
- type: "CategoryValue",
1719
- isMany: true,
1720
- isReference: true
1721
- }
1722
- ]
1723
- },
1724
- {
1725
- name: "SequenceFlow",
1726
- superClass: [
1727
- "FlowElement"
1728
- ],
1729
- properties: [
1730
- {
1731
- name: "isImmediate",
1732
- isAttr: true,
1733
- type: "Boolean"
1734
- },
1735
- {
1736
- name: "conditionExpression",
1737
- type: "Expression",
1738
- xml: {
1739
- serialize: "xsi:type"
1740
- }
1741
- },
1742
- {
1743
- name: "sourceRef",
1744
- type: "FlowNode",
1745
- isAttr: true,
1746
- isReference: true
1747
- },
1748
- {
1749
- name: "targetRef",
1750
- type: "FlowNode",
1751
- isAttr: true,
1752
- isReference: true
1753
- }
1754
- ]
1755
- },
1756
- {
1757
- name: "FlowElementsContainer",
1758
- isAbstract: true,
1759
- superClass: [
1760
- "BaseElement"
1761
- ],
1762
- properties: [
1763
- {
1764
- name: "laneSets",
1765
- type: "LaneSet",
1766
- isMany: true
1767
- },
1768
- {
1769
- name: "flowElements",
1770
- type: "FlowElement",
1771
- isMany: true
1772
- }
1773
- ]
1774
- },
1775
- {
1776
- name: "CallableElement",
1777
- isAbstract: true,
1778
- superClass: [
1779
- "RootElement"
1780
- ],
1781
- properties: [
1782
- {
1783
- name: "name",
1784
- isAttr: true,
1785
- type: "String"
1786
- },
1787
- {
1788
- name: "ioSpecification",
1789
- type: "InputOutputSpecification",
1790
- xml: {
1791
- serialize: "property"
1792
- }
1793
- },
1794
- {
1795
- name: "supportedInterfaceRef",
1796
- type: "Interface",
1797
- isMany: true,
1798
- isReference: true
1799
- },
1800
- {
1801
- name: "ioBinding",
1802
- type: "InputOutputBinding",
1803
- isMany: true,
1804
- xml: {
1805
- serialize: "property"
1806
- }
1807
- }
1808
- ]
1809
- },
1810
- {
1811
- name: "FlowNode",
1812
- isAbstract: true,
1813
- superClass: [
1814
- "FlowElement"
1815
- ],
1816
- properties: [
1817
- {
1818
- name: "incoming",
1819
- type: "SequenceFlow",
1820
- isMany: true,
1821
- isReference: true
1822
- },
1823
- {
1824
- name: "outgoing",
1825
- type: "SequenceFlow",
1826
- isMany: true,
1827
- isReference: true
1828
- },
1829
- {
1830
- name: "lanes",
1831
- type: "Lane",
1832
- isMany: true,
1833
- isVirtual: true,
1834
- isReference: true
1835
- }
1836
- ]
1837
- },
1838
- {
1839
- name: "CorrelationPropertyRetrievalExpression",
1840
- superClass: [
1841
- "BaseElement"
1842
- ],
1843
- properties: [
1844
- {
1845
- name: "messagePath",
1846
- type: "FormalExpression"
1847
- },
1848
- {
1849
- name: "messageRef",
1850
- type: "Message",
1851
- isAttr: true,
1852
- isReference: true
1853
- }
1854
- ]
1855
- },
1856
- {
1857
- name: "CorrelationPropertyBinding",
1858
- superClass: [
1859
- "BaseElement"
1860
- ],
1861
- properties: [
1862
- {
1863
- name: "dataPath",
1864
- type: "FormalExpression"
1865
- },
1866
- {
1867
- name: "correlationPropertyRef",
1868
- type: "CorrelationProperty",
1869
- isAttr: true,
1870
- isReference: true
1871
- }
1872
- ]
1873
- },
1874
- {
1875
- name: "Resource",
1876
- superClass: [
1877
- "RootElement"
1878
- ],
1879
- properties: [
1880
- {
1881
- name: "name",
1882
- isAttr: true,
1883
- type: "String"
1884
- },
1885
- {
1886
- name: "resourceParameters",
1887
- type: "ResourceParameter",
1888
- isMany: true
1889
- }
1890
- ]
1891
- },
1892
- {
1893
- name: "ResourceParameter",
1894
- superClass: [
1895
- "BaseElement"
1896
- ],
1897
- properties: [
1898
- {
1899
- name: "name",
1900
- isAttr: true,
1901
- type: "String"
1902
- },
1903
- {
1904
- name: "isRequired",
1905
- isAttr: true,
1906
- type: "Boolean"
1907
- },
1908
- {
1909
- name: "type",
1910
- type: "ItemDefinition",
1911
- isAttr: true,
1912
- isReference: true
1913
- }
1914
- ]
1915
- },
1916
- {
1917
- name: "CorrelationSubscription",
1918
- superClass: [
1919
- "BaseElement"
1920
- ],
1921
- properties: [
1922
- {
1923
- name: "correlationKeyRef",
1924
- type: "CorrelationKey",
1925
- isAttr: true,
1926
- isReference: true
1927
- },
1928
- {
1929
- name: "correlationPropertyBinding",
1930
- type: "CorrelationPropertyBinding",
1931
- isMany: true
1932
- }
1933
- ]
1934
- },
1935
- {
1936
- name: "MessageFlow",
1937
- superClass: [
1938
- "BaseElement"
1939
- ],
1940
- properties: [
1941
- {
1942
- name: "name",
1943
- isAttr: true,
1944
- type: "String"
1945
- },
1946
- {
1947
- name: "sourceRef",
1948
- type: "InteractionNode",
1949
- isAttr: true,
1950
- isReference: true
1951
- },
1952
- {
1953
- name: "targetRef",
1954
- type: "InteractionNode",
1955
- isAttr: true,
1956
- isReference: true
1957
- },
1958
- {
1959
- name: "messageRef",
1960
- type: "Message",
1961
- isAttr: true,
1962
- isReference: true
1963
- }
1964
- ]
1965
- },
1966
- {
1967
- name: "MessageFlowAssociation",
1968
- superClass: [
1969
- "BaseElement"
1970
- ],
1971
- properties: [
1972
- {
1973
- name: "innerMessageFlowRef",
1974
- type: "MessageFlow",
1975
- isAttr: true,
1976
- isReference: true
1977
- },
1978
- {
1979
- name: "outerMessageFlowRef",
1980
- type: "MessageFlow",
1981
- isAttr: true,
1982
- isReference: true
1983
- }
1984
- ]
1985
- },
1986
- {
1987
- name: "InteractionNode",
1988
- isAbstract: true,
1989
- properties: [
1990
- {
1991
- name: "incomingConversationLinks",
1992
- type: "ConversationLink",
1993
- isMany: true,
1994
- isVirtual: true,
1995
- isReference: true
1996
- },
1997
- {
1998
- name: "outgoingConversationLinks",
1999
- type: "ConversationLink",
2000
- isMany: true,
2001
- isVirtual: true,
2002
- isReference: true
2003
- }
2004
- ]
2005
- },
2006
- {
2007
- name: "Participant",
2008
- superClass: [
2009
- "InteractionNode",
2010
- "BaseElement"
2011
- ],
2012
- properties: [
2013
- {
2014
- name: "name",
2015
- isAttr: true,
2016
- type: "String"
2017
- },
2018
- {
2019
- name: "interfaceRef",
2020
- type: "Interface",
2021
- isMany: true,
2022
- isReference: true
2023
- },
2024
- {
2025
- name: "participantMultiplicity",
2026
- type: "ParticipantMultiplicity"
2027
- },
2028
- {
2029
- name: "endPointRefs",
2030
- type: "EndPoint",
2031
- isMany: true,
2032
- isReference: true
2033
- },
2034
- {
2035
- name: "processRef",
2036
- type: "Process",
2037
- isAttr: true,
2038
- isReference: true
2039
- }
2040
- ]
2041
- },
2042
- {
2043
- name: "ParticipantAssociation",
2044
- superClass: [
2045
- "BaseElement"
2046
- ],
2047
- properties: [
2048
- {
2049
- name: "innerParticipantRef",
2050
- type: "Participant",
2051
- isAttr: true,
2052
- isReference: true
2053
- },
2054
- {
2055
- name: "outerParticipantRef",
2056
- type: "Participant",
2057
- isAttr: true,
2058
- isReference: true
2059
- }
2060
- ]
2061
- },
2062
- {
2063
- name: "ParticipantMultiplicity",
2064
- properties: [
2065
- {
2066
- name: "minimum",
2067
- "default": 0,
2068
- isAttr: true,
2069
- type: "Integer"
2070
- },
2071
- {
2072
- name: "maximum",
2073
- "default": 1,
2074
- isAttr: true,
2075
- type: "Integer"
2076
- }
2077
- ],
2078
- superClass: [
2079
- "BaseElement"
2080
- ]
2081
- },
2082
- {
2083
- name: "Collaboration",
2084
- superClass: [
2085
- "RootElement"
2086
- ],
2087
- properties: [
2088
- {
2089
- name: "name",
2090
- isAttr: true,
2091
- type: "String"
2092
- },
2093
- {
2094
- name: "isClosed",
2095
- isAttr: true,
2096
- type: "Boolean"
2097
- },
2098
- {
2099
- name: "participants",
2100
- type: "Participant",
2101
- isMany: true
2102
- },
2103
- {
2104
- name: "messageFlows",
2105
- type: "MessageFlow",
2106
- isMany: true
2107
- },
2108
- {
2109
- name: "artifacts",
2110
- type: "Artifact",
2111
- isMany: true
2112
- },
2113
- {
2114
- name: "conversations",
2115
- type: "ConversationNode",
2116
- isMany: true
2117
- },
2118
- {
2119
- name: "conversationAssociations",
2120
- type: "ConversationAssociation"
2121
- },
2122
- {
2123
- name: "participantAssociations",
2124
- type: "ParticipantAssociation",
2125
- isMany: true
2126
- },
2127
- {
2128
- name: "messageFlowAssociations",
2129
- type: "MessageFlowAssociation",
2130
- isMany: true
2131
- },
2132
- {
2133
- name: "correlationKeys",
2134
- type: "CorrelationKey",
2135
- isMany: true
2136
- },
2137
- {
2138
- name: "choreographyRef",
2139
- type: "Choreography",
2140
- isMany: true,
2141
- isReference: true
2142
- },
2143
- {
2144
- name: "conversationLinks",
2145
- type: "ConversationLink",
2146
- isMany: true
2147
- }
2148
- ]
2149
- },
2150
- {
2151
- name: "ChoreographyActivity",
2152
- isAbstract: true,
2153
- superClass: [
2154
- "FlowNode"
2155
- ],
2156
- properties: [
2157
- {
2158
- name: "participantRef",
2159
- type: "Participant",
2160
- isMany: true,
2161
- isReference: true
2162
- },
2163
- {
2164
- name: "initiatingParticipantRef",
2165
- type: "Participant",
2166
- isAttr: true,
2167
- isReference: true
2168
- },
2169
- {
2170
- name: "correlationKeys",
2171
- type: "CorrelationKey",
2172
- isMany: true
2173
- },
2174
- {
2175
- name: "loopType",
2176
- type: "ChoreographyLoopType",
2177
- "default": "None",
2178
- isAttr: true
2179
- }
2180
- ]
2181
- },
2182
- {
2183
- name: "CallChoreography",
2184
- superClass: [
2185
- "ChoreographyActivity"
2186
- ],
2187
- properties: [
2188
- {
2189
- name: "calledChoreographyRef",
2190
- type: "Choreography",
2191
- isAttr: true,
2192
- isReference: true
2193
- },
2194
- {
2195
- name: "participantAssociations",
2196
- type: "ParticipantAssociation",
2197
- isMany: true
2198
- }
2199
- ]
2200
- },
2201
- {
2202
- name: "SubChoreography",
2203
- superClass: [
2204
- "ChoreographyActivity",
2205
- "FlowElementsContainer"
2206
- ],
2207
- properties: [
2208
- {
2209
- name: "artifacts",
2210
- type: "Artifact",
2211
- isMany: true
2212
- }
2213
- ]
2214
- },
2215
- {
2216
- name: "ChoreographyTask",
2217
- superClass: [
2218
- "ChoreographyActivity"
2219
- ],
2220
- properties: [
2221
- {
2222
- name: "messageFlowRef",
2223
- type: "MessageFlow",
2224
- isMany: true,
2225
- isReference: true
2226
- }
2227
- ]
2228
- },
2229
- {
2230
- name: "Choreography",
2231
- superClass: [
2232
- "Collaboration",
2233
- "FlowElementsContainer"
2234
- ]
2235
- },
2236
- {
2237
- name: "GlobalChoreographyTask",
2238
- superClass: [
2239
- "Choreography"
2240
- ],
2241
- properties: [
2242
- {
2243
- name: "initiatingParticipantRef",
2244
- type: "Participant",
2245
- isAttr: true,
2246
- isReference: true
2247
- }
2248
- ]
2249
- },
2250
- {
2251
- name: "TextAnnotation",
2252
- superClass: [
2253
- "Artifact"
2254
- ],
2255
- properties: [
2256
- {
2257
- name: "text",
2258
- type: "String"
2259
- },
2260
- {
2261
- name: "textFormat",
2262
- "default": "text/plain",
2263
- isAttr: true,
2264
- type: "String"
2265
- }
2266
- ]
2267
- },
2268
- {
2269
- name: "Group",
2270
- superClass: [
2271
- "Artifact"
2272
- ],
2273
- properties: [
2274
- {
2275
- name: "categoryValueRef",
2276
- type: "CategoryValue",
2277
- isAttr: true,
2278
- isReference: true
2279
- }
2280
- ]
2281
- },
2282
- {
2283
- name: "Association",
2284
- superClass: [
2285
- "Artifact"
2286
- ],
2287
- properties: [
2288
- {
2289
- name: "associationDirection",
2290
- type: "AssociationDirection",
2291
- isAttr: true
2292
- },
2293
- {
2294
- name: "sourceRef",
2295
- type: "BaseElement",
2296
- isAttr: true,
2297
- isReference: true
2298
- },
2299
- {
2300
- name: "targetRef",
2301
- type: "BaseElement",
2302
- isAttr: true,
2303
- isReference: true
2304
- }
2305
- ]
2306
- },
2307
- {
2308
- name: "Category",
2309
- superClass: [
2310
- "RootElement"
2311
- ],
2312
- properties: [
2313
- {
2314
- name: "categoryValue",
2315
- type: "CategoryValue",
2316
- isMany: true
2317
- },
2318
- {
2319
- name: "name",
2320
- isAttr: true,
2321
- type: "String"
2322
- }
2323
- ]
2324
- },
2325
- {
2326
- name: "Artifact",
2327
- isAbstract: true,
2328
- superClass: [
2329
- "BaseElement"
2330
- ]
2331
- },
2332
- {
2333
- name: "CategoryValue",
2334
- superClass: [
2335
- "BaseElement"
2336
- ],
2337
- properties: [
2338
- {
2339
- name: "categorizedFlowElements",
2340
- type: "FlowElement",
2341
- isMany: true,
2342
- isVirtual: true,
2343
- isReference: true
2344
- },
2345
- {
2346
- name: "value",
2347
- isAttr: true,
2348
- type: "String"
2349
- }
2350
- ]
2351
- },
2352
- {
2353
- name: "Activity",
2354
- isAbstract: true,
2355
- superClass: [
2356
- "FlowNode"
2357
- ],
2358
- properties: [
2359
- {
2360
- name: "isForCompensation",
2361
- "default": false,
2362
- isAttr: true,
2363
- type: "Boolean"
2364
- },
2365
- {
2366
- name: "default",
2367
- type: "SequenceFlow",
2368
- isAttr: true,
2369
- isReference: true
2370
- },
2371
- {
2372
- name: "ioSpecification",
2373
- type: "InputOutputSpecification",
2374
- xml: {
2375
- serialize: "property"
2376
- }
2377
- },
2378
- {
2379
- name: "boundaryEventRefs",
2380
- type: "BoundaryEvent",
2381
- isMany: true,
2382
- isReference: true
2383
- },
2384
- {
2385
- name: "properties",
2386
- type: "Property",
2387
- isMany: true
2388
- },
2389
- {
2390
- name: "dataInputAssociations",
2391
- type: "DataInputAssociation",
2392
- isMany: true
2393
- },
2394
- {
2395
- name: "dataOutputAssociations",
2396
- type: "DataOutputAssociation",
2397
- isMany: true
2398
- },
2399
- {
2400
- name: "startQuantity",
2401
- "default": 1,
2402
- isAttr: true,
2403
- type: "Integer"
2404
- },
2405
- {
2406
- name: "resources",
2407
- type: "ResourceRole",
2408
- isMany: true
2409
- },
2410
- {
2411
- name: "completionQuantity",
2412
- "default": 1,
2413
- isAttr: true,
2414
- type: "Integer"
2415
- },
2416
- {
2417
- name: "loopCharacteristics",
2418
- type: "LoopCharacteristics"
2419
- }
2420
- ]
2421
- },
2422
- {
2423
- name: "ServiceTask",
2424
- superClass: [
2425
- "Task"
2426
- ],
2427
- properties: [
2428
- {
2429
- name: "implementation",
2430
- isAttr: true,
2431
- type: "String"
2432
- },
2433
- {
2434
- name: "operationRef",
2435
- type: "Operation",
2436
- isAttr: true,
2437
- isReference: true
2438
- }
2439
- ]
2440
- },
2441
- {
2442
- name: "SubProcess",
2443
- superClass: [
2444
- "Activity",
2445
- "FlowElementsContainer",
2446
- "InteractionNode"
2447
- ],
2448
- properties: [
2449
- {
2450
- name: "triggeredByEvent",
2451
- "default": false,
2452
- isAttr: true,
2453
- type: "Boolean"
2454
- },
2455
- {
2456
- name: "artifacts",
2457
- type: "Artifact",
2458
- isMany: true
2459
- }
2460
- ]
2461
- },
2462
- {
2463
- name: "LoopCharacteristics",
2464
- isAbstract: true,
2465
- superClass: [
2466
- "BaseElement"
2467
- ]
2468
- },
2469
- {
2470
- name: "MultiInstanceLoopCharacteristics",
2471
- superClass: [
2472
- "LoopCharacteristics"
2473
- ],
2474
- properties: [
2475
- {
2476
- name: "isSequential",
2477
- "default": false,
2478
- isAttr: true,
2479
- type: "Boolean"
2480
- },
2481
- {
2482
- name: "behavior",
2483
- type: "MultiInstanceBehavior",
2484
- "default": "All",
2485
- isAttr: true
2486
- },
2487
- {
2488
- name: "loopCardinality",
2489
- type: "Expression",
2490
- xml: {
2491
- serialize: "xsi:type"
2492
- }
2493
- },
2494
- {
2495
- name: "loopDataInputRef",
2496
- type: "ItemAwareElement",
2497
- isReference: true
2498
- },
2499
- {
2500
- name: "loopDataOutputRef",
2501
- type: "ItemAwareElement",
2502
- isReference: true
2503
- },
2504
- {
2505
- name: "inputDataItem",
2506
- type: "DataInput",
2507
- xml: {
2508
- serialize: "property"
2509
- }
2510
- },
2511
- {
2512
- name: "outputDataItem",
2513
- type: "DataOutput",
2514
- xml: {
2515
- serialize: "property"
2516
- }
2517
- },
2518
- {
2519
- name: "complexBehaviorDefinition",
2520
- type: "ComplexBehaviorDefinition",
2521
- isMany: true
2522
- },
2523
- {
2524
- name: "completionCondition",
2525
- type: "Expression",
2526
- xml: {
2527
- serialize: "xsi:type"
2528
- }
2529
- },
2530
- {
2531
- name: "oneBehaviorEventRef",
2532
- type: "EventDefinition",
2533
- isAttr: true,
2534
- isReference: true
2535
- },
2536
- {
2537
- name: "noneBehaviorEventRef",
2538
- type: "EventDefinition",
2539
- isAttr: true,
2540
- isReference: true
2541
- }
2542
- ]
2543
- },
2544
- {
2545
- name: "StandardLoopCharacteristics",
2546
- superClass: [
2547
- "LoopCharacteristics"
2548
- ],
2549
- properties: [
2550
- {
2551
- name: "testBefore",
2552
- "default": false,
2553
- isAttr: true,
2554
- type: "Boolean"
2555
- },
2556
- {
2557
- name: "loopCondition",
2558
- type: "Expression",
2559
- xml: {
2560
- serialize: "xsi:type"
2561
- }
2562
- },
2563
- {
2564
- name: "loopMaximum",
2565
- type: "Integer",
2566
- isAttr: true
2567
- }
2568
- ]
2569
- },
2570
- {
2571
- name: "CallActivity",
2572
- superClass: [
2573
- "Activity",
2574
- "InteractionNode"
2575
- ],
2576
- properties: [
2577
- {
2578
- name: "calledElement",
2579
- type: "String",
2580
- isAttr: true
2581
- }
2582
- ]
2583
- },
2584
- {
2585
- name: "Task",
2586
- superClass: [
2587
- "Activity",
2588
- "InteractionNode"
2589
- ]
2590
- },
2591
- {
2592
- name: "SendTask",
2593
- superClass: [
2594
- "Task"
2595
- ],
2596
- properties: [
2597
- {
2598
- name: "implementation",
2599
- isAttr: true,
2600
- type: "String"
2601
- },
2602
- {
2603
- name: "operationRef",
2604
- type: "Operation",
2605
- isAttr: true,
2606
- isReference: true
2607
- },
2608
- {
2609
- name: "messageRef",
2610
- type: "Message",
2611
- isAttr: true,
2612
- isReference: true
2613
- }
2614
- ]
2615
- },
2616
- {
2617
- name: "ReceiveTask",
2618
- superClass: [
2619
- "Task"
2620
- ],
2621
- properties: [
2622
- {
2623
- name: "implementation",
2624
- isAttr: true,
2625
- type: "String"
2626
- },
2627
- {
2628
- name: "instantiate",
2629
- "default": false,
2630
- isAttr: true,
2631
- type: "Boolean"
2632
- },
2633
- {
2634
- name: "operationRef",
2635
- type: "Operation",
2636
- isAttr: true,
2637
- isReference: true
2638
- },
2639
- {
2640
- name: "messageRef",
2641
- type: "Message",
2642
- isAttr: true,
2643
- isReference: true
2644
- }
2645
- ]
2646
- },
2647
- {
2648
- name: "ScriptTask",
2649
- superClass: [
2650
- "Task"
2651
- ],
2652
- properties: [
2653
- {
2654
- name: "scriptFormat",
2655
- isAttr: true,
2656
- type: "String"
2657
- },
2658
- {
2659
- name: "script",
2660
- type: "String"
2661
- }
2662
- ]
2663
- },
2664
- {
2665
- name: "BusinessRuleTask",
2666
- superClass: [
2667
- "Task"
2668
- ],
2669
- properties: [
2670
- {
2671
- name: "implementation",
2672
- isAttr: true,
2673
- type: "String"
2674
- }
2675
- ]
2676
- },
2677
- {
2678
- name: "AdHocSubProcess",
2679
- superClass: [
2680
- "SubProcess"
2681
- ],
2682
- properties: [
2683
- {
2684
- name: "completionCondition",
2685
- type: "Expression",
2686
- xml: {
2687
- serialize: "xsi:type"
2688
- }
2689
- },
2690
- {
2691
- name: "ordering",
2692
- type: "AdHocOrdering",
2693
- isAttr: true
2694
- },
2695
- {
2696
- name: "cancelRemainingInstances",
2697
- "default": true,
2698
- isAttr: true,
2699
- type: "Boolean"
2700
- }
2701
- ]
2702
- },
2703
- {
2704
- name: "Transaction",
2705
- superClass: [
2706
- "SubProcess"
2707
- ],
2708
- properties: [
2709
- {
2710
- name: "protocol",
2711
- isAttr: true,
2712
- type: "String"
2713
- },
2714
- {
2715
- name: "method",
2716
- isAttr: true,
2717
- type: "String"
2718
- }
2719
- ]
2720
- },
2721
- {
2722
- name: "GlobalScriptTask",
2723
- superClass: [
2724
- "GlobalTask"
2725
- ],
2726
- properties: [
2727
- {
2728
- name: "scriptLanguage",
2729
- isAttr: true,
2730
- type: "String"
2731
- },
2732
- {
2733
- name: "script",
2734
- isAttr: true,
2735
- type: "String"
2736
- }
2737
- ]
2738
- },
2739
- {
2740
- name: "GlobalBusinessRuleTask",
2741
- superClass: [
2742
- "GlobalTask"
2743
- ],
2744
- properties: [
2745
- {
2746
- name: "implementation",
2747
- isAttr: true,
2748
- type: "String"
2749
- }
2750
- ]
2751
- },
2752
- {
2753
- name: "ComplexBehaviorDefinition",
2754
- superClass: [
2755
- "BaseElement"
2756
- ],
2757
- properties: [
2758
- {
2759
- name: "condition",
2760
- type: "FormalExpression"
2761
- },
2762
- {
2763
- name: "event",
2764
- type: "ImplicitThrowEvent"
2765
- }
2766
- ]
2767
- },
2768
- {
2769
- name: "ResourceRole",
2770
- superClass: [
2771
- "BaseElement"
2772
- ],
2773
- properties: [
2774
- {
2775
- name: "resourceRef",
2776
- type: "Resource",
2777
- isReference: true
2778
- },
2779
- {
2780
- name: "resourceParameterBindings",
2781
- type: "ResourceParameterBinding",
2782
- isMany: true
2783
- },
2784
- {
2785
- name: "resourceAssignmentExpression",
2786
- type: "ResourceAssignmentExpression"
2787
- },
2788
- {
2789
- name: "name",
2790
- isAttr: true,
2791
- type: "String"
2792
- }
2793
- ]
2794
- },
2795
- {
2796
- name: "ResourceParameterBinding",
2797
- properties: [
2798
- {
2799
- name: "expression",
2800
- type: "Expression",
2801
- xml: {
2802
- serialize: "xsi:type"
2803
- }
2804
- },
2805
- {
2806
- name: "parameterRef",
2807
- type: "ResourceParameter",
2808
- isAttr: true,
2809
- isReference: true
2810
- }
2811
- ],
2812
- superClass: [
2813
- "BaseElement"
2814
- ]
2815
- },
2816
- {
2817
- name: "ResourceAssignmentExpression",
2818
- properties: [
2819
- {
2820
- name: "expression",
2821
- type: "Expression",
2822
- xml: {
2823
- serialize: "xsi:type"
2824
- }
2825
- }
2826
- ],
2827
- superClass: [
2828
- "BaseElement"
2829
- ]
2830
- },
2831
- {
2832
- name: "Import",
2833
- properties: [
2834
- {
2835
- name: "importType",
2836
- isAttr: true,
2837
- type: "String"
2838
- },
2839
- {
2840
- name: "location",
2841
- isAttr: true,
2842
- type: "String"
2843
- },
2844
- {
2845
- name: "namespace",
2846
- isAttr: true,
2847
- type: "String"
2848
- }
2849
- ]
2850
- },
2851
- {
2852
- name: "Definitions",
2853
- superClass: [
2854
- "BaseElement"
2855
- ],
2856
- properties: [
2857
- {
2858
- name: "name",
2859
- isAttr: true,
2860
- type: "String"
2861
- },
2862
- {
2863
- name: "targetNamespace",
2864
- isAttr: true,
2865
- type: "String"
2866
- },
2867
- {
2868
- name: "expressionLanguage",
2869
- "default": "http://www.w3.org/1999/XPath",
2870
- isAttr: true,
2871
- type: "String"
2872
- },
2873
- {
2874
- name: "typeLanguage",
2875
- "default": "http://www.w3.org/2001/XMLSchema",
2876
- isAttr: true,
2877
- type: "String"
2878
- },
2879
- {
2880
- name: "imports",
2881
- type: "Import",
2882
- isMany: true
2883
- },
2884
- {
2885
- name: "extensions",
2886
- type: "Extension",
2887
- isMany: true
2888
- },
2889
- {
2890
- name: "rootElements",
2891
- type: "RootElement",
2892
- isMany: true
2893
- },
2894
- {
2895
- name: "diagrams",
2896
- isMany: true,
2897
- type: "bpmndi:BPMNDiagram"
2898
- },
2899
- {
2900
- name: "exporter",
2901
- isAttr: true,
2902
- type: "String"
2903
- },
2904
- {
2905
- name: "relationships",
2906
- type: "Relationship",
2907
- isMany: true
2908
- },
2909
- {
2910
- name: "exporterVersion",
2911
- isAttr: true,
2912
- type: "String"
2913
- }
2914
- ]
2915
- }
2916
- ];
2917
- var enumerations$3 = [
2918
- {
2919
- name: "ProcessType",
2920
- literalValues: [
2921
- {
2922
- name: "None"
2923
- },
2924
- {
2925
- name: "Public"
2926
- },
2927
- {
2928
- name: "Private"
2929
- }
2930
- ]
2931
- },
2932
- {
2933
- name: "GatewayDirection",
2934
- literalValues: [
2935
- {
2936
- name: "Unspecified"
2937
- },
2938
- {
2939
- name: "Converging"
2940
- },
2941
- {
2942
- name: "Diverging"
2943
- },
2944
- {
2945
- name: "Mixed"
2946
- }
2947
- ]
2948
- },
2949
- {
2950
- name: "EventBasedGatewayType",
2951
- literalValues: [
2952
- {
2953
- name: "Parallel"
2954
- },
2955
- {
2956
- name: "Exclusive"
2957
- }
2958
- ]
2959
- },
2960
- {
2961
- name: "RelationshipDirection",
2962
- literalValues: [
2963
- {
2964
- name: "None"
2965
- },
2966
- {
2967
- name: "Forward"
2968
- },
2969
- {
2970
- name: "Backward"
2971
- },
2972
- {
2973
- name: "Both"
2974
- }
2975
- ]
2976
- },
2977
- {
2978
- name: "ItemKind",
2979
- literalValues: [
2980
- {
2981
- name: "Physical"
2982
- },
2983
- {
2984
- name: "Information"
2985
- }
2986
- ]
2987
- },
2988
- {
2989
- name: "ChoreographyLoopType",
2990
- literalValues: [
2991
- {
2992
- name: "None"
2993
- },
2994
- {
2995
- name: "Standard"
2996
- },
2997
- {
2998
- name: "MultiInstanceSequential"
2999
- },
3000
- {
3001
- name: "MultiInstanceParallel"
3002
- }
3003
- ]
3004
- },
3005
- {
3006
- name: "AssociationDirection",
3007
- literalValues: [
3008
- {
3009
- name: "None"
3010
- },
3011
- {
3012
- name: "One"
3013
- },
3014
- {
3015
- name: "Both"
3016
- }
3017
- ]
3018
- },
3019
- {
3020
- name: "MultiInstanceBehavior",
3021
- literalValues: [
3022
- {
3023
- name: "None"
3024
- },
3025
- {
3026
- name: "One"
3027
- },
3028
- {
3029
- name: "All"
3030
- },
3031
- {
3032
- name: "Complex"
3033
- }
3034
- ]
3035
- },
3036
- {
3037
- name: "AdHocOrdering",
3038
- literalValues: [
3039
- {
3040
- name: "Parallel"
3041
- },
3042
- {
3043
- name: "Sequential"
3044
- }
3045
- ]
3046
- }
3047
- ];
3048
- var xml$1 = {
3049
- tagAlias: "lowerCase",
3050
- typePrefix: "t"
3051
- };
3052
- var BpmnPackage = {
3053
- name: name$5,
3054
- uri: uri$5,
3055
- prefix: prefix$5,
3056
- associations: associations$5,
3057
- types: types$5,
3058
- enumerations: enumerations$3,
3059
- xml: xml$1
3060
- };
3061
-
3062
- var name$4 = "BPMNDI";
3063
- var uri$4 = "http://www.omg.org/spec/BPMN/20100524/DI";
3064
- var prefix$4 = "bpmndi";
3065
- var types$4 = [
3066
- {
3067
- name: "BPMNDiagram",
3068
- properties: [
3069
- {
3070
- name: "plane",
3071
- type: "BPMNPlane",
3072
- redefines: "di:Diagram#rootElement"
3073
- },
3074
- {
3075
- name: "labelStyle",
3076
- type: "BPMNLabelStyle",
3077
- isMany: true
3078
- }
3079
- ],
3080
- superClass: [
3081
- "di:Diagram"
3082
- ]
3083
- },
3084
- {
3085
- name: "BPMNPlane",
3086
- properties: [
3087
- {
3088
- name: "bpmnElement",
3089
- isAttr: true,
3090
- isReference: true,
3091
- type: "bpmn:BaseElement",
3092
- redefines: "di:DiagramElement#modelElement"
3093
- }
3094
- ],
3095
- superClass: [
3096
- "di:Plane"
3097
- ]
3098
- },
3099
- {
3100
- name: "BPMNShape",
3101
- properties: [
3102
- {
3103
- name: "bpmnElement",
3104
- isAttr: true,
3105
- isReference: true,
3106
- type: "bpmn:BaseElement",
3107
- redefines: "di:DiagramElement#modelElement"
3108
- },
3109
- {
3110
- name: "isHorizontal",
3111
- isAttr: true,
3112
- type: "Boolean"
3113
- },
3114
- {
3115
- name: "isExpanded",
3116
- isAttr: true,
3117
- type: "Boolean"
3118
- },
3119
- {
3120
- name: "isMarkerVisible",
3121
- isAttr: true,
3122
- type: "Boolean"
3123
- },
3124
- {
3125
- name: "label",
3126
- type: "BPMNLabel"
3127
- },
3128
- {
3129
- name: "isMessageVisible",
3130
- isAttr: true,
3131
- type: "Boolean"
3132
- },
3133
- {
3134
- name: "participantBandKind",
3135
- type: "ParticipantBandKind",
3136
- isAttr: true
3137
- },
3138
- {
3139
- name: "choreographyActivityShape",
3140
- type: "BPMNShape",
3141
- isAttr: true,
3142
- isReference: true
3143
- }
3144
- ],
3145
- superClass: [
3146
- "di:LabeledShape"
3147
- ]
3148
- },
3149
- {
3150
- name: "BPMNEdge",
3151
- properties: [
3152
- {
3153
- name: "label",
3154
- type: "BPMNLabel"
3155
- },
3156
- {
3157
- name: "bpmnElement",
3158
- isAttr: true,
3159
- isReference: true,
3160
- type: "bpmn:BaseElement",
3161
- redefines: "di:DiagramElement#modelElement"
3162
- },
3163
- {
3164
- name: "sourceElement",
3165
- isAttr: true,
3166
- isReference: true,
3167
- type: "di:DiagramElement",
3168
- redefines: "di:Edge#source"
3169
- },
3170
- {
3171
- name: "targetElement",
3172
- isAttr: true,
3173
- isReference: true,
3174
- type: "di:DiagramElement",
3175
- redefines: "di:Edge#target"
3176
- },
3177
- {
3178
- name: "messageVisibleKind",
3179
- type: "MessageVisibleKind",
3180
- isAttr: true,
3181
- "default": "initiating"
3182
- }
3183
- ],
3184
- superClass: [
3185
- "di:LabeledEdge"
3186
- ]
3187
- },
3188
- {
3189
- name: "BPMNLabel",
3190
- properties: [
3191
- {
3192
- name: "labelStyle",
3193
- type: "BPMNLabelStyle",
3194
- isAttr: true,
3195
- isReference: true,
3196
- redefines: "di:DiagramElement#style"
3197
- }
3198
- ],
3199
- superClass: [
3200
- "di:Label"
3201
- ]
3202
- },
3203
- {
3204
- name: "BPMNLabelStyle",
3205
- properties: [
3206
- {
3207
- name: "font",
3208
- type: "dc:Font"
3209
- }
3210
- ],
3211
- superClass: [
3212
- "di:Style"
3213
- ]
3214
- }
3215
- ];
3216
- var enumerations$2 = [
3217
- {
3218
- name: "ParticipantBandKind",
3219
- literalValues: [
3220
- {
3221
- name: "top_initiating"
3222
- },
3223
- {
3224
- name: "middle_initiating"
3225
- },
3226
- {
3227
- name: "bottom_initiating"
3228
- },
3229
- {
3230
- name: "top_non_initiating"
3231
- },
3232
- {
3233
- name: "middle_non_initiating"
3234
- },
3235
- {
3236
- name: "bottom_non_initiating"
3237
- }
3238
- ]
3239
- },
3240
- {
3241
- name: "MessageVisibleKind",
3242
- literalValues: [
3243
- {
3244
- name: "initiating"
3245
- },
3246
- {
3247
- name: "non_initiating"
3248
- }
3249
- ]
3250
- }
3251
- ];
3252
- var associations$4 = [
3253
- ];
3254
- var BpmnDiPackage = {
3255
- name: name$4,
3256
- uri: uri$4,
3257
- prefix: prefix$4,
3258
- types: types$4,
3259
- enumerations: enumerations$2,
3260
- associations: associations$4
3261
- };
3262
-
3263
- var name$3 = "DC";
3264
- var uri$3 = "http://www.omg.org/spec/DD/20100524/DC";
3265
- var prefix$3 = "dc";
3266
- var types$3 = [
3267
- {
3268
- name: "Boolean"
3269
- },
3270
- {
3271
- name: "Integer"
3272
- },
3273
- {
3274
- name: "Real"
3275
- },
3276
- {
3277
- name: "String"
3278
- },
3279
- {
3280
- name: "Font",
3281
- properties: [
3282
- {
3283
- name: "name",
3284
- type: "String",
3285
- isAttr: true
3286
- },
3287
- {
3288
- name: "size",
3289
- type: "Real",
3290
- isAttr: true
3291
- },
3292
- {
3293
- name: "isBold",
3294
- type: "Boolean",
3295
- isAttr: true
3296
- },
3297
- {
3298
- name: "isItalic",
3299
- type: "Boolean",
3300
- isAttr: true
3301
- },
3302
- {
3303
- name: "isUnderline",
3304
- type: "Boolean",
3305
- isAttr: true
3306
- },
3307
- {
3308
- name: "isStrikeThrough",
3309
- type: "Boolean",
3310
- isAttr: true
3311
- }
3312
- ]
3313
- },
3314
- {
3315
- name: "Point",
3316
- properties: [
3317
- {
3318
- name: "x",
3319
- type: "Real",
3320
- "default": "0",
3321
- isAttr: true
3322
- },
3323
- {
3324
- name: "y",
3325
- type: "Real",
3326
- "default": "0",
3327
- isAttr: true
3328
- }
3329
- ]
3330
- },
3331
- {
3332
- name: "Bounds",
3333
- properties: [
3334
- {
3335
- name: "x",
3336
- type: "Real",
3337
- "default": "0",
3338
- isAttr: true
3339
- },
3340
- {
3341
- name: "y",
3342
- type: "Real",
3343
- "default": "0",
3344
- isAttr: true
3345
- },
3346
- {
3347
- name: "width",
3348
- type: "Real",
3349
- isAttr: true
3350
- },
3351
- {
3352
- name: "height",
3353
- type: "Real",
3354
- isAttr: true
3355
- }
3356
- ]
3357
- }
3358
- ];
3359
- var associations$3 = [
3360
- ];
3361
- var DcPackage = {
3362
- name: name$3,
3363
- uri: uri$3,
3364
- prefix: prefix$3,
3365
- types: types$3,
3366
- associations: associations$3
3367
- };
3368
-
3369
- var name$2 = "DI";
3370
- var uri$2 = "http://www.omg.org/spec/DD/20100524/DI";
3371
- var prefix$2 = "di";
3372
- var types$2 = [
3373
- {
3374
- name: "DiagramElement",
3375
- isAbstract: true,
3376
- properties: [
3377
- {
3378
- name: "id",
3379
- isAttr: true,
3380
- isId: true,
3381
- type: "String"
3382
- },
3383
- {
3384
- name: "extension",
3385
- type: "Extension"
3386
- },
3387
- {
3388
- name: "owningDiagram",
3389
- type: "Diagram",
3390
- isReadOnly: true,
3391
- isVirtual: true,
3392
- isReference: true
3393
- },
3394
- {
3395
- name: "owningElement",
3396
- type: "DiagramElement",
3397
- isReadOnly: true,
3398
- isVirtual: true,
3399
- isReference: true
3400
- },
3401
- {
3402
- name: "modelElement",
3403
- isReadOnly: true,
3404
- isVirtual: true,
3405
- isReference: true,
3406
- type: "Element"
3407
- },
3408
- {
3409
- name: "style",
3410
- type: "Style",
3411
- isReadOnly: true,
3412
- isVirtual: true,
3413
- isReference: true
3414
- },
3415
- {
3416
- name: "ownedElement",
3417
- type: "DiagramElement",
3418
- isReadOnly: true,
3419
- isMany: true,
3420
- isVirtual: true
3421
- }
3422
- ]
3423
- },
3424
- {
3425
- name: "Node",
3426
- isAbstract: true,
3427
- superClass: [
3428
- "DiagramElement"
3429
- ]
3430
- },
3431
- {
3432
- name: "Edge",
3433
- isAbstract: true,
3434
- superClass: [
3435
- "DiagramElement"
3436
- ],
3437
- properties: [
3438
- {
3439
- name: "source",
3440
- type: "DiagramElement",
3441
- isReadOnly: true,
3442
- isVirtual: true,
3443
- isReference: true
3444
- },
3445
- {
3446
- name: "target",
3447
- type: "DiagramElement",
3448
- isReadOnly: true,
3449
- isVirtual: true,
3450
- isReference: true
3451
- },
3452
- {
3453
- name: "waypoint",
3454
- isUnique: false,
3455
- isMany: true,
3456
- type: "dc:Point",
3457
- xml: {
3458
- serialize: "xsi:type"
3459
- }
3460
- }
3461
- ]
3462
- },
3463
- {
3464
- name: "Diagram",
3465
- isAbstract: true,
3466
- properties: [
3467
- {
3468
- name: "id",
3469
- isAttr: true,
3470
- isId: true,
3471
- type: "String"
3472
- },
3473
- {
3474
- name: "rootElement",
3475
- type: "DiagramElement",
3476
- isReadOnly: true,
3477
- isVirtual: true
3478
- },
3479
- {
3480
- name: "name",
3481
- isAttr: true,
3482
- type: "String"
3483
- },
3484
- {
3485
- name: "documentation",
3486
- isAttr: true,
3487
- type: "String"
3488
- },
3489
- {
3490
- name: "resolution",
3491
- isAttr: true,
3492
- type: "Real"
3493
- },
3494
- {
3495
- name: "ownedStyle",
3496
- type: "Style",
3497
- isReadOnly: true,
3498
- isMany: true,
3499
- isVirtual: true
3500
- }
3501
- ]
3502
- },
3503
- {
3504
- name: "Shape",
3505
- isAbstract: true,
3506
- superClass: [
3507
- "Node"
3508
- ],
3509
- properties: [
3510
- {
3511
- name: "bounds",
3512
- type: "dc:Bounds"
3513
- }
3514
- ]
3515
- },
3516
- {
3517
- name: "Plane",
3518
- isAbstract: true,
3519
- superClass: [
3520
- "Node"
3521
- ],
3522
- properties: [
3523
- {
3524
- name: "planeElement",
3525
- type: "DiagramElement",
3526
- subsettedProperty: "DiagramElement-ownedElement",
3527
- isMany: true
3528
- }
3529
- ]
3530
- },
3531
- {
3532
- name: "LabeledEdge",
3533
- isAbstract: true,
3534
- superClass: [
3535
- "Edge"
3536
- ],
3537
- properties: [
3538
- {
3539
- name: "ownedLabel",
3540
- type: "Label",
3541
- isReadOnly: true,
3542
- subsettedProperty: "DiagramElement-ownedElement",
3543
- isMany: true,
3544
- isVirtual: true
3545
- }
3546
- ]
3547
- },
3548
- {
3549
- name: "LabeledShape",
3550
- isAbstract: true,
3551
- superClass: [
3552
- "Shape"
3553
- ],
3554
- properties: [
3555
- {
3556
- name: "ownedLabel",
3557
- type: "Label",
3558
- isReadOnly: true,
3559
- subsettedProperty: "DiagramElement-ownedElement",
3560
- isMany: true,
3561
- isVirtual: true
3562
- }
3563
- ]
3564
- },
3565
- {
3566
- name: "Label",
3567
- isAbstract: true,
3568
- superClass: [
3569
- "Node"
3570
- ],
3571
- properties: [
3572
- {
3573
- name: "bounds",
3574
- type: "dc:Bounds"
3575
- }
3576
- ]
3577
- },
3578
- {
3579
- name: "Style",
3580
- isAbstract: true,
3581
- properties: [
3582
- {
3583
- name: "id",
3584
- isAttr: true,
3585
- isId: true,
3586
- type: "String"
3587
- }
3588
- ]
3589
- },
3590
- {
3591
- name: "Extension",
3592
- properties: [
3593
- {
3594
- name: "values",
3595
- isMany: true,
3596
- type: "Element"
3597
- }
3598
- ]
3599
- }
3600
- ];
3601
- var associations$2 = [
3602
- ];
3603
- var xml = {
3604
- tagAlias: "lowerCase"
3605
- };
3606
- var DiPackage = {
3607
- name: name$2,
3608
- uri: uri$2,
3609
- prefix: prefix$2,
3610
- types: types$2,
3611
- associations: associations$2,
3612
- xml: xml
3613
- };
3614
-
3615
- var name$1 = "bpmn.io colors for BPMN";
3616
- var uri$1 = "http://bpmn.io/schema/bpmn/biocolor/1.0";
3617
- var prefix$1 = "bioc";
3618
- var types$1 = [
3619
- {
3620
- name: "ColoredShape",
3621
- "extends": [
3622
- "bpmndi:BPMNShape"
3623
- ],
3624
- properties: [
3625
- {
3626
- name: "stroke",
3627
- isAttr: true,
3628
- type: "String"
3629
- },
3630
- {
3631
- name: "fill",
3632
- isAttr: true,
3633
- type: "String"
3634
- }
3635
- ]
3636
- },
3637
- {
3638
- name: "ColoredEdge",
3639
- "extends": [
3640
- "bpmndi:BPMNEdge"
3641
- ],
3642
- properties: [
3643
- {
3644
- name: "stroke",
3645
- isAttr: true,
3646
- type: "String"
3647
- },
3648
- {
3649
- name: "fill",
3650
- isAttr: true,
3651
- type: "String"
3652
- }
3653
- ]
3654
- }
3655
- ];
3656
- var enumerations$1 = [
3657
- ];
3658
- var associations$1 = [
3659
- ];
3660
- var BiocPackage = {
3661
- name: name$1,
3662
- uri: uri$1,
3663
- prefix: prefix$1,
3664
- types: types$1,
3665
- enumerations: enumerations$1,
3666
- associations: associations$1
3667
- };
3668
-
3669
- var name = "BPMN in Color";
3670
- var uri = "http://www.omg.org/spec/BPMN/non-normative/color/1.0";
3671
- var prefix = "color";
3672
- var types = [
3673
- {
3674
- name: "ColoredLabel",
3675
- "extends": [
3676
- "bpmndi:BPMNLabel"
3677
- ],
3678
- properties: [
3679
- {
3680
- name: "color",
3681
- isAttr: true,
3682
- type: "String"
3683
- }
3684
- ]
3685
- },
3686
- {
3687
- name: "ColoredShape",
3688
- "extends": [
3689
- "bpmndi:BPMNShape"
3690
- ],
3691
- properties: [
3692
- {
3693
- name: "background-color",
3694
- isAttr: true,
3695
- type: "String"
3696
- },
3697
- {
3698
- name: "border-color",
3699
- isAttr: true,
3700
- type: "String"
3701
- }
3702
- ]
3703
- },
3704
- {
3705
- name: "ColoredEdge",
3706
- "extends": [
3707
- "bpmndi:BPMNEdge"
3708
- ],
3709
- properties: [
3710
- {
3711
- name: "border-color",
3712
- isAttr: true,
3713
- type: "String"
3714
- }
3715
- ]
3716
- }
3717
- ];
3718
- var enumerations = [
3719
- ];
3720
- var associations = [
3721
- ];
3722
- var BpmnInColorPackage = {
3723
- name: name,
3724
- uri: uri,
3725
- prefix: prefix,
3726
- types: types,
3727
- enumerations: enumerations,
3728
- associations: associations
3729
- };
3730
-
3731
- var packages = {
3732
- bpmn: BpmnPackage,
3733
- bpmndi: BpmnDiPackage,
3734
- dc: DcPackage,
3735
- di: DiPackage,
3736
- bioc: BiocPackage,
3737
- color: BpmnInColorPackage
3738
- };
3739
-
3740
- function simple(additionalPackages, options) {
3741
- var pks = assign({}, packages, additionalPackages);
3742
-
3743
- return new BpmnModdle(pks, options);
3744
- }
3745
-
3746
- export { simple as default };