algos 0.6.8

A collection of algorithms in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<xmi:XMI xmlns:uml="http://www.omg.org/spec/UML/20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:mofext="http://www.omg.org/spec/MOF/20131001">
<documentation>
<shortDescription>UML.xmi: XMI representation of the metamodel for UML 2.5.1.</shortDescription>
</documentation>
<uml:Package xmi:type="uml:Package" xmi:id="_0" name="UML" URI="http://www.omg.org/spec/UML/20161101">
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.0" importedPackage="_0"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.1" importedPackage="Actions"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.2" importedPackage="Activities"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.3" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.4" importedPackage="CommonBehavior"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.5" importedPackage="CommonStructure"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.6" importedPackage="Deployments"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.7" importedPackage="InformationFlows"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.8" importedPackage="Interactions"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.9" importedPackage="Packages"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.10" importedPackage="SimpleClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.11" importedPackage="StateMachines"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.12" importedPackage="StructuredClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.13" importedPackage="UseCases"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="_packageImport.14" importedPackage="Values"/>
<packagedElement xmi:type="uml:Package" xmi:id="Activities" name="Activities">
<packageImport xmi:type="uml:PackageImport" xmi:id="Activities-_packageImport.0" importedPackage="Actions"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Activities-_packageImport.1" importedPackage="Classification"/>
<packagedElement xmi:type="uml:Class" xmi:id="Activity" name="Activity">
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-_ownedComment.0" body="An Activity is the specification of parameterized Behavior as the coordinated sequencing of subordinate units.">
<annotatedElement xmi:idref="Activity"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Activity-maximum_one_parameter_node" name="maximum_one_parameter_node">
<constrainedElement xmi:idref="Activity"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-maximum_one_parameter_node-_ownedComment.0" body="A Parameter with direction other than inout must have exactly one ActivityParameterNode in an Activity.">
<annotatedElement xmi:idref="Activity-maximum_one_parameter_node"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Activity-maximum_one_parameter_node-_specification">
<body>ownedParameter->forAll(p | p.direction <> ParameterDirectionKind::inout implies node->select( oclIsKindOf(ActivityParameterNode) and oclAsType(ActivityParameterNode).parameter = p)->size()= 1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Activity-maximum_two_parameter_nodes" name="maximum_two_parameter_nodes">
<constrainedElement xmi:idref="Activity"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-maximum_two_parameter_nodes-_ownedComment.0" body="A Parameter with direction inout must have exactly two ActivityParameterNodes in an Activity, at most one with incoming ActivityEdges and at most one with outgoing ActivityEdges.">
<annotatedElement xmi:idref="Activity-maximum_two_parameter_nodes"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Activity-maximum_two_parameter_nodes-_specification">
<body>ownedParameter->forAll(p | p.direction = ParameterDirectionKind::inout implies let associatedNodes : Set(ActivityNode) = node->select( oclIsKindOf(ActivityParameterNode) and oclAsType(ActivityParameterNode).parameter = p) in associatedNodes->size()=2 and associatedNodes->select(incoming->notEmpty())->size()<=1 and associatedNodes->select(outgoing->notEmpty())->size()<=1 ) </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Activity-_generalization.0" general="Behavior"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-edge" name="edge" aggregation="composite" type="ActivityEdge" association="A_edge_activity">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-edge-_ownedComment.0" body="ActivityEdges expressing flow between the nodes of the Activity.">
<annotatedElement xmi:idref="Activity-edge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Activity-edge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Activity-edge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-group" name="group" aggregation="composite" type="ActivityGroup" association="A_group_inActivity">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-group-_ownedComment.0" body="Top-level ActivityGroups in the Activity.">
<annotatedElement xmi:idref="Activity-group"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Activity-group-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Activity-group-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-isReadOnly" name="isReadOnly">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-isReadOnly-_ownedComment.0" body="If true, this Activity must not make any changes to objects. The default is false (an Activity may make nonlocal changes). (This is an assertion, not an executable property. It may be used by an execution engine to optimize model execution. If the assertion is violated by the Activity, then the model is ill-formed.) ">
<annotatedElement xmi:idref="Activity-isReadOnly"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Activity-isReadOnly-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-isSingleExecution" name="isSingleExecution">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-isSingleExecution-_ownedComment.0" body="If true, all invocations of the Activity are handled by the same execution.">
<annotatedElement xmi:idref="Activity-isSingleExecution"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Activity-isSingleExecution-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-node" name="node" aggregation="composite" type="ActivityNode" association="A_node_activity">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-node-_ownedComment.0" body="ActivityNodes coordinated by the Activity.">
<annotatedElement xmi:idref="Activity-node"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Activity-node-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Activity-node-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-partition" name="partition" type="ActivityPartition" association="A_partition_activity">
<subsettedProperty xmi:idref="Activity-group"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-partition-_ownedComment.0" body="Top-level ActivityPartitions in the Activity.">
<annotatedElement xmi:idref="Activity-partition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Activity-partition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Activity-partition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-structuredNode" name="structuredNode" aggregation="composite" type="StructuredActivityNode" association="A_structuredNode_activity">
<subsettedProperty xmi:idref="Activity-group"/>
<subsettedProperty xmi:idref="Activity-node"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-structuredNode-_ownedComment.0" body="Top-level StructuredActivityNodes in the Activity.">
<annotatedElement xmi:idref="Activity-structuredNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Activity-structuredNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Activity-structuredNode-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Activity-variable" name="variable" aggregation="composite" type="Variable" association="A_variable_activityScope">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Activity-variable-_ownedComment.0" body="Top-level Variables defined by the Activity.">
<annotatedElement xmi:idref="Activity-variable"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Activity-variable-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Activity-variable-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActivityEdge" name="ActivityEdge" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-_ownedComment.0" body="An ActivityEdge is an abstract class for directed connections between two ActivityNodes.">
<annotatedElement xmi:idref="ActivityEdge"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityEdge-source_and_target" name="source_and_target">
<constrainedElement xmi:idref="ActivityEdge"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-source_and_target-_ownedComment.0" body="If an ActivityEdge is directly owned by an Activity, then its source and target must be directly or indirectly contained in the same Activity.">
<annotatedElement xmi:idref="ActivityEdge-source_and_target"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityEdge-source_and_target-_specification">
<body>activity<>null implies source.containingActivity() = activity and target.containingActivity() = activity</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ActivityEdge-_generalization.0" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-activity" name="activity" type="Activity" association="A_edge_activity">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-activity-_ownedComment.0" body="The Activity containing the ActivityEdge, if it is directly owned by an Activity.">
<annotatedElement xmi:idref="ActivityEdge-activity"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-activity-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-guard" name="guard" aggregation="composite" type="ValueSpecification" association="A_guard_activityEdge">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-guard-_ownedComment.0" body="A ValueSpecification that is evaluated to determine if a token can traverse the ActivityEdge. If an ActivityEdge has no guard, then there is no restriction on tokens traversing the edge.">
<annotatedElement xmi:idref="ActivityEdge-guard"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-guard-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-inGroup" name="inGroup" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="ActivityGroup" association="A_containedEdge_inGroup">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-inGroup-_ownedComment.0" body="ActivityGroups containing the ActivityEdge.">
<annotatedElement xmi:idref="ActivityEdge-inGroup"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-inGroup-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityEdge-inGroup-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-inPartition" name="inPartition" type="ActivityPartition" association="A_edge_inPartition">
<subsettedProperty xmi:idref="ActivityEdge-inGroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-inPartition-_ownedComment.0" body="ActivityPartitions containing the ActivityEdge.">
<annotatedElement xmi:idref="ActivityEdge-inPartition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-inPartition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityEdge-inPartition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-inStructuredNode" name="inStructuredNode" type="StructuredActivityNode" association="A_edge_inStructuredNode">
<subsettedProperty xmi:idref="ActivityEdge-inGroup"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-inStructuredNode-_ownedComment.0" body="The StructuredActivityNode containing the ActivityEdge, if it is owned by a StructuredActivityNode.">
<annotatedElement xmi:idref="ActivityEdge-inStructuredNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-inStructuredNode-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-interrupts" name="interrupts" type="InterruptibleActivityRegion" association="A_interruptingEdge_interrupts">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-interrupts-_ownedComment.0" body="The InterruptibleActivityRegion for which this ActivityEdge is an interruptingEdge.">
<annotatedElement xmi:idref="ActivityEdge-interrupts"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-interrupts-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-redefinedEdge" name="redefinedEdge" type="ActivityEdge" association="A_redefinedEdge_activityEdge">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-redefinedEdge-_ownedComment.0" body="ActivityEdges from a generalization of the Activity containing this ActivityEdge that are redefined by this ActivityEdge.">
<annotatedElement xmi:idref="ActivityEdge-redefinedEdge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-redefinedEdge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityEdge-redefinedEdge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-source" name="source" type="ActivityNode" association="A_outgoing_source_node">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-source-_ownedComment.0" body="The ActivityNode from which tokens are taken when they traverse the ActivityEdge.">
<annotatedElement xmi:idref="ActivityEdge-source"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-target" name="target" type="ActivityNode" association="A_incoming_target_node">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-target-_ownedComment.0" body="The ActivityNode to which tokens are put when they traverse the ActivityEdge.">
<annotatedElement xmi:idref="ActivityEdge-target"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityEdge-weight" name="weight" aggregation="composite" type="ValueSpecification" association="A_weight_activityEdge">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityEdge-weight-_ownedComment.0" body="The minimum number of tokens that must traverse the ActivityEdge at the same time. If no weight is specified, this is equivalent to specifying a constant value of 1.">
<annotatedElement xmi:idref="ActivityEdge-weight"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityEdge-weight-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ActivityEdge-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="ActivityEdge-isConsistentWith-spec">
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityEdge-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="ActivityEdge-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityEdge-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsKindOf(ActivityEdge))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ActivityEdge-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ActivityEdge-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActivityFinalNode" name="ActivityFinalNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityFinalNode-_ownedComment.0" body="An ActivityFinalNode is a FinalNode that terminates the execution of its owning Activity or StructuredActivityNode.">
<annotatedElement xmi:idref="ActivityFinalNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ActivityFinalNode-_generalization.0" general="FinalNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActivityGroup" name="ActivityGroup" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-_ownedComment.0" body="ActivityGroup is an abstract class for defining sets of ActivityNodes and ActivityEdges in an Activity.">
<annotatedElement xmi:idref="ActivityGroup"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityGroup-nodes_and_edges" name="nodes_and_edges">
<constrainedElement xmi:idref="ActivityGroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-nodes_and_edges-_ownedComment.0" body="All containedNodes and containeEdges of an ActivityGroup must be in the same Activity as the group.">
<annotatedElement xmi:idref="ActivityGroup-nodes_and_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityGroup-nodes_and_edges-_specification">
<body>containedNode->forAll(activity = self.containingActivity()) and containedEdge->forAll(activity = self.containingActivity())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityGroup-not_contained" name="not_contained">
<constrainedElement xmi:idref="ActivityGroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-not_contained-_ownedComment.0" body="No containedNode or containedEdge of an ActivityGroup may be contained by its subgroups or its superGroups, transitively.">
<annotatedElement xmi:idref="ActivityGroup-not_contained"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityGroup-not_contained-_specification">
<body>subgroup->closure(subgroup).containedNode->excludesAll(containedNode) and superGroup->closure(superGroup).containedNode->excludesAll(containedNode) and subgroup->closure(subgroup).containedEdge->excludesAll(containedEdge) and superGroup->closure(superGroup).containedEdge->excludesAll(containedEdge)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ActivityGroup-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityGroup-containedEdge" name="containedEdge" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="ActivityEdge" association="A_containedEdge_inGroup">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-containedEdge-_ownedComment.0" body="ActivityEdges immediately contained in the ActivityGroup.">
<annotatedElement xmi:idref="ActivityGroup-containedEdge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityGroup-containedEdge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityGroup-containedEdge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityGroup-containedNode" name="containedNode" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="ActivityNode" association="A_containedNode_inGroup">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-containedNode-_ownedComment.0" body="ActivityNodes immediately contained in the ActivityGroup.">
<annotatedElement xmi:idref="ActivityGroup-containedNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityGroup-containedNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityGroup-containedNode-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityGroup-inActivity" name="inActivity" type="Activity" association="A_group_inActivity">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-inActivity-_ownedComment.0" body="The Activity containing the ActivityGroup, if it is directly owned by an Activity.">
<annotatedElement xmi:idref="ActivityGroup-inActivity"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityGroup-inActivity-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityGroup-subgroup" name="subgroup" isReadOnly="true" aggregation="composite" isDerived="true" isDerivedUnion="true" type="ActivityGroup" association="A_subgroup_superGroup">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-subgroup-_ownedComment.0" body="Other ActivityGroups immediately contained in this ActivityGroup.">
<annotatedElement xmi:idref="ActivityGroup-subgroup"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityGroup-subgroup-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityGroup-subgroup-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityGroup-superGroup" name="superGroup" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="ActivityGroup" association="A_subgroup_superGroup">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-superGroup-_ownedComment.0" body="The ActivityGroup immediately containing this ActivityGroup, if it is directly owned by another ActivityGroup.">
<annotatedElement xmi:idref="ActivityGroup-superGroup"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityGroup-superGroup-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ActivityGroup-containingActivity" name="containingActivity" isQuery="true" bodyCondition="ActivityGroup-containingActivity-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityGroup-containingActivity-_ownedComment.0" body="The Activity that directly or indirectly contains this ActivityGroup.">
<annotatedElement xmi:idref="ActivityGroup-containingActivity"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityGroup-containingActivity-spec" name="spec">
<constrainedElement xmi:idref="ActivityGroup-containingActivity"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityGroup-containingActivity-spec-_specification">
<body>result = (if superGroup<>null then superGroup.containingActivity() else inActivity endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ActivityGroup-containingActivity-result" name="result" direction="return" type="Activity">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityGroup-containingActivity-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActivityNode" name="ActivityNode" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-_ownedComment.0" body="ActivityNode is an abstract class for points in the flow of an Activity connected by ActivityEdges.">
<annotatedElement xmi:idref="ActivityNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ActivityNode-_generalization.0" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-activity" name="activity" type="Activity" association="A_node_activity">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-activity-_ownedComment.0" body="The Activity containing the ActivityNode, if it is directly owned by an Activity.">
<annotatedElement xmi:idref="ActivityNode-activity"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-activity-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-inGroup" name="inGroup" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="ActivityGroup" association="A_containedNode_inGroup">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-inGroup-_ownedComment.0" body="ActivityGroups containing the ActivityNode.">
<annotatedElement xmi:idref="ActivityNode-inGroup"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-inGroup-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityNode-inGroup-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-inInterruptibleRegion" name="inInterruptibleRegion" type="InterruptibleActivityRegion" association="A_inInterruptibleRegion_node">
<subsettedProperty xmi:idref="ActivityNode-inGroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-inInterruptibleRegion-_ownedComment.0" body="InterruptibleActivityRegions containing the ActivityNode.">
<annotatedElement xmi:idref="ActivityNode-inInterruptibleRegion"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-inInterruptibleRegion-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityNode-inInterruptibleRegion-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-inPartition" name="inPartition" type="ActivityPartition" association="A_inPartition_node">
<subsettedProperty xmi:idref="ActivityNode-inGroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-inPartition-_ownedComment.0" body="ActivityPartitions containing the ActivityNode.">
<annotatedElement xmi:idref="ActivityNode-inPartition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-inPartition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityNode-inPartition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-inStructuredNode" name="inStructuredNode" type="StructuredActivityNode" association="A_node_inStructuredNode">
<subsettedProperty xmi:idref="ActivityNode-inGroup"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-inStructuredNode-_ownedComment.0" body="The StructuredActivityNode containing the ActvityNode, if it is directly owned by a StructuredActivityNode.">
<annotatedElement xmi:idref="ActivityNode-inStructuredNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-inStructuredNode-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-incoming" name="incoming" type="ActivityEdge" association="A_incoming_target_node">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-incoming-_ownedComment.0" body="ActivityEdges that have the ActivityNode as their target.">
<annotatedElement xmi:idref="ActivityNode-incoming"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-incoming-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityNode-incoming-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-outgoing" name="outgoing" type="ActivityEdge" association="A_outgoing_source_node">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-outgoing-_ownedComment.0" body="ActivityEdges that have the ActivityNode as their source.">
<annotatedElement xmi:idref="ActivityNode-outgoing"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-outgoing-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityNode-outgoing-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityNode-redefinedNode" name="redefinedNode" type="ActivityNode" association="A_redefinedNode_activityNode">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-redefinedNode-_ownedComment.0" body="ActivityNodes from a generalization of the Activity containining this ActivityNode that are redefined by this ActivityNode.">
<annotatedElement xmi:idref="ActivityNode-redefinedNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-redefinedNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityNode-redefinedNode-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ActivityNode-containingActivity" name="containingActivity" isQuery="true" bodyCondition="ActivityNode-containingActivity-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityNode-containingActivity-_ownedComment.0" body="The Activity that directly or indirectly contains this ActivityNode.">
<annotatedElement xmi:idref="ActivityNode-containingActivity"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityNode-containingActivity-spec" name="spec">
<constrainedElement xmi:idref="ActivityNode-containingActivity"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityNode-containingActivity-spec-_specification">
<body>result = (if inStructuredNode<>null then inStructuredNode.containingActivity() else activity endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ActivityNode-containingActivity-result" name="result" direction="return" type="Activity">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityNode-containingActivity-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ActivityNode-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="ActivityNode-isConsistentWith-spec">
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityNode-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="ActivityNode-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityNode-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsKindOf(ActivityNode))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ActivityNode-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ActivityNode-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActivityParameterNode" name="ActivityParameterNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-_ownedComment.0" body="An ActivityParameterNode is an ObjectNode for accepting values from the input Parameters or providing values to the output Parameters of an Activity.">
<annotatedElement xmi:idref="ActivityParameterNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityParameterNode-no_outgoing_edges" name="no_outgoing_edges">
<constrainedElement xmi:idref="ActivityParameterNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-no_outgoing_edges-_ownedComment.0" body="An ActivityParameterNode with no outgoing ActivityEdges and one or more incoming ActivityEdges must have a parameter with direction out, inout, or return.">
<annotatedElement xmi:idref="ActivityParameterNode-no_outgoing_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityParameterNode-no_outgoing_edges-_specification">
<body>(incoming->notEmpty() and outgoing->isEmpty()) implies (parameter.direction = ParameterDirectionKind::out or parameter.direction = ParameterDirectionKind::inout or parameter.direction = ParameterDirectionKind::return)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityParameterNode-has_parameters" name="has_parameters">
<constrainedElement xmi:idref="ActivityParameterNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-has_parameters-_ownedComment.0" body="The parameter of an ActivityParameterNode must be from the containing Activity.">
<annotatedElement xmi:idref="ActivityParameterNode-has_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityParameterNode-has_parameters-_specification">
<body>activity.ownedParameter->includes(parameter)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityParameterNode-same_type" name="same_type">
<constrainedElement xmi:idref="ActivityParameterNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-same_type-_ownedComment.0" body="The type of an ActivityParameterNode is the same as the type of its parameter.">
<annotatedElement xmi:idref="ActivityParameterNode-same_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityParameterNode-same_type-_specification">
<body>type = parameter.type</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityParameterNode-no_incoming_edges" name="no_incoming_edges">
<constrainedElement xmi:idref="ActivityParameterNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-no_incoming_edges-_ownedComment.0" body="An ActivityParameterNode with no incoming ActivityEdges and one or more outgoing ActivityEdges must have a parameter with direction in or inout.">
<annotatedElement xmi:idref="ActivityParameterNode-no_incoming_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityParameterNode-no_incoming_edges-_specification">
<body>(outgoing->notEmpty() and incoming->isEmpty()) implies (parameter.direction = ParameterDirectionKind::_'in' or parameter.direction = ParameterDirectionKind::inout)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityParameterNode-no_edges" name="no_edges">
<constrainedElement xmi:idref="ActivityParameterNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-no_edges-_ownedComment.0" body="An ActivityParameterNode may have all incoming ActivityEdges or all outgoing ActivityEdges, but it must not have both incoming and outgoing ActivityEdges.">
<annotatedElement xmi:idref="ActivityParameterNode-no_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityParameterNode-no_edges-_specification">
<body>incoming->isEmpty() or outgoing->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ActivityParameterNode-_generalization.0" general="ObjectNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityParameterNode-parameter" name="parameter" type="Parameter" association="A_parameter_activityParameterNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityParameterNode-parameter-_ownedComment.0" body="The Parameter for which the ActivityParameterNode will be accepting or providing values.">
<annotatedElement xmi:idref="ActivityParameterNode-parameter"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActivityPartition" name="ActivityPartition">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-_ownedComment.0" body="An ActivityPartition is a kind of ActivityGroup for identifying ActivityNodes that have some characteristic in common.">
<annotatedElement xmi:idref="ActivityPartition"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityPartition-represents_classifier" name="represents_classifier">
<constrainedElement xmi:idref="ActivityPartition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-represents_classifier-_ownedComment.0" body="If a non-external ActivityPartition represents a Classifier and has a superPartition, then the superPartition must represent a Classifier, and the Classifier of the subpartition must be nested (nestedClassifier or ownedBehavior) in the Classifier represented by the superPartition, or be at the contained end of a composition Association with the Classifier represented by the superPartition.">
<annotatedElement xmi:idref="ActivityPartition-represents_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityPartition-represents_classifier-_specification">
<body>(not isExternal and represents.oclIsKindOf(Classifier) and superPartition->notEmpty()) implies ( let representedClassifier : Classifier = represents.oclAsType(Classifier) in superPartition.represents.oclIsKindOf(Classifier) and let representedSuperClassifier : Classifier = superPartition.represents.oclAsType(Classifier) in (representedSuperClassifier.oclIsKindOf(BehavioredClassifier) and representedClassifier.oclIsKindOf(Behavior) and representedSuperClassifier.oclAsType(BehavioredClassifier).ownedBehavior->includes(representedClassifier.oclAsType(Behavior))) or (representedSuperClassifier.oclIsKindOf(Class) and representedSuperClassifier.oclAsType(Class).nestedClassifier->includes(representedClassifier)) or (Association.allInstances()->exists(a | a.memberEnd->exists(end1 | end1.isComposite and end1.type = representedClassifier and a.memberEnd->exists(end2 | end1<>end2 and end2.type = representedSuperClassifier)))) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityPartition-represents_property_and_is_contained" name="represents_property_and_is_contained">
<constrainedElement xmi:idref="ActivityPartition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-represents_property_and_is_contained-_ownedComment.0" body="If an ActivityPartition represents a Property and has a superPartition, then the Property must be of a Classifier represented by the superPartition, or of a Classifier that is the type of a Property represented by the superPartition.">
<annotatedElement xmi:idref="ActivityPartition-represents_property_and_is_contained"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityPartition-represents_property_and_is_contained-_specification">
<body>(represents.oclIsKindOf(Property) and superPartition->notEmpty()) implies ( (superPartition.represents.oclIsKindOf(Classifier) and represents.owner = superPartition.represents) or (superPartition.represents.oclIsKindOf(Property) and represents.owner = superPartition.represents.oclAsType(Property).type) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityPartition-represents_property" name="represents_property">
<constrainedElement xmi:idref="ActivityPartition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-represents_property-_ownedComment.0" body="If an ActivityPartition represents a Property and has a superPartition representing a Classifier, then all the other non-external subpartitions of the superPartition must represent Properties directly owned by the same Classifier.">
<annotatedElement xmi:idref="ActivityPartition-represents_property"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityPartition-represents_property-_specification">
<body>(represents.oclIsKindOf(Property) and superPartition->notEmpty() and superPartition.represents.oclIsKindOf(Classifier)) implies ( let representedClassifier : Classifier = superPartition.represents.oclAsType(Classifier) in superPartition.subpartition->reject(isExternal)->forAll(p | p.represents.oclIsKindOf(Property) and p.owner=representedClassifier) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActivityPartition-dimension_not_contained" name="dimension_not_contained">
<constrainedElement xmi:idref="ActivityPartition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-dimension_not_contained-_ownedComment.0" body="An ActvivityPartition with isDimension = true may not be contained by another ActivityPartition.">
<annotatedElement xmi:idref="ActivityPartition-dimension_not_contained"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActivityPartition-dimension_not_contained-_specification">
<body>isDimension implies superPartition->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ActivityPartition-_generalization.0" general="ActivityGroup"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-edge" name="edge" type="ActivityEdge" association="A_edge_inPartition">
<subsettedProperty xmi:idref="ActivityGroup-containedEdge"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-edge-_ownedComment.0" body="ActivityEdges immediately contained in the ActivityPartition.">
<annotatedElement xmi:idref="ActivityPartition-edge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityPartition-edge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityPartition-edge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-isDimension" name="isDimension">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-isDimension-_ownedComment.0" body="Indicates whether the ActivityPartition groups other ActivityPartitions along a dimension.">
<annotatedElement xmi:idref="ActivityPartition-isDimension"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ActivityPartition-isDimension-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-isExternal" name="isExternal">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-isExternal-_ownedComment.0" body="Indicates whether the ActivityPartition represents an entity to which the partitioning structure does not apply.">
<annotatedElement xmi:idref="ActivityPartition-isExternal"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ActivityPartition-isExternal-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-node" name="node" type="ActivityNode" association="A_inPartition_node">
<subsettedProperty xmi:idref="ActivityGroup-containedNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-node-_ownedComment.0" body="ActivityNodes immediately contained in the ActivityPartition.">
<annotatedElement xmi:idref="ActivityPartition-node"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityPartition-node-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityPartition-node-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-represents" name="represents" type="Element" association="A_represents_activityPartition">
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-represents-_ownedComment.0" body="An Element represented by the functionality modeled within the ActivityPartition.">
<annotatedElement xmi:idref="ActivityPartition-represents"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityPartition-represents-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-subpartition" name="subpartition" aggregation="composite" type="ActivityPartition" association="A_subpartition_superPartition">
<subsettedProperty xmi:idref="ActivityGroup-subgroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-subpartition-_ownedComment.0" body="Other ActivityPartitions immediately contained in this ActivityPartition (as its subgroups).">
<annotatedElement xmi:idref="ActivityPartition-subpartition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityPartition-subpartition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ActivityPartition-subpartition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActivityPartition-superPartition" name="superPartition" type="ActivityPartition" association="A_subpartition_superPartition">
<subsettedProperty xmi:idref="ActivityGroup-superGroup"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActivityPartition-superPartition-_ownedComment.0" body="Other ActivityPartitions immediately containing this ActivityPartition (as its superGroups).">
<annotatedElement xmi:idref="ActivityPartition-superPartition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ActivityPartition-superPartition-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CentralBufferNode" name="CentralBufferNode">
<ownedComment xmi:type="uml:Comment" xmi:id="CentralBufferNode-_ownedComment.0" body="A CentralBufferNode is an ObjectNode for managing flows from multiple sources and targets.">
<annotatedElement xmi:idref="CentralBufferNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="CentralBufferNode-_generalization.0" general="ObjectNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ControlFlow" name="ControlFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="ControlFlow-_ownedComment.0" body="A ControlFlow is an ActivityEdge traversed by control tokens or object tokens of control type, which are use to control the execution of ExecutableNodes.">
<annotatedElement xmi:idref="ControlFlow"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ControlFlow-object_nodes" name="object_nodes">
<constrainedElement xmi:idref="ControlFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ControlFlow-object_nodes-_ownedComment.0" body="ControlFlows may not have ObjectNodes at either end, except for ObjectNodes with control type.">
<annotatedElement xmi:idref="ControlFlow-object_nodes"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ControlFlow-object_nodes-_specification">
<body>(source.oclIsKindOf(ObjectNode) implies source.oclAsType(ObjectNode).isControlType) and (target.oclIsKindOf(ObjectNode) implies target.oclAsType(ObjectNode).isControlType)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ControlFlow-_generalization.0" general="ActivityEdge"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ControlNode" name="ControlNode" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ControlNode-_ownedComment.0" body="A ControlNode is an abstract ActivityNode that coordinates flows in an Activity.">
<annotatedElement xmi:idref="ControlNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ControlNode-_generalization.0" general="ActivityNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DataStoreNode" name="DataStoreNode">
<ownedComment xmi:type="uml:Comment" xmi:id="DataStoreNode-_ownedComment.0" body="A DataStoreNode is a CentralBufferNode for persistent data.">
<annotatedElement xmi:idref="DataStoreNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DataStoreNode-_generalization.0" general="CentralBufferNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DecisionNode" name="DecisionNode">
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-_ownedComment.0" body="A DecisionNode is a ControlNode that chooses between outgoing ActivityEdges for the routing of tokens.">
<annotatedElement xmi:idref="DecisionNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-zero_input_parameters" name="zero_input_parameters">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-zero_input_parameters-_ownedComment.0" body="If the DecisionNode has no decisionInputFlow and an incoming ControlFlow, then any decisionInput Behavior has no in parameters.">
<annotatedElement xmi:idref="DecisionNode-zero_input_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-zero_input_parameters-_specification">
<body>(decisionInput<>null and decisionInputFlow=null and incoming->exists(oclIsKindOf(ControlFlow))) implies decisionInput.inputParameters()->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-edges" name="edges">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-edges-_ownedComment.0" body="The ActivityEdges incoming to and outgoing from a DecisionNode, other than the decisionInputFlow (if any), must be either all ObjectFlows or all ControlFlows.">
<annotatedElement xmi:idref="DecisionNode-edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-edges-_specification">
<body>let allEdges: Set(ActivityEdge) = incoming->union(outgoing) in let allRelevantEdges: Set(ActivityEdge) = if decisionInputFlow->notEmpty() then allEdges->excluding(decisionInputFlow) else allEdges endif in allRelevantEdges->forAll(oclIsKindOf(ControlFlow)) or allRelevantEdges->forAll(oclIsKindOf(ObjectFlow)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-decision_input_flow_incoming" name="decision_input_flow_incoming">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-decision_input_flow_incoming-_ownedComment.0" body="The decisionInputFlow of a DecisionNode must be an incoming ActivityEdge of the DecisionNode.">
<annotatedElement xmi:idref="DecisionNode-decision_input_flow_incoming"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-decision_input_flow_incoming-_specification">
<body>incoming->includes(decisionInputFlow)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-two_input_parameters" name="two_input_parameters">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-two_input_parameters-_ownedComment.0" body="If the DecisionNode has a decisionInputFlow and an second incoming ObjectFlow, then any decisionInput has two in Parameters, the first of which has a type that is the same as or a supertype of the type of object tokens offered on the non-decisionInputFlow and the second of which has a type that is the same as or a supertype of the type of object tokens offered on the decisionInputFlow.">
<annotatedElement xmi:idref="DecisionNode-two_input_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-two_input_parameters-_specification">
<body>(decisionInput<>null and decisionInputFlow<>null and incoming->forAll(oclIsKindOf(ObjectFlow))) implies decisionInput.inputParameters()->size()=2</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-incoming_outgoing_edges" name="incoming_outgoing_edges">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-incoming_outgoing_edges-_ownedComment.0" body="A DecisionNode has one or two incoming ActivityEdges and at least one outgoing ActivityEdge.">
<annotatedElement xmi:idref="DecisionNode-incoming_outgoing_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-incoming_outgoing_edges-_specification">
<body>(incoming->size() = 1 or incoming->size() = 2) and outgoing->size() > 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-incoming_control_one_input_parameter" name="incoming_control_one_input_parameter">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-incoming_control_one_input_parameter-_ownedComment.0" body="If the DecisionNode has a decisionInputFlow and an incoming ControlFlow, then any decisionInput Behavior has one in Parameter whose type is the same as or a supertype of the type of object tokens offered on the decisionInputFlow.">
<annotatedElement xmi:idref="DecisionNode-incoming_control_one_input_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-incoming_control_one_input_parameter-_specification">
<body>(decisionInput<>null and decisionInputFlow<>null and incoming->exists(oclIsKindOf(ControlFlow))) implies decisionInput.inputParameters()->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-parameters" name="parameters">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-parameters-_ownedComment.0" body="A decisionInput Behavior has no out parameters, no inout parameters, and one return parameter.">
<annotatedElement xmi:idref="DecisionNode-parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-parameters-_specification">
<body>decisionInput<>null implies (decisionInput.ownedParameter->forAll(par | par.direction <> ParameterDirectionKind::out and par.direction <> ParameterDirectionKind::inout ) and decisionInput.ownedParameter->one(par | par.direction <> ParameterDirectionKind::return)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DecisionNode-incoming_object_one_input_parameter" name="incoming_object_one_input_parameter">
<constrainedElement xmi:idref="DecisionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-incoming_object_one_input_parameter-_ownedComment.0" body="If the DecisionNode has no decisionInputFlow and an incoming ObjectFlow, then any decisionInput Behavior has one in Parameter whose type is the same as or a supertype of the type of object tokens offered on the incoming ObjectFlow.">
<annotatedElement xmi:idref="DecisionNode-incoming_object_one_input_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DecisionNode-incoming_object_one_input_parameter-_specification">
<body>(decisionInput<>null and decisionInputFlow=null and incoming->forAll(oclIsKindOf(ObjectFlow))) implies decisionInput.inputParameters()->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="DecisionNode-_generalization.0" general="ControlNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DecisionNode-decisionInput" name="decisionInput" type="Behavior" association="A_decisionInput_decisionNode">
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-decisionInput-_ownedComment.0" body="A Behavior that is executed to provide an input to guard ValueSpecifications on ActivityEdges outgoing from the DecisionNode.">
<annotatedElement xmi:idref="DecisionNode-decisionInput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DecisionNode-decisionInput-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DecisionNode-decisionInputFlow" name="decisionInputFlow" type="ObjectFlow" association="A_decisionInputFlow_decisionNode">
<ownedComment xmi:type="uml:Comment" xmi:id="DecisionNode-decisionInputFlow-_ownedComment.0" body="An additional ActivityEdge incoming to the DecisionNode that provides a decision input value for the guards ValueSpecifications on ActivityEdges outgoing from the DecisionNode.">
<annotatedElement xmi:idref="DecisionNode-decisionInputFlow"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DecisionNode-decisionInputFlow-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExceptionHandler" name="ExceptionHandler">
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-_ownedComment.0" body="An ExceptionHandler is an Element that specifies a handlerBody ExecutableNode to execute in case the specified exception occurs during the execution of the protected ExecutableNode.">
<annotatedElement xmi:idref="ExceptionHandler"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExceptionHandler-handler_body_edges" name="handler_body_edges">
<constrainedElement xmi:idref="ExceptionHandler"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-handler_body_edges-_ownedComment.0" body="The handlerBody has no incoming or outgoing ActivityEdges and the exceptionInput has no incoming ActivityEdges.">
<annotatedElement xmi:idref="ExceptionHandler-handler_body_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExceptionHandler-handler_body_edges-_specification">
<body>handlerBody.incoming->isEmpty() and handlerBody.outgoing->isEmpty() and exceptionInput.incoming->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExceptionHandler-output_pins" name="output_pins">
<constrainedElement xmi:idref="ExceptionHandler"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-output_pins-_ownedComment.0" body="If the protectedNode is an Action with OutputPins, then the handlerBody must also be an Action with the same number of OutputPins, which are compatible in type, ordering, and multiplicity to those of the protectedNode.">
<annotatedElement xmi:idref="ExceptionHandler-output_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExceptionHandler-output_pins-_specification">
<body>(protectedNode.oclIsKindOf(Action) and protectedNode.oclAsType(Action).output->notEmpty()) implies ( handlerBody.oclIsKindOf(Action) and let protectedNodeOutput : OrderedSet(OutputPin) = protectedNode.oclAsType(Action).output, handlerBodyOutput : OrderedSet(OutputPin) = handlerBody.oclAsType(Action).output in protectedNodeOutput->size() = handlerBodyOutput->size() and Sequence{1..protectedNodeOutput->size()}->forAll(i | handlerBodyOutput->at(i).type.conformsTo(protectedNodeOutput->at(i).type) and handlerBodyOutput->at(i).isOrdered=protectedNodeOutput->at(i).isOrdered and handlerBodyOutput->at(i).compatibleWith(protectedNodeOutput->at(i))) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExceptionHandler-one_input" name="one_input">
<constrainedElement xmi:idref="ExceptionHandler"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-one_input-_ownedComment.0" body="The handlerBody is an Action with one InputPin, and that InputPin is the same as the exceptionInput.">
<annotatedElement xmi:idref="ExceptionHandler-one_input"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExceptionHandler-one_input-_specification">
<body>handlerBody.oclIsKindOf(Action) and let inputs: OrderedSet(InputPin) = handlerBody.oclAsType(Action).input in inputs->size()=1 and inputs->first()=exceptionInput</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExceptionHandler-edge_source_target" name="edge_source_target">
<constrainedElement xmi:idref="ExceptionHandler"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-edge_source_target-_ownedComment.0" body="An ActivityEdge that has a source within the handlerBody of an ExceptionHandler must have its target in the handlerBody also, and vice versa.">
<annotatedElement xmi:idref="ExceptionHandler-edge_source_target"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExceptionHandler-edge_source_target-_specification">
<body>let nodes:Set(ActivityNode) = handlerBody.oclAsType(Action).allOwnedNodes() in nodes.outgoing->forAll(nodes->includes(target)) and nodes.incoming->forAll(nodes->includes(source))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExceptionHandler-handler_body_owner" name="handler_body_owner">
<constrainedElement xmi:idref="ExceptionHandler"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-handler_body_owner-_ownedComment.0" body="The handlerBody must have the same owner as the protectedNode.">
<annotatedElement xmi:idref="ExceptionHandler-handler_body_owner"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExceptionHandler-handler_body_owner-_specification">
<body>handlerBody.owner=protectedNode.owner</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExceptionHandler-exception_input_type" name="exception_input_type">
<constrainedElement xmi:idref="ExceptionHandler"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-exception_input_type-_ownedComment.0" body="The exceptionInput must either have no type or every exceptionType must conform to the exceptionInput type.">
<annotatedElement xmi:idref="ExceptionHandler-exception_input_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExceptionHandler-exception_input_type-_specification">
<body>exceptionInput.type=null or exceptionType->forAll(conformsTo(exceptionInput.type.oclAsType(Classifier)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ExceptionHandler-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExceptionHandler-exceptionInput" name="exceptionInput" type="ObjectNode" association="A_exceptionInput_exceptionHandler">
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-exceptionInput-_ownedComment.0" body="An ObjectNode within the handlerBody. When the ExceptionHandler catches an exception, the exception token is placed on this ObjectNode, causing the handlerBody to execute.">
<annotatedElement xmi:idref="ExceptionHandler-exceptionInput"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExceptionHandler-exceptionType" name="exceptionType" type="Classifier" association="A_exceptionType_exceptionHandler">
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-exceptionType-_ownedComment.0" body="The Classifiers whose instances the ExceptionHandler catches as exceptions. If an exception occurs whose type is any exceptionType, the ExceptionHandler catches the exception and executes the handlerBody.">
<annotatedElement xmi:idref="ExceptionHandler-exceptionType"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ExceptionHandler-exceptionType-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExceptionHandler-handlerBody" name="handlerBody" type="ExecutableNode" association="A_handlerBody_exceptionHandler">
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-handlerBody-_ownedComment.0" body="An ExecutableNode that is executed if the ExceptionHandler catches an exception.">
<annotatedElement xmi:idref="ExceptionHandler-handlerBody"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExceptionHandler-protectedNode" name="protectedNode" type="ExecutableNode" association="A_handler_protectedNode">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExceptionHandler-protectedNode-_ownedComment.0" body="The ExecutableNode protected by the ExceptionHandler. If an exception propagates out of the protectedNode and has a type matching one of the exceptionTypes, then it is caught by this ExceptionHandler.">
<annotatedElement xmi:idref="ExceptionHandler-protectedNode"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExecutableNode" name="ExecutableNode" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutableNode-_ownedComment.0" body="An ExecutableNode is an abstract class for ActivityNodes whose execution may be controlled using ControlFlows and to which ExceptionHandlers may be attached.">
<annotatedElement xmi:idref="ExecutableNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ExecutableNode-_generalization.0" general="ActivityNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExecutableNode-handler" name="handler" aggregation="composite" type="ExceptionHandler" association="A_handler_protectedNode">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutableNode-handler-_ownedComment.0" body="A set of ExceptionHandlers that are examined if an exception propagates out of the ExceptionNode.">
<annotatedElement xmi:idref="ExecutableNode-handler"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ExecutableNode-handler-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ExecutableNode-handler-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="FinalNode" name="FinalNode" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="FinalNode-_ownedComment.0" body="A FinalNode is an abstract ControlNode at which a flow in an Activity stops.">
<annotatedElement xmi:idref="FinalNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalNode-no_outgoing_edges" name="no_outgoing_edges">
<constrainedElement xmi:idref="FinalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalNode-no_outgoing_edges-_ownedComment.0" body="A FinalNode has no outgoing ActivityEdges.">
<annotatedElement xmi:idref="FinalNode-no_outgoing_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalNode-no_outgoing_edges-_specification">
<body>outgoing->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="FinalNode-_generalization.0" general="ControlNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="FlowFinalNode" name="FlowFinalNode">
<ownedComment xmi:type="uml:Comment" xmi:id="FlowFinalNode-_ownedComment.0" body="A FlowFinalNode is a FinalNode that terminates a flow by consuming the tokens offered to it.">
<annotatedElement xmi:idref="FlowFinalNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="FlowFinalNode-_generalization.0" general="FinalNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ForkNode" name="ForkNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ForkNode-_ownedComment.0" body="A ForkNode is a ControlNode that splits a flow into multiple concurrent flows.">
<annotatedElement xmi:idref="ForkNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ForkNode-edges" name="edges">
<constrainedElement xmi:idref="ForkNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ForkNode-edges-_ownedComment.0" body="The ActivityEdges incoming to and outgoing from a ForkNode must be either all ObjectFlows or all ControlFlows.">
<annotatedElement xmi:idref="ForkNode-edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ForkNode-edges-_specification">
<body>let allEdges : Set(ActivityEdge) = incoming->union(outgoing) in allEdges->forAll(oclIsKindOf(ControlFlow)) or allEdges->forAll(oclIsKindOf(ObjectFlow)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ForkNode-one_incoming_edge" name="one_incoming_edge">
<constrainedElement xmi:idref="ForkNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ForkNode-one_incoming_edge-_ownedComment.0" body="A ForkNode has one incoming ActivityEdge.">
<annotatedElement xmi:idref="ForkNode-one_incoming_edge"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ForkNode-one_incoming_edge-_specification">
<body>incoming->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ForkNode-_generalization.0" general="ControlNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InitialNode" name="InitialNode">
<ownedComment xmi:type="uml:Comment" xmi:id="InitialNode-_ownedComment.0" body="An InitialNode is a ControlNode that offers a single control token when initially enabled.">
<annotatedElement xmi:idref="InitialNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InitialNode-no_incoming_edges" name="no_incoming_edges">
<constrainedElement xmi:idref="InitialNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InitialNode-no_incoming_edges-_ownedComment.0" body="An InitialNode has no incoming ActivityEdges.">
<annotatedElement xmi:idref="InitialNode-no_incoming_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InitialNode-no_incoming_edges-_specification">
<body>incoming->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InitialNode-control_edges" name="control_edges">
<constrainedElement xmi:idref="InitialNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InitialNode-control_edges-_ownedComment.0" body="All the outgoing ActivityEdges from an InitialNode must be ControlFlows.">
<annotatedElement xmi:idref="InitialNode-control_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InitialNode-control_edges-_specification">
<body>outgoing->forAll(oclIsKindOf(ControlFlow))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InitialNode-_generalization.0" general="ControlNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InterruptibleActivityRegion" name="InterruptibleActivityRegion">
<ownedComment xmi:type="uml:Comment" xmi:id="InterruptibleActivityRegion-_ownedComment.0" body="An InterruptibleActivityRegion is an ActivityGroup that supports the termination of tokens flowing in the portions of an activity within it.">
<annotatedElement xmi:idref="InterruptibleActivityRegion"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InterruptibleActivityRegion-interrupting_edges" name="interrupting_edges">
<constrainedElement xmi:idref="InterruptibleActivityRegion"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InterruptibleActivityRegion-interrupting_edges-_ownedComment.0" body="The interruptingEdges of an InterruptibleActivityRegion must have their source in the region and their target outside the region, but within the same Activity containing the region.">
<annotatedElement xmi:idref="InterruptibleActivityRegion-interrupting_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InterruptibleActivityRegion-interrupting_edges-_specification">
<body>interruptingEdge->forAll(edge | node->includes(edge.source) and node->excludes(edge.target) and edge.target.containingActivity() = inActivity)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InterruptibleActivityRegion-_generalization.0" general="ActivityGroup"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InterruptibleActivityRegion-interruptingEdge" name="interruptingEdge" type="ActivityEdge" association="A_interruptingEdge_interrupts">
<ownedComment xmi:type="uml:Comment" xmi:id="InterruptibleActivityRegion-interruptingEdge-_ownedComment.0" body="The ActivityEdges leaving the InterruptibleActivityRegion on which a traversing token will result in the termination of other tokens flowing in the InterruptibleActivityRegion.">
<annotatedElement xmi:idref="InterruptibleActivityRegion-interruptingEdge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InterruptibleActivityRegion-interruptingEdge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InterruptibleActivityRegion-interruptingEdge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InterruptibleActivityRegion-node" name="node" type="ActivityNode" association="A_inInterruptibleRegion_node">
<subsettedProperty xmi:idref="ActivityGroup-containedNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InterruptibleActivityRegion-node-_ownedComment.0" body="ActivityNodes immediately contained in the InterruptibleActivityRegion.">
<annotatedElement xmi:idref="InterruptibleActivityRegion-node"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InterruptibleActivityRegion-node-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InterruptibleActivityRegion-node-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="JoinNode" name="JoinNode">
<ownedComment xmi:type="uml:Comment" xmi:id="JoinNode-_ownedComment.0" body="A JoinNode is a ControlNode that synchronizes multiple flows.">
<annotatedElement xmi:idref="JoinNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="JoinNode-one_outgoing_edge" name="one_outgoing_edge">
<constrainedElement xmi:idref="JoinNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="JoinNode-one_outgoing_edge-_ownedComment.0" body="A JoinNode has one outgoing ActivityEdge.">
<annotatedElement xmi:idref="JoinNode-one_outgoing_edge"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="JoinNode-one_outgoing_edge-_specification">
<body>outgoing->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="JoinNode-incoming_object_flow" name="incoming_object_flow">
<constrainedElement xmi:idref="JoinNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="JoinNode-incoming_object_flow-_ownedComment.0" body="If one of the incoming ActivityEdges of a JoinNode is an ObjectFlow, then its outgoing ActivityEdge must be an ObjectFlow. Otherwise its outgoing ActivityEdge must be a ControlFlow.">
<annotatedElement xmi:idref="JoinNode-incoming_object_flow"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="JoinNode-incoming_object_flow-_specification">
<body>if incoming->exists(oclIsKindOf(ObjectFlow)) then outgoing->forAll(oclIsKindOf(ObjectFlow)) else outgoing->forAll(oclIsKindOf(ControlFlow)) endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="JoinNode-_generalization.0" general="ControlNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="JoinNode-isCombineDuplicate" name="isCombineDuplicate">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="JoinNode-isCombineDuplicate-_ownedComment.0" body="Indicates whether incoming tokens having objects with the same identity are combined into one by the JoinNode.">
<annotatedElement xmi:idref="JoinNode-isCombineDuplicate"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="JoinNode-isCombineDuplicate-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="JoinNode-joinSpec" name="joinSpec" aggregation="composite" type="ValueSpecification" association="A_joinSpec_joinNode">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="JoinNode-joinSpec-_ownedComment.0" body="A ValueSpecification giving the condition under which the JoinNode will offer a token on its outgoing ActivityEdge. If no joinSpec is specified, then the JoinNode will offer an outgoing token if tokens are offered on all of its incoming ActivityEdges (an "and" condition).">
<annotatedElement xmi:idref="JoinNode-joinSpec"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="JoinNode-joinSpec-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="MergeNode" name="MergeNode">
<ownedComment xmi:type="uml:Comment" xmi:id="MergeNode-_ownedComment.0" body="A merge node is a control node that brings together multiple alternate flows. It is not used to synchronize concurrent flows but to accept one among several alternate flows.">
<annotatedElement xmi:idref="MergeNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MergeNode-one_outgoing_edge" name="one_outgoing_edge">
<constrainedElement xmi:idref="MergeNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MergeNode-one_outgoing_edge-_ownedComment.0" body="A MergeNode has one outgoing ActivityEdge.">
<annotatedElement xmi:idref="MergeNode-one_outgoing_edge"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MergeNode-one_outgoing_edge-_specification">
<body>outgoing->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MergeNode-edges" name="edges">
<constrainedElement xmi:idref="MergeNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MergeNode-edges-_ownedComment.0" body="The ActivityEdges incoming to and outgoing from a MergeNode must be either all ObjectFlows or all ControlFlows.">
<annotatedElement xmi:idref="MergeNode-edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MergeNode-edges-_specification">
<body>let allEdges : Set(ActivityEdge) = incoming->union(outgoing) in allEdges->forAll(oclIsKindOf(ControlFlow)) or allEdges->forAll(oclIsKindOf(ObjectFlow)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="MergeNode-_generalization.0" general="ControlNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ObjectFlow" name="ObjectFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-_ownedComment.0" body="An ObjectFlow is an ActivityEdge that is traversed by object tokens that may hold values. Object flows also support multicast/receive, token selection from object nodes, and transformation of tokens.">
<annotatedElement xmi:idref="ObjectFlow"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-input_and_output_parameter" name="input_and_output_parameter">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-input_and_output_parameter-_ownedComment.0" body="A selection Behavior has one input Parameter and one output Parameter. The input Parameter must have the same as or a supertype of the type of the source ObjectNode, be non-unique and have multiplicity 0..*. The output Parameter must be the same or a subtype of the type of source ObjectNode. The Behavior cannot have side effects.">
<annotatedElement xmi:idref="ObjectFlow-input_and_output_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-input_and_output_parameter-_specification">
<body>selection<>null implies selection.inputParameters()->size()=1 and selection.inputParameters()->forAll(not isUnique and is(0,*)) and selection.outputParameters()->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-no_executable_nodes" name="no_executable_nodes">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-no_executable_nodes-_ownedComment.0" body="ObjectFlows may not have ExecutableNodes at either end.">
<annotatedElement xmi:idref="ObjectFlow-no_executable_nodes"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-no_executable_nodes-_specification">
<body>not (source.oclIsKindOf(ExecutableNode) or target.oclIsKindOf(ExecutableNode))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-transformation_behavior" name="transformation_behavior">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-transformation_behavior-_ownedComment.0" body="A transformation Behavior has one input Parameter and one output Parameter. The input Parameter must be the same as or a supertype of the type of object token coming from the source end. The output Parameter must be the same or a subtype of the type of object token expected downstream. The Behavior cannot have side effects.">
<annotatedElement xmi:idref="ObjectFlow-transformation_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-transformation_behavior-_specification">
<body>transformation<>null implies transformation.inputParameters()->size()=1 and transformation.outputParameters()->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-selection_behavior" name="selection_behavior">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-selection_behavior-_ownedComment.0" body="An ObjectFlow may have a selection Behavior only if it has an ObjectNode as its source.">
<annotatedElement xmi:idref="ObjectFlow-selection_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-selection_behavior-_specification">
<body>selection<>null implies source.oclIsKindOf(ObjectNode)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-compatible_types" name="compatible_types">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-compatible_types-_ownedComment.0" body="ObjectNodes connected by an ObjectFlow, with optionally intervening ControlNodes, must have compatible types. In particular, the downstream ObjectNode type must be the same or a supertype of the upstream ObjectNode type.">
<annotatedElement xmi:idref="ObjectFlow-compatible_types"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-compatible_types-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-same_upper_bounds" name="same_upper_bounds">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-same_upper_bounds-_ownedComment.0" body="ObjectNodes connected by an ObjectFlow, with optionally intervening ControlNodes, must have the same upperBounds.">
<annotatedElement xmi:idref="ObjectFlow-same_upper_bounds"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-same_upper_bounds-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-target" name="target">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-target-_ownedComment.0" body="An ObjectFlow with a constant weight may not target an ObjectNode, with optionally intervening ControlNodes, that has an upper bound less than the weight.">
<annotatedElement xmi:idref="ObjectFlow-target"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-target-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectFlow-is_multicast_or_is_multireceive" name="is_multicast_or_is_multireceive">
<constrainedElement xmi:idref="ObjectFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-is_multicast_or_is_multireceive-_ownedComment.0" body="isMulticast and isMultireceive cannot both be true.">
<annotatedElement xmi:idref="ObjectFlow-is_multicast_or_is_multireceive"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectFlow-is_multicast_or_is_multireceive-_specification">
<body>not (isMulticast and isMultireceive)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ObjectFlow-_generalization.0" general="ActivityEdge"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectFlow-isMulticast" name="isMulticast">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-isMulticast-_ownedComment.0" body="Indicates whether the objects in the ObjectFlow are passed by multicasting.">
<annotatedElement xmi:idref="ObjectFlow-isMulticast"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ObjectFlow-isMulticast-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectFlow-isMultireceive" name="isMultireceive">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-isMultireceive-_ownedComment.0" body="Indicates whether the objects in the ObjectFlow are gathered from respondents to multicasting.">
<annotatedElement xmi:idref="ObjectFlow-isMultireceive"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ObjectFlow-isMultireceive-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectFlow-selection" name="selection" type="Behavior" association="A_selection_objectFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-selection-_ownedComment.0" body="A Behavior used to select tokens from a source ObjectNode.">
<annotatedElement xmi:idref="ObjectFlow-selection"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ObjectFlow-selection-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectFlow-transformation" name="transformation" type="Behavior" association="A_transformation_objectFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectFlow-transformation-_ownedComment.0" body="A Behavior used to change or replace object tokens flowing along the ObjectFlow.">
<annotatedElement xmi:idref="ObjectFlow-transformation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ObjectFlow-transformation-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ObjectNode" name="ObjectNode" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-_ownedComment.0" body="An ObjectNode is an abstract ActivityNode that may hold tokens within the object flow in an Activity. ObjectNodes also support token selection, limitation on the number of tokens held, specification of the state required for tokens being held, and carrying control values. ">
<annotatedElement xmi:idref="ObjectNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectNode-input_output_parameter" name="input_output_parameter">
<constrainedElement xmi:idref="ObjectNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-input_output_parameter-_ownedComment.0" body="A selection Behavior has one input Parameter and one output Parameter. The input Parameter must have the same type as or a supertype of the type of ObjectNode, be non-unique, and have multiplicity 0..*. The output Parameter must be the same or a subtype of the type of ObjectNode. The Behavior cannot have side effects.">
<annotatedElement xmi:idref="ObjectNode-input_output_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectNode-input_output_parameter-_specification">
<body>selection<>null implies selection.inputParameters()->size()=1 and selection.inputParameters()->forAll(p | not p.isUnique and p.is(0,*) and self.type.conformsTo(p.type)) and selection.outputParameters()->size()=1 and selection.inputParameters()->forAll(p | self.type.conformsTo(p.type)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectNode-selection_behavior" name="selection_behavior">
<constrainedElement xmi:idref="ObjectNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-selection_behavior-_ownedComment.0" body="If an ObjectNode has a selection Behavior, then the ordering of the object node is ordered, and vice versa.">
<annotatedElement xmi:idref="ObjectNode-selection_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectNode-selection_behavior-_specification">
<body>(selection<>null) = (ordering=ObjectNodeOrderingKind::ordered)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ObjectNode-object_flow_edges" name="object_flow_edges">
<constrainedElement xmi:idref="ObjectNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-object_flow_edges-_ownedComment.0" body="If isControlType=false, the ActivityEdges incoming to or outgoing from an ObjectNode must all be ObjectFlows.">
<annotatedElement xmi:idref="ObjectNode-object_flow_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ObjectNode-object_flow_edges-_specification">
<body>(not isControlType) implies incoming->union(outgoing)->forAll(oclIsKindOf(ObjectFlow))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ObjectNode-_generalization.1" general="TypedElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="ObjectNode-_generalization.0" general="ActivityNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectNode-inState" name="inState" type="State" association="A_inState_objectNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-inState-_ownedComment.0" body="The States required to be associated with the values held by tokens on this ObjectNode.">
<annotatedElement xmi:idref="ObjectNode-inState"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ObjectNode-inState-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ObjectNode-inState-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectNode-isControlType" name="isControlType">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-isControlType-_ownedComment.0" body="Indicates whether the type of the ObjectNode is to be treated as representing control values that may traverse ControlFlows.">
<annotatedElement xmi:idref="ObjectNode-isControlType"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ObjectNode-isControlType-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectNode-ordering" name="ordering" type="ObjectNodeOrderingKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-ordering-_ownedComment.0" body="Indicates how the tokens held by the ObjectNode are ordered for selection to traverse ActivityEdges outgoing from the ObjectNode.">
<annotatedElement xmi:idref="ObjectNode-ordering"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="ObjectNode-ordering-_defaultValue" type="ObjectNodeOrderingKind" instance="ObjectNodeOrderingKind-FIFO"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectNode-selection" name="selection" type="Behavior" association="A_selection_objectNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-selection-_ownedComment.0" body="A Behavior used to select tokens to be offered on outgoing ActivityEdges.">
<annotatedElement xmi:idref="ObjectNode-selection"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ObjectNode-selection-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ObjectNode-upperBound" name="upperBound" aggregation="composite" type="ValueSpecification" association="A_upperBound_objectNode">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNode-upperBound-_ownedComment.0" body="The maximum number of tokens that may be held by this ObjectNode. Tokens cannot flow into the ObjectNode if the upperBound is reached. If no upperBound is specified, then there is no limit on how many tokens the ObjectNode can hold.">
<annotatedElement xmi:idref="ObjectNode-upperBound"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ObjectNode-upperBound-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Variable" name="Variable">
<ownedComment xmi:type="uml:Comment" xmi:id="Variable-_ownedComment.0" body="A Variable is a ConnectableElement that may store values during the execution of an Activity. Reading and writing the values of a Variable provides an alternative means for passing data than the use of ObjectFlows. A Variable may be owned directly by an Activity, in which case it is accessible from anywhere within that activity, or it may be owned by a StructuredActivityNode, in which case it is only accessible within that node.">
<annotatedElement xmi:idref="Variable"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Variable-_generalization.0" general="ConnectableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Variable-_generalization.1" general="MultiplicityElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Variable-activityScope" name="activityScope" type="Activity" association="A_variable_activityScope">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Variable-activityScope-_ownedComment.0" body="An Activity that owns the Variable.">
<annotatedElement xmi:idref="Variable-activityScope"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Variable-activityScope-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Variable-scope" name="scope" type="StructuredActivityNode" association="A_variable_scope">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Variable-scope-_ownedComment.0" body="A StructuredActivityNode that owns the Variable.">
<annotatedElement xmi:idref="Variable-scope"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Variable-scope-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Variable-isAccessibleBy" name="isAccessibleBy" isQuery="true" bodyCondition="Variable-isAccessibleBy-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Variable-isAccessibleBy-_ownedComment.0" body="A Variable is accessible by Actions within its scope (the Activity or StructuredActivityNode that owns it).">
<annotatedElement xmi:idref="Variable-isAccessibleBy"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Variable-isAccessibleBy-spec" name="spec">
<constrainedElement xmi:idref="Variable-isAccessibleBy"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Variable-isAccessibleBy-spec-_specification">
<body>result = (if scope<>null then scope.allOwnedNodes()->includes(a) else a.containingActivity()=activityScope endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Variable-isAccessibleBy-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Variable-isAccessibleBy-a" name="a" type="Action"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="ObjectNodeOrderingKind" name="ObjectNodeOrderingKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNodeOrderingKind-_ownedComment.0" body="ObjectNodeOrderingKind is an enumeration indicating queuing order for offering the tokens held by an ObjectNode.">
<annotatedElement xmi:idref="ObjectNodeOrderingKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-unordered" name="unordered">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNodeOrderingKind-unordered-_ownedComment.0" body="Indicates that tokens are unordered.">
<annotatedElement xmi:idref="ObjectNodeOrderingKind-unordered"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-ordered" name="ordered">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNodeOrderingKind-ordered-_ownedComment.0" body="Indicates that tokens are ordered.">
<annotatedElement xmi:idref="ObjectNodeOrderingKind-ordered"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-LIFO" name="LIFO">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNodeOrderingKind-LIFO-_ownedComment.0" body="Indicates that tokens are queued in a last in, first out manner.">
<annotatedElement xmi:idref="ObjectNodeOrderingKind-LIFO"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-FIFO" name="FIFO">
<ownedComment xmi:type="uml:Comment" xmi:id="ObjectNodeOrderingKind-FIFO-_ownedComment.0" body="Indicates that tokens are queued in a first in, first out manner.">
<annotatedElement xmi:idref="ObjectNodeOrderingKind-FIFO"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_selection_objectNode" name="A_selection_objectNode">
<memberEnd xmi:idref="ObjectNode-selection"/>
<memberEnd xmi:idref="A_selection_objectNode-objectNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_selection_objectNode-objectNode" name="objectNode" type="ObjectNode" association="A_selection_objectNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_selection_objectNode-objectNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_selection_objectNode-objectNode-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inState_objectNode" name="A_inState_objectNode">
<memberEnd xmi:idref="ObjectNode-inState"/>
<memberEnd xmi:idref="A_inState_objectNode-objectNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_inState_objectNode-objectNode" name="objectNode" type="ObjectNode" association="A_inState_objectNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_inState_objectNode-objectNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_inState_objectNode-objectNode-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_upperBound_objectNode" name="A_upperBound_objectNode">
<memberEnd xmi:idref="ObjectNode-upperBound"/>
<memberEnd xmi:idref="A_upperBound_objectNode-objectNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_upperBound_objectNode-objectNode" name="objectNode" type="ObjectNode" association="A_upperBound_objectNode">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_upperBound_objectNode-objectNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_transformation_objectFlow" name="A_transformation_objectFlow">
<memberEnd xmi:idref="ObjectFlow-transformation"/>
<memberEnd xmi:idref="A_transformation_objectFlow-objectFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_transformation_objectFlow-objectFlow" name="objectFlow" type="ObjectFlow" association="A_transformation_objectFlow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_transformation_objectFlow-objectFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_transformation_objectFlow-objectFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_selection_objectFlow" name="A_selection_objectFlow">
<memberEnd xmi:idref="ObjectFlow-selection"/>
<memberEnd xmi:idref="A_selection_objectFlow-objectFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_selection_objectFlow-objectFlow" name="objectFlow" type="ObjectFlow" association="A_selection_objectFlow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_selection_objectFlow-objectFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_selection_objectFlow-objectFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_joinSpec_joinNode" name="A_joinSpec_joinNode">
<memberEnd xmi:idref="JoinNode-joinSpec"/>
<memberEnd xmi:idref="A_joinSpec_joinNode-joinNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_joinSpec_joinNode-joinNode" name="joinNode" type="JoinNode" association="A_joinSpec_joinNode">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_joinSpec_joinNode-joinNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_interruptingEdge_interrupts" name="A_interruptingEdge_interrupts">
<memberEnd xmi:idref="InterruptibleActivityRegion-interruptingEdge"/>
<memberEnd xmi:idref="ActivityEdge-interrupts"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_handler_protectedNode" name="A_handler_protectedNode">
<memberEnd xmi:idref="ExecutableNode-handler"/>
<memberEnd xmi:idref="ExceptionHandler-protectedNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_handlerBody_exceptionHandler" name="A_handlerBody_exceptionHandler">
<memberEnd xmi:idref="ExceptionHandler-handlerBody"/>
<memberEnd xmi:idref="A_handlerBody_exceptionHandler-exceptionHandler"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_handlerBody_exceptionHandler-exceptionHandler" name="exceptionHandler" type="ExceptionHandler" association="A_handlerBody_exceptionHandler">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_handlerBody_exceptionHandler-exceptionHandler-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_handlerBody_exceptionHandler-exceptionHandler-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_exceptionType_exceptionHandler" name="A_exceptionType_exceptionHandler">
<memberEnd xmi:idref="ExceptionHandler-exceptionType"/>
<memberEnd xmi:idref="A_exceptionType_exceptionHandler-exceptionHandler"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_exceptionType_exceptionHandler-exceptionHandler" name="exceptionHandler" type="ExceptionHandler" association="A_exceptionType_exceptionHandler">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_exceptionType_exceptionHandler-exceptionHandler-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_exceptionType_exceptionHandler-exceptionHandler-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_exceptionInput_exceptionHandler" name="A_exceptionInput_exceptionHandler">
<memberEnd xmi:idref="ExceptionHandler-exceptionInput"/>
<memberEnd xmi:idref="A_exceptionInput_exceptionHandler-exceptionHandler"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_exceptionInput_exceptionHandler-exceptionHandler" name="exceptionHandler" type="ExceptionHandler" association="A_exceptionInput_exceptionHandler">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_exceptionInput_exceptionHandler-exceptionHandler-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_exceptionInput_exceptionHandler-exceptionHandler-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_decisionInput_decisionNode" name="A_decisionInput_decisionNode">
<memberEnd xmi:idref="DecisionNode-decisionInput"/>
<memberEnd xmi:idref="A_decisionInput_decisionNode-decisionNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_decisionInput_decisionNode-decisionNode" name="decisionNode" type="DecisionNode" association="A_decisionInput_decisionNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_decisionInput_decisionNode-decisionNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_decisionInput_decisionNode-decisionNode-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_decisionInputFlow_decisionNode" name="A_decisionInputFlow_decisionNode">
<memberEnd xmi:idref="DecisionNode-decisionInputFlow"/>
<memberEnd xmi:idref="A_decisionInputFlow_decisionNode-decisionNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_decisionInputFlow_decisionNode-decisionNode" name="decisionNode" type="DecisionNode" association="A_decisionInputFlow_decisionNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_decisionInputFlow_decisionNode-decisionNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_represents_activityPartition" name="A_represents_activityPartition">
<memberEnd xmi:idref="ActivityPartition-represents"/>
<memberEnd xmi:idref="A_represents_activityPartition-activityPartition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_represents_activityPartition-activityPartition" name="activityPartition" type="ActivityPartition" association="A_represents_activityPartition">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_represents_activityPartition-activityPartition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_represents_activityPartition-activityPartition-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_subpartition_superPartition" name="A_subpartition_superPartition">
<memberEnd xmi:idref="ActivityPartition-subpartition"/>
<memberEnd xmi:idref="ActivityPartition-superPartition"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_edge_inPartition" name="A_edge_inPartition">
<memberEnd xmi:idref="ActivityPartition-edge"/>
<memberEnd xmi:idref="ActivityEdge-inPartition"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_parameter_activityParameterNode" name="A_parameter_activityParameterNode">
<memberEnd xmi:idref="ActivityParameterNode-parameter"/>
<memberEnd xmi:idref="A_parameter_activityParameterNode-activityParameterNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_parameter_activityParameterNode-activityParameterNode" name="activityParameterNode" type="ActivityParameterNode" association="A_parameter_activityParameterNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_parameter_activityParameterNode-activityParameterNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_parameter_activityParameterNode-activityParameterNode-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inInterruptibleRegion_node" name="A_inInterruptibleRegion_node">
<memberEnd xmi:idref="ActivityNode-inInterruptibleRegion"/>
<memberEnd xmi:idref="InterruptibleActivityRegion-node"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inPartition_node" name="A_inPartition_node">
<memberEnd xmi:idref="ActivityNode-inPartition"/>
<memberEnd xmi:idref="ActivityPartition-node"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_incoming_target_node" name="A_incoming_target_node">
<memberEnd xmi:idref="ActivityNode-incoming"/>
<memberEnd xmi:idref="ActivityEdge-target"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_outgoing_source_node" name="A_outgoing_source_node">
<memberEnd xmi:idref="ActivityNode-outgoing"/>
<memberEnd xmi:idref="ActivityEdge-source"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedNode_activityNode" name="A_redefinedNode_activityNode">
<memberEnd xmi:idref="ActivityNode-redefinedNode"/>
<memberEnd xmi:idref="A_redefinedNode_activityNode-activityNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedNode_activityNode-activityNode" name="activityNode" type="ActivityNode" association="A_redefinedNode_activityNode">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedNode_activityNode-activityNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedNode_activityNode-activityNode-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_containedEdge_inGroup" name="A_containedEdge_inGroup" isDerived="true">
<memberEnd xmi:idref="ActivityGroup-containedEdge"/>
<memberEnd xmi:idref="ActivityEdge-inGroup"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_containedNode_inGroup" name="A_containedNode_inGroup" isDerived="true">
<memberEnd xmi:idref="ActivityGroup-containedNode"/>
<memberEnd xmi:idref="ActivityNode-inGroup"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_subgroup_superGroup" name="A_subgroup_superGroup" isDerived="true">
<memberEnd xmi:idref="ActivityGroup-subgroup"/>
<memberEnd xmi:idref="ActivityGroup-superGroup"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedEdge_activityEdge" name="A_redefinedEdge_activityEdge">
<memberEnd xmi:idref="ActivityEdge-redefinedEdge"/>
<memberEnd xmi:idref="A_redefinedEdge_activityEdge-activityEdge"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedEdge_activityEdge-activityEdge" name="activityEdge" type="ActivityEdge" association="A_redefinedEdge_activityEdge">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedEdge_activityEdge-activityEdge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedEdge_activityEdge-activityEdge-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_weight_activityEdge" name="A_weight_activityEdge">
<memberEnd xmi:idref="ActivityEdge-weight"/>
<memberEnd xmi:idref="A_weight_activityEdge-activityEdge"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_weight_activityEdge-activityEdge" name="activityEdge" type="ActivityEdge" association="A_weight_activityEdge">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_weight_activityEdge-activityEdge-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_guard_activityEdge" name="A_guard_activityEdge">
<memberEnd xmi:idref="ActivityEdge-guard"/>
<memberEnd xmi:idref="A_guard_activityEdge-activityEdge"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_guard_activityEdge-activityEdge" name="activityEdge" type="ActivityEdge" association="A_guard_activityEdge">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_guard_activityEdge-activityEdge-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_structuredNode_activity" name="A_structuredNode_activity">
<memberEnd xmi:idref="Activity-structuredNode"/>
<memberEnd xmi:idref="StructuredActivityNode-activity"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_group_inActivity" name="A_group_inActivity">
<memberEnd xmi:idref="Activity-group"/>
<memberEnd xmi:idref="ActivityGroup-inActivity"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_node_activity" name="A_node_activity">
<memberEnd xmi:idref="Activity-node"/>
<memberEnd xmi:idref="ActivityNode-activity"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_variable_activityScope" name="A_variable_activityScope">
<memberEnd xmi:idref="Activity-variable"/>
<memberEnd xmi:idref="Variable-activityScope"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_edge_activity" name="A_edge_activity">
<memberEnd xmi:idref="Activity-edge"/>
<memberEnd xmi:idref="ActivityEdge-activity"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_partition_activity" name="A_partition_activity">
<memberEnd xmi:idref="Activity-partition"/>
<memberEnd xmi:idref="A_partition_activity-activity"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_partition_activity-activity" name="activity" type="Activity" association="A_partition_activity">
<subsettedProperty xmi:idref="ActivityGroup-inActivity"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_partition_activity-activity-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="Values" name="Values">
<packageImport xmi:type="uml:PackageImport" xmi:id="Values-_packageImport.0" importedPackage="Classification"/>
<packagedElement xmi:type="uml:Class" xmi:id="Duration" name="Duration">
<ownedComment xmi:type="uml:Comment" xmi:id="Duration-_ownedComment.0" body="A Duration is a ValueSpecification that specifies the temporal distance between two time instants.">
<annotatedElement xmi:idref="Duration"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Duration-no_expr_requires_observation" name="no_expr_requires_observation">
<constrainedElement xmi:idref="Duration"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Duration-no_expr_requires_observation-_ownedComment.0" body="If a Duration has no expr, then it must have a single observation that is a DurationObservation.">
<annotatedElement xmi:idref="Duration-no_expr_requires_observation"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Duration-no_expr_requires_observation-_specification">
<body>expr = null implies (observation->size() = 1 and observation->forAll(oclIsKindOf(DurationObservation)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Duration-_generalization.0" general="ValueSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Duration-expr" name="expr" aggregation="composite" type="ValueSpecification" association="A_expr_duration">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Duration-expr-_ownedComment.0" body="A ValueSpecification that evaluates to the value of the Duration.">
<annotatedElement xmi:idref="Duration-expr"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Duration-expr-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Duration-observation" name="observation" type="Observation" association="A_observation_duration">
<ownedComment xmi:type="uml:Comment" xmi:id="Duration-observation-_ownedComment.0" body="Refers to the Observations that are involved in the computation of the Duration value">
<annotatedElement xmi:idref="Duration-observation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Duration-observation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Duration-observation-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DurationConstraint" name="DurationConstraint">
<ownedComment xmi:type="uml:Comment" xmi:id="DurationConstraint-_ownedComment.0" body="A DurationConstraint is a Constraint that refers to a DurationInterval.">
<annotatedElement xmi:idref="DurationConstraint"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DurationConstraint-first_event_multiplicity" name="first_event_multiplicity">
<constrainedElement xmi:idref="DurationConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationConstraint-first_event_multiplicity-_ownedComment.0" body="The multiplicity of firstEvent must be 2 if the multiplicity of constrainedElement is 2. Otherwise the multiplicity of firstEvent is 0.">
<annotatedElement xmi:idref="DurationConstraint-first_event_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DurationConstraint-first_event_multiplicity-_specification">
<body>if (constrainedElement->size() = 2) then (firstEvent->size() = 2) else (firstEvent->size() = 0) endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DurationConstraint-has_one_or_two_constrainedElements" name="has_one_or_two_constrainedElements">
<constrainedElement xmi:idref="DurationConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationConstraint-has_one_or_two_constrainedElements-_ownedComment.0" body="A DurationConstraint has either one or two constrainedElements.">
<annotatedElement xmi:idref="DurationConstraint-has_one_or_two_constrainedElements"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DurationConstraint-has_one_or_two_constrainedElements-_specification">
<body>constrainedElement->size() = 1 or constrainedElement->size()=2</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="DurationConstraint-_generalization.0" general="IntervalConstraint"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DurationConstraint-firstEvent" name="firstEvent">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationConstraint-firstEvent-_ownedComment.0" body="The value of firstEvent[i] is related to constrainedElement[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is the first time instant the execution enters constrainedElement[i]. If firstEvent[i] is false, then the corresponding observation event is the last time instant the execution is within constrainedElement[i].">
<annotatedElement xmi:idref="DurationConstraint-firstEvent"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DurationConstraint-firstEvent-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DurationConstraint-firstEvent-_upperValue" value="2"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DurationConstraint-specification" name="specification" aggregation="composite" type="DurationInterval" association="A_specification_durationConstraint">
<redefinedProperty xmi:idref="IntervalConstraint-specification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationConstraint-specification-_ownedComment.0" body="The DurationInterval constraining the duration.">
<annotatedElement xmi:idref="DurationConstraint-specification"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DurationInterval" name="DurationInterval">
<ownedComment xmi:type="uml:Comment" xmi:id="DurationInterval-_ownedComment.0" body="A DurationInterval defines the range between two Durations.">
<annotatedElement xmi:idref="DurationInterval"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DurationInterval-_generalization.0" general="Interval"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DurationInterval-max" name="max" type="Duration" association="A_max_durationInterval">
<redefinedProperty xmi:idref="Interval-max"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationInterval-max-_ownedComment.0" body="Refers to the Duration denoting the maximum value of the range.">
<annotatedElement xmi:idref="DurationInterval-max"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DurationInterval-min" name="min" type="Duration" association="A_min_durationInterval">
<redefinedProperty xmi:idref="Interval-min"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationInterval-min-_ownedComment.0" body="Refers to the Duration denoting the minimum value of the range.">
<annotatedElement xmi:idref="DurationInterval-min"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DurationObservation" name="DurationObservation">
<ownedComment xmi:type="uml:Comment" xmi:id="DurationObservation-_ownedComment.0" body="A DurationObservation is a reference to a duration during an execution. It points out the NamedElement(s) in the model to observe and whether the observations are when this NamedElement is entered or when it is exited.">
<annotatedElement xmi:idref="DurationObservation"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DurationObservation-first_event_multiplicity" name="first_event_multiplicity">
<constrainedElement xmi:idref="DurationObservation"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationObservation-first_event_multiplicity-_ownedComment.0" body="The multiplicity of firstEvent must be 2 if the multiplicity of event is 2. Otherwise the multiplicity of firstEvent is 0.">
<annotatedElement xmi:idref="DurationObservation-first_event_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DurationObservation-first_event_multiplicity-_specification">
<body>if (event->size() = 2) then (firstEvent->size() = 2) else (firstEvent->size() = 0) endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="DurationObservation-_generalization.0" general="Observation"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DurationObservation-event" name="event" isOrdered="true" type="NamedElement" association="A_event_durationObservation">
<ownedComment xmi:type="uml:Comment" xmi:id="DurationObservation-event-_ownedComment.0" body="The DurationObservation is determined as the duration between the entering or exiting of a single event Element during execution, or the entering/exiting of one event Element and the entering/exiting of a second.">
<annotatedElement xmi:idref="DurationObservation-event"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DurationObservation-event-_upperValue" value="2"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DurationObservation-firstEvent" name="firstEvent">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DurationObservation-firstEvent-_ownedComment.0" body="The value of firstEvent[i] is related to event[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is the first time instant the execution enters event[i]. If firstEvent[i] is false, then the corresponding observation event is the time instant the execution exits event[i].">
<annotatedElement xmi:idref="DurationObservation-firstEvent"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DurationObservation-firstEvent-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DurationObservation-firstEvent-_upperValue" value="2"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Expression" name="Expression">
<ownedComment xmi:type="uml:Comment" xmi:id="Expression-_ownedComment.0" body="An Expression represents a node in an expression tree, which may be non-terminal or terminal. It defines a symbol, and has a possibly empty sequence of operands that are ValueSpecifications. It denotes a (possibly empty) set of values when evaluated in a context.">
<annotatedElement xmi:idref="Expression"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Expression-_generalization.0" general="ValueSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Expression-operand" name="operand" isOrdered="true" aggregation="composite" type="ValueSpecification" association="A_operand_expression">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Expression-operand-_ownedComment.0" body="Specifies a sequence of operand ValueSpecifications.">
<annotatedElement xmi:idref="Expression-operand"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Expression-operand-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Expression-operand-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Expression-symbol" name="symbol">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Expression-symbol-_ownedComment.0" body="The symbol associated with this node in the expression tree.">
<annotatedElement xmi:idref="Expression-symbol"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Expression-symbol-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Interval" name="Interval">
<ownedComment xmi:type="uml:Comment" xmi:id="Interval-_ownedComment.0" body="An Interval defines the range between two ValueSpecifications.">
<annotatedElement xmi:idref="Interval"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Interval-_generalization.0" general="ValueSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interval-max" name="max" type="ValueSpecification" association="A_max_interval">
<ownedComment xmi:type="uml:Comment" xmi:id="Interval-max-_ownedComment.0" body="Refers to the ValueSpecification denoting the maximum value of the range.">
<annotatedElement xmi:idref="Interval-max"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interval-min" name="min" type="ValueSpecification" association="A_min_interval">
<ownedComment xmi:type="uml:Comment" xmi:id="Interval-min-_ownedComment.0" body="Refers to the ValueSpecification denoting the minimum value of the range.">
<annotatedElement xmi:idref="Interval-min"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="IntervalConstraint" name="IntervalConstraint">
<ownedComment xmi:type="uml:Comment" xmi:id="IntervalConstraint-_ownedComment.0" body="An IntervalConstraint is a Constraint that is specified by an Interval.">
<annotatedElement xmi:idref="IntervalConstraint"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="IntervalConstraint-_generalization.0" general="Constraint"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="IntervalConstraint-specification" name="specification" aggregation="composite" type="Interval" association="A_specification_intervalConstraint">
<redefinedProperty xmi:idref="Constraint-specification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="IntervalConstraint-specification-_ownedComment.0" body="The Interval that specifies the condition of the IntervalConstraint.">
<annotatedElement xmi:idref="IntervalConstraint-specification"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralBoolean" name="LiteralBoolean">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralBoolean-_ownedComment.0" body="A LiteralBoolean is a specification of a Boolean value.">
<annotatedElement xmi:idref="LiteralBoolean"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralBoolean-_generalization.0" general="LiteralSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LiteralBoolean-value" name="value">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralBoolean-value-_ownedComment.0" body="The specified Boolean value.">
<annotatedElement xmi:idref="LiteralBoolean-value"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="LiteralBoolean-value-_defaultValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralBoolean-booleanValue" name="booleanValue" isQuery="true" bodyCondition="LiteralBoolean-booleanValue-spec">
<redefinedOperation xmi:idref="ValueSpecification-booleanValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralBoolean-booleanValue-_ownedComment.0" body="The query booleanValue() gives the value.">
<annotatedElement xmi:idref="LiteralBoolean-booleanValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralBoolean-booleanValue-spec" name="spec">
<constrainedElement xmi:idref="LiteralBoolean-booleanValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralBoolean-booleanValue-spec-_specification">
<body>result = (value)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralBoolean-booleanValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralBoolean-isComputable" name="isComputable" isQuery="true" bodyCondition="LiteralBoolean-isComputable-spec">
<redefinedOperation xmi:idref="ValueSpecification-isComputable"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralBoolean-isComputable-_ownedComment.0" body="The query isComputable() is redefined to be true.">
<annotatedElement xmi:idref="LiteralBoolean-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralBoolean-isComputable-spec" name="spec">
<constrainedElement xmi:idref="LiteralBoolean-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralBoolean-isComputable-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralBoolean-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralInteger" name="LiteralInteger">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralInteger-_ownedComment.0" body="A LiteralInteger is a specification of an Integer value.">
<annotatedElement xmi:idref="LiteralInteger"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralInteger-_generalization.0" general="LiteralSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LiteralInteger-value" name="value">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralInteger-value-_ownedComment.0" body="The specified Integer value.">
<annotatedElement xmi:idref="LiteralInteger-value"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralInteger" xmi:id="LiteralInteger-value-_defaultValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralInteger-integerValue" name="integerValue" isQuery="true" bodyCondition="LiteralInteger-integerValue-spec">
<redefinedOperation xmi:idref="ValueSpecification-integerValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralInteger-integerValue-_ownedComment.0" body="The query integerValue() gives the value.">
<annotatedElement xmi:idref="LiteralInteger-integerValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralInteger-integerValue-spec" name="spec">
<constrainedElement xmi:idref="LiteralInteger-integerValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralInteger-integerValue-spec-_specification">
<body>result = (value)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralInteger-integerValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralInteger-isComputable" name="isComputable" isQuery="true" bodyCondition="LiteralInteger-isComputable-spec">
<redefinedOperation xmi:idref="ValueSpecification-isComputable"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralInteger-isComputable-_ownedComment.0" body="The query isComputable() is redefined to be true.">
<annotatedElement xmi:idref="LiteralInteger-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralInteger-isComputable-spec" name="spec">
<constrainedElement xmi:idref="LiteralInteger-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralInteger-isComputable-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralInteger-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralNull" name="LiteralNull">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralNull-_ownedComment.0" body="A LiteralNull specifies the lack of a value.">
<annotatedElement xmi:idref="LiteralNull"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralNull-_generalization.0" general="LiteralSpecification"/>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralNull-isComputable" name="isComputable" isQuery="true" bodyCondition="LiteralNull-isComputable-spec">
<redefinedOperation xmi:idref="ValueSpecification-isComputable"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralNull-isComputable-_ownedComment.0" body="The query isComputable() is redefined to be true.">
<annotatedElement xmi:idref="LiteralNull-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralNull-isComputable-spec" name="spec">
<constrainedElement xmi:idref="LiteralNull-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralNull-isComputable-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralNull-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralNull-isNull" name="isNull" isQuery="true" bodyCondition="LiteralNull-isNull-spec">
<redefinedOperation xmi:idref="ValueSpecification-isNull"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralNull-isNull-_ownedComment.0" body="The query isNull() returns true.">
<annotatedElement xmi:idref="LiteralNull-isNull"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralNull-isNull-spec" name="spec">
<constrainedElement xmi:idref="LiteralNull-isNull"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralNull-isNull-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralNull-isNull-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralReal" name="LiteralReal">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralReal-_ownedComment.0" body="A LiteralReal is a specification of a Real value.">
<annotatedElement xmi:idref="LiteralReal"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralReal-_generalization.0" general="LiteralSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LiteralReal-value" name="value">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Real"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralReal-value-_ownedComment.0" body="The specified Real value.">
<annotatedElement xmi:idref="LiteralReal-value"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralReal-isComputable" name="isComputable" isQuery="true" bodyCondition="LiteralReal-isComputable-spec">
<redefinedOperation xmi:idref="ValueSpecification-isComputable"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralReal-isComputable-_ownedComment.0" body="The query isComputable() is redefined to be true.">
<annotatedElement xmi:idref="LiteralReal-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralReal-isComputable-spec" name="spec">
<constrainedElement xmi:idref="LiteralReal-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralReal-isComputable-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralReal-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralReal-realValue" name="realValue" isQuery="true" bodyCondition="LiteralReal-realValue-spec">
<redefinedOperation xmi:idref="ValueSpecification-realValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralReal-realValue-_ownedComment.0" body="The query realValue() gives the value.">
<annotatedElement xmi:idref="LiteralReal-realValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralReal-realValue-spec" name="spec">
<constrainedElement xmi:idref="LiteralReal-realValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralReal-realValue-spec-_specification">
<body>result = (value)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralReal-realValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Real"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralSpecification" name="LiteralSpecification" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralSpecification-_ownedComment.0" body="A LiteralSpecification identifies a literal constant being modeled.">
<annotatedElement xmi:idref="LiteralSpecification"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralSpecification-_generalization.0" general="ValueSpecification"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralString" name="LiteralString">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralString-_ownedComment.0" body="A LiteralString is a specification of a String value.">
<annotatedElement xmi:idref="LiteralString"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralString-_generalization.0" general="LiteralSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LiteralString-value" name="value">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralString-value-_ownedComment.0" body="The specified String value.">
<annotatedElement xmi:idref="LiteralString-value"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LiteralString-value-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralString-isComputable" name="isComputable" isQuery="true" bodyCondition="LiteralString-isComputable-spec">
<redefinedOperation xmi:idref="ValueSpecification-isComputable"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralString-isComputable-_ownedComment.0" body="The query isComputable() is redefined to be true.">
<annotatedElement xmi:idref="LiteralString-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralString-isComputable-spec" name="spec">
<constrainedElement xmi:idref="LiteralString-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralString-isComputable-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralString-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralString-stringValue" name="stringValue" isQuery="true" bodyCondition="LiteralString-stringValue-spec">
<redefinedOperation xmi:idref="ValueSpecification-stringValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralString-stringValue-_ownedComment.0" body="The query stringValue() gives the value.">
<annotatedElement xmi:idref="LiteralString-stringValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralString-stringValue-spec" name="spec">
<constrainedElement xmi:idref="LiteralString-stringValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralString-stringValue-spec-_specification">
<body>result = (value)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralString-stringValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LiteralUnlimitedNatural" name="LiteralUnlimitedNatural">
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralUnlimitedNatural-_ownedComment.0" body="A LiteralUnlimitedNatural is a specification of an UnlimitedNatural number.">
<annotatedElement xmi:idref="LiteralUnlimitedNatural"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="LiteralUnlimitedNatural-_generalization.0" general="LiteralSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LiteralUnlimitedNatural-value" name="value">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralUnlimitedNatural-value-_ownedComment.0" body="The specified UnlimitedNatural value.">
<annotatedElement xmi:idref="LiteralUnlimitedNatural-value"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LiteralUnlimitedNatural-value-_defaultValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralUnlimitedNatural-isComputable" name="isComputable" isQuery="true" bodyCondition="LiteralUnlimitedNatural-isComputable-spec">
<redefinedOperation xmi:idref="ValueSpecification-isComputable"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralUnlimitedNatural-isComputable-_ownedComment.0" body="The query isComputable() is redefined to be true.">
<annotatedElement xmi:idref="LiteralUnlimitedNatural-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralUnlimitedNatural-isComputable-spec" name="spec">
<constrainedElement xmi:idref="LiteralUnlimitedNatural-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralUnlimitedNatural-isComputable-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralUnlimitedNatural-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LiteralUnlimitedNatural-unlimitedValue" name="unlimitedValue" isQuery="true" bodyCondition="LiteralUnlimitedNatural-unlimitedValue-spec">
<redefinedOperation xmi:idref="ValueSpecification-unlimitedValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LiteralUnlimitedNatural-unlimitedValue-_ownedComment.0" body="The query unlimitedValue() gives the value.">
<annotatedElement xmi:idref="LiteralUnlimitedNatural-unlimitedValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LiteralUnlimitedNatural-unlimitedValue-spec" name="spec">
<constrainedElement xmi:idref="LiteralUnlimitedNatural-unlimitedValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LiteralUnlimitedNatural-unlimitedValue-spec-_specification">
<body>result = (value)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LiteralUnlimitedNatural-unlimitedValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Observation" name="Observation" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Observation-_ownedComment.0" body="Observation specifies a value determined by observing an event or events that occur relative to other model Elements.">
<annotatedElement xmi:idref="Observation"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Observation-_generalization.0" general="PackageableElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="OpaqueExpression" name="OpaqueExpression">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-_ownedComment.0" body="An OpaqueExpression is a ValueSpecification that specifies the computation of a collection of values either in terms of a UML Behavior or based on a textual statement in a language other than UML">
<annotatedElement xmi:idref="OpaqueExpression"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-language_body_size" name="language_body_size">
<constrainedElement xmi:idref="OpaqueExpression"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-language_body_size-_ownedComment.0" body="If the language attribute is not empty, then the size of the body and language arrays must be the same.">
<annotatedElement xmi:idref="OpaqueExpression-language_body_size"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-language_body_size-_specification">
<body>language->notEmpty() implies (_'body'->size() = language->size())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-one_return_result_parameter" name="one_return_result_parameter">
<constrainedElement xmi:idref="OpaqueExpression"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-one_return_result_parameter-_ownedComment.0" body="The behavior must have exactly one return result parameter.">
<annotatedElement xmi:idref="OpaqueExpression-one_return_result_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-one_return_result_parameter-_specification">
<body>behavior <> null implies behavior.ownedParameter->select(direction=ParameterDirectionKind::return)->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-only_in_or_return_parameters" name="only_in_or_return_parameters">
<constrainedElement xmi:idref="OpaqueExpression"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-only_in_or_return_parameters-_ownedComment.0" body="The behavior may only have non-stream in or return parameters.">
<annotatedElement xmi:idref="OpaqueExpression-only_in_or_return_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-only_in_or_return_parameters-_specification">
<body>behavior <> null implies behavior.ownedParameter->forAll(not isStream and (direction=ParameterDirectionKind::in or direction=ParameterDirectionKind::return))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="OpaqueExpression-_generalization.0" general="ValueSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueExpression-behavior" name="behavior" type="Behavior" association="A_behavior_opaqueExpression">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-behavior-_ownedComment.0" body="Specifies the behavior of the OpaqueExpression as a UML Behavior.">
<annotatedElement xmi:idref="OpaqueExpression-behavior"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueExpression-behavior-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueExpression-body" name="body" isOrdered="true" isUnique="false">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-body-_ownedComment.0" body="A textual definition of the behavior of the OpaqueExpression, possibly in multiple languages.">
<annotatedElement xmi:idref="OpaqueExpression-body"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueExpression-body-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueExpression-body-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueExpression-language" name="language" isOrdered="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-language-_ownedComment.0" body="Specifies the languages used to express the textual bodies of the OpaqueExpression. Languages are matched to body Strings by order. The interpretation of the body depends on the languages. If the languages are unspecified, they may be implicit from the expression body or the context.">
<annotatedElement xmi:idref="OpaqueExpression-language"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueExpression-language-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueExpression-language-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueExpression-result" name="result" isReadOnly="true" isDerived="true" type="Parameter" association="A_result_opaqueExpression">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-result-_ownedComment.0" body="If an OpaqueExpression is specified using a UML Behavior, then this refers to the single required return Parameter of that Behavior. When the Behavior completes execution, the values on this Parameter give the result of evaluating the OpaqueExpression.">
<annotatedElement xmi:idref="OpaqueExpression-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueExpression-result-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="OpaqueExpression-isIntegral" name="isIntegral" isQuery="true" bodyCondition="OpaqueExpression-isIntegral-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-isIntegral-_ownedComment.0" body="The query isIntegral() tells whether an expression is intended to produce an Integer.">
<annotatedElement xmi:idref="OpaqueExpression-isIntegral"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-isIntegral-spec" name="spec">
<constrainedElement xmi:idref="OpaqueExpression-isIntegral"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-isIntegral-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="OpaqueExpression-isIntegral-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="OpaqueExpression-isNonNegative" name="isNonNegative" isQuery="true" bodyCondition="OpaqueExpression-isNonNegative-spec">
<precondition xmi:idref="OpaqueExpression-isNonNegative-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-isNonNegative-_ownedComment.0" body="The query isNonNegative() tells whether an integer expression has a non-negative value.">
<annotatedElement xmi:idref="OpaqueExpression-isNonNegative"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-isNonNegative-pre" name="pre">
<constrainedElement xmi:idref="OpaqueExpression-isNonNegative"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-isNonNegative-pre-_specification">
<body>self.isIntegral()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-isNonNegative-spec" name="spec">
<constrainedElement xmi:idref="OpaqueExpression-isNonNegative"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-isNonNegative-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="OpaqueExpression-isNonNegative-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="OpaqueExpression-isPositive" name="isPositive" isQuery="true" bodyCondition="OpaqueExpression-isPositive-spec">
<precondition xmi:idref="OpaqueExpression-isPositive-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-isPositive-_ownedComment.0" body="The query isPositive() tells whether an integer expression has a positive value.">
<annotatedElement xmi:idref="OpaqueExpression-isPositive"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-isPositive-spec" name="spec">
<constrainedElement xmi:idref="OpaqueExpression-isPositive"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-isPositive-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-isPositive-pre" name="pre">
<constrainedElement xmi:idref="OpaqueExpression-isPositive"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-isPositive-pre-_specification">
<body>self.isIntegral()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="OpaqueExpression-isPositive-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="OpaqueExpression-result.1" name="result" isQuery="true" bodyCondition="OpaqueExpression-result.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-result.1-_ownedComment.0" body="Derivation for OpaqueExpression::/result ">
<annotatedElement xmi:idref="OpaqueExpression-result.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-result.1-spec" name="spec">
<constrainedElement xmi:idref="OpaqueExpression-result.1"/>
<constrainedElement xmi:idref="OpaqueExpression-result"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-result.1-spec-_specification">
<body>result = (if behavior = null then null else behavior.ownedParameter->first() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="OpaqueExpression-result.1-result" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueExpression-result.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="OpaqueExpression-value" name="value" isQuery="true" bodyCondition="OpaqueExpression-value-spec">
<precondition xmi:idref="OpaqueExpression-value-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueExpression-value-_ownedComment.0" body="The query value() gives an integer value for an expression intended to produce one.">
<annotatedElement xmi:idref="OpaqueExpression-value"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-value-pre" name="pre">
<constrainedElement xmi:idref="OpaqueExpression-value"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-value-pre-_specification">
<body>self.isIntegral()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueExpression-value-spec" name="spec">
<constrainedElement xmi:idref="OpaqueExpression-value"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueExpression-value-spec-_specification">
<body>result = (0)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="OpaqueExpression-value-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StringExpression" name="StringExpression">
<ownedComment xmi:type="uml:Comment" xmi:id="StringExpression-_ownedComment.0" body="A StringExpression is an Expression that specifies a String value that is derived by concatenating a sequence of operands with String values or a sequence of subExpressions, some of which might be template parameters.">
<annotatedElement xmi:idref="StringExpression"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StringExpression-operands" name="operands">
<constrainedElement xmi:idref="StringExpression"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StringExpression-operands-_ownedComment.0" body="All the operands of a StringExpression must be LiteralStrings">
<annotatedElement xmi:idref="StringExpression-operands"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StringExpression-operands-_specification">
<body>operand->forAll (oclIsKindOf (LiteralString))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StringExpression-subexpressions" name="subexpressions">
<constrainedElement xmi:idref="StringExpression"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StringExpression-subexpressions-_ownedComment.0" body="If a StringExpression has sub-expressions, it cannot have operands and vice versa (this avoids the problem of having to define a collating sequence between operands and subexpressions).">
<annotatedElement xmi:idref="StringExpression-subexpressions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StringExpression-subexpressions-_specification">
<body>if subExpression->notEmpty() then operand->isEmpty() else operand->notEmpty() endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="StringExpression-_generalization.1" general="TemplateableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="StringExpression-_generalization.0" general="Expression"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StringExpression-owningExpression" name="owningExpression" type="StringExpression" association="A_subExpression_owningExpression">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StringExpression-owningExpression-_ownedComment.0" body="The StringExpression of which this StringExpression is a subExpression.">
<annotatedElement xmi:idref="StringExpression-owningExpression"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StringExpression-owningExpression-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StringExpression-subExpression" name="subExpression" isOrdered="true" aggregation="composite" type="StringExpression" association="A_subExpression_owningExpression">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StringExpression-subExpression-_ownedComment.0" body="The StringExpressions that constitute this StringExpression.">
<annotatedElement xmi:idref="StringExpression-subExpression"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StringExpression-subExpression-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StringExpression-subExpression-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="StringExpression-stringValue" name="stringValue" isQuery="true" bodyCondition="StringExpression-stringValue-spec">
<redefinedOperation xmi:idref="ValueSpecification-stringValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StringExpression-stringValue-_ownedComment.0" body="The query stringValue() returns the String resulting from concatenating, in order, all the component String values of all the operands or subExpressions that are part of the StringExpression.">
<annotatedElement xmi:idref="StringExpression-stringValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StringExpression-stringValue-spec" name="spec">
<constrainedElement xmi:idref="StringExpression-stringValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StringExpression-stringValue-spec-_specification">
<body>result = (if subExpression->notEmpty() then subExpression->iterate(se; stringValue: String = '' | stringValue.concat(se.stringValue())) else operand->iterate(op; stringValue: String = '' | stringValue.concat(op.stringValue())) endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StringExpression-stringValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TimeConstraint" name="TimeConstraint">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeConstraint-_ownedComment.0" body="A TimeConstraint is a Constraint that refers to a TimeInterval.">
<annotatedElement xmi:idref="TimeConstraint"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TimeConstraint-has_one_constrainedElement" name="has_one_constrainedElement">
<constrainedElement xmi:idref="TimeConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeConstraint-has_one_constrainedElement-_ownedComment.0" body="A TimeConstraint has one constrainedElement.">
<annotatedElement xmi:idref="TimeConstraint-has_one_constrainedElement"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TimeConstraint-has_one_constrainedElement-_specification">
<body>constrainedElement->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TimeConstraint-_generalization.0" general="IntervalConstraint"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeConstraint-firstEvent" name="firstEvent">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeConstraint-firstEvent-_ownedComment.0" body="The value of firstEvent is related to the constrainedElement. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters the constrainedElement. If firstEvent is false, then the corresponding observation event is the last time instant the execution is within the constrainedElement.">
<annotatedElement xmi:idref="TimeConstraint-firstEvent"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TimeConstraint-firstEvent-_lowerValue"/>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="TimeConstraint-firstEvent-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeConstraint-specification" name="specification" aggregation="composite" type="TimeInterval" association="A_specification_timeConstraint">
<redefinedProperty xmi:idref="IntervalConstraint-specification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeConstraint-specification-_ownedComment.0" body="TheTimeInterval constraining the duration.">
<annotatedElement xmi:idref="TimeConstraint-specification"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TimeExpression" name="TimeExpression">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeExpression-_ownedComment.0" body="A TimeExpression is a ValueSpecification that represents a time value.">
<annotatedElement xmi:idref="TimeExpression"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TimeExpression-no_expr_requires_observation" name="no_expr_requires_observation">
<constrainedElement xmi:idref="TimeExpression"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeExpression-no_expr_requires_observation-_ownedComment.0" body="If a TimeExpression has no expr, then it must have a single observation that is a TimeObservation.">
<annotatedElement xmi:idref="TimeExpression-no_expr_requires_observation"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TimeExpression-no_expr_requires_observation-_specification">
<body>expr = null implies (observation->size() = 1 and observation->forAll(oclIsKindOf(TimeObservation)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TimeExpression-_generalization.0" general="ValueSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeExpression-expr" name="expr" aggregation="composite" type="ValueSpecification" association="A_expr_timeExpression">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeExpression-expr-_ownedComment.0" body="A ValueSpecification that evaluates to the value of the TimeExpression.">
<annotatedElement xmi:idref="TimeExpression-expr"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TimeExpression-expr-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeExpression-observation" name="observation" type="Observation" association="A_observation_timeExpression">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeExpression-observation-_ownedComment.0" body="Refers to the Observations that are involved in the computation of the TimeExpression value.">
<annotatedElement xmi:idref="TimeExpression-observation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TimeExpression-observation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="TimeExpression-observation-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TimeInterval" name="TimeInterval">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeInterval-_ownedComment.0" body="A TimeInterval defines the range between two TimeExpressions.">
<annotatedElement xmi:idref="TimeInterval"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="TimeInterval-_generalization.0" general="Interval"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeInterval-max" name="max" type="TimeExpression" association="A_max_timeInterval">
<redefinedProperty xmi:idref="Interval-max"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeInterval-max-_ownedComment.0" body="Refers to the TimeExpression denoting the maximum value of the range.">
<annotatedElement xmi:idref="TimeInterval-max"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeInterval-min" name="min" type="TimeExpression" association="A_min_timeInterval">
<redefinedProperty xmi:idref="Interval-min"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeInterval-min-_ownedComment.0" body="Refers to the TimeExpression denoting the minimum value of the range.">
<annotatedElement xmi:idref="TimeInterval-min"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TimeObservation" name="TimeObservation">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeObservation-_ownedComment.0" body="A TimeObservation is a reference to a time instant during an execution. It points out the NamedElement in the model to observe and whether the observation is when this NamedElement is entered or when it is exited.">
<annotatedElement xmi:idref="TimeObservation"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="TimeObservation-_generalization.0" general="Observation"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeObservation-event" name="event" type="NamedElement" association="A_event_timeObservation">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeObservation-event-_ownedComment.0" body="The TimeObservation is determined by the entering or exiting of the event Element during execution.">
<annotatedElement xmi:idref="TimeObservation-event"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeObservation-firstEvent" name="firstEvent">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeObservation-firstEvent-_ownedComment.0" body="The value of firstEvent is related to the event. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters the event Element. If firstEvent is false, then the corresponding observation event is the time instant the execution exits the event Element.">
<annotatedElement xmi:idref="TimeObservation-firstEvent"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="TimeObservation-firstEvent-_defaultValue" value="true"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ValueSpecification" name="ValueSpecification" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-_ownedComment.0" body="A ValueSpecification is the specification of a (possibly empty) set of values. A ValueSpecification is a ParameterableElement that may be exposed as a formal TemplateParameter and provided as the actual parameter in the binding of a template.">
<annotatedElement xmi:idref="ValueSpecification"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ValueSpecification-_generalization.0" general="TypedElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="ValueSpecification-_generalization.1" general="PackageableElement"/>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-booleanValue" name="booleanValue" isQuery="true" bodyCondition="ValueSpecification-booleanValue-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-booleanValue-_ownedComment.0" body="The query booleanValue() gives a single Boolean value when one can be computed.">
<annotatedElement xmi:idref="ValueSpecification-booleanValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-booleanValue-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-booleanValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-booleanValue-spec-_specification">
<body>result = (null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-booleanValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ValueSpecification-booleanValue-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-integerValue" name="integerValue" isQuery="true" bodyCondition="ValueSpecification-integerValue-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-integerValue-_ownedComment.0" body="The query integerValue() gives a single Integer value when one can be computed.">
<annotatedElement xmi:idref="ValueSpecification-integerValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-integerValue-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-integerValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-integerValue-spec-_specification">
<body>result = (null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-integerValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ValueSpecification-integerValue-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-isCompatibleWith" name="isCompatibleWith" isQuery="true" bodyCondition="ValueSpecification-isCompatibleWith-spec">
<redefinedOperation xmi:idref="ParameterableElement-isCompatibleWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-isCompatibleWith-_ownedComment.0" body="The query isCompatibleWith() determines if this ValueSpecification is compatible with the specified ParameterableElement. This ValueSpecification is compatible with ParameterableElement p if the kind of this ValueSpecification is the same as or a subtype of the kind of p. Further, if p is a TypedElement, then the type of this ValueSpecification must be conformant with the type of p.">
<annotatedElement xmi:idref="ValueSpecification-isCompatibleWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-isCompatibleWith-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-isCompatibleWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-isCompatibleWith-spec-_specification">
<body>result = (self.oclIsKindOf(p.oclType()) and (p.oclIsKindOf(TypedElement) implies self.type.conformsTo(p.oclAsType(TypedElement).type)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-isCompatibleWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-isCompatibleWith-p" name="p" type="ParameterableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-isComputable" name="isComputable" isQuery="true" bodyCondition="ValueSpecification-isComputable-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-isComputable-_ownedComment.0" body="The query isComputable() determines whether a value specification can be computed in a model. This operation cannot be fully defined in OCL. A conforming implementation is expected to deliver true for this operation for all ValueSpecifications that it can compute, and to compute all of those for which the operation is true. A conforming implementation is expected to be able to compute at least the value of all LiteralSpecifications.">
<annotatedElement xmi:idref="ValueSpecification-isComputable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-isComputable-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-isComputable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-isComputable-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-isComputable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-isNull" name="isNull" isQuery="true" bodyCondition="ValueSpecification-isNull-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-isNull-_ownedComment.0" body="The query isNull() returns true when it can be computed that the value is null.">
<annotatedElement xmi:idref="ValueSpecification-isNull"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-isNull-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-isNull"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-isNull-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-isNull-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-realValue" name="realValue" isQuery="true" bodyCondition="ValueSpecification-realValue-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-realValue-_ownedComment.0" body="The query realValue() gives a single Real value when one can be computed.">
<annotatedElement xmi:idref="ValueSpecification-realValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-realValue-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-realValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-realValue-spec-_specification">
<body>result = (null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-realValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Real"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ValueSpecification-realValue-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-stringValue" name="stringValue" isQuery="true" bodyCondition="ValueSpecification-stringValue-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-stringValue-_ownedComment.0" body="The query stringValue() gives a single String value when one can be computed.">
<annotatedElement xmi:idref="ValueSpecification-stringValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-stringValue-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-stringValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-stringValue-spec-_specification">
<body>result = (null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-stringValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ValueSpecification-stringValue-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ValueSpecification-unlimitedValue" name="unlimitedValue" isQuery="true" bodyCondition="ValueSpecification-unlimitedValue-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecification-unlimitedValue-_ownedComment.0" body="The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed.">
<annotatedElement xmi:idref="ValueSpecification-unlimitedValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecification-unlimitedValue-spec" name="spec">
<constrainedElement xmi:idref="ValueSpecification-unlimitedValue"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecification-unlimitedValue-spec-_specification">
<body>result = (null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ValueSpecification-unlimitedValue-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ValueSpecification-unlimitedValue-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_event_timeObservation" name="A_event_timeObservation">
<memberEnd xmi:idref="TimeObservation-event"/>
<memberEnd xmi:idref="A_event_timeObservation-timeObservation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_event_timeObservation-timeObservation" name="timeObservation" type="TimeObservation" association="A_event_timeObservation">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_event_timeObservation-timeObservation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_event_timeObservation-timeObservation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_max_timeInterval" name="A_max_timeInterval">
<memberEnd xmi:idref="TimeInterval-max"/>
<memberEnd xmi:idref="A_max_timeInterval-timeInterval"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_max_timeInterval-_generalization.0" general="A_max_interval"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_max_timeInterval-timeInterval" name="timeInterval" type="TimeInterval" association="A_max_timeInterval">
<redefinedProperty xmi:idref="A_max_interval-interval"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_max_timeInterval-timeInterval-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_max_timeInterval-timeInterval-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_min_timeInterval" name="A_min_timeInterval">
<memberEnd xmi:idref="TimeInterval-min"/>
<memberEnd xmi:idref="A_min_timeInterval-timeInterval"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_min_timeInterval-_generalization.0" general="A_min_interval"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_min_timeInterval-timeInterval" name="timeInterval" type="TimeInterval" association="A_min_timeInterval">
<redefinedProperty xmi:idref="A_min_interval-interval"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_min_timeInterval-timeInterval-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_min_timeInterval-timeInterval-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_expr_timeExpression" name="A_expr_timeExpression">
<memberEnd xmi:idref="TimeExpression-expr"/>
<memberEnd xmi:idref="A_expr_timeExpression-timeExpression"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_expr_timeExpression-timeExpression" name="timeExpression" type="TimeExpression" association="A_expr_timeExpression">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_expr_timeExpression-timeExpression-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_observation_timeExpression" name="A_observation_timeExpression">
<memberEnd xmi:idref="TimeExpression-observation"/>
<memberEnd xmi:idref="A_observation_timeExpression-timeExpression"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_observation_timeExpression-timeExpression" name="timeExpression" type="TimeExpression" association="A_observation_timeExpression">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_observation_timeExpression-timeExpression-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_specification_timeConstraint" name="A_specification_timeConstraint">
<memberEnd xmi:idref="TimeConstraint-specification"/>
<memberEnd xmi:idref="A_specification_timeConstraint-timeConstraint"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_specification_timeConstraint-_generalization.0" general="A_specification_intervalConstraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_specification_timeConstraint-timeConstraint" name="timeConstraint" type="TimeConstraint" association="A_specification_timeConstraint">
<redefinedProperty xmi:idref="A_specification_intervalConstraint-intervalConstraint"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_specification_timeConstraint-timeConstraint-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_subExpression_owningExpression" name="A_subExpression_owningExpression">
<memberEnd xmi:idref="StringExpression-subExpression"/>
<memberEnd xmi:idref="StringExpression-owningExpression"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_opaqueExpression" name="A_result_opaqueExpression" isDerived="true">
<memberEnd xmi:idref="OpaqueExpression-result"/>
<memberEnd xmi:idref="A_result_opaqueExpression-opaqueExpression"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_opaqueExpression-opaqueExpression" name="opaqueExpression" type="OpaqueExpression" association="A_result_opaqueExpression">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_opaqueExpression-opaqueExpression-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_result_opaqueExpression-opaqueExpression-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_behavior_opaqueExpression" name="A_behavior_opaqueExpression">
<memberEnd xmi:idref="OpaqueExpression-behavior"/>
<memberEnd xmi:idref="A_behavior_opaqueExpression-opaqueExpression"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_behavior_opaqueExpression-opaqueExpression" name="opaqueExpression" type="OpaqueExpression" association="A_behavior_opaqueExpression">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_behavior_opaqueExpression-opaqueExpression-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_behavior_opaqueExpression-opaqueExpression-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_specification_intervalConstraint" name="A_specification_intervalConstraint">
<memberEnd xmi:idref="IntervalConstraint-specification"/>
<memberEnd xmi:idref="A_specification_intervalConstraint-intervalConstraint"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_specification_intervalConstraint-_generalization.0" general="A_specification_owningConstraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_specification_intervalConstraint-intervalConstraint" name="intervalConstraint" type="IntervalConstraint" association="A_specification_intervalConstraint">
<redefinedProperty xmi:idref="A_specification_owningConstraint-owningConstraint"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_specification_intervalConstraint-intervalConstraint-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_max_interval" name="A_max_interval">
<memberEnd xmi:idref="Interval-max"/>
<memberEnd xmi:idref="A_max_interval-interval"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_max_interval-interval" name="interval" type="Interval" association="A_max_interval">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_max_interval-interval-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_max_interval-interval-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_min_interval" name="A_min_interval">
<memberEnd xmi:idref="Interval-min"/>
<memberEnd xmi:idref="A_min_interval-interval"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_min_interval-interval" name="interval" type="Interval" association="A_min_interval">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_min_interval-interval-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_min_interval-interval-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_operand_expression" name="A_operand_expression">
<memberEnd xmi:idref="Expression-operand"/>
<memberEnd xmi:idref="A_operand_expression-expression"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_operand_expression-expression" name="expression" type="Expression" association="A_operand_expression">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_operand_expression-expression-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_event_durationObservation" name="A_event_durationObservation">
<memberEnd xmi:idref="DurationObservation-event"/>
<memberEnd xmi:idref="A_event_durationObservation-durationObservation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_event_durationObservation-durationObservation" name="durationObservation" type="DurationObservation" association="A_event_durationObservation">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_event_durationObservation-durationObservation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_event_durationObservation-durationObservation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_max_durationInterval" name="A_max_durationInterval">
<memberEnd xmi:idref="DurationInterval-max"/>
<memberEnd xmi:idref="A_max_durationInterval-durationInterval"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_max_durationInterval-_generalization.0" general="A_max_interval"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_max_durationInterval-durationInterval" name="durationInterval" type="DurationInterval" association="A_max_durationInterval">
<redefinedProperty xmi:idref="A_max_interval-interval"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_max_durationInterval-durationInterval-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_max_durationInterval-durationInterval-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_min_durationInterval" name="A_min_durationInterval">
<memberEnd xmi:idref="DurationInterval-min"/>
<memberEnd xmi:idref="A_min_durationInterval-durationInterval"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_min_durationInterval-_generalization.0" general="A_min_interval"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_min_durationInterval-durationInterval" name="durationInterval" type="DurationInterval" association="A_min_durationInterval">
<redefinedProperty xmi:idref="A_min_interval-interval"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_min_durationInterval-durationInterval-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_min_durationInterval-durationInterval-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_specification_durationConstraint" name="A_specification_durationConstraint">
<memberEnd xmi:idref="DurationConstraint-specification"/>
<memberEnd xmi:idref="A_specification_durationConstraint-durationConstraint"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_specification_durationConstraint-_generalization.0" general="A_specification_intervalConstraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_specification_durationConstraint-durationConstraint" name="durationConstraint" type="DurationConstraint" association="A_specification_durationConstraint">
<redefinedProperty xmi:idref="A_specification_intervalConstraint-intervalConstraint"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_specification_durationConstraint-durationConstraint-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_expr_duration" name="A_expr_duration">
<memberEnd xmi:idref="Duration-expr"/>
<memberEnd xmi:idref="A_expr_duration-duration"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_expr_duration-duration" name="duration" type="Duration" association="A_expr_duration">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_expr_duration-duration-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_observation_duration" name="A_observation_duration">
<memberEnd xmi:idref="Duration-observation"/>
<memberEnd xmi:idref="A_observation_duration-duration"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_observation_duration-duration" name="duration" type="Duration" association="A_observation_duration">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_observation_duration-duration-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="UseCases" name="UseCases">
<packageImport xmi:type="uml:PackageImport" xmi:id="UseCases-_packageImport.0" importedPackage="StructuredClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="UseCases-_packageImport.1" importedPackage="CommonBehavior"/>
<packagedElement xmi:type="uml:Class" xmi:id="Actor" name="Actor">
<ownedComment xmi:type="uml:Comment" xmi:id="Actor-_ownedComment.0" body="An Actor specifies a role played by a user or any other system that interacts with the subject.">
<annotatedElement xmi:idref="Actor"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Actor-associations" name="associations">
<constrainedElement xmi:idref="Actor"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Actor-associations-_ownedComment.0" body="An Actor can only have Associations to UseCases, Components, and Classes. Furthermore these Associations must be binary.">
<annotatedElement xmi:idref="Actor-associations"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Actor-associations-_specification">
<body>Association.allInstances()->forAll( a | a.memberEnd->collect(type)->includes(self) implies ( a.memberEnd->size() = 2 and let actorEnd : Property = a.memberEnd->any(type = self) in actorEnd.opposite.class.oclIsKindOf(UseCase) or ( actorEnd.opposite.class.oclIsKindOf(Class) and not actorEnd.opposite.class.oclIsKindOf(Behavior)) ) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Actor-must_have_name" name="must_have_name">
<constrainedElement xmi:idref="Actor"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Actor-must_have_name-_ownedComment.0" body="An Actor must have a name.">
<annotatedElement xmi:idref="Actor-must_have_name"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Actor-must_have_name-_specification">
<body>name->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Actor-_generalization.0" general="BehavioredClassifier"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Extend" name="Extend">
<ownedComment xmi:type="uml:Comment" xmi:id="Extend-_ownedComment.0" body="A relationship from an extending UseCase to an extended UseCase that specifies how and when the behavior defined in the extending UseCase can be inserted into the behavior defined in the extended UseCase.">
<annotatedElement xmi:idref="Extend"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Extend-extension_points" name="extension_points">
<constrainedElement xmi:idref="Extend"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extend-extension_points-_ownedComment.0" body="The ExtensionPoints referenced by the Extend relationship must belong to the UseCase that is being extended.">
<annotatedElement xmi:idref="Extend-extension_points"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Extend-extension_points-_specification">
<body>extensionLocation->forAll (xp | extendedCase.extensionPoint->includes(xp))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Extend-_generalization.0" general="NamedElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Extend-_generalization.1" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extend-condition" name="condition" aggregation="composite" type="Constraint" association="A_condition_extend">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extend-condition-_ownedComment.0" body="References the condition that must hold when the first ExtensionPoint is reached for the extension to take place. If no constraint is associated with the Extend relationship, the extension is unconditional.">
<annotatedElement xmi:idref="Extend-condition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Extend-condition-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extend-extendedCase" name="extendedCase" type="UseCase" association="A_extendedCase_extend">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extend-extendedCase-_ownedComment.0" body="The UseCase that is being extended.">
<annotatedElement xmi:idref="Extend-extendedCase"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extend-extension" name="extension" type="UseCase" association="A_extend_extension">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extend-extension-_ownedComment.0" body="The UseCase that represents the extension and owns the Extend relationship.">
<annotatedElement xmi:idref="Extend-extension"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extend-extensionLocation" name="extensionLocation" isOrdered="true" type="ExtensionPoint" association="A_extensionLocation_extension">
<ownedComment xmi:type="uml:Comment" xmi:id="Extend-extensionLocation-_ownedComment.0" body="An ordered list of ExtensionPoints belonging to the extended UseCase, specifying where the respective behavioral fragments of the extending UseCase are to be inserted. The first fragment in the extending UseCase is associated with the first extension point in the list, the second fragment with the second point, and so on. Note that, in most practical cases, the extending UseCase has just a single behavior fragment, so that the list of ExtensionPoints is trivial.">
<annotatedElement xmi:idref="Extend-extensionLocation"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Extend-extensionLocation-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExtensionPoint" name="ExtensionPoint">
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionPoint-_ownedComment.0" body="An ExtensionPoint identifies a point in the behavior of a UseCase where that behavior can be extended by the behavior of some other (extending) UseCase, as specified by an Extend relationship.">
<annotatedElement xmi:idref="ExtensionPoint"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExtensionPoint-must_have_name" name="must_have_name">
<constrainedElement xmi:idref="ExtensionPoint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionPoint-must_have_name-_ownedComment.0" body="An ExtensionPoint must have a name.">
<annotatedElement xmi:idref="ExtensionPoint-must_have_name"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExtensionPoint-must_have_name-_specification">
<body>name->notEmpty ()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ExtensionPoint-_generalization.0" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExtensionPoint-useCase" name="useCase" type="UseCase" association="A_extensionPoint_useCase">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionPoint-useCase-_ownedComment.0" body="The UseCase that owns this ExtensionPoint.">
<annotatedElement xmi:idref="ExtensionPoint-useCase"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Include" name="Include">
<ownedComment xmi:type="uml:Comment" xmi:id="Include-_ownedComment.0" body="An Include relationship specifies that a UseCase contains the behavior defined in another UseCase.">
<annotatedElement xmi:idref="Include"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Include-_generalization.0" general="DirectedRelationship"/>
<generalization xmi:type="uml:Generalization" xmi:id="Include-_generalization.1" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Include-addition" name="addition" type="UseCase" association="A_addition_include">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Include-addition-_ownedComment.0" body="The UseCase that is to be included.">
<annotatedElement xmi:idref="Include-addition"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Include-includingCase" name="includingCase" type="UseCase" association="A_include_includingCase">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Include-includingCase-_ownedComment.0" body="The UseCase which includes the addition and owns the Include relationship.">
<annotatedElement xmi:idref="Include-includingCase"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="UseCase" name="UseCase">
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-_ownedComment.0" body="A UseCase specifies a set of actions performed by its subjects, which yields an observable result that is of value for one or more Actors or other stakeholders of each subject.">
<annotatedElement xmi:idref="UseCase"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="UseCase-binary_associations" name="binary_associations">
<constrainedElement xmi:idref="UseCase"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-binary_associations-_ownedComment.0" body="UseCases can only be involved in binary Associations.">
<annotatedElement xmi:idref="UseCase-binary_associations"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UseCase-binary_associations-_specification">
<body>Association.allInstances()->forAll(a | a.memberEnd.type->includes(self) implies a.memberEnd->size() = 2)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UseCase-no_association_to_use_case" name="no_association_to_use_case">
<constrainedElement xmi:idref="UseCase"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-no_association_to_use_case-_ownedComment.0" body="UseCases cannot have Associations to UseCases specifying the same subject.">
<annotatedElement xmi:idref="UseCase-no_association_to_use_case"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UseCase-no_association_to_use_case-_specification">
<body>Association.allInstances()->forAll(a | a.memberEnd.type->includes(self) implies ( let usecases: Set(UseCase) = a.memberEnd.type->select(oclIsKindOf(UseCase))->collect(oclAsType(UseCase))->asSet() in usecases->size() > 1 implies usecases->collect(subject)->size() > 1 ) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UseCase-cannot_include_self" name="cannot_include_self">
<constrainedElement xmi:idref="UseCase"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-cannot_include_self-_ownedComment.0" body="A UseCase cannot include UseCases that directly or indirectly include it.">
<annotatedElement xmi:idref="UseCase-cannot_include_self"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UseCase-cannot_include_self-_specification">
<body>not allIncludedUseCases()->includes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UseCase-must_have_name" name="must_have_name">
<constrainedElement xmi:idref="UseCase"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-must_have_name-_ownedComment.0" body="A UseCase must have a name.">
<annotatedElement xmi:idref="UseCase-must_have_name"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UseCase-must_have_name-_specification">
<body>name -> notEmpty ()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="UseCase-_generalization.0" general="BehavioredClassifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="UseCase-extend" name="extend" aggregation="composite" type="Extend" association="A_extend_extension">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-extend-_ownedComment.0" body="The Extend relationships owned by this UseCase.">
<annotatedElement xmi:idref="UseCase-extend"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="UseCase-extend-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="UseCase-extend-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="UseCase-extensionPoint" name="extensionPoint" aggregation="composite" type="ExtensionPoint" association="A_extensionPoint_useCase">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-extensionPoint-_ownedComment.0" body="The ExtensionPoints owned by this UseCase.">
<annotatedElement xmi:idref="UseCase-extensionPoint"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="UseCase-extensionPoint-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="UseCase-extensionPoint-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="UseCase-include" name="include" aggregation="composite" type="Include" association="A_include_includingCase">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-include-_ownedComment.0" body="The Include relationships owned by this UseCase.">
<annotatedElement xmi:idref="UseCase-include"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="UseCase-include-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="UseCase-include-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="UseCase-subject" name="subject" type="Classifier" association="A_subject_useCase">
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-subject-_ownedComment.0" body="The subjects to which this UseCase applies. Each subject or its parts realize all the UseCases that apply to it.">
<annotatedElement xmi:idref="UseCase-subject"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="UseCase-subject-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="UseCase-subject-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="UseCase-allIncludedUseCases" name="allIncludedUseCases" isQuery="true" bodyCondition="UseCase-allIncludedUseCases-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="UseCase-allIncludedUseCases-_ownedComment.0" body="The query allIncludedUseCases() returns the transitive closure of all UseCases (directly or indirectly) included by this UseCase.">
<annotatedElement xmi:idref="UseCase-allIncludedUseCases"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="UseCase-allIncludedUseCases-spec" name="spec">
<constrainedElement xmi:idref="UseCase-allIncludedUseCases"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UseCase-allIncludedUseCases-spec-_specification">
<body>result = (self.include.addition->union(self.include.addition->collect(uc | uc.allIncludedUseCases()))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="UseCase-allIncludedUseCases-result" name="result" direction="return" type="UseCase">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="UseCase-allIncludedUseCases-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="UseCase-allIncludedUseCases-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extensionPoint_useCase" name="A_extensionPoint_useCase">
<memberEnd xmi:idref="UseCase-extensionPoint"/>
<memberEnd xmi:idref="ExtensionPoint-useCase"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_include_includingCase" name="A_include_includingCase">
<memberEnd xmi:idref="UseCase-include"/>
<memberEnd xmi:idref="Include-includingCase"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_subject_useCase" name="A_subject_useCase">
<memberEnd xmi:idref="UseCase-subject"/>
<memberEnd xmi:idref="Classifier-useCase"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extend_extension" name="A_extend_extension">
<memberEnd xmi:idref="UseCase-extend"/>
<memberEnd xmi:idref="Extend-extension"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_addition_include" name="A_addition_include">
<memberEnd xmi:idref="Include-addition"/>
<memberEnd xmi:idref="A_addition_include-include"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_addition_include-include" name="include" type="Include" association="A_addition_include">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_addition_include-include-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_addition_include-include-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extensionLocation_extension" name="A_extensionLocation_extension">
<memberEnd xmi:idref="Extend-extensionLocation"/>
<memberEnd xmi:idref="A_extensionLocation_extension-extension"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_extensionLocation_extension-extension" name="extension" type="Extend" association="A_extensionLocation_extension">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_extensionLocation_extension-extension-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_extensionLocation_extension-extension-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_condition_extend" name="A_condition_extend">
<memberEnd xmi:idref="Extend-condition"/>
<memberEnd xmi:idref="A_condition_extend-extend"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_condition_extend-extend" name="extend" type="Extend" association="A_condition_extend">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_condition_extend-extend-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extendedCase_extend" name="A_extendedCase_extend">
<memberEnd xmi:idref="Extend-extendedCase"/>
<memberEnd xmi:idref="A_extendedCase_extend-extend"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_extendedCase_extend-extend" name="extend" type="Extend" association="A_extendedCase_extend">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_extendedCase_extend-extend-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_extendedCase_extend-extend-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="StructuredClassifiers" name="StructuredClassifiers">
<packageImport xmi:type="uml:PackageImport" xmi:id="StructuredClassifiers-_packageImport.0" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="StructuredClassifiers-_packageImport.1" importedPackage="Packages"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="StructuredClassifiers-_packageImport.2" importedPackage="SimpleClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="StructuredClassifiers-_packageImport.3" importedPackage="CommonStructure"/>
<packagedElement xmi:type="uml:Class" xmi:id="Association" name="Association">
<ownedComment xmi:type="uml:Comment" xmi:id="Association-_ownedComment.0" body="A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. ">
<annotatedElement xmi:idref="Association"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Association-specialized_end_number" name="specialized_end_number">
<constrainedElement xmi:idref="Association"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-specialized_end_number-_ownedComment.0" body="An Association specializing another Association has the same number of ends as the other Association.">
<annotatedElement xmi:idref="Association-specialized_end_number"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Association-specialized_end_number-_specification">
<body>parents()->select(oclIsKindOf(Association)).oclAsType(Association)->forAll(p | p.memberEnd->size() = self.memberEnd->size())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Association-specialized_end_types" name="specialized_end_types">
<constrainedElement xmi:idref="Association"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-specialized_end_types-_ownedComment.0" body="When an Association specializes another Association, every end of the specific Association corresponds to an end of the general Association, and the specific end reaches the same type or a subtype of the corresponding general end.">
<annotatedElement xmi:idref="Association-specialized_end_types"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Association-specialized_end_types-_specification">
<body>Sequence{1..memberEnd->size()}-> forAll(i | general->select(oclIsKindOf(Association)).oclAsType(Association)-> forAll(ga | self.memberEnd->at(i).type.conformsTo(ga.memberEnd->at(i).type)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Association-binary_associations" name="binary_associations">
<constrainedElement xmi:idref="Association"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-binary_associations-_ownedComment.0" body="Only binary Associations can be aggregations.">
<annotatedElement xmi:idref="Association-binary_associations"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Association-binary_associations-_specification">
<body>memberEnd->exists(aggregation <> AggregationKind::none) implies (memberEnd->size() = 2 and memberEnd->exists(aggregation = AggregationKind::none))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Association-association_ends" name="association_ends">
<constrainedElement xmi:idref="Association"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-association_ends-_ownedComment.0" body="Ends of Associations with more than two ends must be owned by the Association itself.">
<annotatedElement xmi:idref="Association-association_ends"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Association-association_ends-_specification">
<body>memberEnd->size() > 2 implies ownedEnd->includesAll(memberEnd)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Association-ends_must_be_typed" name="ends_must_be_typed">
<constrainedElement xmi:idref="Association"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Association-ends_must_be_typed-_specification">
<body>memberEnd->forAll(type->notEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Association-_generalization.0" general="Relationship"/>
<generalization xmi:type="uml:Generalization" xmi:id="Association-_generalization.1" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Association-endType" name="endType" isReadOnly="true" isDerived="true" type="Type" association="A_endType_association">
<subsettedProperty xmi:idref="Relationship-relatedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-endType-_ownedComment.0" body="The Classifiers that are used as types of the ends of the Association.">
<annotatedElement xmi:idref="Association-endType"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Association-endType-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Association-isDerived" name="isDerived">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-isDerived-_ownedComment.0" body="Specifies whether the Association is derived from other model elements such as other Associations.">
<annotatedElement xmi:idref="Association-isDerived"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Association-isDerived-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Association-memberEnd" name="memberEnd" isOrdered="true" type="Property" association="A_memberEnd_association">
<subsettedProperty xmi:idref="Namespace-member"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-memberEnd-_ownedComment.0" body="Each end represents participation of instances of the Classifier connected to the end in links of the Association.">
<annotatedElement xmi:idref="Association-memberEnd"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Association-memberEnd-_lowerValue" value="2"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Association-memberEnd-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Association-navigableOwnedEnd" name="navigableOwnedEnd" type="Property" association="A_navigableOwnedEnd_association">
<subsettedProperty xmi:idref="Association-ownedEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-navigableOwnedEnd-_ownedComment.0" body="The navigable ends that are owned by the Association itself.">
<annotatedElement xmi:idref="Association-navigableOwnedEnd"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Association-navigableOwnedEnd-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Association-navigableOwnedEnd-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Association-ownedEnd" name="ownedEnd" isOrdered="true" aggregation="composite" type="Property" association="A_ownedEnd_owningAssociation">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Association-memberEnd"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Association-ownedEnd-_ownedComment.0" body="The ends that are owned by the Association itself.">
<annotatedElement xmi:idref="Association-ownedEnd"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Association-ownedEnd-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Association-ownedEnd-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Association-endType.1" name="endType" isQuery="true" bodyCondition="Association-endType.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Association-endType.1-_ownedComment.0" body="endType is derived from the types of the member ends.">
<annotatedElement xmi:idref="Association-endType.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Association-endType.1-spec" name="spec">
<constrainedElement xmi:idref="Association-endType.1"/>
<constrainedElement xmi:idref="Association-endType"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Association-endType.1-spec-_specification">
<body>result = (memberEnd->collect(type)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Association-endType.1-result" name="result" direction="return" type="Type">
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Association-endType.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="AssociationClass" name="AssociationClass">
<ownedComment xmi:type="uml:Comment" xmi:id="AssociationClass-_ownedComment.0" body="A model element that has both Association and Class properties. An AssociationClass can be seen as an Association that also has Class properties, or as a Class that also has Association properties. It not only connects a set of Classifiers but also defines a set of Features that belong to the Association itself and not to any of the associated Classifiers.">
<annotatedElement xmi:idref="AssociationClass"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="AssociationClass-cannot_be_defined" name="cannot_be_defined">
<constrainedElement xmi:idref="AssociationClass"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AssociationClass-cannot_be_defined-_ownedComment.0" body="An AssociationClass cannot be defined between itself and something else.">
<annotatedElement xmi:idref="AssociationClass-cannot_be_defined"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AssociationClass-cannot_be_defined-_specification">
<body>self.endType()->excludes(self) and self.endType()->collect(et|et.oclAsType(Classifier).allParents())->flatten()->excludes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AssociationClass-disjoint_attributes_ends" name="disjoint_attributes_ends">
<constrainedElement xmi:idref="AssociationClass"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AssociationClass-disjoint_attributes_ends-_ownedComment.0" body="The owned attributes and owned ends of an AssociationClass are disjoint.">
<annotatedElement xmi:idref="AssociationClass-disjoint_attributes_ends"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AssociationClass-disjoint_attributes_ends-_specification">
<body>ownedAttribute->intersection(ownedEnd)->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="AssociationClass-_generalization.0" general="Class"/>
<generalization xmi:type="uml:Generalization" xmi:id="AssociationClass-_generalization.1" general="Association"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Class" name="Class">
<ownedComment xmi:type="uml:Comment" xmi:id="Class-_ownedComment.0" body="A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. ">
<annotatedElement xmi:idref="Class"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Class-passive_class" name="passive_class">
<constrainedElement xmi:idref="Class"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-passive_class-_ownedComment.0" body="Only an active Class may own Receptions and have a classifierBehavior.">
<annotatedElement xmi:idref="Class-passive_class"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Class-passive_class-_specification">
<body>not isActive implies (ownedReception->isEmpty() and classifierBehavior = null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Class-_generalization.0" general="BehavioredClassifier"/>
<generalization xmi:type="uml:Generalization" xmi:id="Class-_generalization.1" general="EncapsulatedClassifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-extension" name="extension" isReadOnly="true" isDerived="true" type="Extension" association="A_extension_metaclass">
<ownedComment xmi:type="uml:Comment" xmi:id="Class-extension-_ownedComment.0" body="This property is used when the Class is acting as a metaclass. It references the Extensions that specify additional properties of the metaclass. The property is derived from the Extensions whose memberEnds are typed by the Class.">
<annotatedElement xmi:idref="Class-extension"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-extension-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-extension-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-isAbstract" name="isAbstract">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<redefinedProperty xmi:idref="Classifier-isAbstract"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-isAbstract-_ownedComment.0" body="If true, the Class does not provide a complete declaration and cannot be instantiated. An abstract Class is typically used as a target of Associations or Generalizations.">
<annotatedElement xmi:idref="Class-isAbstract"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Class-isAbstract-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-isActive" name="isActive">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-isActive-_ownedComment.0" body="Determines whether an object specified by this Class is active or not. If true, then the owning Class is referred to as an active Class. If false, then such a Class is referred to as a passive Class.">
<annotatedElement xmi:idref="Class-isActive"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Class-isActive-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-nestedClassifier" name="nestedClassifier" isOrdered="true" aggregation="composite" type="Classifier" association="A_nestedClassifier_nestingClass">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-nestedClassifier-_ownedComment.0" body="The Classifiers owned by the Class that are not ownedBehaviors.">
<annotatedElement xmi:idref="Class-nestedClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-nestedClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-nestedClassifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-ownedAttribute" name="ownedAttribute" isOrdered="true" aggregation="composite" type="Property" association="A_ownedAttribute_class">
<redefinedProperty xmi:idref="StructuredClassifier-ownedAttribute"/>
<subsettedProperty xmi:idref="Classifier-attribute"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-ownedAttribute-_ownedComment.0" body="The attributes (i.e., the Properties) owned by the Class.">
<annotatedElement xmi:idref="Class-ownedAttribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-ownedAttribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-ownedAttribute-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-ownedOperation" name="ownedOperation" isOrdered="true" aggregation="composite" type="Operation" association="A_ownedOperation_class">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-ownedOperation-_ownedComment.0" body="The Operations owned by the Class.">
<annotatedElement xmi:idref="Class-ownedOperation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-ownedOperation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-ownedOperation-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-ownedReception" name="ownedReception" aggregation="composite" type="Reception" association="A_ownedReception_class">
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-ownedReception-_ownedComment.0" body="The Receptions owned by the Class.">
<annotatedElement xmi:idref="Class-ownedReception"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-ownedReception-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-ownedReception-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Class-superClass" name="superClass" isDerived="true" type="Class" association="A_superClass_class">
<redefinedProperty xmi:idref="Classifier-general"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Class-superClass-_ownedComment.0" body="The superclasses of a Class, derived from its Generalizations.">
<annotatedElement xmi:idref="Class-superClass"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-superClass-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-superClass-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Class-extension.1" name="extension" isQuery="true" bodyCondition="Class-extension.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Class-extension.1-_ownedComment.0" body="Derivation for Class::/extension : Extension">
<annotatedElement xmi:idref="Class-extension.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Class-extension.1-spec" name="spec">
<constrainedElement xmi:idref="Class-extension.1"/>
<constrainedElement xmi:idref="Class-extension"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Class-extension.1-spec-_specification">
<body>result = (Extension.allInstances()->select(ext | let endTypes : Sequence(Classifier) = ext.memberEnd->collect(type.oclAsType(Classifier)) in endTypes->includes(self) or endTypes.allParents()->includes(self) ))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Class-extension.1-result" name="result" direction="return" type="Extension">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-extension.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-extension.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Class-superClass.1" name="superClass" isQuery="true" bodyCondition="Class-superClass.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Class-superClass.1-_ownedComment.0" body="Derivation for Class::/superClass : Class">
<annotatedElement xmi:idref="Class-superClass.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Class-superClass.1-spec" name="spec">
<constrainedElement xmi:idref="Class-superClass.1"/>
<constrainedElement xmi:idref="Class-superClass"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Class-superClass.1-spec-_specification">
<body>result = (self.general()->select(oclIsKindOf(Class))->collect(oclAsType(Class))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Class-superClass.1-result" name="result" direction="return" type="Class">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Class-superClass.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Class-superClass.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Collaboration" name="Collaboration">
<ownedComment xmi:type="uml:Comment" xmi:id="Collaboration-_ownedComment.0" body="A Collaboration describes a structure of collaborating elements (roles), each performing a specialized function, which collectively accomplish some desired functionality. ">
<annotatedElement xmi:idref="Collaboration"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Collaboration-_generalization.1" general="StructuredClassifier"/>
<generalization xmi:type="uml:Generalization" xmi:id="Collaboration-_generalization.0" general="BehavioredClassifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Collaboration-collaborationRole" name="collaborationRole" type="ConnectableElement" association="A_collaborationRole_collaboration">
<subsettedProperty xmi:idref="StructuredClassifier-role"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Collaboration-collaborationRole-_ownedComment.0" body="Represents the participants in the Collaboration.">
<annotatedElement xmi:idref="Collaboration-collaborationRole"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Collaboration-collaborationRole-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Collaboration-collaborationRole-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CollaborationUse" name="CollaborationUse">
<ownedComment xmi:type="uml:Comment" xmi:id="CollaborationUse-_ownedComment.0" body="A CollaborationUse is used to specify the application of a pattern specified by a Collaboration to a specific situation.">
<annotatedElement xmi:idref="CollaborationUse"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CollaborationUse-client_elements" name="client_elements">
<constrainedElement xmi:idref="CollaborationUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CollaborationUse-client_elements-_ownedComment.0" body="All the client elements of a roleBinding are in one Classifier and all supplier elements of a roleBinding are in one Collaboration.">
<annotatedElement xmi:idref="CollaborationUse-client_elements"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CollaborationUse-client_elements-_specification">
<body>roleBinding->collect(client)->forAll(ne1, ne2 | ne1.oclIsKindOf(ConnectableElement) and ne2.oclIsKindOf(ConnectableElement) and let ce1 : ConnectableElement = ne1.oclAsType(ConnectableElement), ce2 : ConnectableElement = ne2.oclAsType(ConnectableElement) in ce1.structuredClassifier = ce2.structuredClassifier) and roleBinding->collect(supplier)->forAll(ne1, ne2 | ne1.oclIsKindOf(ConnectableElement) and ne2.oclIsKindOf(ConnectableElement) and let ce1 : ConnectableElement = ne1.oclAsType(ConnectableElement), ce2 : ConnectableElement = ne2.oclAsType(ConnectableElement) in ce1.collaboration = ce2.collaboration)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CollaborationUse-every_role" name="every_role">
<constrainedElement xmi:idref="CollaborationUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CollaborationUse-every_role-_ownedComment.0" body="Every collaborationRole in the Collaboration is bound within the CollaborationUse.">
<annotatedElement xmi:idref="CollaborationUse-every_role"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CollaborationUse-every_role-_specification">
<body>type.collaborationRole->forAll(role | roleBinding->exists(rb | rb.supplier->includes(role)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CollaborationUse-connectors" name="connectors">
<constrainedElement xmi:idref="CollaborationUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CollaborationUse-connectors-_ownedComment.0" body="Connectors in a Collaboration typing a CollaborationUse must have corresponding Connectors between elements bound in the context Classifier, and these corresponding Connectors must have the same or more general type than the Collaboration Connectors.">
<annotatedElement xmi:idref="CollaborationUse-connectors"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CollaborationUse-connectors-_specification">
<body>type.ownedConnector->forAll(connector | let rolesConnectedInCollab : Set(ConnectableElement) = connector.end.role->asSet(), relevantBindings : Set(Dependency) = roleBinding->select(rb | rb.supplier->intersection(rolesConnectedInCollab)->notEmpty()), boundRoles : Set(ConnectableElement) = relevantBindings->collect(client.oclAsType(ConnectableElement))->asSet(), contextClassifier : StructuredClassifier = boundRoles->any(true).structuredClassifier->any(true) in contextClassifier.ownedConnector->exists( correspondingConnector | correspondingConnector.end.role->forAll( role | boundRoles->includes(role) ) and (connector.type->notEmpty() and correspondingConnector.type->notEmpty()) implies connector.type->forAll(conformsTo(correspondingConnector.type)) ) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CollaborationUse-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CollaborationUse-roleBinding" name="roleBinding" aggregation="composite" type="Dependency" association="A_roleBinding_collaborationUse">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CollaborationUse-roleBinding-_ownedComment.0" body="A mapping between features of the Collaboration and features of the owning Classifier. This mapping indicates which ConnectableElement of the Classifier plays which role(s) in the Collaboration. A ConnectableElement may be bound to multiple roles in the same CollaborationUse (that is, it may play multiple roles).">
<annotatedElement xmi:idref="CollaborationUse-roleBinding"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CollaborationUse-roleBinding-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CollaborationUse-roleBinding-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="CollaborationUse-type" name="type" type="Collaboration" association="A_type_collaborationUse">
<ownedComment xmi:type="uml:Comment" xmi:id="CollaborationUse-type-_ownedComment.0" body="The Collaboration which is used in this CollaborationUse. The Collaboration defines the cooperation between its roles which are mapped to ConnectableElements relating to the Classifier owning the CollaborationUse.">
<annotatedElement xmi:idref="CollaborationUse-type"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Component" name="Component">
<ownedComment xmi:type="uml:Comment" xmi:id="Component-_ownedComment.0" body="A Component represents a modular part of a system that encapsulates its contents and whose manifestation is replaceable within its environment. ">
<annotatedElement xmi:idref="Component"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Component-no_nested_classifiers" name="no_nested_classifiers">
<constrainedElement xmi:idref="Component"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Component-no_nested_classifiers-_ownedComment.0" body="A Component cannot nest Classifiers.">
<annotatedElement xmi:idref="Component-no_nested_classifiers"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Component-no_nested_classifiers-_specification">
<body>nestedClassifier->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Component-no_packaged_elements" name="no_packaged_elements">
<constrainedElement xmi:idref="Component"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Component-no_packaged_elements-_ownedComment.0" body="A Component nested in a Class cannot have any packaged elements.">
<annotatedElement xmi:idref="Component-no_packaged_elements"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Component-no_packaged_elements-_specification">
<body>nestingClass <> null implies packagedElement->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Component-_generalization.0" general="Class"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Component-isIndirectlyInstantiated" name="isIndirectlyInstantiated">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Component-isIndirectlyInstantiated-_ownedComment.0" body="If true, the Component is defined at design-time, but at run-time (or execution-time) an object specified by the Component does not exist, that is, the Component is instantiated indirectly, through the instantiation of its realizing Classifiers or parts.">
<annotatedElement xmi:idref="Component-isIndirectlyInstantiated"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Component-isIndirectlyInstantiated-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Component-packagedElement" name="packagedElement" aggregation="composite" type="PackageableElement" association="A_packagedElement_component">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Component-packagedElement-_ownedComment.0" body="The set of PackageableElements that a Component owns. In the namespace of a Component, all model elements that are involved in or related to its definition may be owned or imported explicitly. These may include e.g., Classes, Interfaces, Components, Packages, UseCases, Dependencies (e.g., mappings), and Artifacts.">
<annotatedElement xmi:idref="Component-packagedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Component-packagedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Component-packagedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Component-provided" name="provided" isReadOnly="true" isDerived="true" type="Interface" association="A_provided_component">
<ownedComment xmi:type="uml:Comment" xmi:id="Component-provided-_ownedComment.0" body="The Interfaces that the Component exposes to its environment. These Interfaces may be Realized by the Component or any of its realizingClassifiers, or they may be the Interfaces that are provided by its public Ports.">
<annotatedElement xmi:idref="Component-provided"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Component-provided-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Component-provided-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Component-realization" name="realization" aggregation="composite" type="ComponentRealization" association="A_realization_abstraction_component">
<subsettedProperty xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Component-realization-_ownedComment.0" body="The set of Realizations owned by the Component. Realizations reference the Classifiers of which the Component is an abstraction; i.e., that realize its behavior.">
<annotatedElement xmi:idref="Component-realization"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Component-realization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Component-realization-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Component-required" name="required" isReadOnly="true" isDerived="true" type="Interface" association="A_required_component">
<ownedComment xmi:type="uml:Comment" xmi:id="Component-required-_ownedComment.0" body="The Interfaces that the Component requires from other Components in its environment in order to be able to offer its full set of provided functionality. These Interfaces may be used by the Component or any of its realizingClassifiers, or they may be the Interfaces that are required by its public Ports.">
<annotatedElement xmi:idref="Component-required"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Component-required-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Component-required-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Component-provided.1" name="provided" isQuery="true" bodyCondition="Component-provided.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Component-provided.1-_ownedComment.0" body="Derivation for Component::/provided">
<annotatedElement xmi:idref="Component-provided.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Component-provided.1-spec" name="spec">
<constrainedElement xmi:idref="Component-provided.1"/>
<constrainedElement xmi:idref="Component-provided"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Component-provided.1-spec-_specification">
<body>result = (let ris : Set(Interface) = allRealizedInterfaces(), realizingClassifiers : Set(Classifier) = self.realization.realizingClassifier->union(self.allParents()->collect(realization.realizingClassifier))->asSet(), allRealizingClassifiers : Set(Classifier) = realizingClassifiers->union(realizingClassifiers.allParents())->asSet(), realizingClassifierInterfaces : Set(Interface) = allRealizingClassifiers->iterate(c; rci : Set(Interface) = Set{} | rci->union(c.allRealizedInterfaces())), ports : Set(Port) = self.ownedPort->union(allParents()->collect(ownedPort))->asSet(), providedByPorts : Set(Interface) = ports.provided->asSet() in ris->union(realizingClassifierInterfaces) ->union(providedByPorts)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Component-provided.1-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Component-provided.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Component-provided.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Component-required.1" name="required" isQuery="true" bodyCondition="Component-required.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Component-required.1-_ownedComment.0" body="Derivation for Component::/required">
<annotatedElement xmi:idref="Component-required.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Component-required.1-spec" name="spec">
<constrainedElement xmi:idref="Component-required.1"/>
<constrainedElement xmi:idref="Component-required"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Component-required.1-spec-_specification">
<body>result = (let uis : Set(Interface) = allUsedInterfaces(), realizingClassifiers : Set(Classifier) = self.realization.realizingClassifier->union(self.allParents()->collect(realization.realizingClassifier))->asSet(), allRealizingClassifiers : Set(Classifier) = realizingClassifiers->union(realizingClassifiers.allParents())->asSet(), realizingClassifierInterfaces : Set(Interface) = allRealizingClassifiers->iterate(c; rci : Set(Interface) = Set{} | rci->union(c.allUsedInterfaces())), ports : Set(Port) = self.ownedPort->union(allParents()->collect(ownedPort))->asSet(), usedByPorts : Set(Interface) = ports.required->asSet() in uis->union(realizingClassifierInterfaces)->union(usedByPorts)->asSet() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Component-required.1-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Component-required.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Component-required.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ComponentRealization" name="ComponentRealization">
<ownedComment xmi:type="uml:Comment" xmi:id="ComponentRealization-_ownedComment.0" body="Realization is specialized to (optionally) define the Classifiers that realize the contract offered by a Component in terms of its provided and required Interfaces. The Component forms an abstraction from these various Classifiers.">
<annotatedElement xmi:idref="ComponentRealization"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ComponentRealization-_generalization.0" general="Realization"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ComponentRealization-abstraction" name="abstraction" type="Component" association="A_realization_abstraction_component">
<subsettedProperty xmi:idref="Dependency-supplier"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ComponentRealization-abstraction-_ownedComment.0" body="The Component that owns this ComponentRealization and which is implemented by its realizing Classifiers.">
<annotatedElement xmi:idref="ComponentRealization-abstraction"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ComponentRealization-abstraction-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ComponentRealization-realizingClassifier" name="realizingClassifier" type="Classifier" association="A_realizingClassifier_componentRealization">
<subsettedProperty xmi:idref="Dependency-client"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ComponentRealization-realizingClassifier-_ownedComment.0" body="The Classifiers that are involved in the implementation of the Component that owns this Realization.">
<annotatedElement xmi:idref="ComponentRealization-realizingClassifier"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ComponentRealization-realizingClassifier-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ConnectableElement" name="ConnectableElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectableElement-_ownedComment.0" body="ConnectableElement is an abstract metaclass representing a set of instances that play roles of a StructuredClassifier. ConnectableElements may be joined by attached Connectors and specify configurations of linked instances to be created within an instance of the containing StructuredClassifier.">
<annotatedElement xmi:idref="ConnectableElement"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ConnectableElement-_generalization.1" general="TypedElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="ConnectableElement-_generalization.0" general="ParameterableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectableElement-end" name="end" isReadOnly="true" isDerived="true" type="ConnectorEnd" association="A_end_role">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectableElement-end-_ownedComment.0" body="A set of ConnectorEnds that attach to this ConnectableElement.">
<annotatedElement xmi:idref="ConnectableElement-end"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectableElement-end-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConnectableElement-end-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectableElement-templateParameter" name="templateParameter" type="ConnectableElementTemplateParameter" association="A_connectableElement_templateParameter_parameteredElement">
<redefinedProperty xmi:idref="ParameterableElement-templateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectableElement-templateParameter-_ownedComment.0" body="The ConnectableElementTemplateParameter for this ConnectableElement parameter.">
<annotatedElement xmi:idref="ConnectableElement-templateParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectableElement-templateParameter-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ConnectableElement-end.1" name="end" isQuery="true" bodyCondition="ConnectableElement-end.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectableElement-end.1-_ownedComment.0" body="Derivation for ConnectableElement::/end : ConnectorEnd">
<annotatedElement xmi:idref="ConnectableElement-end.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectableElement-end.1-spec" name="spec">
<constrainedElement xmi:idref="ConnectableElement-end.1"/>
<constrainedElement xmi:idref="ConnectableElement-end"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectableElement-end.1-spec-_specification">
<body>result = (ConnectorEnd.allInstances()->select(role = self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ConnectableElement-end.1-result" name="result" direction="return" type="ConnectorEnd">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectableElement-end.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConnectableElement-end.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ConnectableElementTemplateParameter" name="ConnectableElementTemplateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectableElementTemplateParameter-_ownedComment.0" body="A ConnectableElementTemplateParameter exposes a ConnectableElement as a formal parameter for a template.">
<annotatedElement xmi:idref="ConnectableElementTemplateParameter"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ConnectableElementTemplateParameter-_generalization.0" general="TemplateParameter"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectableElementTemplateParameter-parameteredElement" name="parameteredElement" type="ConnectableElement" association="A_connectableElement_templateParameter_parameteredElement">
<redefinedProperty xmi:idref="TemplateParameter-parameteredElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectableElementTemplateParameter-parameteredElement-_ownedComment.0" body="The ConnectableElement for this ConnectableElementTemplateParameter.">
<annotatedElement xmi:idref="ConnectableElementTemplateParameter-parameteredElement"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Connector" name="Connector">
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-_ownedComment.0" body="A Connector specifies links that enables communication between two or more instances. In contrast to Associations, which specify links between any instance of the associated Classifiers, Connectors specify links between instances playing the connected parts only.">
<annotatedElement xmi:idref="Connector"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Connector-types" name="types">
<constrainedElement xmi:idref="Connector"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-types-_ownedComment.0" body="The types of the ConnectableElements that the ends of a Connector are attached to must conform to the types of the ends of the Association that types the Connector, if any.">
<annotatedElement xmi:idref="Connector-types"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Connector-types-_specification">
<body>type<>null implies let noOfEnds : Integer = end->size() in (type.memberEnd->size() = noOfEnds) and Sequence{1..noOfEnds}->forAll(i | end->at(i).role.type.conformsTo(type.memberEnd->at(i).type))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Connector-roles" name="roles">
<constrainedElement xmi:idref="Connector"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-roles-_ownedComment.0" body="The ConnectableElements attached as roles to each ConnectorEnd owned by a Connector must be owned or inherited roles of the Classifier that owned the Connector, or they must be Ports of such roles.">
<annotatedElement xmi:idref="Connector-roles"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Connector-roles-_specification">
<body>structuredClassifier <> null and end->forAll( e | structuredClassifier.allRoles()->includes(e.role) or e.role.oclIsKindOf(Port) and structuredClassifier.allRoles()->includes(e.partWithPort))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Connector-_generalization.0" general="Feature"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Connector-contract" name="contract" type="Behavior" association="A_contract_connector">
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-contract-_ownedComment.0" body="The set of Behaviors that specify the valid interaction patterns across the Connector.">
<annotatedElement xmi:idref="Connector-contract"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Connector-contract-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Connector-contract-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Connector-end" name="end" isOrdered="true" aggregation="composite" type="ConnectorEnd" association="A_end_connector">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-end-_ownedComment.0" body="A Connector has at least two ConnectorEnds, each representing the participation of instances of the Classifiers typing the ConnectableElements attached to the end. The set of ConnectorEnds is ordered.">
<annotatedElement xmi:idref="Connector-end"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Connector-end-_lowerValue" value="2"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Connector-end-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Connector-kind" name="kind" isReadOnly="true" isDerived="true" type="ConnectorKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-kind-_ownedComment.0" body="Indicates the kind of Connector. This is derived: a Connector with one or more ends connected to a Port which is not on a Part and which is not a behavior port is a delegation; otherwise it is an assembly.">
<annotatedElement xmi:idref="Connector-kind"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Connector-redefinedConnector" name="redefinedConnector" type="Connector" association="A_redefinedConnector_connector">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-redefinedConnector-_ownedComment.0" body="A Connector may be redefined when its containing Classifier is specialized. The redefining Connector may have a type that specializes the type of the redefined Connector. The types of the ConnectorEnds of the redefining Connector may specialize the types of the ConnectorEnds of the redefined Connector. The properties of the ConnectorEnds of the redefining Connector may be replaced.">
<annotatedElement xmi:idref="Connector-redefinedConnector"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Connector-redefinedConnector-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Connector-redefinedConnector-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Connector-type" name="type" type="Association" association="A_type_connector">
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-type-_ownedComment.0" body="An optional Association that classifies links corresponding to this Connector.">
<annotatedElement xmi:idref="Connector-type"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Connector-type-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Connector-kind.1" name="kind" isQuery="true" bodyCondition="Connector-kind.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Connector-kind.1-_ownedComment.0" body="Derivation for Connector::/kind : ConnectorKind">
<annotatedElement xmi:idref="Connector-kind.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Connector-kind.1-spec" name="spec">
<constrainedElement xmi:idref="Connector-kind.1"/>
<constrainedElement xmi:idref="Connector-kind"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Connector-kind.1-spec-_specification">
<body>result = (if end->exists( role.oclIsKindOf(Port) and partWithPort->isEmpty() and not role.oclAsType(Port).isBehavior) then ConnectorKind::delegation else ConnectorKind::assembly endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Connector-kind.1-result" name="result" direction="return" type="ConnectorKind"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ConnectorEnd" name="ConnectorEnd">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-_ownedComment.0" body="A ConnectorEnd is an endpoint of a Connector, which attaches the Connector to a ConnectableElement.">
<annotatedElement xmi:idref="ConnectorEnd"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectorEnd-role_and_part_with_port" name="role_and_part_with_port">
<constrainedElement xmi:idref="ConnectorEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-role_and_part_with_port-_ownedComment.0" body="If a ConnectorEnd references a partWithPort, then the role must be a Port that is defined or inherited by the type of the partWithPort.">
<annotatedElement xmi:idref="ConnectorEnd-role_and_part_with_port"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectorEnd-role_and_part_with_port-_specification">
<body>partWithPort->notEmpty() implies (role.oclIsKindOf(Port) and partWithPort.type.oclAsType(Namespace).member->includes(role))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectorEnd-part_with_port_empty" name="part_with_port_empty">
<constrainedElement xmi:idref="ConnectorEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-part_with_port_empty-_ownedComment.0" body="If a ConnectorEnd is attached to a Port of the containing Classifier, partWithPort will be empty.">
<annotatedElement xmi:idref="ConnectorEnd-part_with_port_empty"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectorEnd-part_with_port_empty-_specification">
<body>(role.oclIsKindOf(Port) and role.owner = connector.owner) implies partWithPort->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectorEnd-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ConnectorEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-multiplicity-_ownedComment.0" body="The multiplicity of the ConnectorEnd may not be more general than the multiplicity of the corresponding end of the Association typing the owning Connector, if any.">
<annotatedElement xmi:idref="ConnectorEnd-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectorEnd-multiplicity-_specification">
<body>self.compatibleWith(definingEnd)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectorEnd-self_part_with_port" name="self_part_with_port">
<constrainedElement xmi:idref="ConnectorEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-self_part_with_port-_ownedComment.0" body="The Property held in self.partWithPort must not be a Port.">
<annotatedElement xmi:idref="ConnectorEnd-self_part_with_port"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectorEnd-self_part_with_port-_specification">
<body>partWithPort->notEmpty() implies not partWithPort.oclIsKindOf(Port)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ConnectorEnd-_generalization.0" general="MultiplicityElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectorEnd-definingEnd" name="definingEnd" isReadOnly="true" isDerived="true" type="Property" association="A_definingEnd_connectorEnd">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-definingEnd-_ownedComment.0" body="A derived property referencing the corresponding end on the Association which types the Connector owing this ConnectorEnd, if any. It is derived by selecting the end at the same place in the ordering of Association ends as this ConnectorEnd.">
<annotatedElement xmi:idref="ConnectorEnd-definingEnd"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectorEnd-definingEnd-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectorEnd-partWithPort" name="partWithPort" type="Property" association="A_partWithPort_connectorEnd">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-partWithPort-_ownedComment.0" body="Indicates the role of the internal structure of a Classifier with the Port to which the ConnectorEnd is attached.">
<annotatedElement xmi:idref="ConnectorEnd-partWithPort"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectorEnd-partWithPort-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectorEnd-role" name="role" type="ConnectableElement" association="A_end_role">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-role-_ownedComment.0" body="The ConnectableElement attached at this ConnectorEnd. When an instance of the containing Classifier is created, a link may (depending on the multiplicities) be created to an instance of the Classifier that types this ConnectableElement.">
<annotatedElement xmi:idref="ConnectorEnd-role"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ConnectorEnd-definingEnd.1" name="definingEnd" isQuery="true" bodyCondition="ConnectorEnd-definingEnd.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorEnd-definingEnd.1-_ownedComment.0" body="Derivation for ConnectorEnd::/definingEnd : Property">
<annotatedElement xmi:idref="ConnectorEnd-definingEnd.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectorEnd-definingEnd.1-spec" name="spec">
<constrainedElement xmi:idref="ConnectorEnd-definingEnd.1"/>
<constrainedElement xmi:idref="ConnectorEnd-definingEnd"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectorEnd-definingEnd.1-spec-_specification">
<body>result = (if connector.type = null then null else let index : Integer = connector.end->indexOf(self) in connector.type.memberEnd->at(index) endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ConnectorEnd-definingEnd.1-result" name="result" direction="return" type="Property">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectorEnd-definingEnd.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="EncapsulatedClassifier" name="EncapsulatedClassifier" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="EncapsulatedClassifier-_ownedComment.0" body="An EncapsulatedClassifier may own Ports to specify typed interaction points.">
<annotatedElement xmi:idref="EncapsulatedClassifier"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="EncapsulatedClassifier-_generalization.0" general="StructuredClassifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="EncapsulatedClassifier-ownedPort" name="ownedPort" isReadOnly="true" aggregation="composite" isDerived="true" type="Port" association="A_ownedPort_encapsulatedClassifier">
<subsettedProperty xmi:idref="StructuredClassifier-ownedAttribute"/>
<ownedComment xmi:type="uml:Comment" xmi:id="EncapsulatedClassifier-ownedPort-_ownedComment.0" body="The Ports owned by the EncapsulatedClassifier.">
<annotatedElement xmi:idref="EncapsulatedClassifier-ownedPort"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="EncapsulatedClassifier-ownedPort-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="EncapsulatedClassifier-ownedPort-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="EncapsulatedClassifier-ownedPort.1" name="ownedPort" isQuery="true" bodyCondition="EncapsulatedClassifier-ownedPort.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="EncapsulatedClassifier-ownedPort.1-_ownedComment.0" body="Derivation for EncapsulatedClassifier::/ownedPort : Port">
<annotatedElement xmi:idref="EncapsulatedClassifier-ownedPort.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="EncapsulatedClassifier-ownedPort.1-spec" name="spec">
<constrainedElement xmi:idref="EncapsulatedClassifier-ownedPort.1"/>
<constrainedElement xmi:idref="EncapsulatedClassifier-ownedPort"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="EncapsulatedClassifier-ownedPort.1-spec-_specification">
<body>result = (ownedAttribute->select(oclIsKindOf(Port))->collect(oclAsType(Port))->asOrderedSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="EncapsulatedClassifier-ownedPort.1-result" isOrdered="true" name="result" direction="return" type="Port">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="EncapsulatedClassifier-ownedPort.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="EncapsulatedClassifier-ownedPort.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Port" name="Port">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-_ownedComment.0" body="A Port is a property of an EncapsulatedClassifier that specifies a distinct interaction point between that EncapsulatedClassifier and its environment or between the (behavior of the) EncapsulatedClassifier and its internal parts. Ports are connected to Properties of the EncapsulatedClassifier by Connectors through which requests can be made to invoke BehavioralFeatures. A Port may specify the services an EncapsulatedClassifier provides (offers) to its environment as well as the services that an EncapsulatedClassifier expects (requires) of its environment. A Port may have an associated ProtocolStateMachine.">
<annotatedElement xmi:idref="Port"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-port_aggregation" name="port_aggregation">
<constrainedElement xmi:idref="Port"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-port_aggregation-_ownedComment.0" body="Port.aggregation must be composite.">
<annotatedElement xmi:idref="Port-port_aggregation"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-port_aggregation-_specification">
<body>aggregation = AggregationKind::composite</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-default_value" name="default_value">
<constrainedElement xmi:idref="Port"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-default_value-_ownedComment.0" body="A defaultValue for port cannot be specified when the type of the Port is an Interface.">
<annotatedElement xmi:idref="Port-default_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-default_value-_specification">
<body>type.oclIsKindOf(Interface) implies defaultValue->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-encapsulated_owner" name="encapsulated_owner">
<constrainedElement xmi:idref="Port"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-encapsulated_owner-_ownedComment.0" body="All Ports are owned by an EncapsulatedClassifier.">
<annotatedElement xmi:idref="Port-encapsulated_owner"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-encapsulated_owner-_specification">
<body>owner = encapsulatedClassifier</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Port-_generalization.0" general="Property"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-isBehavior" name="isBehavior">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-isBehavior-_ownedComment.0" body="Specifies whether requests arriving at this Port are sent to the classifier behavior of this EncapsulatedClassifier. Such a Port is referred to as a behavior Port. Any invocation of a BehavioralFeature targeted at a behavior Port will be handled by the instance of the owning EncapsulatedClassifier itself, rather than by any instances that it may contain.">
<annotatedElement xmi:idref="Port-isBehavior"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Port-isBehavior-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-isConjugated" name="isConjugated">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-isConjugated-_ownedComment.0" body="Specifies the way that the provided and required Interfaces are derived from the Port’s Type.">
<annotatedElement xmi:idref="Port-isConjugated"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Port-isConjugated-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-isService" name="isService">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-isService-_ownedComment.0" body="If true, indicates that this Port is used to provide the published functionality of an EncapsulatedClassifier. If false, this Port is used to implement the EncapsulatedClassifier but is not part of the essential externally-visible functionality of the EncapsulatedClassifier and can, therefore, be altered or deleted along with the internal implementation of the EncapsulatedClassifier and other properties that are considered part of its implementation.">
<annotatedElement xmi:idref="Port-isService"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Port-isService-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-protocol" name="protocol" type="ProtocolStateMachine" association="A_protocol_port">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-protocol-_ownedComment.0" body="An optional ProtocolStateMachine which describes valid interactions at this interaction point.">
<annotatedElement xmi:idref="Port-protocol"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-protocol-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-provided" name="provided" isReadOnly="true" isDerived="true" type="Interface" association="A_provided_port">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-provided-_ownedComment.0" body="The Interfaces specifying the set of Operations and Receptions that the EncapsulatedCclassifier offers to its environment via this Port, and which it will handle either directly or by forwarding it to a part of its internal structure. This association is derived according to the value of isConjugated. If isConjugated is false, provided is derived as the union of the sets of Interfaces realized by the type of the port and its supertypes, or directly from the type of the Port if the Port is typed by an Interface. If isConjugated is true, it is derived as the union of the sets of Interfaces used by the type of the Port and its supertypes.">
<annotatedElement xmi:idref="Port-provided"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-provided-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-provided-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-redefinedPort" name="redefinedPort" type="Port" association="A_redefinedPort_port">
<subsettedProperty xmi:idref="Property-redefinedProperty"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Port-redefinedPort-_ownedComment.0" body="A Port may be redefined when its containing EncapsulatedClassifier is specialized. The redefining Port may have additional Interfaces to those that are associated with the redefined Port or it may replace an Interface by one of its subtypes.">
<annotatedElement xmi:idref="Port-redefinedPort"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-redefinedPort-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-redefinedPort-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Port-required" name="required" isReadOnly="true" isDerived="true" type="Interface" association="A_required_port">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-required-_ownedComment.0" body="The Interfaces specifying the set of Operations and Receptions that the EncapsulatedCassifier expects its environment to handle via this port. This association is derived according to the value of isConjugated. If isConjugated is false, required is derived as the union of the sets of Interfaces used by the type of the Port and its supertypes. If isConjugated is true, it is derived as the union of the sets of Interfaces realized by the type of the Port and its supertypes, or directly from the type of the Port if the Port is typed by an Interface.">
<annotatedElement xmi:idref="Port-required"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-required-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-required-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Port-provided.1" name="provided" isQuery="true" bodyCondition="Port-provided.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-provided.1-_ownedComment.0" body="Derivation for Port::/provided">
<annotatedElement xmi:idref="Port-provided.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-provided.1-spec" name="spec">
<constrainedElement xmi:idref="Port-provided.1"/>
<constrainedElement xmi:idref="Port-provided"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-provided.1-spec-_specification">
<body>result = (if isConjugated then basicRequired() else basicProvided() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Port-provided.1-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-provided.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-provided.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Port-required.1" name="required" isQuery="true" bodyCondition="Port-required.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-required.1-_ownedComment.0" body="Derivation for Port::/required">
<annotatedElement xmi:idref="Port-required.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-required.1-spec" name="spec">
<constrainedElement xmi:idref="Port-required.1"/>
<constrainedElement xmi:idref="Port-required"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-required.1-spec-_specification">
<body>result = (if isConjugated then basicProvided() else basicRequired() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Port-required.1-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-required.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-required.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Port-basicProvided" name="basicProvided" isQuery="true" bodyCondition="Port-basicProvided-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-basicProvided-_ownedComment.0" body="The union of the sets of Interfaces realized by the type of the Port and its supertypes, or directly the type of the Port if the Port is typed by an Interface.">
<annotatedElement xmi:idref="Port-basicProvided"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-basicProvided-spec" name="spec">
<constrainedElement xmi:idref="Port-basicProvided"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-basicProvided-spec-_specification">
<body>result = (if type.oclIsKindOf(Interface) then type.oclAsType(Interface)->asSet() else type.oclAsType(Classifier).allRealizedInterfaces() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Port-basicProvided-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-basicProvided-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-basicProvided-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Port-basicRequired" name="basicRequired" isQuery="true" bodyCondition="Port-basicRequired-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Port-basicRequired-_ownedComment.0" body="The union of the sets of Interfaces used by the type of the Port and its supertypes.">
<annotatedElement xmi:idref="Port-basicRequired"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Port-basicRequired-spec" name="spec">
<constrainedElement xmi:idref="Port-basicRequired"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Port-basicRequired-spec-_specification">
<body>result = ( type.oclAsType(Classifier).allUsedInterfaces() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Port-basicRequired-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Port-basicRequired-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Port-basicRequired-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StructuredClassifier" name="StructuredClassifier" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-_ownedComment.0" body="StructuredClassifiers may contain an internal structure of connected elements each of which plays a role in the overall Behavior modeled by the StructuredClassifier.">
<annotatedElement xmi:idref="StructuredClassifier"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="StructuredClassifier-_generalization.0" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredClassifier-ownedAttribute" name="ownedAttribute" isOrdered="true" aggregation="composite" type="Property" association="A_ownedAttribute_structuredClassifier">
<subsettedProperty xmi:idref="Classifier-attribute"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<subsettedProperty xmi:idref="StructuredClassifier-role"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-ownedAttribute-_ownedComment.0" body="The Properties owned by the StructuredClassifier.">
<annotatedElement xmi:idref="StructuredClassifier-ownedAttribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredClassifier-ownedAttribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredClassifier-ownedAttribute-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredClassifier-ownedConnector" name="ownedConnector" aggregation="composite" type="Connector" association="A_ownedConnector_structuredClassifier">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-ownedConnector-_ownedComment.0" body="The connectors owned by the StructuredClassifier.">
<annotatedElement xmi:idref="StructuredClassifier-ownedConnector"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredClassifier-ownedConnector-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredClassifier-ownedConnector-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredClassifier-part" name="part" isReadOnly="true" isDerived="true" type="Property" association="A_part_structuredClassifier">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-part-_ownedComment.0" body="The Properties specifying instances that the StructuredClassifier owns by composition. This collection is derived, selecting those owned Properties where isComposite is true.">
<annotatedElement xmi:idref="StructuredClassifier-part"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredClassifier-part-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredClassifier-part-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredClassifier-role" name="role" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="ConnectableElement" association="A_role_structuredClassifier">
<subsettedProperty xmi:idref="Namespace-member"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-role-_ownedComment.0" body="The roles that instances may play in this StructuredClassifier.">
<annotatedElement xmi:idref="StructuredClassifier-role"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredClassifier-role-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredClassifier-role-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredClassifier-part.1" name="part" isQuery="true" bodyCondition="StructuredClassifier-part.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-part.1-_ownedComment.0" body="Derivation for StructuredClassifier::/part">
<annotatedElement xmi:idref="StructuredClassifier-part.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredClassifier-part.1-spec" name="spec">
<constrainedElement xmi:idref="StructuredClassifier-part.1"/>
<constrainedElement xmi:idref="StructuredClassifier-part"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredClassifier-part.1-spec-_specification">
<body>result = (ownedAttribute->select(isComposite))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredClassifier-part.1-result" name="result" direction="return" type="Property">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredClassifier-part.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredClassifier-part.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredClassifier-allRoles" name="allRoles" isQuery="true" bodyCondition="StructuredClassifier-allRoles-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredClassifier-allRoles-_ownedComment.0" body="All features of type ConnectableElement, equivalent to all direct and inherited roles.">
<annotatedElement xmi:idref="StructuredClassifier-allRoles"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredClassifier-allRoles-spec" name="spec">
<constrainedElement xmi:idref="StructuredClassifier-allRoles"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredClassifier-allRoles-spec-_specification">
<body>result = (allFeatures()->select(oclIsKindOf(ConnectableElement))->collect(oclAsType(ConnectableElement))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredClassifier-allRoles-result" name="result" direction="return" type="ConnectableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredClassifier-allRoles-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredClassifier-allRoles-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="ConnectorKind" name="ConnectorKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorKind-_ownedComment.0" body="ConnectorKind is an enumeration that defines whether a Connector is an assembly or a delegation.">
<annotatedElement xmi:idref="ConnectorKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ConnectorKind-assembly" name="assembly">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorKind-assembly-_ownedComment.0" body="Indicates that the Connector is an assembly Connector.">
<annotatedElement xmi:idref="ConnectorKind-assembly"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ConnectorKind-delegation" name="delegation">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectorKind-delegation-_ownedComment.0" body="Indicates that the Connector is a delegation Connector.">
<annotatedElement xmi:idref="ConnectorKind-delegation"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_part_structuredClassifier" name="A_part_structuredClassifier" isDerived="true">
<memberEnd xmi:idref="StructuredClassifier-part"/>
<memberEnd xmi:idref="A_part_structuredClassifier-structuredClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_part_structuredClassifier-structuredClassifier" name="structuredClassifier" type="StructuredClassifier" association="A_part_structuredClassifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_part_structuredClassifier-structuredClassifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedConnector_structuredClassifier" name="A_ownedConnector_structuredClassifier">
<memberEnd xmi:idref="StructuredClassifier-ownedConnector"/>
<memberEnd xmi:idref="A_ownedConnector_structuredClassifier-structuredClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedConnector_structuredClassifier-structuredClassifier" name="structuredClassifier" type="StructuredClassifier" association="A_ownedConnector_structuredClassifier">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedConnector_structuredClassifier-structuredClassifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedAttribute_structuredClassifier" name="A_ownedAttribute_structuredClassifier">
<memberEnd xmi:idref="StructuredClassifier-ownedAttribute"/>
<memberEnd xmi:idref="A_ownedAttribute_structuredClassifier-structuredClassifier"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_ownedAttribute_structuredClassifier-_generalization.0" general="A_role_structuredClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedAttribute_structuredClassifier-structuredClassifier" name="structuredClassifier" type="StructuredClassifier" association="A_ownedAttribute_structuredClassifier">
<redefinedProperty xmi:idref="A_role_structuredClassifier-structuredClassifier"/>
<subsettedProperty xmi:idref="A_attribute_classifier-classifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedAttribute_structuredClassifier-structuredClassifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_role_structuredClassifier" name="A_role_structuredClassifier" isDerived="true">
<memberEnd xmi:idref="StructuredClassifier-role"/>
<memberEnd xmi:idref="A_role_structuredClassifier-structuredClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_role_structuredClassifier-structuredClassifier" name="structuredClassifier" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="StructuredClassifier" association="A_role_structuredClassifier">
<subsettedProperty xmi:idref="A_member_memberNamespace-memberNamespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_role_structuredClassifier-structuredClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_role_structuredClassifier-structuredClassifier-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_protocol_port" name="A_protocol_port">
<memberEnd xmi:idref="Port-protocol"/>
<memberEnd xmi:idref="A_protocol_port-port"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_protocol_port-port" name="port" type="Port" association="A_protocol_port">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_protocol_port-port-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_protocol_port-port-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_required_port" name="A_required_port" isDerived="true">
<memberEnd xmi:idref="Port-required"/>
<memberEnd xmi:idref="A_required_port-port"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_required_port-port" name="port" type="Port" association="A_required_port">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_required_port-port-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_required_port-port-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedPort_port" name="A_redefinedPort_port">
<memberEnd xmi:idref="Port-redefinedPort"/>
<memberEnd xmi:idref="A_redefinedPort_port-port"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedPort_port-port" name="port" type="Port" association="A_redefinedPort_port">
<subsettedProperty xmi:idref="A_redefinedProperty_property-property"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedPort_port-port-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedPort_port-port-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_provided_port" name="A_provided_port" isDerived="true">
<memberEnd xmi:idref="Port-provided"/>
<memberEnd xmi:idref="A_provided_port-port"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_provided_port-port" name="port" type="Port" association="A_provided_port">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_provided_port-port-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_provided_port-port-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedPort_encapsulatedClassifier" name="A_ownedPort_encapsulatedClassifier" isDerived="true">
<memberEnd xmi:idref="EncapsulatedClassifier-ownedPort"/>
<memberEnd xmi:idref="A_ownedPort_encapsulatedClassifier-encapsulatedClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedPort_encapsulatedClassifier-encapsulatedClassifier" name="encapsulatedClassifier" type="EncapsulatedClassifier" association="A_ownedPort_encapsulatedClassifier">
<subsettedProperty xmi:idref="A_ownedAttribute_structuredClassifier-structuredClassifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedPort_encapsulatedClassifier-encapsulatedClassifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_partWithPort_connectorEnd" name="A_partWithPort_connectorEnd">
<memberEnd xmi:idref="ConnectorEnd-partWithPort"/>
<memberEnd xmi:idref="A_partWithPort_connectorEnd-connectorEnd"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_partWithPort_connectorEnd-connectorEnd" name="connectorEnd" type="ConnectorEnd" association="A_partWithPort_connectorEnd">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_partWithPort_connectorEnd-connectorEnd-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_partWithPort_connectorEnd-connectorEnd-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_definingEnd_connectorEnd" name="A_definingEnd_connectorEnd" isDerived="true">
<memberEnd xmi:idref="ConnectorEnd-definingEnd"/>
<memberEnd xmi:idref="A_definingEnd_connectorEnd-connectorEnd"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_definingEnd_connectorEnd-connectorEnd" name="connectorEnd" type="ConnectorEnd" association="A_definingEnd_connectorEnd">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_definingEnd_connectorEnd-connectorEnd-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_definingEnd_connectorEnd-connectorEnd-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_end_connector" name="A_end_connector">
<memberEnd xmi:idref="Connector-end"/>
<memberEnd xmi:idref="A_end_connector-connector"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_end_connector-connector" name="connector" type="Connector" association="A_end_connector">
<subsettedProperty xmi:idref="Element-owner"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedConnector_connector" name="A_redefinedConnector_connector">
<memberEnd xmi:idref="Connector-redefinedConnector"/>
<memberEnd xmi:idref="A_redefinedConnector_connector-connector"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedConnector_connector-connector" name="connector" type="Connector" association="A_redefinedConnector_connector">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedConnector_connector-connector-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedConnector_connector-connector-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_contract_connector" name="A_contract_connector">
<memberEnd xmi:idref="Connector-contract"/>
<memberEnd xmi:idref="A_contract_connector-connector"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_contract_connector-connector" name="connector" type="Connector" association="A_contract_connector">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_contract_connector-connector-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_contract_connector-connector-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_type_connector" name="A_type_connector">
<memberEnd xmi:idref="Connector-type"/>
<memberEnd xmi:idref="A_type_connector-connector"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_type_connector-connector" name="connector" type="Connector" association="A_type_connector">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_type_connector-connector-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_type_connector-connector-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_connectableElement_templateParameter_parameteredElement" name="A_connectableElement_templateParameter_parameteredElement">
<memberEnd xmi:idref="ConnectableElement-templateParameter"/>
<memberEnd xmi:idref="ConnectableElementTemplateParameter-parameteredElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_end_role" name="A_end_role">
<memberEnd xmi:idref="ConnectableElement-end"/>
<memberEnd xmi:idref="ConnectorEnd-role"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_realizingClassifier_componentRealization" name="A_realizingClassifier_componentRealization">
<memberEnd xmi:idref="ComponentRealization-realizingClassifier"/>
<memberEnd xmi:idref="A_realizingClassifier_componentRealization-componentRealization"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_realizingClassifier_componentRealization-componentRealization" name="componentRealization" type="ComponentRealization" association="A_realizingClassifier_componentRealization">
<subsettedProperty xmi:idref="NamedElement-clientDependency"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_realizingClassifier_componentRealization-componentRealization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_realizingClassifier_componentRealization-componentRealization-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_required_component" name="A_required_component" isDerived="true">
<memberEnd xmi:idref="Component-required"/>
<memberEnd xmi:idref="A_required_component-component"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_required_component-component" name="component" type="Component" association="A_required_component">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_required_component-component-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_required_component-component-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_packagedElement_component" name="A_packagedElement_component">
<memberEnd xmi:idref="Component-packagedElement"/>
<memberEnd xmi:idref="A_packagedElement_component-component"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_packagedElement_component-component" name="component" type="Component" association="A_packagedElement_component">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_packagedElement_component-component-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_realization_abstraction_component" name="A_realization_abstraction_component">
<memberEnd xmi:idref="Component-realization"/>
<memberEnd xmi:idref="ComponentRealization-abstraction"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_provided_component" name="A_provided_component" isDerived="true">
<memberEnd xmi:idref="Component-provided"/>
<memberEnd xmi:idref="A_provided_component-component"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_provided_component-component" name="component" type="Component" association="A_provided_component">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_provided_component-component-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_provided_component-component-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_type_collaborationUse" name="A_type_collaborationUse">
<memberEnd xmi:idref="CollaborationUse-type"/>
<memberEnd xmi:idref="A_type_collaborationUse-collaborationUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_type_collaborationUse-collaborationUse" name="collaborationUse" type="CollaborationUse" association="A_type_collaborationUse">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_type_collaborationUse-collaborationUse-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_type_collaborationUse-collaborationUse-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_roleBinding_collaborationUse" name="A_roleBinding_collaborationUse">
<memberEnd xmi:idref="CollaborationUse-roleBinding"/>
<memberEnd xmi:idref="A_roleBinding_collaborationUse-collaborationUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_roleBinding_collaborationUse-collaborationUse" name="collaborationUse" type="CollaborationUse" association="A_roleBinding_collaborationUse">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_roleBinding_collaborationUse-collaborationUse-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_collaborationRole_collaboration" name="A_collaborationRole_collaboration">
<memberEnd xmi:idref="Collaboration-collaborationRole"/>
<memberEnd xmi:idref="A_collaborationRole_collaboration-collaboration"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_collaborationRole_collaboration-collaboration" name="collaboration" type="Collaboration" association="A_collaborationRole_collaboration">
<subsettedProperty xmi:idref="A_role_structuredClassifier-structuredClassifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_collaborationRole_collaboration-collaboration-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_collaborationRole_collaboration-collaboration-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedOperation_class" name="A_ownedOperation_class">
<memberEnd xmi:idref="Class-ownedOperation"/>
<memberEnd xmi:idref="Operation-class"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_superClass_class" name="A_superClass_class" isDerived="true">
<memberEnd xmi:idref="Class-superClass"/>
<memberEnd xmi:idref="A_superClass_class-class"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_superClass_class-class" name="class" type="Class" association="A_superClass_class">
<subsettedProperty xmi:idref="A_general_classifier-classifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_superClass_class-class-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_superClass_class-class-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extension_metaclass" name="A_extension_metaclass" isDerived="true">
<memberEnd xmi:idref="Class-extension"/>
<memberEnd xmi:idref="Extension-metaclass"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedAttribute_class" name="A_ownedAttribute_class">
<memberEnd xmi:idref="Class-ownedAttribute"/>
<memberEnd xmi:idref="Property-class"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_nestedClassifier_nestingClass" name="A_nestedClassifier_nestingClass">
<memberEnd xmi:idref="Class-nestedClassifier"/>
<memberEnd xmi:idref="A_nestedClassifier_nestingClass-nestingClass"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_nestedClassifier_nestingClass-nestingClass" name="nestingClass" type="Class" association="A_nestedClassifier_nestingClass">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_nestedClassifier_nestingClass-nestingClass-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedReception_class" name="A_ownedReception_class">
<memberEnd xmi:idref="Class-ownedReception"/>
<memberEnd xmi:idref="A_ownedReception_class-class"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedReception_class-class" name="class" type="Class" association="A_ownedReception_class">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedReception_class-class-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_memberEnd_association" name="A_memberEnd_association">
<memberEnd xmi:idref="Association-memberEnd"/>
<memberEnd xmi:idref="Property-association"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_endType_association" name="A_endType_association" isDerived="true">
<memberEnd xmi:idref="Association-endType"/>
<memberEnd xmi:idref="A_endType_association-association"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_endType_association-association" name="association" type="Association" association="A_endType_association">
<subsettedProperty xmi:idref="A_relatedElement_relationship-relationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_endType_association-association-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_endType_association-association-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedEnd_owningAssociation" name="A_ownedEnd_owningAssociation">
<memberEnd xmi:idref="Association-ownedEnd"/>
<memberEnd xmi:idref="Property-owningAssociation"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_navigableOwnedEnd_association" name="A_navigableOwnedEnd_association">
<memberEnd xmi:idref="Association-navigableOwnedEnd"/>
<memberEnd xmi:idref="A_navigableOwnedEnd_association-association"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_navigableOwnedEnd_association-association" name="association" type="Association" association="A_navigableOwnedEnd_association">
<subsettedProperty xmi:idref="Property-owningAssociation"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_navigableOwnedEnd_association-association-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="StateMachines" name="StateMachines">
<packageImport xmi:type="uml:PackageImport" xmi:id="StateMachines-_packageImport.0" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="StateMachines-_packageImport.1" importedPackage="SimpleClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="StateMachines-_packageImport.2" importedPackage="CommonStructure"/>
<packagedElement xmi:type="uml:Class" xmi:id="ConnectionPointReference" name="ConnectionPointReference">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-_ownedComment.0" body="A ConnectionPointReference represents a usage (as part of a submachine State) of an entry/exit point Pseudostate defined in the StateMachine referenced by the submachine State.">
<annotatedElement xmi:idref="ConnectionPointReference"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectionPointReference-exit_pseudostates" name="exit_pseudostates">
<constrainedElement xmi:idref="ConnectionPointReference"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-exit_pseudostates-_ownedComment.0" body="The exit Pseudostates must be Pseudostates with kind exitPoint.">
<annotatedElement xmi:idref="ConnectionPointReference-exit_pseudostates"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectionPointReference-exit_pseudostates-_specification">
<body>exit->forAll(kind = PseudostateKind::exitPoint)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectionPointReference-entry_pseudostates" name="entry_pseudostates">
<constrainedElement xmi:idref="ConnectionPointReference"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-entry_pseudostates-_ownedComment.0" body="The entry Pseudostates must be Pseudostates with kind entryPoint.">
<annotatedElement xmi:idref="ConnectionPointReference-entry_pseudostates"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectionPointReference-entry_pseudostates-_specification">
<body>entry->forAll(kind = PseudostateKind::entryPoint)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ConnectionPointReference-_generalization.0" general="Vertex"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectionPointReference-entry" name="entry" type="Pseudostate" association="A_entry_connectionPointReference">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-entry-_ownedComment.0" body="The entryPoint Pseudostates corresponding to this connection point.">
<annotatedElement xmi:idref="ConnectionPointReference-entry"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectionPointReference-entry-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConnectionPointReference-entry-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectionPointReference-exit" name="exit" type="Pseudostate" association="A_exit_connectionPointReference">
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-exit-_ownedComment.0" body="The exitPoints kind Pseudostates corresponding to this connection point.">
<annotatedElement xmi:idref="ConnectionPointReference-exit"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectionPointReference-exit-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConnectionPointReference-exit-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConnectionPointReference-state" name="state" type="State" association="A_connection_state">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-state-_ownedComment.0" body="The State in which the ConnectionPointReference is defined.">
<annotatedElement xmi:idref="ConnectionPointReference-state"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConnectionPointReference-state-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ConnectionPointReference-isConsistentWith" name="isConsistentWith" visibility="public" bodyCondition="ConnectionPointReference-isConsistentWith-spec">
<precondition xmi:idref="ConnectionPointReference-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConnectionPointReference-isConsistentWith-_ownedComment.0" body="The query isConsistentWith() specifies a ConnectionPointReference can only be redefined by a ConnectionPointReference.">
<annotatedElement xmi:idref="ConnectionPointReference-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectionPointReference-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="ConnectionPointReference-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectionPointReference-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConnectionPointReference-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="ConnectionPointReference-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConnectionPointReference-isConsistentWith-spec-_specification">
<body>result = redefiningElement.oclIsKindOf(ConnectionPointReference)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ConnectionPointReference-isConsistentWith-redefiningElement" name="redefiningElement" visibility="public" type="RedefinableElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ConnectionPointReference-isConsistentWith-result" name="result" visibility="public" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="FinalState" name="FinalState">
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-_ownedComment.0" body="A special kind of State, which, when entered, signifies that the enclosing Region has completed. If the enclosing Region is directly contained in a StateMachine and all other Regions in that StateMachine also are completed, then it means that the entire StateMachine behavior is completed.">
<annotatedElement xmi:idref="FinalState"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-no_exit_behavior" name="no_exit_behavior">
<constrainedElement xmi:idref="FinalState"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-no_exit_behavior-_ownedComment.0" body="A FinalState has no exit Behavior.">
<annotatedElement xmi:idref="FinalState-no_exit_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-no_exit_behavior-_specification">
<body>exit->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-no_outgoing_transitions" name="no_outgoing_transitions">
<constrainedElement xmi:idref="FinalState"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-no_outgoing_transitions-_ownedComment.0" body="A FinalState cannot have any outgoing Transitions.">
<annotatedElement xmi:idref="FinalState-no_outgoing_transitions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-no_outgoing_transitions-_specification">
<body>outgoing->size() = 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-no_regions" name="no_regions">
<constrainedElement xmi:idref="FinalState"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-no_regions-_ownedComment.0" body="A FinalState cannot have Regions.">
<annotatedElement xmi:idref="FinalState-no_regions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-no_regions-_specification">
<body>region->size() = 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-cannot_reference_submachine" name="cannot_reference_submachine">
<constrainedElement xmi:idref="FinalState"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-cannot_reference_submachine-_ownedComment.0" body="A FinalState cannot reference a submachine.">
<annotatedElement xmi:idref="FinalState-cannot_reference_submachine"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-cannot_reference_submachine-_specification">
<body>submachine->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-no_entry_behavior" name="no_entry_behavior">
<constrainedElement xmi:idref="FinalState"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-no_entry_behavior-_ownedComment.0" body="A FinalState has no entry Behavior.">
<annotatedElement xmi:idref="FinalState-no_entry_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-no_entry_behavior-_specification">
<body>entry->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-no_state_behavior" name="no_state_behavior">
<constrainedElement xmi:idref="FinalState"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-no_state_behavior-_ownedComment.0" body="A FinalState has no state (doActivity) Behavior.">
<annotatedElement xmi:idref="FinalState-no_state_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-no_state_behavior-_specification">
<body>doActivity->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="FinalState-_generalization.0" general="State"/>
<ownedOperation xmi:type="uml:Operation" xmi:id="FinalState-isConsistentWith" name="isConsistentWith" visibility="public" bodyCondition="FinalState-isConsistentWith-spec">
<precondition xmi:idref="FinalState-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FinalState-isConsistentWith-_ownedComment.0" body="The query isConsistentWith() specifies a FinalState can only be redefined by a FinalState.">
<annotatedElement xmi:idref="FinalState-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="FinalState-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FinalState-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="FinalState-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FinalState-isConsistentWith-spec-_specification">
<body>result = redefiningElement.oclIsKindOf(FinalState)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="FinalState-isConsistentWith-redefiningElement" name="redefiningElement" visibility="public" type="RedefinableElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="FinalState-isConsistentWith-result" name="result" visibility="public" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ProtocolConformance" name="ProtocolConformance">
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolConformance-_ownedComment.0" body="A ProtocolStateMachine can be redefined into a more specific ProtocolStateMachine or into behavioral StateMachine. ProtocolConformance declares that the specific ProtocolStateMachine specifies a protocol that conforms to the general ProtocolStateMachine or that the specific behavioral StateMachine abides by the protocol of the general ProtocolStateMachine.">
<annotatedElement xmi:idref="ProtocolConformance"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ProtocolConformance-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProtocolConformance-generalMachine" name="generalMachine" type="ProtocolStateMachine" association="A_generalMachine_protocolConformance">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolConformance-generalMachine-_ownedComment.0" body="Specifies the ProtocolStateMachine to which the specific ProtocolStateMachine conforms.">
<annotatedElement xmi:idref="ProtocolConformance-generalMachine"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProtocolConformance-specificMachine" name="specificMachine" type="ProtocolStateMachine" association="A_conformance_specificMachine">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolConformance-specificMachine-_ownedComment.0" body="Specifies the ProtocolStateMachine which conforms to the general ProtocolStateMachine.">
<annotatedElement xmi:idref="ProtocolConformance-specificMachine"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ProtocolStateMachine" name="ProtocolStateMachine">
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolStateMachine-_ownedComment.0" body="A ProtocolStateMachine is always defined in the context of a Classifier. It specifies which BehavioralFeatures of the Classifier can be called in which State and under which conditions, thus specifying the allowed invocation sequences on the Classifier's BehavioralFeatures. A ProtocolStateMachine specifies the possible and permitted Transitions on the instances of its context Classifier, together with the BehavioralFeatures that carry the Transitions. In this manner, an instance lifecycle can be specified for a Classifier, by defining the order in which the BehavioralFeatures can be activated and the States through which an instance progresses during its existence.">
<annotatedElement xmi:idref="ProtocolStateMachine"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolStateMachine-classifier_context" name="classifier_context">
<constrainedElement xmi:idref="ProtocolStateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolStateMachine-classifier_context-_ownedComment.0" body="A ProtocolStateMachine must only have a Classifier context, not a BehavioralFeature context.">
<annotatedElement xmi:idref="ProtocolStateMachine-classifier_context"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolStateMachine-classifier_context-_specification">
<body>_'context' <> null and specification = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolStateMachine-deep_or_shallow_history" name="deep_or_shallow_history">
<constrainedElement xmi:idref="ProtocolStateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolStateMachine-deep_or_shallow_history-_ownedComment.0" body="ProtocolStateMachines cannot have deep or shallow history Pseudostates.">
<annotatedElement xmi:idref="ProtocolStateMachine-deep_or_shallow_history"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolStateMachine-deep_or_shallow_history-_specification">
<body>region->forAll (r | r.subvertex->forAll (v | v.oclIsKindOf(Pseudostate) implies ((v.oclAsType(Pseudostate).kind <> PseudostateKind::deepHistory) and (v.oclAsType(Pseudostate).kind <> PseudostateKind::shallowHistory)))) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolStateMachine-entry_exit_do" name="entry_exit_do">
<constrainedElement xmi:idref="ProtocolStateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolStateMachine-entry_exit_do-_ownedComment.0" body="The states of a ProtocolStateMachine cannot have entry, exit, or do activity Behaviors.">
<annotatedElement xmi:idref="ProtocolStateMachine-entry_exit_do"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolStateMachine-entry_exit_do-_specification">
<body>region->forAll(r | r.subvertex->forAll(v | v.oclIsKindOf(State) implies (v.oclAsType(State).entry->isEmpty() and v.oclAsType(State).exit->isEmpty() and v.oclAsType(State).doActivity->isEmpty()))) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolStateMachine-protocol_transitions" name="protocol_transitions">
<constrainedElement xmi:idref="ProtocolStateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolStateMachine-protocol_transitions-_ownedComment.0" body="All Transitions of a ProtocolStateMachine must be ProtocolTransitions.">
<annotatedElement xmi:idref="ProtocolStateMachine-protocol_transitions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolStateMachine-protocol_transitions-_specification">
<body>region->forAll(r | r.transition->forAll(t | t.oclIsTypeOf(ProtocolTransition)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ProtocolStateMachine-_generalization.0" general="StateMachine"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProtocolStateMachine-conformance" name="conformance" aggregation="composite" type="ProtocolConformance" association="A_conformance_specificMachine">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolStateMachine-conformance-_ownedComment.0" body="Conformance between ProtocolStateMachine ">
<annotatedElement xmi:idref="ProtocolStateMachine-conformance"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ProtocolStateMachine-conformance-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ProtocolStateMachine-conformance-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ProtocolTransition" name="ProtocolTransition">
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-_ownedComment.0" body="A ProtocolTransition specifies a legal Transition for an Operation. Transitions of ProtocolStateMachines have the following information: a pre-condition (guard), a Trigger, and a post-condition. Every ProtocolTransition is associated with at most one BehavioralFeature belonging to the context Classifier of the ProtocolStateMachine.">
<annotatedElement xmi:idref="ProtocolTransition"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolTransition-refers_to_operation" name="refers_to_operation">
<constrainedElement xmi:idref="ProtocolTransition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-refers_to_operation-_ownedComment.0" body="If a ProtocolTransition refers to an Operation (i.e., has a CallEvent trigger corresponding to an Operation), then that Operation should apply to the context Classifier of the StateMachine of the ProtocolTransition.">
<annotatedElement xmi:idref="ProtocolTransition-refers_to_operation"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolTransition-refers_to_operation-_specification">
<body>if (referred()->notEmpty() and containingStateMachine()._'context'->notEmpty()) then containingStateMachine()._'context'.oclAsType(BehavioredClassifier).allFeatures()->includesAll(referred()) else true endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolTransition-associated_actions" name="associated_actions">
<constrainedElement xmi:idref="ProtocolTransition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-associated_actions-_ownedComment.0" body="A ProtocolTransition never has associated Behaviors.">
<annotatedElement xmi:idref="ProtocolTransition-associated_actions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolTransition-associated_actions-_specification">
<body>effect = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolTransition-belongs_to_psm" name="belongs_to_psm">
<constrainedElement xmi:idref="ProtocolTransition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-belongs_to_psm-_ownedComment.0" body="A ProtocolTransition always belongs to a ProtocolStateMachine.">
<annotatedElement xmi:idref="ProtocolTransition-belongs_to_psm"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolTransition-belongs_to_psm-_specification">
<body>container.belongsToPSM()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ProtocolTransition-_generalization.0" general="Transition"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProtocolTransition-postCondition" name="postCondition" aggregation="composite" type="Constraint" association="A_postCondition_owningTransition">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-postCondition-_ownedComment.0" body="Specifies the post condition of the Transition which is the Condition that should be obtained once the Transition is triggered. This post condition is part of the post condition of the Operation connected to the Transition.">
<annotatedElement xmi:idref="ProtocolTransition-postCondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ProtocolTransition-postCondition-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProtocolTransition-preCondition" name="preCondition" aggregation="composite" type="Constraint" association="A_preCondition_protocolTransition">
<subsettedProperty xmi:idref="Transition-guard"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-preCondition-_ownedComment.0" body="Specifies the precondition of the Transition. It specifies the Condition that should be verified before triggering the Transition. This guard condition added to the source State will be evaluated as part of the precondition of the Operation referred by the Transition if any.">
<annotatedElement xmi:idref="ProtocolTransition-preCondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ProtocolTransition-preCondition-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProtocolTransition-referred" name="referred" isReadOnly="true" isDerived="true" type="Operation" association="A_referred_protocolTransition">
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-referred-_ownedComment.0" body="This association refers to the associated Operation. It is derived from the Operation of the CallEvent Trigger when applicable.">
<annotatedElement xmi:idref="ProtocolTransition-referred"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ProtocolTransition-referred-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ProtocolTransition-referred-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ProtocolTransition-referred.1" name="referred" isQuery="true" bodyCondition="ProtocolTransition-referred.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ProtocolTransition-referred.1-_ownedComment.0" body="Derivation for ProtocolTransition::/referred">
<annotatedElement xmi:idref="ProtocolTransition-referred.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ProtocolTransition-referred.1-spec" name="spec">
<constrainedElement xmi:idref="ProtocolTransition-referred.1"/>
<constrainedElement xmi:idref="ProtocolTransition-referred"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ProtocolTransition-referred.1-spec-_specification">
<body>result = (trigger->collect(event)->select(oclIsKindOf(CallEvent))->collect(oclAsType(CallEvent).operation)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ProtocolTransition-referred.1-result" name="result" direction="return" type="Operation">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ProtocolTransition-referred.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ProtocolTransition-referred.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Pseudostate" name="Pseudostate">
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-_ownedComment.0" body="A Pseudostate is an abstraction that encompasses different types of transient Vertices in the StateMachine graph. A StateMachine instance never comes to rest in a Pseudostate, instead, it will exit and enter the Pseudostate within a single run-to-completion step.">
<annotatedElement xmi:idref="Pseudostate"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-transitions_outgoing" name="transitions_outgoing">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-transitions_outgoing-_ownedComment.0" body="All transitions outgoing a fork vertex must target states in different regions of an orthogonal state.">
<annotatedElement xmi:idref="Pseudostate-transitions_outgoing"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-transitions_outgoing-_specification">
<body>(kind = PseudostateKind::fork) implies -- for any pair of outgoing transitions there exists an orthogonal state which contains the targets of these transitions -- such that these targets belong to different regions of that orthogonal state outgoing->forAll(t1:Transition, t2:Transition | let contState:State = containingStateMachine().LCAState(t1.target, t2.target) in ((contState <> null) and (contState.region ->exists(r1:Region, r2: Region | (r1 <> r2) and t1.target.isContainedInRegion(r1) and t2.target.isContainedInRegion(r2))))) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-choice_vertex" name="choice_vertex">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-choice_vertex-_ownedComment.0" body="In a complete statemachine, a choice Vertex must have at least one incoming and one outgoing Transition.">
<annotatedElement xmi:idref="Pseudostate-choice_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-choice_vertex-_specification">
<body>(kind = PseudostateKind::choice) implies (incoming->size() >= 1 and outgoing->size() >= 1) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-outgoing_from_initial" name="outgoing_from_initial">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-outgoing_from_initial-_ownedComment.0" body="The outgoing Transition from an initial vertex may have a behavior, but not a trigger or a guard.">
<annotatedElement xmi:idref="Pseudostate-outgoing_from_initial"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-outgoing_from_initial-_specification">
<body>(kind = PseudostateKind::initial) implies (outgoing.guard = null and outgoing.trigger->isEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-join_vertex" name="join_vertex">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-join_vertex-_ownedComment.0" body="In a complete StateMachine, a join Vertex must have at least two incoming Transitions and exactly one outgoing Transition.">
<annotatedElement xmi:idref="Pseudostate-join_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-join_vertex-_specification">
<body>(kind = PseudostateKind::join) implies (outgoing->size() = 1 and incoming->size() >= 2) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-junction_vertex" name="junction_vertex">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-junction_vertex-_ownedComment.0" body="In a complete StateMachine, a junction Vertex must have at least one incoming and one outgoing Transition.">
<annotatedElement xmi:idref="Pseudostate-junction_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-junction_vertex-_specification">
<body>(kind = PseudostateKind::junction) implies (incoming->size() >= 1 and outgoing->size() >= 1) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-history_vertices" name="history_vertices">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-history_vertices-_ownedComment.0" body="History Vertices can have at most one outgoing Transition.">
<annotatedElement xmi:idref="Pseudostate-history_vertices"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-history_vertices-_specification">
<body>((kind = PseudostateKind::deepHistory) or (kind = PseudostateKind::shallowHistory)) implies (outgoing->size() <= 1) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-initial_vertex" name="initial_vertex">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-initial_vertex-_ownedComment.0" body="An initial Vertex can have at most one outgoing Transition.">
<annotatedElement xmi:idref="Pseudostate-initial_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-initial_vertex-_specification">
<body>(kind = PseudostateKind::initial) implies (outgoing->size() <= 1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-fork_vertex" name="fork_vertex">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-fork_vertex-_ownedComment.0" body="In a complete StateMachine, a fork Vertex must have at least two outgoing Transitions and exactly one incoming Transition.">
<annotatedElement xmi:idref="Pseudostate-fork_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-fork_vertex-_specification">
<body>(kind = PseudostateKind::fork) implies (incoming->size() = 1 and outgoing->size() >= 2) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-transitions_incoming" name="transitions_incoming">
<constrainedElement xmi:idref="Pseudostate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-transitions_incoming-_ownedComment.0" body="All Transitions incoming a join Vertex must originate in different Regions of an orthogonal State.">
<annotatedElement xmi:idref="Pseudostate-transitions_incoming"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-transitions_incoming-_specification">
<body>(kind = PseudostateKind::join) implies -- for any pair of incoming transitions there exists an orthogonal state which contains the source vetices of these transitions -- such that these source vertices belong to different regions of that orthogonal state incoming->forAll(t1:Transition, t2:Transition | let contState:State = containingStateMachine().LCAState(t1.source, t2.source) in ((contState <> null) and (contState.region ->exists(r1:Region, r2: Region | (r1 <> r2) and t1.source.isContainedInRegion(r1) and t2.source.isContainedInRegion(r2)))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Pseudostate-_generalization.0" general="Vertex"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Pseudostate-kind" name="kind" type="PseudostateKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-kind-_ownedComment.0" body="Determines the precise type of the Pseudostate and can be one of: entryPoint, exitPoint, initial, deepHistory, shallowHistory, join, fork, junction, terminate or choice.">
<annotatedElement xmi:idref="Pseudostate-kind"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="Pseudostate-kind-_defaultValue" type="PseudostateKind" instance="PseudostateKind-initial"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Pseudostate-state" name="state" type="State" association="A_connectionPoint_state">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-state-_ownedComment.0" body="The State that owns this Pseudostate and in which it appears.">
<annotatedElement xmi:idref="Pseudostate-state"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Pseudostate-state-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Pseudostate-stateMachine" name="stateMachine" type="StateMachine" association="A_connectionPoint_stateMachine">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-stateMachine-_ownedComment.0" body="The StateMachine in which this Pseudostate is defined. This only applies to Pseudostates of the kind entryPoint or exitPoint.">
<annotatedElement xmi:idref="Pseudostate-stateMachine"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Pseudostate-stateMachine-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Pseudostate-isConsistentWith" name="isConsistentWith" visibility="public" bodyCondition="Pseudostate-isConsistentWith-spec">
<precondition xmi:idref="Pseudostate-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pseudostate-isConsistentWith-owmnedComment.0" body="The query isConsistentWith() specifies a Pseudostate can only be redefined by a Pseudostate of the same kind.">
<annotatedElement xmi:idref="Pseudostate-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="Pseudostate-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pseudostate-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="Pseudostate-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pseudostate-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsKindOf(Pseudostate) and redefiningElement.oclAsType(Pseudostate).kind = kind)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Pseudostate-isConsistentWith-redefiningElement" name="redefiningElement" visibility="public" type="RedefinableElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Pseudostate-isConsistentWith-result" name="result" visibility="public" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Region" name="Region">
<ownedComment xmi:type="uml:Comment" xmi:id="Region-_ownedComment.0" body="A Region is a top-level part of a StateMachine or a composite State, that serves as a container for the Vertices and Transitions of the StateMachine. A StateMachine or composite State may contain multiple Regions representing behaviors that may occur in parallel.">
<annotatedElement xmi:idref="Region"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-deep_history_vertex" name="deep_history_vertex">
<constrainedElement xmi:idref="Region"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-deep_history_vertex-_ownedComment.0" body="A Region can have at most one deep history Vertex.">
<annotatedElement xmi:idref="Region-deep_history_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-deep_history_vertex-_specification">
<body>self.subvertex->select (oclIsKindOf(Pseudostate))->collect(oclAsType(Pseudostate))-> select(kind = PseudostateKind::deepHistory)->size() <= 1 </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-shallow_history_vertex" name="shallow_history_vertex">
<constrainedElement xmi:idref="Region"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-shallow_history_vertex-_ownedComment.0" body="A Region can have at most one shallow history Vertex.">
<annotatedElement xmi:idref="Region-shallow_history_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-shallow_history_vertex-_specification">
<body>subvertex->select(oclIsKindOf(Pseudostate))->collect(oclAsType(Pseudostate))-> select(kind = PseudostateKind::shallowHistory)->size() <= 1 </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-owned" name="owned">
<constrainedElement xmi:idref="Region"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-owned-_ownedComment.0" body="If a Region is owned by a StateMachine, then it cannot also be owned by a State and vice versa.">
<annotatedElement xmi:idref="Region-owned"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-owned-_specification">
<body>(stateMachine <> null implies state = null) and (state <> null implies stateMachine = null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-initial_vertex" name="initial_vertex">
<constrainedElement xmi:idref="Region"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-initial_vertex-_ownedComment.0" body="A Region can have at most one initial Vertex.">
<annotatedElement xmi:idref="Region-initial_vertex"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-initial_vertex-_specification">
<body>self.subvertex->select (oclIsKindOf(Pseudostate))->collect(oclAsType(Pseudostate))-> select(kind = PseudostateKind::initial)->size() <= 1 </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Region-_generalization.0" general="Namespace"/>
<generalization xmi:type="uml:Generalization" xmi:id="Region-_generalization.1" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Region-extendedRegion" name="extendedRegion" type="Region" association="A_extendedRegion_region">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-extendedRegion-_ownedComment.0" body="The region of which this region is an extension.">
<annotatedElement xmi:idref="Region-extendedRegion"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Region-extendedRegion-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Region-redefinitionContext" name="redefinitionContext" isReadOnly="true" isDerived="true" type="Classifier" association="A_redefinitionContext_region">
<redefinedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-redefinitionContext-_ownedComment.0" body="References the Classifier in which context this element may be redefined.">
<annotatedElement xmi:idref="Region-redefinitionContext"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Region-state" name="state" type="State" association="A_region_state">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-state-_ownedComment.0" body="The State that owns the Region. If a Region is owned by a State, then it cannot also be owned by a StateMachine.">
<annotatedElement xmi:idref="Region-state"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Region-state-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Region-stateMachine" name="stateMachine" type="StateMachine" association="A_region_stateMachine">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-stateMachine-_ownedComment.0" body="The StateMachine that owns the Region. If a Region is owned by a StateMachine, then it cannot also be owned by a State.">
<annotatedElement xmi:idref="Region-stateMachine"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Region-stateMachine-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Region-subvertex" name="subvertex" aggregation="composite" type="Vertex" association="A_subvertex_container">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-subvertex-_ownedComment.0" body="The set of Vertices that are owned by this Region.">
<annotatedElement xmi:idref="Region-subvertex"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Region-subvertex-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Region-subvertex-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Region-transition" name="transition" aggregation="composite" type="Transition" association="A_transition_container">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-transition-_ownedComment.0" body="The set of Transitions owned by the Region.">
<annotatedElement xmi:idref="Region-transition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Region-transition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Region-transition-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Region-belongsToPSM" name="belongsToPSM" isQuery="true" bodyCondition="Region-belongsToPSM-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Region-belongsToPSM-_ownedComment.0" body="The operation belongsToPSM () checks if the Region belongs to a ProtocolStateMachine.">
<annotatedElement xmi:idref="Region-belongsToPSM"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-belongsToPSM-spec" name="spec">
<constrainedElement xmi:idref="Region-belongsToPSM"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-belongsToPSM-spec-_specification">
<body>result = (if stateMachine <> null then stateMachine.oclIsKindOf(ProtocolStateMachine) else state <> null implies state.container.belongsToPSM() endif )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-belongsToPSM-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Region-containingStateMachine" name="containingStateMachine" isQuery="true" bodyCondition="Region-containingStateMachine-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Region-containingStateMachine-_ownedComment.0" body="The operation containingStateMachine() returns the StateMachine in which this Region is defined.">
<annotatedElement xmi:idref="Region-containingStateMachine"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-containingStateMachine-spec" name="spec">
<constrainedElement xmi:idref="Region-containingStateMachine"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-containingStateMachine-spec-_specification">
<body>result = (if stateMachine = null then state.containingStateMachine() else stateMachine endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-containingStateMachine-result" name="result" direction="return" type="StateMachine"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Region-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="Region-isConsistentWith-spec">
<precondition xmi:idref="Region-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-isConsistentWith-_ownedComment.0" body="The query isConsistentWith specifies that a Region can be redefined by any Region for which the redefinition context is valid (see the isRedefinitionContextValid operation). Note that consistency requirements for the redefinition of Vertices and Transitions within a redefining Region are specified by the isConsistentWith and isRedefinitionContextValid operations for Vertex (and its subclasses) and Transition.">
<annotatedElement xmi:idref="Region-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="Region-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-isConsistentWith-spec-_specification">
<body>result = true</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="Region-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Region-isRedefinitionContextValid" name="isRedefinitionContextValid" isQuery="true" bodyCondition="Region-isRedefinitionContextValid-spec">
<redefinedOperation xmi:idref="RedefinableElement-isRedefinitionContextValid"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Region-isRedefinitionContextValid-_ownedComment.0" body="The query isRedefinitionContextValid() specifies whether the redefinition contexts of a Region are properly related to the redefinition contexts of the specified Region to allow this element to redefine the other. The containing StateMachine or State of a redefining Region must Redefine the containing StateMachine or State of the redefined Region.">
<annotatedElement xmi:idref="Region-isRedefinitionContextValid"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-isRedefinitionContextValid-spec" name="spec">
<constrainedElement xmi:idref="Region-isRedefinitionContextValid"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-isRedefinitionContextValid-spec-_specification">
<body>result = (if redefinedElement.oclIsKindOf(Region) then let redefinedRegion : Region = redefinedElement.oclAsType(Region) in if stateMachine->isEmpty() then -- the Region is owned by a State (state.redefinedState->notEmpty() and state.redefinedState.region->includes(redefinedRegion)) else -- the region is owned by a StateMachine (stateMachine.extendedStateMachine->notEmpty() and stateMachine.extendedStateMachine->exists(sm : StateMachine | sm.region->includes(redefinedRegion))) endif else false endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-isRedefinitionContextValid-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-isRedefinitionContextValid-redefinedElement" name="redefinedElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Region-redefinitionContext.1" name="redefinitionContext" isQuery="true" bodyCondition="Region-redefinitionContext.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Region-redefinitionContext.1-_ownedComment.0" body="The redefinition context of a Region is the nearest containing StateMachine.">
<annotatedElement xmi:idref="Region-redefinitionContext.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Region-redefinitionContext.1-spec" name="spec">
<constrainedElement xmi:idref="Region-redefinitionContext.1"/>
<constrainedElement xmi:idref="Region-redefinitionContext"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Region-redefinitionContext.1-spec-_specification">
<body>result = containingStateMachine()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Region-redefinitionContext.1-result" name="result" direction="return" type="Classifier"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="State" name="State">
<ownedComment xmi:type="uml:Comment" xmi:id="State-_ownedComment.0" body="A State models a situation during which some (usually implicit) invariant condition holds.">
<annotatedElement xmi:idref="State"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-entry_or_exit" name="entry_or_exit">
<constrainedElement xmi:idref="State"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-entry_or_exit-_ownedComment.0" body="Only entry or exit Pseudostates can serve as connection points.">
<annotatedElement xmi:idref="State-entry_or_exit"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-entry_or_exit-_specification">
<body>connectionPoint->forAll(kind = PseudostateKind::entryPoint or kind = PseudostateKind::exitPoint)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-submachine_states" name="submachine_states">
<constrainedElement xmi:idref="State"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-submachine_states-_ownedComment.0" body="Only submachine States can have connection point references.">
<annotatedElement xmi:idref="State-submachine_states"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-submachine_states-_specification">
<body>isSubmachineState implies connection->notEmpty( )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-composite_states" name="composite_states">
<constrainedElement xmi:idref="State"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-composite_states-_ownedComment.0" body="Only composite States can have entry or exit Pseudostates defined.">
<annotatedElement xmi:idref="State-composite_states"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-composite_states-_specification">
<body>connectionPoint->notEmpty() implies isComposite</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-destinations_or_sources_of_transitions" name="destinations_or_sources_of_transitions">
<constrainedElement xmi:idref="State"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-destinations_or_sources_of_transitions-_ownedComment.0" body="The connection point references used as destinations/sources of Transitions associated with a submachine State must be defined as entry/exit points in the submachine StateMachine.">
<annotatedElement xmi:idref="State-destinations_or_sources_of_transitions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-destinations_or_sources_of_transitions-_specification">
<body>self.isSubmachineState implies (self.connection->forAll (cp | cp.entry->forAll (ps | ps.stateMachine = self.submachine) and cp.exit->forAll (ps | ps.stateMachine = self.submachine)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-submachine_or_regions" name="submachine_or_regions">
<constrainedElement xmi:idref="State"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-submachine_or_regions-_ownedComment.0" body="A State is not allowed to have both a submachine and Regions.">
<annotatedElement xmi:idref="State-submachine_or_regions"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-submachine_or_regions-_specification">
<body>isComposite implies not isSubmachineState</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="State-_generalization.0" general="Namespace"/>
<generalization xmi:type="uml:Generalization" xmi:id="State-_generalization.2" general="Vertex"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-connection" name="connection" aggregation="composite" type="ConnectionPointReference" association="A_connection_state">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-connection-_ownedComment.0" body="The entry and exit connection points used in conjunction with this (submachine) State, i.e., as targets and sources, respectively, in the Region with the submachine State. A connection point reference references the corresponding definition of a connection point Pseudostate in the StateMachine referenced by the submachine State.">
<annotatedElement xmi:idref="State-connection"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-connection-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="State-connection-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-connectionPoint" name="connectionPoint" aggregation="composite" type="Pseudostate" association="A_connectionPoint_state">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-connectionPoint-_ownedComment.0" body="The entry and exit Pseudostates of a composite State. These can only be entry or exit Pseudostates, and they must have different names. They can only be defined for composite States.">
<annotatedElement xmi:idref="State-connectionPoint"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-connectionPoint-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="State-connectionPoint-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-deferrableTrigger" name="deferrableTrigger" aggregation="composite" type="Trigger" association="A_deferrableTrigger_state">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-deferrableTrigger-_ownedComment.0" body="A list of Triggers that are candidates to be retained by the StateMachine if they trigger no Transitions out of the State (not consumed). A deferred Trigger is retained until the StateMachine reaches a State configuration where it is no longer deferred.">
<annotatedElement xmi:idref="State-deferrableTrigger"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-deferrableTrigger-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="State-deferrableTrigger-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-doActivity" name="doActivity" aggregation="composite" type="Behavior" association="A_doActivity_state">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-doActivity-_ownedComment.0" body="An optional Behavior that is executed while being in the State. The execution starts when this State is entered, and ceases either by itself when done, or when the State is exited, whichever comes first.">
<annotatedElement xmi:idref="State-doActivity"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-doActivity-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-entry" name="entry" aggregation="composite" type="Behavior" association="A_entry_state">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-entry-_ownedComment.0" body="An optional Behavior that is executed whenever this State is entered regardless of the Transition taken to reach the State. If defined, entry Behaviors are always executed to completion prior to any internal Behavior or Transitions performed within the State.">
<annotatedElement xmi:idref="State-entry"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-entry-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-exit" name="exit" aggregation="composite" type="Behavior" association="A_exit_state">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-exit-_ownedComment.0" body="An optional Behavior that is executed whenever this State is exited regardless of which Transition was taken out of the State. If defined, exit Behaviors are always executed to completion only after all internal and transition Behaviors have completed execution.">
<annotatedElement xmi:idref="State-exit"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-exit-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-isComposite" name="isComposite" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-isComposite-_ownedComment.0" body="A state with isComposite=true is said to be a composite State. A composite State is a State that contains at least one Region.">
<annotatedElement xmi:idref="State-isComposite"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-isOrthogonal" name="isOrthogonal" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-isOrthogonal-_ownedComment.0" body="A State with isOrthogonal=true is said to be an orthogonal composite State An orthogonal composite State contains two or more Regions.">
<annotatedElement xmi:idref="State-isOrthogonal"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-isSimple" name="isSimple" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-isSimple-_ownedComment.0" body="A State with isSimple=true is said to be a simple State A simple State does not have any Regions and it does not refer to any submachine StateMachine.">
<annotatedElement xmi:idref="State-isSimple"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-isSubmachineState" name="isSubmachineState" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-isSubmachineState-_ownedComment.0" body="A State with isSubmachineState=true is said to be a submachine State Such a State refers to another StateMachine(submachine).">
<annotatedElement xmi:idref="State-isSubmachineState"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-region" name="region" aggregation="composite" type="Region" association="A_region_state">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-region-_ownedComment.0" body="The Regions owned directly by the State.">
<annotatedElement xmi:idref="State-region"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-region-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="State-region-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-stateInvariant" name="stateInvariant" aggregation="composite" type="Constraint" association="A_stateInvariant_owningState">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-stateInvariant-_ownedComment.0" body="Specifies conditions that are always true when this State is the current State. In ProtocolStateMachines state invariants are additional conditions to the preconditions of the outgoing Transitions, and to the postcondition of the incoming Transitions.">
<annotatedElement xmi:idref="State-stateInvariant"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-stateInvariant-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-submachine" name="submachine" type="StateMachine" association="A_submachineState_submachine">
<ownedComment xmi:type="uml:Comment" xmi:id="State-submachine-_ownedComment.0" body="The StateMachine that is to be inserted in place of the (submachine) State.">
<annotatedElement xmi:idref="State-submachine"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-submachine-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-containingStateMachine" name="containingStateMachine" isQuery="true" bodyCondition="State-containingStateMachine-spec">
<redefinedOperation xmi:idref="Vertex-containingStateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-containingStateMachine-_ownedComment.0" body="The query containingStateMachine() returns the StateMachine that contains the State either directly or transitively.">
<annotatedElement xmi:idref="State-containingStateMachine"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-containingStateMachine-spec" name="spec">
<constrainedElement xmi:idref="State-containingStateMachine"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-containingStateMachine-spec-_specification">
<body>result = (container.containingStateMachine())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-containingStateMachine-result" name="result" direction="return" type="StateMachine"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-isComposite.1" name="isComposite" isQuery="true" bodyCondition="State-isComposite.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="State-isComposite.1-_ownedComment.0" body="A composite State is a State with at least one Region.">
<annotatedElement xmi:idref="State-isComposite.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isComposite.1-spec" name="spec">
<constrainedElement xmi:idref="State-isComposite.1"/>
<constrainedElement xmi:idref="State-isComposite"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isComposite.1-spec-_specification">
<body>result = (region->notEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isComposite.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="State-isConsistentWith-spec">
<precondition xmi:idref="State-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-isConsistentWith-_ownedComment.0" body="The query isConsistentWith specifies that a non-final State can only be redefined by a non-final State (this is overridden by FinalState to allow a FinalState to be redefined by a FinalState) and, if the redefined State is a submachine State, then the redefining State must be a submachine state whose submachine is a redefinition of the submachine of the redefined State. Note that consistency requirements for the redefinition of Regions and connectionPoint Pseudostates within a composite State and connection ConnectionPoints of a submachine State are specified by the isConsistentWith and isRedefinitionContextValid operations for Region and Vertex (and its subclasses, Pseudostate and ConnectionPointReference).">
<annotatedElement xmi:idref="State-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="State-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsTypeOf(State) and let redefiningState : State = redefiningElement.oclAsType(State) in submachine <> null implies (redefiningState.submachine <> null and redefiningState.submachine.extendedStateMachine->includes(submachine)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="State-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-isOrthogonal.1" name="isOrthogonal" isQuery="true" bodyCondition="State-isOrthogonal.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="State-isOrthogonal.1-_ownedComment.0" body="An orthogonal State is a composite state with at least 2 regions.">
<annotatedElement xmi:idref="State-isOrthogonal.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isOrthogonal.1-spec" name="spec">
<constrainedElement xmi:idref="State-isOrthogonal.1"/>
<constrainedElement xmi:idref="State-isOrthogonal"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isOrthogonal.1-spec-_specification">
<body>result = (region->size () > 1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isOrthogonal.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-isSimple.1" name="isSimple" isQuery="true" bodyCondition="State-isSimple.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="State-isSimple.1-_ownedComment.0" body="A simple State is a State without any regions.">
<annotatedElement xmi:idref="State-isSimple.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isSimple.1-spec" name="spec">
<constrainedElement xmi:idref="State-isSimple.1"/>
<constrainedElement xmi:idref="State-isSimple"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isSimple.1-spec-_specification">
<body>result = ((region->isEmpty()) and not isSubmachineState())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isSimple.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-isSubmachineState.1" name="isSubmachineState" isQuery="true" bodyCondition="State-isSubmachineState.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="State-isSubmachineState.1-_ownedComment.0" body="Only submachine State references another StateMachine.">
<annotatedElement xmi:idref="State-isSubmachineState.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isSubmachineState.1-spec" name="spec">
<constrainedElement xmi:idref="State-isSubmachineState.1"/>
<constrainedElement xmi:idref="State-isSubmachineState"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isSubmachineState.1-spec-_specification">
<body>result = (submachine <> null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isSubmachineState.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StateMachine" name="StateMachine">
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-_ownedComment.0" body="StateMachines can be used to express event-driven behaviors of parts of a system. Behavior is modeled as a traversal of a graph of Vertices interconnected by one or more joined Transition arcs that are triggered by the dispatching of successive Event occurrences. During this traversal, the StateMachine may execute a sequence of Behaviors associated with various elements of the StateMachine.">
<annotatedElement xmi:idref="StateMachine"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-connection_points" name="connection_points">
<constrainedElement xmi:idref="StateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-connection_points-_ownedComment.0" body="The connection points of a StateMachine are Pseudostates of kind entry point or exit point.">
<annotatedElement xmi:idref="StateMachine-connection_points"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-connection_points-_specification">
<body>connectionPoint->forAll (kind = PseudostateKind::entryPoint or kind = PseudostateKind::exitPoint)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-classifier_context" name="classifier_context">
<constrainedElement xmi:idref="StateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-classifier_context-_ownedComment.0" body="The Classifier context of a StateMachine cannot be an Interface.">
<annotatedElement xmi:idref="StateMachine-classifier_context"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-classifier_context-_specification">
<body>_'context' <> null implies not _'context'.oclIsKindOf(Interface)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-method" name="method">
<constrainedElement xmi:idref="StateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-method-_ownedComment.0" body="A StateMachine as the method for a BehavioralFeature cannot have entry/exit connection points.">
<annotatedElement xmi:idref="StateMachine-method"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-method-_specification">
<body>specification <> null implies connectionPoint->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-context_classifier" name="context_classifier">
<constrainedElement xmi:idref="StateMachine"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-context_classifier-_ownedComment.0" body="The context Classifier of the method StateMachine of a BehavioralFeature must be the Classifier that owns the BehavioralFeature.">
<annotatedElement xmi:idref="StateMachine-context_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-context_classifier-_specification">
<body>specification <> null implies ( _'context' <> null and specification.featuringClassifier->exists(c | c = _'context'))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="StateMachine-_generalization.0" general="Behavior"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StateMachine-connectionPoint" name="connectionPoint" aggregation="composite" type="Pseudostate" association="A_connectionPoint_stateMachine">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-connectionPoint-_ownedComment.0" body="The connection points defined for this StateMachine. They represent the interface of the StateMachine when used as part of submachine State">
<annotatedElement xmi:idref="StateMachine-connectionPoint"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StateMachine-connectionPoint-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StateMachine-connectionPoint-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StateMachine-extendedStateMachine" name="extendedStateMachine" type="StateMachine" association="A_extendedStateMachine_stateMachine">
<redefinedProperty xmi:idref="Behavior-redefinedBehavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-extendedStateMachine-_ownedComment.0" body="The StateMachines of which this is an extension.">
<annotatedElement xmi:idref="StateMachine-extendedStateMachine"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StateMachine-extendedStateMachine-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StateMachine-extendedStateMachine-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StateMachine-region" name="region" aggregation="composite" type="Region" association="A_region_stateMachine">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-region-_ownedComment.0" body="The Regions owned directly by the StateMachine.">
<annotatedElement xmi:idref="StateMachine-region"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StateMachine-region-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StateMachine-submachineState" name="submachineState" type="State" association="A_submachineState_submachine">
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-submachineState-_ownedComment.0" body="References the submachine(s) in case of a submachine State. Multiple machines are referenced in case of a concurrent State.">
<annotatedElement xmi:idref="StateMachine-submachineState"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StateMachine-submachineState-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StateMachine-submachineState-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="StateMachine-LCA" name="LCA" isQuery="true" bodyCondition="StateMachine-LCA-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-LCA-_ownedComment.0" body="The operation LCA(s1,s2) returns the Region that is the least common ancestor of Vertices s1 and s2, based on the StateMachine containment hierarchy.">
<annotatedElement xmi:idref="StateMachine-LCA"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-LCA-spec" name="spec">
<constrainedElement xmi:idref="StateMachine-LCA"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-LCA-spec-_specification">
<body>result = (if ancestor(s1, s2) then s2.container else if ancestor(s2, s1) then s1.container else LCA(s1.container.state, s2.container.state) endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-LCA-result" name="result" direction="return" type="Region"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-LCA-s1" name="s1" type="Vertex"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-LCA-s2" name="s2" type="Vertex"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StateMachine-ancestor" name="ancestor" isQuery="true" bodyCondition="StateMachine-ancestor-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-ancestor-_ownedComment.0" body="The query ancestor(s1, s2) checks whether Vertex s2 is an ancestor of Vertex s1.">
<annotatedElement xmi:idref="StateMachine-ancestor"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-ancestor-spec" name="spec">
<constrainedElement xmi:idref="StateMachine-ancestor"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-ancestor-spec-_specification">
<body>result = (if (s2 = s1) then true else if s1.container.stateMachine->notEmpty() then true else if s2.container.stateMachine->notEmpty() then false else ancestor(s1, s2.container.state) endif endif endif )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-ancestor-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-ancestor-s1" name="s1" type="Vertex"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-ancestor-s2" name="s2" type="Vertex"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StateMachine-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="StateMachine-isConsistentWith-spec">
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-isConsistentWith-_ownedComment.0" body="The query isConsistentWith specifies that a StateMachine can be redefined by any other StateMachine for which the redefinition context is valid (see the isRedefinitionContextValid operation). Note that consistency requirements for the redefinition of Regions and connectionPoint Pseudostates owned by a StateMachine are specified by the isConsistentWith and isRedefinitionContextValid operations for Region and Vertex (and its subclass Pseudostate).">
<annotatedElement xmi:idref="StateMachine-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="StateMachine-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-isConsistentWith-spec-_specification">
<body>result = true</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StateMachine-isRedefinitionContextValid" name="isRedefinitionContextValid" isQuery="true" bodyCondition="StateMachine-isRedefinitionContextValid-spec">
<redefinedOperation xmi:idref="RedefinableElement-isRedefinitionContextValid"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-isRedefinitionContextValid-_ownedComment.0" body="The query isRedefinitionContextValid specifies whether the redefinition context of a StateMachine is properly related to the redefinition contexts of a StateMachine it redefines. The requirement is that the context BehavioredClassifier of a redefining StateMachine must specialize the context Classifier of the redefined StateMachine. If the redefining StateMachine does not have a context BehavioredClassifier, then then the redefining StateMachine also must not have a context BehavioredClassifier but must, instead, specialize the redefining StateMachine.">
<annotatedElement xmi:idref="StateMachine-isRedefinitionContextValid"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-isRedefinitionContextValid-spec" name="spec">
<constrainedElement xmi:idref="StateMachine-isRedefinitionContextValid"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-isRedefinitionContextValid-spec-_specification">
<body>result = (redefinedElement.oclIsKindOf(StateMachine) and let parentContext : BehavioredClassifier = redefinedElement.oclAsType(StateMachine).context in if context = null then parentContext = null and self.allParents()→includes(redefinedElement) else parentContext <> null and context.allParents()->includes(parentContext) endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-isRedefinitionContextValid-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-isRedefinitionContextValid-redefinedElement" name="redefinedElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StateMachine-LCAState" name="LCAState" isQuery="true" bodyCondition="StateMachine-LCAState-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StateMachine-LCAState-_ownedComment.0" body="This utility funciton is like the LCA, except that it returns the nearest composite State that contains both input Vertices.">
<annotatedElement xmi:idref="StateMachine-LCAState"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StateMachine-LCAState-spec" name="spec">
<constrainedElement xmi:idref="StateMachine-LCAState"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StateMachine-LCAState-spec-_specification">
<body>result = (if v2.oclIsTypeOf(State) and ancestor(v1, v2) then v2.oclAsType(State) else if v1.oclIsTypeOf(State) and ancestor(v2, v1) then v1.oclAsType(State) else if (v1.container.state->isEmpty() or v2.container.state->isEmpty()) then null.oclAsType(State) else LCAState(v1.container.state, v2.container.state) endif endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-LCAState-result" name="result" direction="return" type="State"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-LCAState-v1" name="v1" type="Vertex"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StateMachine-LCAState-v2" name="v2" type="Vertex"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Transition" name="Transition">
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-_ownedComment.0" body="A Transition represents an arc between exactly one source Vertex and exactly one Target vertex (the source and targets may be the same Vertex). It may form part of a compound transition, which takes the StateMachine from one steady State configuration to another, representing the full response of the StateMachine to an occurrence of an Event that triggered it.">
<annotatedElement xmi:idref="Transition"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-state_is_external" name="state_is_external">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-state_is_external-_ownedComment.0" body="A Transition with kind external can source any Vertex except entry points.">
<annotatedElement xmi:idref="Transition-state_is_external"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-state_is_external-_specification">
<body>(kind = TransitionKind::external) implies not (source.oclIsKindOf(Pseudostate) and source.oclAsType(Pseudostate).kind = PseudostateKind::entryPoint)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-join_segment_guards" name="join_segment_guards">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-join_segment_guards-_ownedComment.0" body="A join segment must not have Guards or Triggers.">
<annotatedElement xmi:idref="Transition-join_segment_guards"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-join_segment_guards-_specification">
<body>(target.oclIsKindOf(Pseudostate) and target.oclAsType(Pseudostate).kind = PseudostateKind::join) implies (guard = null and trigger->isEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-state_is_internal" name="state_is_internal">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-state_is_internal-_ownedComment.0" body="A Transition with kind internal must have a State as its source, and its source and target must be equal.">
<annotatedElement xmi:idref="Transition-state_is_internal"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-state_is_internal-_specification">
<body>(kind = TransitionKind::internal) implies (source.oclIsKindOf (State) and source = target)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-outgoing_pseudostates" name="outgoing_pseudostates">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-outgoing_pseudostates-_ownedComment.0" body="Transitions outgoing Pseudostates may not have a Trigger.">
<annotatedElement xmi:idref="Transition-outgoing_pseudostates"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-outgoing_pseudostates-_specification">
<body>source.oclIsKindOf(Pseudostate) and (source.oclAsType(Pseudostate).kind <> PseudostateKind::initial) implies trigger->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-join_segment_state" name="join_segment_state">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-join_segment_state-_ownedComment.0" body="A join segment must always originate from a State.">
<annotatedElement xmi:idref="Transition-join_segment_state"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-join_segment_state-_specification">
<body>(target.oclIsKindOf(Pseudostate) and target.oclAsType(Pseudostate).kind = PseudostateKind::join) implies (source.oclIsKindOf(State))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-fork_segment_state" name="fork_segment_state">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-fork_segment_state-_ownedComment.0" body="A fork segment must always target a State.">
<annotatedElement xmi:idref="Transition-fork_segment_state"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-fork_segment_state-_specification">
<body>(source.oclIsKindOf(Pseudostate) and source.oclAsType(Pseudostate).kind = PseudostateKind::fork) implies (target.oclIsKindOf(State))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-state_is_local" name="state_is_local">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-state_is_local-_ownedComment.0" body="A Transition with kind local must have a composite State or an entry point as its source.">
<annotatedElement xmi:idref="Transition-state_is_local"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-state_is_local-_specification">
<body>(kind = TransitionKind::local) implies ((source.oclIsKindOf (State) and source.oclAsType(State).isComposite) or (source.oclIsKindOf (Pseudostate) and source.oclAsType(Pseudostate).kind = PseudostateKind::entryPoint))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-initial_transition" name="initial_transition">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-initial_transition-_ownedComment.0" body="An initial Transition at the topmost level Region of a StateMachine that has no Trigger.">
<annotatedElement xmi:idref="Transition-initial_transition"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-initial_transition-_specification">
<body>(source.oclIsKindOf(Pseudostate) and container.stateMachine->notEmpty()) implies trigger->isEmpty() </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-fork_segment_guards" name="fork_segment_guards">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-fork_segment_guards-_ownedComment.0" body="A fork segment must not have Guards or Triggers.">
<annotatedElement xmi:idref="Transition-fork_segment_guards"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-fork_segment_guards-_specification">
<body>(source.oclIsKindOf(Pseudostate) and source.oclAsType(Pseudostate).kind = PseudostateKind::fork) implies (guard = null and trigger->isEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-transition_vertices" name="transition_vertices">
<constrainedElement xmi:idref="Transition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-transition_vertices-_ownedComment.0" body="The source and target Vertices of a Transition must be contained in the same StateMachine as the Transition.">
<annotatedElement xmi:idref="Transition-transition_vertices"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-transition_vertices-_specification">
<body>let stateMachine = self.containingStateMachine() in source.containingStateMachine() = stateMachine and target.containingStateMachine() = stateMachine</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Transition-_generalization.0" general="Namespace"/>
<generalization xmi:type="uml:Generalization" xmi:id="Transition-_generalization.1" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-container" name="container" type="Region" association="A_transition_container">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-container-_ownedComment.0" body="Designates the Region that owns this Transition.">
<annotatedElement xmi:idref="Transition-container"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-effect" name="effect" aggregation="composite" type="Behavior" association="A_effect_transition">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-effect-_ownedComment.0" body="Specifies an optional behavior to be performed when the Transition fires.">
<annotatedElement xmi:idref="Transition-effect"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Transition-effect-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-guard" name="guard" aggregation="composite" type="Constraint" association="A_guard_transition">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-guard-_ownedComment.0" body="A guard is a Constraint that provides a fine-grained control over the firing of the Transition. The guard is evaluated when an Event occurrence is dispatched by the StateMachine. If the guard is true at that time, the Transition may be enabled, otherwise, it is disabled. Guards should be pure expressions without side effects. Guard expressions with side effects are ill formed.">
<annotatedElement xmi:idref="Transition-guard"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Transition-guard-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-kind" name="kind" type="TransitionKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-kind-_ownedComment.0" body="Indicates the precise type of the Transition.">
<annotatedElement xmi:idref="Transition-kind"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="Transition-kind-_defaultValue" type="TransitionKind" instance="TransitionKind-external"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-redefinedTransition" name="redefinedTransition" type="Transition" association="A_redefinedTransition_transition">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-redefinedTransition-_ownedComment.0" body="The Transition that is redefined by this Transition.">
<annotatedElement xmi:idref="Transition-redefinedTransition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Transition-redefinedTransition-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-redefinitionContext" name="redefinitionContext" isReadOnly="true" isDerived="true" type="Classifier" association="A_redefinitionContext_transition">
<redefinedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-redefinitionContext-_ownedComment.0" body="References the Classifier in which context this element may be redefined.">
<annotatedElement xmi:idref="Transition-redefinitionContext"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-source" name="source" type="Vertex" association="A_outgoing_source_vertex">
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-source-_ownedComment.0" body="Designates the originating Vertex (State or Pseudostate) of the Transition.">
<annotatedElement xmi:idref="Transition-source"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-target" name="target" type="Vertex" association="A_incoming_target_vertex">
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-target-_ownedComment.0" body="Designates the target Vertex that is reached when the Transition is taken.">
<annotatedElement xmi:idref="Transition-target"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Transition-trigger" name="trigger" aggregation="composite" type="Trigger" association="A_trigger_transition">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-trigger-_ownedComment.0" body="Specifies the Triggers that may fire the transition.">
<annotatedElement xmi:idref="Transition-trigger"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Transition-trigger-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Transition-trigger-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Transition-containingStateMachine" name="containingStateMachine" isQuery="true" bodyCondition="Transition-containingStateMachine-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-containingStateMachine-_ownedComment.0" body="The query containingStateMachine() returns the StateMachine that contains the Transition either directly or transitively.">
<annotatedElement xmi:idref="Transition-containingStateMachine"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-containingStateMachine-spec" name="spec">
<constrainedElement xmi:idref="Transition-containingStateMachine"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-containingStateMachine-spec-_specification">
<body>result = (container.containingStateMachine())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Transition-containingStateMachine-result" name="result" direction="return" type="StateMachine"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Transition-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="Transition-isConsistentWith-spec">
<precondition xmi:idref="Transition-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-isConsistentWith-_ownedComment.0" body="The query isConsistentWith specifies that a redefining Transition is consistent with a redefined Transition provided that the source Vertex of the redefining Transition redefines the source Vertex of the redefined Transition.">
<annotatedElement xmi:idref="Transition-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="Transition-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsKindOf(Transition) and redefiningElement.oclAsType(Transition).source.redefinedTransition = source)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="Transition-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Transition-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Transition-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Transition-redefinitionContext.1" name="redefinitionContext" isQuery="true" bodyCondition="Transition-redefinitionContext.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Transition-redefinitionContext.1-_ownedComment.0" body="The redefinition context of a Transition is the nearest containing StateMachine.">
<annotatedElement xmi:idref="Transition-redefinitionContext.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Transition-redefinitionContext.1-spec" name="spec">
<constrainedElement xmi:idref="Transition-redefinitionContext.1"/>
<constrainedElement xmi:idref="Transition-redefinitionContext"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Transition-redefinitionContext.1-spec-_specification">
<body>result = containingStateMachine()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Transition-redefinitionContext.1-result" name="result" direction="return" type="Classifier"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Vertex" name="Vertex" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-_ownedComment.0" body="A Vertex is an abstraction of a node in a StateMachine graph. It can be the source or destination of any number of Transitions.">
<annotatedElement xmi:idref="Vertex"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Vertex-_generalization.0" general="NamedElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Vertex-_generalization.1" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Vertex-container" name="container" type="Region" association="A_subvertex_container">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-container-_ownedComment.0" body="The Region that contains this Vertex.">
<annotatedElement xmi:idref="Vertex-container"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Vertex-container-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Vertex-incoming" name="incoming" isReadOnly="true" isDerived="true" type="Transition" association="A_incoming_target_vertex">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-incoming-_ownedComment.0" body="Specifies the Transitions entering this Vertex.">
<annotatedElement xmi:idref="Vertex-incoming"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Vertex-incoming-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Vertex-incoming-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Vertex-outgoing" name="outgoing" isReadOnly="true" isDerived="true" type="Transition" association="A_outgoing_source_vertex">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-outgoing-_ownedComment.0" body="Specifies the Transitions departing from this Vertex.">
<annotatedElement xmi:idref="Vertex-outgoing"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Vertex-outgoing-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Vertex-outgoing-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-redefinitionContext" name="redefinitionContext" isReadOnly="true" isDerived="true" type="Classifier" association="A_redefinitionContext_state">
<redefinedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-redefinitionContext-_ownedComment.0" body="References the Classifier in which context this element may be redefined.">
<annotatedElement xmi:idref="State-redefinitionContext"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="State-redefinedState" name="redefinedVertex" type="Vertex" association="A_redefinedState_state">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-redefinedState-_ownedComment.0" body="The Vertex of which this Vertex is a redefinition.">
<annotatedElement xmi:idref="State-redefinedState"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="State-redefinedState-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Vertex-containingStateMachine" name="containingStateMachine" isQuery="true" bodyCondition="Vertex-containingStateMachine-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-containingStateMachine-_ownedComment.0" body="The operation containingStateMachine() returns the StateMachine in which this Vertex is defined.">
<annotatedElement xmi:idref="Vertex-containingStateMachine"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Vertex-containingStateMachine-spec" name="spec">
<constrainedElement xmi:idref="Vertex-containingStateMachine"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Vertex-containingStateMachine-spec-_specification">
<body>result = (if container <> null then -- the container is a region container.containingStateMachine() else if (self.oclIsKindOf(Pseudostate)) and ((self.oclAsType(Pseudostate).kind = PseudostateKind::entryPoint) or (self.oclAsType(Pseudostate).kind = PseudostateKind::exitPoint)) then self.oclAsType(Pseudostate).stateMachine else if (self.oclIsKindOf(ConnectionPointReference)) then self.oclAsType(ConnectionPointReference).state.containingStateMachine() -- no other valid cases possible else null endif endif endif )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-containingStateMachine-result" name="result" direction="return" type="StateMachine"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Vertex-incoming.1" name="incoming" isQuery="true" bodyCondition="Vertex-incoming.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-incoming.1-_ownedComment.0" body="Derivation for Vertex::/incoming.">
<annotatedElement xmi:idref="Vertex-incoming.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Vertex-incoming.1-spec" name="spec">
<constrainedElement xmi:idref="Vertex-incoming.1"/>
<constrainedElement xmi:idref="Vertex-incoming"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Vertex-incoming.1-spec-_specification">
<body>result = (Transition.allInstances()->select(target=self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-incoming.1-result" name="result" direction="return" type="Transition">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Vertex-incoming.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Vertex-incoming.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Vertex-outgoing.1" name="outgoing" isQuery="true" bodyCondition="Vertex-outgoing.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-outgoing.1-_ownedComment.0" body="Derivation for Vertex::/outgoing">
<annotatedElement xmi:idref="Vertex-outgoing.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Vertex-outgoing.1-spec" name="spec">
<constrainedElement xmi:idref="Vertex-outgoing.1"/>
<constrainedElement xmi:idref="Vertex-outgoing"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Vertex-outgoing.1-spec-_specification">
<body>result = (Transition.allInstances()->select(source=self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-outgoing.1-result" name="result" direction="return" type="Transition">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Vertex-outgoing.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Vertex-outgoing.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Vertex-isContainedInState" name="isContainedInState" isQuery="true" bodyCondition="Vertex-isContainedInState-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-isContainedInState-_ownedComment.0" body="This utility operation returns true if the Vertex is contained in the State s (input argument).">
<annotatedElement xmi:idref="Vertex-isContainedInState"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Vertex-isContainedInState-spec" name="spec">
<constrainedElement xmi:idref="Vertex-isContainedInState"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Vertex-isContainedInState-spec-_specification">
<body>result = (if not s.isComposite() or container->isEmpty() then false else if container.state = s then true else container.state.isContainedInState(s) endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-isContainedInState-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-isContainedInState-s" name="s" type="State"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Vertex-isContainedInRegion" name="isContainedInRegion" isQuery="true" bodyCondition="Vertex-isContainedInRegion-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Vertex-isContainedInRegion-_ownedComment.0" body="This utility query returns true if the Vertex is contained in the Region r (input argument).">
<annotatedElement xmi:idref="Vertex-isContainedInRegion"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Vertex-isContainedInRegion-spec" name="spec">
<constrainedElement xmi:idref="Vertex-isContainedInRegion"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Vertex-isContainedInRegion-spec-_specification">
<body>result = (if (container = r) then true else if (r.state->isEmpty()) then false else container.state.isContainedInRegion(r) endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-isContainedInRegion-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Vertex-isContainedInRegion-r" name="r" type="Region"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-redefinitionContext.1" name="redefinitionContext" isQuery="true" bodyCondition="State-redefinitionContext.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="State-redefinitionContext.1-_ownedComment.0" body="The redefinition context of a Vertex is the nearest containing StateMachine.">
<annotatedElement xmi:idref="State-redefinitionContext.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-redefinitionContext.1-spec" name="spec">
<constrainedElement xmi:idref="State-redefinitionContext.1"/>
<constrainedElement xmi:idref="State-redefinitionContext"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-redefinitionContext.1-spec-_specification">
<body>result = containingStateMachine()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-redefinitionContext.1-result" name="result" direction="return" type="Classifier"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="State-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="State-isConsistentWith-spec">
<precondition xmi:idref="State-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="State-isConsistentWith-_ownedComment.0" body="The query isRedefinitionContextValid specifies that the redefinition context of a redefining Vertex is properly related to the redefinition context of the redefined Vertex if the owner of the redefining Vertex is a redefinition of the owner of the redefined Vertex. Note that the owner of a Vertex may be a Region, a StateMachine (for a connectionPoint Pseudostate), or a State (for a connectionPoint Pseudostate or a connection ConnectionPointReference), all of which are RedefinableElements.">
<annotatedElement xmi:idref="State-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="State-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="State-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="State-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="State-isConsistentWith-spec-_specification">
<body>result = (redefinedElement.oclIsKindOf(Vertex) and owner.oclAsType(RedefinableElement).redefinedElement->includes(redefinedElement.owner))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="State-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="PseudostateKind" name="PseudostateKind">
<ownedComment xmi:type="uml:Comment" xmi:id="PseudostateKind-_ownedComment.0" body="PseudostateKind is an Enumeration type that is used to differentiate various kinds of Pseudostates.">
<annotatedElement xmi:idref="PseudostateKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-initial" name="initial"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-deepHistory" name="deepHistory"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-shallowHistory" name="shallowHistory"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-join" name="join"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-fork" name="fork"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-junction" name="junction"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-choice" name="choice"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-entryPoint" name="entryPoint"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-exitPoint" name="exitPoint"/>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="PseudostateKind-terminate" name="terminate"/>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="TransitionKind" name="TransitionKind">
<ownedComment xmi:type="uml:Comment" xmi:id="TransitionKind-_ownedComment.0" body="TransitionKind is an Enumeration type used to differentiate the various kinds of Transitions.">
<annotatedElement xmi:idref="TransitionKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="TransitionKind-internal" name="internal">
<ownedComment xmi:type="uml:Comment" xmi:id="TransitionKind-internal-_ownedComment.0" body="Implies that the Transition, if triggered, occurs without exiting or entering the source State (i.e., it does not cause a state change). This means that the entry or exit condition of the source State will not be invoked. An internal Transition can be taken even if the SateMachine is in one or more Regions nested within the associated State.">
<annotatedElement xmi:idref="TransitionKind-internal"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="TransitionKind-local" name="local">
<ownedComment xmi:type="uml:Comment" xmi:id="TransitionKind-local-_ownedComment.0" body="Implies that the Transition, if triggered, will not exit the composite (source) State, but it will exit and re-enter any state within the composite State that is in the current state configuration.">
<annotatedElement xmi:idref="TransitionKind-local"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="TransitionKind-external" name="external">
<ownedComment xmi:type="uml:Comment" xmi:id="TransitionKind-external-_ownedComment.0" body="Implies that the Transition, if triggered, will exit the composite (source) State.">
<annotatedElement xmi:idref="TransitionKind-external"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_incoming_target_vertex" name="A_incoming_target_vertex">
<memberEnd xmi:idref="Vertex-incoming"/>
<memberEnd xmi:idref="Transition-target"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_outgoing_source_vertex" name="A_outgoing_source_vertex">
<memberEnd xmi:idref="Vertex-outgoing"/>
<memberEnd xmi:idref="Transition-source"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_trigger_transition" name="A_trigger_transition">
<memberEnd xmi:idref="Transition-trigger"/>
<memberEnd xmi:idref="A_trigger_transition-transition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_trigger_transition-transition" name="transition" type="Transition" association="A_trigger_transition">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_trigger_transition-transition-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_guard_transition" name="A_guard_transition">
<memberEnd xmi:idref="Transition-guard"/>
<memberEnd xmi:idref="A_guard_transition-transition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_guard_transition-transition" name="transition" type="Transition" association="A_guard_transition">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_guard_transition-transition-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedTransition_transition" name="A_redefinedTransition_transition">
<memberEnd xmi:idref="Transition-redefinedTransition"/>
<memberEnd xmi:idref="A_redefinedTransition_transition-transition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedTransition_transition-transition" name="transition" type="Transition" association="A_redefinedTransition_transition">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedTransition_transition-transition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedTransition_transition-transition-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinitionContext_transition" name="A_redefinitionContext_transition" isDerived="true">
<memberEnd xmi:idref="Transition-redefinitionContext"/>
<memberEnd xmi:idref="A_redefinitionContext_transition-transition"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_redefinitionContext_transition-_generalization.0" general="A_redefinitionContext_redefinableElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinitionContext_transition-transition" name="transition" type="Transition" association="A_redefinitionContext_transition">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinitionContext_transition-transition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinitionContext_transition-transition-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_effect_transition" name="A_effect_transition">
<memberEnd xmi:idref="Transition-effect"/>
<memberEnd xmi:idref="A_effect_transition-transition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_effect_transition-transition" name="transition" type="Transition" association="A_effect_transition">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_effect_transition-transition-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_submachineState_submachine" name="A_submachineState_submachine">
<memberEnd xmi:idref="StateMachine-submachineState"/>
<memberEnd xmi:idref="State-submachine"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_connectionPoint_stateMachine" name="A_connectionPoint_stateMachine">
<memberEnd xmi:idref="StateMachine-connectionPoint"/>
<memberEnd xmi:idref="Pseudostate-stateMachine"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_region_stateMachine" name="A_region_stateMachine">
<memberEnd xmi:idref="StateMachine-region"/>
<memberEnd xmi:idref="Region-stateMachine"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extendedStateMachine_stateMachine" name="A_extendedStateMachine_stateMachine">
<memberEnd xmi:idref="StateMachine-extendedStateMachine"/>
<memberEnd xmi:idref="A_extendedStateMachine_stateMachine-stateMachine"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_extendedStateMachine_stateMachine-stateMachine" name="stateMachine" type="StateMachine" association="A_extendedStateMachine_stateMachine">
<subsettedProperty xmi:idref="A_redefinedBehavior_behavior-behavior"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_extendedStateMachine_stateMachine-stateMachine-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_extendedStateMachine_stateMachine-stateMachine-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinitionContext_state" name="A_redefinitionContext_vertex" isDerived="true">
<memberEnd xmi:idref="State-redefinitionContext"/>
<memberEnd xmi:idref="A_redefinitionContext_state-state"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_redefinitionContext_state-_generalization.0" general="A_redefinitionContext_redefinableElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinitionContext_state-state" name="vertex" type="Vertex" association="A_redefinitionContext_state">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinitionContext_state-state-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinitionContext_state-state-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_region_state" name="A_region_state">
<memberEnd xmi:idref="State-region"/>
<memberEnd xmi:idref="Region-state"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_stateInvariant_owningState" name="A_stateInvariant_owningState">
<memberEnd xmi:idref="State-stateInvariant"/>
<memberEnd xmi:idref="A_stateInvariant_owningState-owningState"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_stateInvariant_owningState-owningState" name="owningState" type="State" association="A_stateInvariant_owningState">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_stateInvariant_owningState-owningState-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedState_state" name="A_redefinedVertex_vertex">
<memberEnd xmi:idref="State-redefinedState"/>
<memberEnd xmi:idref="A_redefinedState_state-state"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedState_state-state" name="vertex" type="Vertex" association="A_redefinedState_state">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedState_state-state-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedState_state-state-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_deferrableTrigger_state" name="A_deferrableTrigger_state">
<memberEnd xmi:idref="State-deferrableTrigger"/>
<memberEnd xmi:idref="A_deferrableTrigger_state-state"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_deferrableTrigger_state-state" name="state" type="State" association="A_deferrableTrigger_state">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_deferrableTrigger_state-state-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_connection_state" name="A_connection_state">
<memberEnd xmi:idref="State-connection"/>
<memberEnd xmi:idref="ConnectionPointReference-state"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_entry_state" name="A_entry_state">
<memberEnd xmi:idref="State-entry"/>
<memberEnd xmi:idref="A_entry_state-state"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_entry_state-state" name="state" type="State" association="A_entry_state">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_entry_state-state-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_connectionPoint_state" name="A_connectionPoint_state">
<memberEnd xmi:idref="State-connectionPoint"/>
<memberEnd xmi:idref="Pseudostate-state"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_doActivity_state" name="A_doActivity_state">
<memberEnd xmi:idref="State-doActivity"/>
<memberEnd xmi:idref="A_doActivity_state-state"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_doActivity_state-state" name="state" type="State" association="A_doActivity_state">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_doActivity_state-state-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_exit_state" name="A_exit_state">
<memberEnd xmi:idref="State-exit"/>
<memberEnd xmi:idref="A_exit_state-state"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_exit_state-state" name="state" type="State" association="A_exit_state">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_exit_state-state-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extendedRegion_region" name="A_extendedRegion_region">
<memberEnd xmi:idref="Region-extendedRegion"/>
<memberEnd xmi:idref="A_extendedRegion_region-region"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_extendedRegion_region-region" name="region" type="Region" association="A_extendedRegion_region">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_extendedRegion_region-region-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_extendedRegion_region-region-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_subvertex_container" name="A_subvertex_container">
<memberEnd xmi:idref="Region-subvertex"/>
<memberEnd xmi:idref="Vertex-container"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinitionContext_region" name="A_redefinitionContext_region" isDerived="true">
<memberEnd xmi:idref="Region-redefinitionContext"/>
<memberEnd xmi:idref="A_redefinitionContext_region-region"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_redefinitionContext_region-_generalization.0" general="A_redefinitionContext_redefinableElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinitionContext_region-region" name="region" type="Region" association="A_redefinitionContext_region">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinitionContext_region-region-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinitionContext_region-region-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_transition_container" name="A_transition_container">
<memberEnd xmi:idref="Region-transition"/>
<memberEnd xmi:idref="Transition-container"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_referred_protocolTransition" name="A_referred_protocolTransition" isDerived="true">
<memberEnd xmi:idref="ProtocolTransition-referred"/>
<memberEnd xmi:idref="A_referred_protocolTransition-protocolTransition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_referred_protocolTransition-protocolTransition" name="protocolTransition" type="ProtocolTransition" association="A_referred_protocolTransition">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_referred_protocolTransition-protocolTransition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_referred_protocolTransition-protocolTransition-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_preCondition_protocolTransition" name="A_preCondition_protocolTransition">
<memberEnd xmi:idref="ProtocolTransition-preCondition"/>
<memberEnd xmi:idref="A_preCondition_protocolTransition-protocolTransition"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_preCondition_protocolTransition-_generalization.0" general="A_guard_transition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_preCondition_protocolTransition-protocolTransition" name="protocolTransition" type="ProtocolTransition" association="A_preCondition_protocolTransition">
<redefinedProperty xmi:idref="A_guard_transition-transition"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_preCondition_protocolTransition-protocolTransition-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_postCondition_owningTransition" name="A_postCondition_owningTransition">
<memberEnd xmi:idref="ProtocolTransition-postCondition"/>
<memberEnd xmi:idref="A_postCondition_owningTransition-owningTransition"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_postCondition_owningTransition-owningTransition" name="owningTransition" type="ProtocolTransition" association="A_postCondition_owningTransition">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_postCondition_owningTransition-owningTransition-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_conformance_specificMachine" name="A_conformance_specificMachine">
<memberEnd xmi:idref="ProtocolStateMachine-conformance"/>
<memberEnd xmi:idref="ProtocolConformance-specificMachine"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_generalMachine_protocolConformance" name="A_generalMachine_protocolConformance">
<memberEnd xmi:idref="ProtocolConformance-generalMachine"/>
<memberEnd xmi:idref="A_generalMachine_protocolConformance-protocolConformance"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_generalMachine_protocolConformance-protocolConformance" name="protocolConformance" type="ProtocolConformance" association="A_generalMachine_protocolConformance">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_generalMachine_protocolConformance-protocolConformance-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_generalMachine_protocolConformance-protocolConformance-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_entry_connectionPointReference" name="A_entry_connectionPointReference">
<memberEnd xmi:idref="ConnectionPointReference-entry"/>
<memberEnd xmi:idref="A_entry_connectionPointReference-connectionPointReference"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_entry_connectionPointReference-connectionPointReference" name="connectionPointReference" type="ConnectionPointReference" association="A_entry_connectionPointReference">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_entry_connectionPointReference-connectionPointReference-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_exit_connectionPointReference" name="A_exit_connectionPointReference">
<memberEnd xmi:idref="ConnectionPointReference-exit"/>
<memberEnd xmi:idref="A_exit_connectionPointReference-connectionPointReference"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_exit_connectionPointReference-connectionPointReference" name="connectionPointReference" type="ConnectionPointReference" association="A_exit_connectionPointReference">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_exit_connectionPointReference-connectionPointReference-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="SimpleClassifiers" name="SimpleClassifiers">
<packageImport xmi:type="uml:PackageImport" xmi:id="SimpleClassifiers-_packageImport.0" importedPackage="Classification"/>
<packagedElement xmi:type="uml:Class" xmi:id="BehavioredClassifier" name="BehavioredClassifier" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioredClassifier-_ownedComment.0" body="A BehavioredClassifier may have InterfaceRealizations, and owns a set of Behaviors one of which may specify the behavior of the BehavioredClassifier itself.">
<annotatedElement xmi:idref="BehavioredClassifier"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="BehavioredClassifier-class_behavior" name="class_behavior">
<constrainedElement xmi:idref="BehavioredClassifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioredClassifier-class_behavior-_ownedComment.0" body="If a behavior is classifier behavior, it does not have a specification.">
<annotatedElement xmi:idref="BehavioredClassifier-class_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BehavioredClassifier-class_behavior-_specification">
<body>classifierBehavior->notEmpty() implies classifierBehavior.specification->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="BehavioredClassifier-_generalization.0" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioredClassifier-classifierBehavior" name="classifierBehavior" type="Behavior" association="A_classifierBehavior_behavioredClassifier">
<subsettedProperty xmi:idref="BehavioredClassifier-ownedBehavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioredClassifier-classifierBehavior-_ownedComment.0" body="A Behavior that specifies the behavior of the BehavioredClassifier itself.">
<annotatedElement xmi:idref="BehavioredClassifier-classifierBehavior"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioredClassifier-classifierBehavior-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioredClassifier-interfaceRealization" name="interfaceRealization" aggregation="composite" type="InterfaceRealization" association="A_interfaceRealization_implementingClassifier">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="NamedElement-clientDependency"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioredClassifier-interfaceRealization-_ownedComment.0" body="The set of InterfaceRealizations owned by the BehavioredClassifier. Interface realizations reference the Interfaces of which the BehavioredClassifier is an implementation.">
<annotatedElement xmi:idref="BehavioredClassifier-interfaceRealization"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioredClassifier-interfaceRealization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioredClassifier-interfaceRealization-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioredClassifier-ownedBehavior" name="ownedBehavior" aggregation="composite" type="Behavior" association="A_ownedBehavior_behavioredClassifier">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioredClassifier-ownedBehavior-_ownedComment.0" body="Behaviors owned by a BehavioredClassifier.">
<annotatedElement xmi:idref="BehavioredClassifier-ownedBehavior"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioredClassifier-ownedBehavior-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioredClassifier-ownedBehavior-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DataType" name="DataType">
<ownedComment xmi:type="uml:Comment" xmi:id="DataType-_ownedComment.0" body="A DataType is a type whose instances are identified only by their value.">
<annotatedElement xmi:idref="DataType"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DataType-_generalization.0" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DataType-ownedAttribute" name="ownedAttribute" isOrdered="true" aggregation="composite" type="Property" association="A_ownedAttribute_datatype">
<subsettedProperty xmi:idref="Classifier-attribute"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DataType-ownedAttribute-_ownedComment.0" body="The attributes owned by the DataType.">
<annotatedElement xmi:idref="DataType-ownedAttribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DataType-ownedAttribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DataType-ownedAttribute-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DataType-ownedOperation" name="ownedOperation" isOrdered="true" aggregation="composite" type="Operation" association="A_ownedOperation_datatype">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DataType-ownedOperation-_ownedComment.0" body="The Operations owned by the DataType.">
<annotatedElement xmi:idref="DataType-ownedOperation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DataType-ownedOperation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DataType-ownedOperation-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Enumeration" name="Enumeration">
<ownedComment xmi:type="uml:Comment" xmi:id="Enumeration-_ownedComment.0" body="An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.">
<annotatedElement xmi:idref="Enumeration"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Enumeration-immutable" name="immutable">
<constrainedElement xmi:idref="Enumeration"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Enumeration-immutable-_specification">
<body>ownedAttribute->forAll(isReadOnly)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Enumeration-_generalization.0" general="DataType"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Enumeration-ownedLiteral" name="ownedLiteral" isOrdered="true" aggregation="composite" type="EnumerationLiteral" association="A_ownedLiteral_enumeration">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Enumeration-ownedLiteral-_ownedComment.0" body="The ordered set of literals owned by this Enumeration.">
<annotatedElement xmi:idref="Enumeration-ownedLiteral"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Enumeration-ownedLiteral-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Enumeration-ownedLiteral-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="EnumerationLiteral" name="EnumerationLiteral">
<ownedComment xmi:type="uml:Comment" xmi:id="EnumerationLiteral-_ownedComment.0" body="An EnumerationLiteral is a user-defined data value for an Enumeration.">
<annotatedElement xmi:idref="EnumerationLiteral"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="EnumerationLiteral-_generalization.0" general="InstanceSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="EnumerationLiteral-classifier" name="classifier" isReadOnly="true" isDerived="true" type="Enumeration" association="A_classifier_enumerationLiteral">
<redefinedProperty xmi:idref="InstanceSpecification-classifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="EnumerationLiteral-classifier-_ownedComment.0" body="The classifier of this EnumerationLiteral derived to be equal to its Enumeration.">
<annotatedElement xmi:idref="EnumerationLiteral-classifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="EnumerationLiteral-enumeration" name="enumeration" type="Enumeration" association="A_ownedLiteral_enumeration">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="EnumerationLiteral-enumeration-_ownedComment.0" body="The Enumeration that this EnumerationLiteral is a member of.">
<annotatedElement xmi:idref="EnumerationLiteral-enumeration"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="EnumerationLiteral-classifier.1" name="classifier" isQuery="true" bodyCondition="EnumerationLiteral-classifier.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="EnumerationLiteral-classifier.1-_ownedComment.0" body="Derivation of Enumeration::/classifier">
<annotatedElement xmi:idref="EnumerationLiteral-classifier.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="EnumerationLiteral-classifier.1-spec" name="spec">
<constrainedElement xmi:idref="EnumerationLiteral-classifier.1"/>
<constrainedElement xmi:idref="EnumerationLiteral-classifier"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="EnumerationLiteral-classifier.1-spec-_specification">
<body>result = (enumeration)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="EnumerationLiteral-classifier.1-result" name="result" direction="return" type="Enumeration"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Interface" name="Interface">
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-_ownedComment.0" body="Interfaces declare coherent services that are implemented by BehavioredClassifiers that implement the Interfaces via InterfaceRealizations.">
<annotatedElement xmi:idref="Interface"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Interface-visibility" name="visibility">
<constrainedElement xmi:idref="Interface"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-visibility-_ownedComment.0" body="The visibility of all Features owned by an Interface must be public.">
<annotatedElement xmi:idref="Interface-visibility"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Interface-visibility-_specification">
<body>feature->forAll(visibility = VisibilityKind::public)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Interface-_generalization.0" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interface-nestedClassifier" name="nestedClassifier" isOrdered="true" aggregation="composite" type="Classifier" association="A_nestedClassifier_interface">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-nestedClassifier-_ownedComment.0" body="References all the Classifiers that are defined (nested) within the Interface.">
<annotatedElement xmi:idref="Interface-nestedClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interface-nestedClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interface-nestedClassifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interface-ownedAttribute" name="ownedAttribute" isOrdered="true" aggregation="composite" type="Property" association="A_ownedAttribute_interface">
<subsettedProperty xmi:idref="Classifier-attribute"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-ownedAttribute-_ownedComment.0" body="The attributes (i.e., the Properties) owned by the Interface.">
<annotatedElement xmi:idref="Interface-ownedAttribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interface-ownedAttribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interface-ownedAttribute-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interface-ownedOperation" name="ownedOperation" isOrdered="true" aggregation="composite" type="Operation" association="A_ownedOperation_interface">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-ownedOperation-_ownedComment.0" body="The Operations owned by the Interface.">
<annotatedElement xmi:idref="Interface-ownedOperation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interface-ownedOperation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interface-ownedOperation-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interface-ownedReception" name="ownedReception" aggregation="composite" type="Reception" association="A_ownedReception_interface">
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-ownedReception-_ownedComment.0" body="Receptions that objects providing this Interface are willing to accept.">
<annotatedElement xmi:idref="Interface-ownedReception"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interface-ownedReception-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interface-ownedReception-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interface-protocol" name="protocol" aggregation="composite" type="ProtocolStateMachine" association="A_protocol_interface">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-protocol-_ownedComment.0" body="References a ProtocolStateMachine specifying the legal sequences of the invocation of the BehavioralFeatures described in the Interface.">
<annotatedElement xmi:idref="Interface-protocol"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interface-protocol-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interface-redefinedInterface" name="redefinedInterface" type="Interface" association="A_redefinedInterface_interface">
<subsettedProperty xmi:idref="Classifier-redefinedClassifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interface-redefinedInterface-_ownedComment.0" body="References all the Interfaces redefined by this Interface.">
<annotatedElement xmi:idref="Interface-redefinedInterface"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interface-redefinedInterface-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interface-redefinedInterface-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InterfaceRealization" name="InterfaceRealization">
<ownedComment xmi:type="uml:Comment" xmi:id="InterfaceRealization-_ownedComment.0" body="An InterfaceRealization is a specialized realization relationship between a BehavioredClassifier and an Interface. This relationship signifies that the realizing BehavioredClassifier conforms to the contract specified by the Interface.">
<annotatedElement xmi:idref="InterfaceRealization"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="InterfaceRealization-_generalization.0" general="Realization"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InterfaceRealization-contract" name="contract" type="Interface" association="A_contract_interfaceRealization">
<subsettedProperty xmi:idref="Dependency-supplier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InterfaceRealization-contract-_ownedComment.0" body="References the Interface specifying the conformance contract.">
<annotatedElement xmi:idref="InterfaceRealization-contract"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InterfaceRealization-implementingClassifier" name="implementingClassifier" type="BehavioredClassifier" association="A_interfaceRealization_implementingClassifier">
<subsettedProperty xmi:idref="Dependency-client"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InterfaceRealization-implementingClassifier-_ownedComment.0" body="References the BehavioredClassifier that owns this InterfaceRealization, i.e., the BehavioredClassifier that realizes the Interface to which it refers.">
<annotatedElement xmi:idref="InterfaceRealization-implementingClassifier"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="PrimitiveType" name="PrimitiveType">
<ownedComment xmi:type="uml:Comment" xmi:id="PrimitiveType-_ownedComment.0" body="A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and operations defined outside of UML, for example, mathematically.">
<annotatedElement xmi:idref="PrimitiveType"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="PrimitiveType-_generalization.0" general="DataType"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Reception" name="Reception">
<ownedComment xmi:type="uml:Comment" xmi:id="Reception-_ownedComment.0" body="A Reception is a declaration stating that a Classifier is prepared to react to the receipt of a Signal.">
<annotatedElement xmi:idref="Reception"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Reception-same_name_as_signal" name="same_name_as_signal">
<constrainedElement xmi:idref="Reception"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Reception-same_name_as_signal-_ownedComment.0" body="A Reception has the same name as its signal">
<annotatedElement xmi:idref="Reception-same_name_as_signal"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Reception-same_name_as_signal-_specification">
<body>name = signal.name</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Reception-same_structure_as_signal" name="same_structure_as_signal">
<constrainedElement xmi:idref="Reception"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Reception-same_structure_as_signal-_ownedComment.0" body="A Reception's parameters match the ownedAttributes of its signal by name, type, and multiplicity">
<annotatedElement xmi:idref="Reception-same_structure_as_signal"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Reception-same_structure_as_signal-_specification">
<body>signal.ownedAttribute->size() = ownedParameter->size() and Sequence{1..signal.ownedAttribute->size()}->forAll( i | ownedParameter->at(i).direction = ParameterDirectionKind::_'in' and ownedParameter->at(i).name = signal.ownedAttribute->at(i).name and ownedParameter->at(i).type = signal.ownedAttribute->at(i).type and ownedParameter->at(i).lowerBound() = signal.ownedAttribute->at(i).lowerBound() and ownedParameter->at(i).upperBound() = signal.ownedAttribute->at(i).upperBound() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Reception-_generalization.0" general="BehavioralFeature"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Reception-signal" name="signal" type="Signal" association="A_signal_reception">
<ownedComment xmi:type="uml:Comment" xmi:id="Reception-signal-_ownedComment.0" body="The Signal that this Reception handles.">
<annotatedElement xmi:idref="Reception-signal"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Signal" name="Signal">
<ownedComment xmi:type="uml:Comment" xmi:id="Signal-_ownedComment.0" body="A Signal is a specification of a kind of communication between objects in which a reaction is asynchronously triggered in the receiver without a reply.">
<annotatedElement xmi:idref="Signal"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Signal-_generalization.0" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Signal-ownedAttribute" name="ownedAttribute" isOrdered="true" aggregation="composite" type="Property" association="A_ownedAttribute_owningSignal">
<subsettedProperty xmi:idref="Classifier-attribute"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Signal-ownedAttribute-_ownedComment.0" body="The attributes owned by the Signal.">
<annotatedElement xmi:idref="Signal-ownedAttribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Signal-ownedAttribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Signal-ownedAttribute-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedAttribute_owningSignal" name="A_ownedAttribute_owningSignal">
<memberEnd xmi:idref="Signal-ownedAttribute"/>
<memberEnd xmi:idref="A_ownedAttribute_owningSignal-owningSignal"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedAttribute_owningSignal-owningSignal" name="owningSignal" type="Signal" association="A_ownedAttribute_owningSignal">
<subsettedProperty xmi:idref="A_attribute_classifier-classifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedAttribute_owningSignal-owningSignal-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_signal_reception" name="A_signal_reception">
<memberEnd xmi:idref="Reception-signal"/>
<memberEnd xmi:idref="A_signal_reception-reception"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_signal_reception-reception" name="reception" type="Reception" association="A_signal_reception">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_signal_reception-reception-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_signal_reception-reception-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_contract_interfaceRealization" name="A_contract_interfaceRealization">
<memberEnd xmi:idref="InterfaceRealization-contract"/>
<memberEnd xmi:idref="A_contract_interfaceRealization-interfaceRealization"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_contract_interfaceRealization-interfaceRealization" name="interfaceRealization" type="InterfaceRealization" association="A_contract_interfaceRealization">
<subsettedProperty xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_contract_interfaceRealization-interfaceRealization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_contract_interfaceRealization-interfaceRealization-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_protocol_interface" name="A_protocol_interface">
<memberEnd xmi:idref="Interface-protocol"/>
<memberEnd xmi:idref="A_protocol_interface-interface"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_protocol_interface-interface" name="interface" type="Interface" association="A_protocol_interface">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="A_protocol_interface-interface-_ownedComment.0" body="Specifies the namespace in which the protocol state machine is defined.">
<annotatedElement xmi:idref="A_protocol_interface-interface"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_protocol_interface-interface-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedReception_interface" name="A_ownedReception_interface">
<memberEnd xmi:idref="Interface-ownedReception"/>
<memberEnd xmi:idref="A_ownedReception_interface-interface"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedReception_interface-interface" name="interface" type="Interface" association="A_ownedReception_interface">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedReception_interface-interface-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedInterface_interface" name="A_redefinedInterface_interface">
<memberEnd xmi:idref="Interface-redefinedInterface"/>
<memberEnd xmi:idref="A_redefinedInterface_interface-interface"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedInterface_interface-interface" name="interface" type="Interface" association="A_redefinedInterface_interface">
<subsettedProperty xmi:idref="A_redefinedClassifier_classifier-classifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedInterface_interface-interface-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedInterface_interface-interface-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_nestedClassifier_interface" name="A_nestedClassifier_interface">
<memberEnd xmi:idref="Interface-nestedClassifier"/>
<memberEnd xmi:idref="A_nestedClassifier_interface-interface"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_nestedClassifier_interface-interface" name="interface" type="Interface" association="A_nestedClassifier_interface">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_nestedClassifier_interface-interface-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedOperation_interface" name="A_ownedOperation_interface">
<memberEnd xmi:idref="Interface-ownedOperation"/>
<memberEnd xmi:idref="Operation-interface"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedAttribute_interface" name="A_ownedAttribute_interface">
<memberEnd xmi:idref="Interface-ownedAttribute"/>
<memberEnd xmi:idref="Property-interface"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifier_enumerationLiteral" name="A_classifier_enumerationLiteral" isDerived="true">
<memberEnd xmi:idref="EnumerationLiteral-classifier"/>
<memberEnd xmi:idref="A_classifier_enumerationLiteral-enumerationLiteral"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_classifier_enumerationLiteral-_generalization.0" general="A_classifier_instanceSpecification"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_classifier_enumerationLiteral-enumerationLiteral" name="enumerationLiteral" type="EnumerationLiteral" association="A_classifier_enumerationLiteral">
<redefinedProperty xmi:idref="A_classifier_instanceSpecification-instanceSpecification"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_classifier_enumerationLiteral-enumerationLiteral-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_classifier_enumerationLiteral-enumerationLiteral-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedLiteral_enumeration" name="A_ownedLiteral_enumeration">
<memberEnd xmi:idref="Enumeration-ownedLiteral"/>
<memberEnd xmi:idref="EnumerationLiteral-enumeration"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedAttribute_datatype" name="A_ownedAttribute_datatype">
<memberEnd xmi:idref="DataType-ownedAttribute"/>
<memberEnd xmi:idref="Property-datatype"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedOperation_datatype" name="A_ownedOperation_datatype">
<memberEnd xmi:idref="DataType-ownedOperation"/>
<memberEnd xmi:idref="Operation-datatype"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedBehavior_behavioredClassifier" name="A_ownedBehavior_behavioredClassifier">
<memberEnd xmi:idref="BehavioredClassifier-ownedBehavior"/>
<memberEnd xmi:idref="A_ownedBehavior_behavioredClassifier-behavioredClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedBehavior_behavioredClassifier-behavioredClassifier" name="behavioredClassifier" type="BehavioredClassifier" association="A_ownedBehavior_behavioredClassifier">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedBehavior_behavioredClassifier-behavioredClassifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifierBehavior_behavioredClassifier" name="A_classifierBehavior_behavioredClassifier">
<memberEnd xmi:idref="BehavioredClassifier-classifierBehavior"/>
<memberEnd xmi:idref="A_classifierBehavior_behavioredClassifier-behavioredClassifier"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_classifierBehavior_behavioredClassifier-_generalization.0" general="A_ownedBehavior_behavioredClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_classifierBehavior_behavioredClassifier-behavioredClassifier" name="behavioredClassifier" type="BehavioredClassifier" association="A_classifierBehavior_behavioredClassifier">
<redefinedProperty xmi:idref="A_ownedBehavior_behavioredClassifier-behavioredClassifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_classifierBehavior_behavioredClassifier-behavioredClassifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_interfaceRealization_implementingClassifier" name="A_interfaceRealization_implementingClassifier">
<memberEnd xmi:idref="BehavioredClassifier-interfaceRealization"/>
<memberEnd xmi:idref="InterfaceRealization-implementingClassifier"/>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="Packages" name="Packages">
<packageImport xmi:type="uml:PackageImport" xmi:id="Packages-_packageImport.0" importedPackage="StructuredClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Packages-_packageImport.1" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Packages-_packageImport.2" importedPackage="CommonStructure"/>
<packagedElement xmi:type="uml:Class" xmi:id="Extension" name="Extension">
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-_ownedComment.0" body="An extension is used to indicate that the properties of a metaclass are extended through a stereotype, and gives the ability to flexibly add (and later remove) stereotypes to classes.">
<annotatedElement xmi:idref="Extension"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Extension-non_owned_end" name="non_owned_end">
<constrainedElement xmi:idref="Extension"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-non_owned_end-_ownedComment.0" body="The non-owned end of an Extension is typed by a Class.">
<annotatedElement xmi:idref="Extension-non_owned_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Extension-non_owned_end-_specification">
<body>metaclassEnd()->notEmpty() and metaclassEnd().type.oclIsKindOf(Class)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Extension-is_binary" name="is_binary">
<constrainedElement xmi:idref="Extension"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-is_binary-_ownedComment.0" body="An Extension is binary, i.e., it has only two memberEnds.">
<annotatedElement xmi:idref="Extension-is_binary"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Extension-is_binary-_specification">
<body>memberEnd->size() = 2</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Extension-_generalization.0" general="Association"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extension-isRequired" name="isRequired" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-isRequired-_ownedComment.0" body="Indicates whether an instance of the extending stereotype must be created when an instance of the extended class is created. The attribute value is derived from the value of the lower property of the ExtensionEnd referenced by Extension::ownedEnd; a lower value of 1 means that isRequired is true, but otherwise it is false. Since the default value of ExtensionEnd::lower is 0, the default value of isRequired is false.">
<annotatedElement xmi:idref="Extension-isRequired"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extension-metaclass" name="metaclass" isReadOnly="true" isDerived="true" type="Class" association="A_extension_metaclass">
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-metaclass-_ownedComment.0" body="References the Class that is extended through an Extension. The property is derived from the type of the memberEnd that is not the ownedEnd.">
<annotatedElement xmi:idref="Extension-metaclass"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Extension-ownedEnd" name="ownedEnd" aggregation="composite" type="ExtensionEnd" association="A_ownedEnd_extension">
<redefinedProperty xmi:idref="Association-ownedEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-ownedEnd-_ownedComment.0" body="References the end of the extension that is typed by a Stereotype.">
<annotatedElement xmi:idref="Extension-ownedEnd"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Extension-isRequired.1" name="isRequired" isQuery="true" bodyCondition="Extension-isRequired.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-isRequired.1-_ownedComment.0" body="The query isRequired() is true if the owned end has a multiplicity with the lower bound of 1.">
<annotatedElement xmi:idref="Extension-isRequired.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Extension-isRequired.1-spec" name="spec">
<constrainedElement xmi:idref="Extension-isRequired.1"/>
<constrainedElement xmi:idref="Extension-isRequired"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Extension-isRequired.1-spec-_specification">
<body>result = (ownedEnd.lowerBound() = 1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Extension-isRequired.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Extension-metaclass.1" name="metaclass" isQuery="true" bodyCondition="Extension-metaclass.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-metaclass.1-_ownedComment.0" body="The query metaclass() returns the metaclass that is being extended (as opposed to the extending stereotype).">
<annotatedElement xmi:idref="Extension-metaclass.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Extension-metaclass.1-spec" name="spec">
<constrainedElement xmi:idref="Extension-metaclass.1"/>
<constrainedElement xmi:idref="Extension-metaclass"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Extension-metaclass.1-spec-_specification">
<body>result = (metaclassEnd().type.oclAsType(Class))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Extension-metaclass.1-result" name="result" direction="return" type="Class"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Extension-metaclassEnd" name="metaclassEnd" isQuery="true" bodyCondition="Extension-metaclassEnd-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Extension-metaclassEnd-_ownedComment.0" body="The query metaclassEnd() returns the Property that is typed by a metaclass (as opposed to a stereotype).">
<annotatedElement xmi:idref="Extension-metaclassEnd"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Extension-metaclassEnd-spec" name="spec">
<constrainedElement xmi:idref="Extension-metaclassEnd"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Extension-metaclassEnd-spec-_specification">
<body>result = (memberEnd->reject(p | ownedEnd->includes(p.oclAsType(ExtensionEnd)))->any(true))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Extension-metaclassEnd-result" name="result" direction="return" type="Property"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExtensionEnd" name="ExtensionEnd">
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionEnd-_ownedComment.0" body="An extension end is used to tie an extension to a stereotype when extending a metaclass. The default multiplicity of an extension end is 0..1.">
<annotatedElement xmi:idref="ExtensionEnd"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExtensionEnd-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ExtensionEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionEnd-multiplicity-_ownedComment.0" body="The multiplicity of ExtensionEnd is 0..1 or 1.">
<annotatedElement xmi:idref="ExtensionEnd-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExtensionEnd-multiplicity-_specification">
<body>(lowerBound() = 0 or lowerBound() = 1) and upperBound() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExtensionEnd-aggregation" name="aggregation">
<constrainedElement xmi:idref="ExtensionEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionEnd-aggregation-_ownedComment.0" body="The aggregation of an ExtensionEnd is composite.">
<annotatedElement xmi:idref="ExtensionEnd-aggregation"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExtensionEnd-aggregation-_specification">
<body>self.aggregation = AggregationKind::composite</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ExtensionEnd-_generalization.0" general="Property"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExtensionEnd-lower" name="lower" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<redefinedProperty xmi:idref="MultiplicityElement-lower"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionEnd-lower-_ownedComment.0" body="This redefinition changes the default multiplicity of association ends, since model elements are usually extended by 0 or 1 instance of the extension stereotype.">
<annotatedElement xmi:idref="ExtensionEnd-lower"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ExtensionEnd-lower-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExtensionEnd-type" name="type" type="Stereotype" association="A_type_extensionEnd">
<redefinedProperty xmi:idref="TypedElement-type"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionEnd-type-_ownedComment.0" body="References the type of the ExtensionEnd. Note that this association restricts the possible types of an ExtensionEnd to only be Stereotypes.">
<annotatedElement xmi:idref="ExtensionEnd-type"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ExtensionEnd-lowerBound" name="lowerBound" isQuery="true" bodyCondition="ExtensionEnd-lowerBound-spec">
<redefinedOperation xmi:idref="MultiplicityElement-lowerBound"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExtensionEnd-lowerBound-_ownedComment.0" body="The query lowerBound() returns the lower bound of the multiplicity as an Integer. This is a redefinition of the default lower bound, which normally, for MultiplicityElements, evaluates to 1 if empty.">
<annotatedElement xmi:idref="ExtensionEnd-lowerBound"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExtensionEnd-lowerBound-spec" name="spec">
<constrainedElement xmi:idref="ExtensionEnd-lowerBound"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExtensionEnd-lowerBound-spec-_specification">
<body>result = (if lowerValue=null then 0 else lowerValue.integerValue() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ExtensionEnd-lowerBound-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ExtensionEnd-lowerBound-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Image" name="Image">
<ownedComment xmi:type="uml:Comment" xmi:id="Image-_ownedComment.0" body="Physical definition of a graphical image.">
<annotatedElement xmi:idref="Image"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Image-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Image-content" name="content">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Image-content-_ownedComment.0" body="This contains the serialization of the image according to the format. The value could represent a bitmap, image such as a GIF file, or drawing 'instructions' using a standard such as Scalable Vector Graphic (SVG) (which is XML based).">
<annotatedElement xmi:idref="Image-content"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Image-content-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Image-format" name="format">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Image-format-_ownedComment.0" body="This indicates the format of the content, which is how the string content should be interpreted. The following values are reserved: SVG, GIF, PNG, JPG, WMF, EMF, BMP. In addition the prefix 'MIME: ' is also reserved. This option can be used as an alternative to express the reserved values above, for example "SVG" could instead be expressed as "MIME: image/svg+xml".">
<annotatedElement xmi:idref="Image-format"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Image-format-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Image-location" name="location">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Image-location-_ownedComment.0" body="This contains a location that can be used by a tool to locate the image as an alternative to embedding it in the stereotype.">
<annotatedElement xmi:idref="Image-location"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Image-location-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Model" name="Model">
<ownedComment xmi:type="uml:Comment" xmi:id="Model-_ownedComment.0" body="A model captures a view of a physical system. It is an abstraction of the physical system, with a certain purpose. This purpose determines what is to be included in the model and what is irrelevant. Thus the model completely describes those aspects of the physical system that are relevant to the purpose of the model, at the appropriate level of detail.">
<annotatedElement xmi:idref="Model"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Model-_generalization.0" general="Package"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Model-viewpoint" name="viewpoint">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Model-viewpoint-_ownedComment.0" body="The name of the viewpoint that is expressed by a model (this name may refer to a profile definition).">
<annotatedElement xmi:idref="Model-viewpoint"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Model-viewpoint-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Package" name="Package">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-_ownedComment.0" body="A package can have one or more profile applications to indicate which profiles have been applied. Because a profile is a package, it is possible to apply a profile not only to packages, but also to profiles. Package specializes TemplateableElement and PackageableElement specializes ParameterableElement to specify that a package can be used as a template and a PackageableElement as a template parameter. A package is used to group elements, and provides a namespace for the grouped elements.">
<annotatedElement xmi:idref="Package"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-elements_public_or_private" name="elements_public_or_private">
<constrainedElement xmi:idref="Package"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-elements_public_or_private-_ownedComment.0" body="If an element that is owned by a package has visibility, it is public or private.">
<annotatedElement xmi:idref="Package-elements_public_or_private"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-elements_public_or_private-_specification">
<body>packagedElement->forAll(e | e.visibility<> null implies e.visibility = VisibilityKind::public or e.visibility = VisibilityKind::private)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Package-_generalization.2" general="PackageableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Package-_generalization.0" general="TemplateableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Package-_generalization.1" general="Namespace"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-URI" name="URI">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-URI-_ownedComment.0" body="Provides an identifier for the package that can be used for many purposes. A URI is the universally unique identification of the package following the IETF URI specification, RFC 2396 http://www.ietf.org/rfc/rfc2396.txt and it must comply with those syntax rules.">
<annotatedElement xmi:idref="Package-URI"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-URI-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-nestedPackage" name="nestedPackage" aggregation="composite" isDerived="true" type="Package" association="A_nestedPackage_nestingPackage">
<subsettedProperty xmi:idref="Package-packagedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-nestedPackage-_ownedComment.0" body="References the packaged elements that are Packages.">
<annotatedElement xmi:idref="Package-nestedPackage"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-nestedPackage-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-nestedPackage-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-nestingPackage" name="nestingPackage" type="Package" association="A_nestedPackage_nestingPackage">
<subsettedProperty xmi:idref="A_packagedElement_owningPackage-owningPackage"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-nestingPackage-_ownedComment.0" body="References the Package that owns this Package.">
<annotatedElement xmi:idref="Package-nestingPackage"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-nestingPackage-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-ownedStereotype" name="ownedStereotype" isReadOnly="true" aggregation="composite" isDerived="true" type="Stereotype" association="A_ownedStereotype_owningPackage">
<subsettedProperty xmi:idref="Package-packagedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-ownedStereotype-_ownedComment.0" body="References the Stereotypes that are owned by the Package.">
<annotatedElement xmi:idref="Package-ownedStereotype"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-ownedStereotype-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-ownedStereotype-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-ownedType" name="ownedType" aggregation="composite" isDerived="true" type="Type" association="A_ownedType_package">
<subsettedProperty xmi:idref="Package-packagedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-ownedType-_ownedComment.0" body="References the packaged elements that are Types.">
<annotatedElement xmi:idref="Package-ownedType"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-ownedType-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-ownedType-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-packageMerge" name="packageMerge" aggregation="composite" type="PackageMerge" association="A_packageMerge_receivingPackage">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-packageMerge-_ownedComment.0" body="References the PackageMerges that are owned by this Package.">
<annotatedElement xmi:idref="Package-packageMerge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-packageMerge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-packageMerge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-packagedElement" name="packagedElement" aggregation="composite" type="PackageableElement" association="A_packagedElement_owningPackage">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-packagedElement-_ownedComment.0" body="Specifies the packageable elements that are owned by this Package.">
<annotatedElement xmi:idref="Package-packagedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-packagedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-packagedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Package-profileApplication" name="profileApplication" aggregation="composite" type="ProfileApplication" association="A_profileApplication_applyingPackage">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-profileApplication-_ownedComment.0" body="References the ProfileApplications that indicate which profiles have been applied to the Package.">
<annotatedElement xmi:idref="Package-profileApplication"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-profileApplication-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-profileApplication-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-allApplicableStereotypes" name="allApplicableStereotypes" isQuery="true" bodyCondition="Package-allApplicableStereotypes-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-allApplicableStereotypes-_ownedComment.0" body="The query allApplicableStereotypes() returns all the directly or indirectly owned stereotypes, including stereotypes contained in sub-profiles.">
<annotatedElement xmi:idref="Package-allApplicableStereotypes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-allApplicableStereotypes-spec" name="spec">
<constrainedElement xmi:idref="Package-allApplicableStereotypes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-allApplicableStereotypes-spec-_specification">
<body>result = (let ownedPackages : Bag(Package) = ownedMember->select(oclIsKindOf(Package))->collect(oclAsType(Package)) in ownedStereotype->union(ownedPackages.allApplicableStereotypes())->flatten()->asSet() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-allApplicableStereotypes-result" name="result" direction="return" type="Stereotype">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-allApplicableStereotypes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-allApplicableStereotypes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-containingProfile" name="containingProfile" isQuery="true" bodyCondition="Package-containingProfile-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-containingProfile-_ownedComment.0" body="The query containingProfile() returns the closest profile directly or indirectly containing this package (or this package itself, if it is a profile).">
<annotatedElement xmi:idref="Package-containingProfile"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-containingProfile-spec" name="spec">
<constrainedElement xmi:idref="Package-containingProfile"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-containingProfile-spec-_specification">
<body>result = (if self.oclIsKindOf(Profile) then self.oclAsType(Profile) else self.namespace.oclAsType(Package).containingProfile() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-containingProfile-result" name="result" direction="return" type="Profile">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-containingProfile-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-makesVisible" name="makesVisible" isQuery="true" bodyCondition="Package-makesVisible-spec">
<precondition xmi:idref="Package-makesVisible-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-makesVisible-_ownedComment.0" body="The query makesVisible() defines whether a Package makes an element visible outside itself. Elements with no visibility and elements with public visibility are made visible.">
<annotatedElement xmi:idref="Package-makesVisible"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-makesVisible-pre" name="pre">
<constrainedElement xmi:idref="Package-makesVisible"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-makesVisible-pre-_specification">
<body>member->includes(el)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-makesVisible-spec" name="spec">
<constrainedElement xmi:idref="Package-makesVisible"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-makesVisible-spec-_specification">
<body>result = (ownedMember->includes(el) or (elementImport->select(ei|ei.importedElement = VisibilityKind::public)->collect(importedElement.oclAsType(NamedElement))->includes(el)) or (packageImport->select(visibility = VisibilityKind::public)->collect(importedPackage.member->includes(el))->notEmpty()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-makesVisible-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-makesVisible-el" name="el" type="NamedElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-mustBeOwned" name="mustBeOwned" isQuery="true" bodyCondition="Package-mustBeOwned-spec">
<redefinedOperation xmi:idref="Element-mustBeOwned"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Package-mustBeOwned-_ownedComment.0" body="The query mustBeOwned() indicates whether elements of this type must have an owner.">
<annotatedElement xmi:idref="Package-mustBeOwned"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-mustBeOwned-spec" name="spec">
<constrainedElement xmi:idref="Package-mustBeOwned"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-mustBeOwned-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-mustBeOwned-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-nestedPackage.1" name="nestedPackage" isQuery="true" bodyCondition="Package-nestedPackage.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-nestedPackage.1-_ownedComment.0" body="Derivation for Package::/nestedPackage ">
<annotatedElement xmi:idref="Package-nestedPackage.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-nestedPackage.1-spec" name="spec">
<constrainedElement xmi:idref="Package-nestedPackage.1"/>
<constrainedElement xmi:idref="Package-nestedPackage"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-nestedPackage.1-spec-_specification">
<body>result = (packagedElement->select(oclIsKindOf(Package))->collect(oclAsType(Package))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-nestedPackage.1-result" name="result" direction="return" type="Package">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-nestedPackage.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-nestedPackage.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-ownedStereotype.1" name="ownedStereotype" isQuery="true" bodyCondition="Package-ownedStereotype.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-ownedStereotype.1-_ownedComment.0" body="Derivation for Package::/ownedStereotype ">
<annotatedElement xmi:idref="Package-ownedStereotype.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-ownedStereotype.1-spec" name="spec">
<constrainedElement xmi:idref="Package-ownedStereotype.1"/>
<constrainedElement xmi:idref="Package-ownedStereotype"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-ownedStereotype.1-spec-_specification">
<body>result = (packagedElement->select(oclIsKindOf(Stereotype))->collect(oclAsType(Stereotype))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-ownedStereotype.1-result" name="result" direction="return" type="Stereotype">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-ownedStereotype.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-ownedStereotype.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-ownedType.1" name="ownedType" isQuery="true" bodyCondition="Package-ownedType.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-ownedType.1-_ownedComment.0" body="Derivation for Package::/ownedType">
<annotatedElement xmi:idref="Package-ownedType.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-ownedType.1-spec" name="spec">
<constrainedElement xmi:idref="Package-ownedType.1"/>
<constrainedElement xmi:idref="Package-ownedType"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-ownedType.1-spec-_specification">
<body>result = (packagedElement->select(oclIsKindOf(Type))->collect(oclAsType(Type))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-ownedType.1-result" name="result" direction="return" type="Type">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-ownedType.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-ownedType.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Package-visibleMembers" name="visibleMembers" isQuery="true" bodyCondition="Package-visibleMembers-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Package-visibleMembers-_ownedComment.0" body="The query visibleMembers() defines which members of a Package can be accessed outside it.">
<annotatedElement xmi:idref="Package-visibleMembers"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Package-visibleMembers-spec" name="spec">
<constrainedElement xmi:idref="Package-visibleMembers"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Package-visibleMembers-spec-_specification">
<body>result = (member->select( m | m.oclIsKindOf(PackageableElement) and self.makesVisible(m))->collect(oclAsType(PackageableElement))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Package-visibleMembers-result" name="result" direction="return" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Package-visibleMembers-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Package-visibleMembers-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="PackageMerge" name="PackageMerge">
<ownedComment xmi:type="uml:Comment" xmi:id="PackageMerge-_ownedComment.0" body="A package merge defines how the contents of one package are extended by the contents of another package.">
<annotatedElement xmi:idref="PackageMerge"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="PackageMerge-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="PackageMerge-mergedPackage" name="mergedPackage" type="Package" association="A_mergedPackage_packageMerge">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageMerge-mergedPackage-_ownedComment.0" body="References the Package that is to be merged with the receiving package of the PackageMerge.">
<annotatedElement xmi:idref="PackageMerge-mergedPackage"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="PackageMerge-receivingPackage" name="receivingPackage" type="Package" association="A_packageMerge_receivingPackage">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageMerge-receivingPackage-_ownedComment.0" body="References the Package that is being extended with the contents of the merged package of the PackageMerge.">
<annotatedElement xmi:idref="PackageMerge-receivingPackage"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Profile" name="Profile">
<ownedComment xmi:type="uml:Comment" xmi:id="Profile-_ownedComment.0" body="A profile defines limited extensions to a reference metamodel with the purpose of adapting the metamodel to a specific platform or domain.">
<annotatedElement xmi:idref="Profile"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Profile-metaclass_reference_not_specialized" name="metaclass_reference_not_specialized">
<constrainedElement xmi:idref="Profile"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Profile-metaclass_reference_not_specialized-_ownedComment.0" body="An element imported as a metaclassReference is not specialized or generalized in a Profile.">
<annotatedElement xmi:idref="Profile-metaclass_reference_not_specialized"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Profile-metaclass_reference_not_specialized-_specification">
<body>metaclassReference.importedElement-> select(c | c.oclIsKindOf(Classifier) and (c.oclAsType(Classifier).allParents()->collect(namespace)->includes(self)))->isEmpty() and packagedElement-> select(oclIsKindOf(Classifier))->collect(oclAsType(Classifier).allParents())-> intersection(metaclassReference.importedElement->select(oclIsKindOf(Classifier))->collect(oclAsType(Classifier)))->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Profile-references_same_metamodel" name="references_same_metamodel">
<constrainedElement xmi:idref="Profile"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Profile-references_same_metamodel-_ownedComment.0" body="All elements imported either as metaclassReferences or through metamodelReferences are members of the same base reference metamodel.">
<annotatedElement xmi:idref="Profile-references_same_metamodel"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Profile-references_same_metamodel-_specification">
<body>metamodelReference.importedPackage.elementImport.importedElement.allOwningPackages()-> union(metaclassReference.importedElement.allOwningPackages() )->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Profile-_generalization.0" general="Package"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Profile-metaclassReference" name="metaclassReference" aggregation="composite" type="ElementImport" association="A_metaclassReference_profile">
<subsettedProperty xmi:idref="Namespace-elementImport"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Profile-metaclassReference-_ownedComment.0" body="References a metaclass that may be extended.">
<annotatedElement xmi:idref="Profile-metaclassReference"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Profile-metaclassReference-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Profile-metaclassReference-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Profile-metamodelReference" name="metamodelReference" aggregation="composite" type="PackageImport" association="A_metamodelReference_profile">
<subsettedProperty xmi:idref="Namespace-packageImport"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Profile-metamodelReference-_ownedComment.0" body="References a package containing (directly or indirectly) metaclasses that may be extended.">
<annotatedElement xmi:idref="Profile-metamodelReference"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Profile-metamodelReference-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Profile-metamodelReference-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ProfileApplication" name="ProfileApplication">
<ownedComment xmi:type="uml:Comment" xmi:id="ProfileApplication-_ownedComment.0" body="A profile application is used to show which profiles have been applied to a package.">
<annotatedElement xmi:idref="ProfileApplication"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ProfileApplication-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProfileApplication-appliedProfile" name="appliedProfile" type="Profile" association="A_appliedProfile_profileApplication">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProfileApplication-appliedProfile-_ownedComment.0" body="References the Profiles that are applied to a Package through this ProfileApplication.">
<annotatedElement xmi:idref="ProfileApplication-appliedProfile"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProfileApplication-applyingPackage" name="applyingPackage" type="Package" association="A_profileApplication_applyingPackage">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProfileApplication-applyingPackage-_ownedComment.0" body="The package that owns the profile application.">
<annotatedElement xmi:idref="ProfileApplication-applyingPackage"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ProfileApplication-isStrict" name="isStrict">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ProfileApplication-isStrict-_ownedComment.0" body="Specifies that the Profile filtering rules for the metaclasses of the referenced metamodel shall be strictly applied.">
<annotatedElement xmi:idref="ProfileApplication-isStrict"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ProfileApplication-isStrict-_defaultValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Stereotype" name="Stereotype">
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-_ownedComment.0" body="A stereotype defines how an existing metaclass may be extended, and enables the use of platform or domain specific terminology or notation in place of, or in addition to, the ones used for the extended metaclass.">
<annotatedElement xmi:idref="Stereotype"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-binaryAssociationsOnly" name="binaryAssociationsOnly">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-binaryAssociationsOnly-_ownedComment.0" body="Stereotypes may only participate in binary associations.">
<annotatedElement xmi:idref="Stereotype-binaryAssociationsOnly"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-binaryAssociationsOnly-_specification">
<body>ownedAttribute.association->forAll(memberEnd->size()=2)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-generalize" name="generalize">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-generalize-_ownedComment.0" body="A Stereotype may only generalize or specialize another Stereotype.">
<annotatedElement xmi:idref="Stereotype-generalize"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-generalize-_specification">
<body>allParents()->forAll(oclIsKindOf(Stereotype)) and Classifier.allInstances()->forAll(c | c.allParents()->exists(oclIsKindOf(Stereotype)) implies c.oclIsKindOf(Stereotype)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-name_not_clash" name="name_not_clash">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-name_not_clash-_ownedComment.0" body="Stereotype names should not clash with keyword names for the extended model element.">
<annotatedElement xmi:idref="Stereotype-name_not_clash"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-name_not_clash-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-associationEndOwnership" name="associationEndOwnership">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-associationEndOwnership-_ownedComment.0" body="Where a stereotype’s property is an association end for an association other than a kind of extension, and the other end is not a stereotype, the other end must be owned by the association itself.">
<annotatedElement xmi:idref="Stereotype-associationEndOwnership"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-associationEndOwnership-_specification">
<body>ownedAttribute ->select(association->notEmpty() and not association.oclIsKindOf(Extension) and not type.oclIsKindOf(Stereotype)) ->forAll(opposite.owner = association)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-base_property_upper_bound" name="base_property_upper_bound">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-base_property_upper_bound-_ownedComment.0" body="The upper bound of base-properties is exactly 1.">
<annotatedElement xmi:idref="Stereotype-base_property_upper_bound"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-base_property_upper_bound-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-base_property_multiplicity_single_extension" name="base_property_multiplicity_single_extension">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-base_property_multiplicity_single_extension-_ownedComment.0" body="If a Stereotype extends only one metaclass, the multiplicity of the corresponding base-property shall be 1..1.">
<annotatedElement xmi:idref="Stereotype-base_property_multiplicity_single_extension"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-base_property_multiplicity_single_extension-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-base_property_multiplicity_multiple_extension" name="base_property_multiplicity_multiple_extension">
<constrainedElement xmi:idref="Stereotype"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-base_property_multiplicity_multiple_extension-_ownedComment.0" body="If a Stereotype extends more than one metaclass, the multiplicity of the corresponding base-properties shall be [0..1]. At any point in time, only one of these base-properties can contain a metaclass instance during runtime.">
<annotatedElement xmi:idref="Stereotype-base_property_multiplicity_multiple_extension"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-base_property_multiplicity_multiple_extension-_specification"/>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Stereotype-_generalization.0" general="Class"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Stereotype-icon" name="icon" aggregation="composite" type="Image" association="A_icon_stereotype">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-icon-_ownedComment.0" body="Stereotype can change the graphical appearance of the extended model element by using attached icons. When this association is not null, it references the location of the icon content to be displayed within diagrams presenting the extended model elements.">
<annotatedElement xmi:idref="Stereotype-icon"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Stereotype-icon-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Stereotype-icon-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Stereotype-profile" name="profile" isReadOnly="true" isDerived="true" type="Profile" association="A_profile_stereotype">
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-profile-_ownedComment.0" body="The profile that directly or indirectly contains this stereotype.">
<annotatedElement xmi:idref="Stereotype-profile"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Stereotype-containingProfile" name="containingProfile" isQuery="true" bodyCondition="Stereotype-containingProfile-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-containingProfile-_ownedComment.0" body="The query containingProfile returns the closest profile directly or indirectly containing this stereotype.">
<annotatedElement xmi:idref="Stereotype-containingProfile"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-containingProfile-spec" name="spec">
<constrainedElement xmi:idref="Stereotype-containingProfile"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-containingProfile-spec-_specification">
<body>result = (self.namespace.oclAsType(Package).containingProfile())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Stereotype-containingProfile-result" name="result" direction="return" type="Profile"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Stereotype-profile.1" name="profile" isQuery="true" bodyCondition="Stereotype-profile.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Stereotype-profile.1-_ownedComment.0" body="A stereotype must be contained, directly or indirectly, in a profile.">
<annotatedElement xmi:idref="Stereotype-profile.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Stereotype-profile.1-spec" name="spec">
<constrainedElement xmi:idref="Stereotype-profile.1"/>
<constrainedElement xmi:idref="Stereotype-profile"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Stereotype-profile.1-spec-_specification">
<body>result = (self.containingProfile())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Stereotype-profile.1-result" name="result" direction="return" type="Profile"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_profile_stereotype" name="A_profile_stereotype" isDerived="true">
<memberEnd xmi:idref="Stereotype-profile"/>
<memberEnd xmi:idref="A_profile_stereotype-stereotype"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_profile_stereotype-stereotype" name="stereotype" type="Stereotype" association="A_profile_stereotype">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_profile_stereotype-stereotype-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_profile_stereotype-stereotype-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_icon_stereotype" name="A_icon_stereotype">
<memberEnd xmi:idref="Stereotype-icon"/>
<memberEnd xmi:idref="A_icon_stereotype-stereotype"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_icon_stereotype-stereotype" name="stereotype" type="Stereotype" association="A_icon_stereotype">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_icon_stereotype-stereotype-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_appliedProfile_profileApplication" name="A_appliedProfile_profileApplication">
<memberEnd xmi:idref="ProfileApplication-appliedProfile"/>
<memberEnd xmi:idref="A_appliedProfile_profileApplication-profileApplication"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_appliedProfile_profileApplication-profileApplication" name="profileApplication" type="ProfileApplication" association="A_appliedProfile_profileApplication">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_appliedProfile_profileApplication-profileApplication-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_appliedProfile_profileApplication-profileApplication-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_metaclassReference_profile" name="A_metaclassReference_profile">
<memberEnd xmi:idref="Profile-metaclassReference"/>
<memberEnd xmi:idref="A_metaclassReference_profile-profile"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_metaclassReference_profile-profile" name="profile" type="Profile" association="A_metaclassReference_profile">
<subsettedProperty xmi:idref="ElementImport-importingNamespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_metaclassReference_profile-profile-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_metamodelReference_profile" name="A_metamodelReference_profile">
<memberEnd xmi:idref="Profile-metamodelReference"/>
<memberEnd xmi:idref="A_metamodelReference_profile-profile"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_metamodelReference_profile-profile" name="profile" type="Profile" association="A_metamodelReference_profile">
<subsettedProperty xmi:idref="PackageImport-importingNamespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_metamodelReference_profile-profile-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_mergedPackage_packageMerge" name="A_mergedPackage_packageMerge">
<memberEnd xmi:idref="PackageMerge-mergedPackage"/>
<memberEnd xmi:idref="A_mergedPackage_packageMerge-packageMerge"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_mergedPackage_packageMerge-packageMerge" name="packageMerge" type="PackageMerge" association="A_mergedPackage_packageMerge">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_mergedPackage_packageMerge-packageMerge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_mergedPackage_packageMerge-packageMerge-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_packagedElement_owningPackage" name="A_packagedElement_owningPackage">
<memberEnd xmi:idref="Package-packagedElement"/>
<memberEnd xmi:idref="A_packagedElement_owningPackage-owningPackage"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_packagedElement_owningPackage-owningPackage" name="owningPackage" type="Package" association="A_packagedElement_owningPackage">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_packagedElement_owningPackage-owningPackage-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_packageMerge_receivingPackage" name="A_packageMerge_receivingPackage">
<memberEnd xmi:idref="Package-packageMerge"/>
<memberEnd xmi:idref="PackageMerge-receivingPackage"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_nestedPackage_nestingPackage" name="A_nestedPackage_nestingPackage">
<memberEnd xmi:idref="Package-nestedPackage"/>
<memberEnd xmi:idref="Package-nestingPackage"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_profileApplication_applyingPackage" name="A_profileApplication_applyingPackage">
<memberEnd xmi:idref="Package-profileApplication"/>
<memberEnd xmi:idref="ProfileApplication-applyingPackage"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedType_package" name="A_ownedType_package">
<memberEnd xmi:idref="Package-ownedType"/>
<memberEnd xmi:idref="Type-package"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedStereotype_owningPackage" name="A_ownedStereotype_owningPackage" isDerived="true">
<memberEnd xmi:idref="Package-ownedStereotype"/>
<memberEnd xmi:idref="A_ownedStereotype_owningPackage-owningPackage"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_ownedStereotype_owningPackage-_generalization.0" general="A_packagedElement_owningPackage"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedStereotype_owningPackage-owningPackage" name="owningPackage" type="Package" association="A_ownedStereotype_owningPackage">
<redefinedProperty xmi:idref="A_packagedElement_owningPackage-owningPackage"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_type_extensionEnd" name="A_type_extensionEnd">
<memberEnd xmi:idref="ExtensionEnd-type"/>
<memberEnd xmi:idref="A_type_extensionEnd-extensionEnd"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_type_extensionEnd-extensionEnd" name="extensionEnd" type="ExtensionEnd" association="A_type_extensionEnd">
<subsettedProperty xmi:idref="A_type_typedElement-typedElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_type_extensionEnd-extensionEnd-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_type_extensionEnd-extensionEnd-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedEnd_extension" name="A_ownedEnd_extension">
<memberEnd xmi:idref="Extension-ownedEnd"/>
<memberEnd xmi:idref="A_ownedEnd_extension-extension"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedEnd_extension-extension" name="extension" type="Extension" association="A_ownedEnd_extension">
<subsettedProperty xmi:idref="Property-owningAssociation"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="Interactions" name="Interactions">
<packageImport xmi:type="uml:PackageImport" xmi:id="Interactions-_packageImport.0" importedPackage="CommonStructure"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Interactions-_packageImport.1" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Interactions-_packageImport.2" importedPackage="SimpleClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Interactions-_packageImport.3" importedPackage="Values"/>
<packagedElement xmi:type="uml:Class" xmi:id="ActionExecutionSpecification" name="ActionExecutionSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="ActionExecutionSpecification-_ownedComment.0" body="An ActionExecutionSpecification is a kind of ExecutionSpecification representing the execution of an Action.">
<annotatedElement xmi:idref="ActionExecutionSpecification"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActionExecutionSpecification-action_referenced" name="action_referenced">
<constrainedElement xmi:idref="ActionExecutionSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActionExecutionSpecification-action_referenced-_ownedComment.0" body="The Action referenced by the ActionExecutionSpecification must be owned by the Interaction owning that ActionExecutionSpecification.">
<annotatedElement xmi:idref="ActionExecutionSpecification-action_referenced"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActionExecutionSpecification-action_referenced-_specification">
<body>(enclosingInteraction->notEmpty() or enclosingOperand.combinedFragment->notEmpty()) and let parentInteraction : Set(Interaction) = enclosingInteraction.oclAsType(Interaction)->asSet()->union( enclosingOperand.combinedFragment->closure(enclosingOperand.combinedFragment)-> collect(enclosingInteraction).oclAsType(Interaction)->asSet()) in (parentInteraction->size() = 1) and self.action.interaction->asSet() = parentInteraction</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ActionExecutionSpecification-_generalization.0" general="ExecutionSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActionExecutionSpecification-action" name="action" type="Action" association="A_action_actionExecutionSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="ActionExecutionSpecification-action-_ownedComment.0" body="Action whose execution is occurring.">
<annotatedElement xmi:idref="ActionExecutionSpecification-action"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="BehaviorExecutionSpecification" name="BehaviorExecutionSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="BehaviorExecutionSpecification-_ownedComment.0" body="A BehaviorExecutionSpecification is a kind of ExecutionSpecification representing the execution of a Behavior.">
<annotatedElement xmi:idref="BehaviorExecutionSpecification"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="BehaviorExecutionSpecification-_generalization.0" general="ExecutionSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehaviorExecutionSpecification-behavior" name="behavior" type="Behavior" association="A_behavior_behaviorExecutionSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="BehaviorExecutionSpecification-behavior-_ownedComment.0" body="Behavior whose execution is occurring.">
<annotatedElement xmi:idref="BehaviorExecutionSpecification-behavior"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehaviorExecutionSpecification-behavior-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CombinedFragment" name="CombinedFragment">
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-_ownedComment.0" body="A CombinedFragment defines an expression of InteractionFragments. A CombinedFragment is defined by an interaction operator and corresponding InteractionOperands. Through the use of CombinedFragments the user will be able to describe a number of traces in a compact and concise manner.">
<annotatedElement xmi:idref="CombinedFragment"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CombinedFragment-break" name="break">
<constrainedElement xmi:idref="CombinedFragment"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-break-_ownedComment.0" body="If the interactionOperator is break, the corresponding InteractionOperand must cover all Lifelines covered by the enclosing InteractionFragment.">
<annotatedElement xmi:idref="CombinedFragment-break"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CombinedFragment-break-_specification">
<body>interactionOperator=InteractionOperatorKind::break implies enclosingInteraction.oclAsType(InteractionFragment)->asSet()->union( enclosingOperand.oclAsType(InteractionFragment)->asSet()).covered->asSet() = self.covered->asSet()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CombinedFragment-consider_and_ignore" name="consider_and_ignore">
<constrainedElement xmi:idref="CombinedFragment"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-consider_and_ignore-_ownedComment.0" body="The interaction operators 'consider' and 'ignore' can only be used for the ConsiderIgnoreFragment subtype of CombinedFragment">
<annotatedElement xmi:idref="CombinedFragment-consider_and_ignore"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CombinedFragment-consider_and_ignore-_specification">
<body>((interactionOperator = InteractionOperatorKind::consider) or (interactionOperator = InteractionOperatorKind::ignore)) implies oclIsKindOf(ConsiderIgnoreFragment)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CombinedFragment-opt_loop_break_neg" name="opt_loop_break_neg">
<constrainedElement xmi:idref="CombinedFragment"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-opt_loop_break_neg-_ownedComment.0" body="If the interactionOperator is opt, loop, break, assert or neg, there must be exactly one operand.">
<annotatedElement xmi:idref="CombinedFragment-opt_loop_break_neg"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CombinedFragment-opt_loop_break_neg-_specification">
<body>(interactionOperator = InteractionOperatorKind::opt or interactionOperator = InteractionOperatorKind::loop or interactionOperator = InteractionOperatorKind::break or interactionOperator = InteractionOperatorKind::assert or interactionOperator = InteractionOperatorKind::neg) implies operand->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CombinedFragment-_generalization.0" general="InteractionFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CombinedFragment-cfragmentGate" name="cfragmentGate" aggregation="composite" type="Gate" association="A_cfragmentGate_combinedFragment">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-cfragmentGate-_ownedComment.0" body="Specifies the gates that form the interface between this CombinedFragment and its surroundings">
<annotatedElement xmi:idref="CombinedFragment-cfragmentGate"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CombinedFragment-cfragmentGate-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CombinedFragment-cfragmentGate-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="CombinedFragment-interactionOperator" name="interactionOperator" type="InteractionOperatorKind">
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-interactionOperator-_ownedComment.0" body="Specifies the operation which defines the semantics of this combination of InteractionFragments.">
<annotatedElement xmi:idref="CombinedFragment-interactionOperator"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="CombinedFragment-interactionOperator-_defaultValue" type="InteractionOperatorKind" instance="InteractionOperatorKind-seq"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="CombinedFragment-operand" name="operand" isOrdered="true" aggregation="composite" type="InteractionOperand" association="A_operand_combinedFragment">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CombinedFragment-operand-_ownedComment.0" body="The set of operands of the combined fragment.">
<annotatedElement xmi:idref="CombinedFragment-operand"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CombinedFragment-operand-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ConsiderIgnoreFragment" name="ConsiderIgnoreFragment">
<ownedComment xmi:type="uml:Comment" xmi:id="ConsiderIgnoreFragment-_ownedComment.0" body="A ConsiderIgnoreFragment is a kind of CombinedFragment that is used for the consider and ignore cases, which require lists of pertinent Messages to be specified.">
<annotatedElement xmi:idref="ConsiderIgnoreFragment"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConsiderIgnoreFragment-consider_or_ignore" name="consider_or_ignore">
<constrainedElement xmi:idref="ConsiderIgnoreFragment"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConsiderIgnoreFragment-consider_or_ignore-_ownedComment.0" body="The interaction operator of a ConsiderIgnoreFragment must be either 'consider' or 'ignore'.">
<annotatedElement xmi:idref="ConsiderIgnoreFragment-consider_or_ignore"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConsiderIgnoreFragment-consider_or_ignore-_specification">
<body>(interactionOperator = InteractionOperatorKind::consider) or (interactionOperator = InteractionOperatorKind::ignore)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConsiderIgnoreFragment-type" name="type">
<constrainedElement xmi:idref="ConsiderIgnoreFragment"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConsiderIgnoreFragment-type-_ownedComment.0" body="The NamedElements must be of a type of element that can be a signature for a message (i.e.., an Operation, or a Signal).">
<annotatedElement xmi:idref="ConsiderIgnoreFragment-type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConsiderIgnoreFragment-type-_specification">
<body>message->forAll(m | m.oclIsKindOf(Operation) or m.oclIsKindOf(Signal))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ConsiderIgnoreFragment-_generalization.0" general="CombinedFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConsiderIgnoreFragment-message" name="message" type="NamedElement" association="A_message_considerIgnoreFragment">
<ownedComment xmi:type="uml:Comment" xmi:id="ConsiderIgnoreFragment-message-_ownedComment.0" body="The set of messages that apply to this fragment.">
<annotatedElement xmi:idref="ConsiderIgnoreFragment-message"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConsiderIgnoreFragment-message-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConsiderIgnoreFragment-message-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Continuation" name="Continuation">
<ownedComment xmi:type="uml:Comment" xmi:id="Continuation-_ownedComment.0" body="A Continuation is a syntactic way to define continuations of different branches of an alternative CombinedFragment. Continuations are intuitively similar to labels representing intermediate points in a flow of control.">
<annotatedElement xmi:idref="Continuation"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Continuation-first_or_last_interaction_fragment" name="first_or_last_interaction_fragment">
<constrainedElement xmi:idref="Continuation"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Continuation-first_or_last_interaction_fragment-_ownedComment.0" body="Continuations always occur as the very first InteractionFragment or the very last InteractionFragment of the enclosing InteractionOperand.">
<annotatedElement xmi:idref="Continuation-first_or_last_interaction_fragment"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Continuation-first_or_last_interaction_fragment-_specification">
<body> enclosingOperand->notEmpty() and let peerFragments : OrderedSet(InteractionFragment) = enclosingOperand.fragment in ( peerFragments->notEmpty() and ((peerFragments->first() = self) or (peerFragments->last() = self)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Continuation-same_name" name="same_name">
<constrainedElement xmi:idref="Continuation"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Continuation-same_name-_ownedComment.0" body="Across all Interaction instances having the same context value, every Lifeline instance covered by a Continuation (self) must be common with one covered Lifeline instance of all other Continuation instances with the same name as self, and every Lifeline instance covered by a Continuation instance with the same name as self must be common with one covered Lifeline instance of self. Lifeline instances are common if they have the same selector and represents associationEnd values.">
<annotatedElement xmi:idref="Continuation-same_name"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Continuation-same_name-_specification">
<body>enclosingOperand.combinedFragment->notEmpty() and let parentInteraction : Set(Interaction) = enclosingOperand.combinedFragment->closure(enclosingOperand.combinedFragment)-> collect(enclosingInteraction).oclAsType(Interaction)->asSet() in (parentInteraction->size() = 1) and let peerInteractions : Set(Interaction) = (parentInteraction->union(parentInteraction->collect(_'context')->collect(behavior)-> select(oclIsKindOf(Interaction)).oclAsType(Interaction)->asSet())->asSet()) in (peerInteractions->notEmpty()) and let combinedFragments1 : Set(CombinedFragment) = peerInteractions.fragment-> select(oclIsKindOf(CombinedFragment)).oclAsType(CombinedFragment)->asSet() in combinedFragments1->notEmpty() and combinedFragments1->closure(operand.fragment-> select(oclIsKindOf(CombinedFragment)).oclAsType(CombinedFragment))->asSet().operand.fragment-> select(oclIsKindOf(Continuation)).oclAsType(Continuation)->asSet()-> forAll(c : Continuation | (c.name = self.name) implies (c.covered->asSet()->forAll(cl : Lifeline | -- cl must be common to one lifeline covered by self self.covered->asSet()-> select(represents = cl.represents and selector = cl.selector)->asSet()->size()=1)) and (self.covered->asSet()->forAll(cl : Lifeline | -- cl must be common to one lifeline covered by c c.covered->asSet()-> select(represents = cl.represents and selector = cl.selector)->asSet()->size()=1)) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Continuation-global" name="global">
<constrainedElement xmi:idref="Continuation"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Continuation-global-_ownedComment.0" body="Continuations are always global in the enclosing InteractionFragment e.g., it always covers all Lifelines covered by the enclosing InteractionOperator.">
<annotatedElement xmi:idref="Continuation-global"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Continuation-global-_specification">
<body>enclosingOperand->notEmpty() and let operandLifelines : Set(Lifeline) = enclosingOperand.covered in (operandLifelines->notEmpty() and operandLifelines->forAll(ol :Lifeline |self.covered->includes(ol)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Continuation-_generalization.0" general="InteractionFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Continuation-setting" name="setting">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Continuation-setting-_ownedComment.0" body="True: when the Continuation is at the end of the enclosing InteractionFragment and False when it is in the beginning.">
<annotatedElement xmi:idref="Continuation-setting"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Continuation-setting-_defaultValue" value="true"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DestructionOccurrenceSpecification" name="DestructionOccurrenceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="DestructionOccurrenceSpecification-_ownedComment.0" body="A DestructionOccurenceSpecification models the destruction of an object.">
<annotatedElement xmi:idref="DestructionOccurrenceSpecification"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DestructionOccurrenceSpecification-no_occurrence_specifications_below" name="no_occurrence_specifications_below">
<constrainedElement xmi:idref="DestructionOccurrenceSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestructionOccurrenceSpecification-no_occurrence_specifications_below-_ownedComment.0" body="No other OccurrenceSpecifications on a given Lifeline in an InteractionOperand may appear below a DestructionOccurrenceSpecification.">
<annotatedElement xmi:idref="DestructionOccurrenceSpecification-no_occurrence_specifications_below"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DestructionOccurrenceSpecification-no_occurrence_specifications_below-_specification">
<body>let o : InteractionOperand = enclosingOperand in o->notEmpty() and let peerEvents : OrderedSet(OccurrenceSpecification) = covered.events->select(enclosingOperand = o) in peerEvents->last() = self</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="DestructionOccurrenceSpecification-_generalization.0" general="MessageOccurrenceSpecification"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExecutionOccurrenceSpecification" name="ExecutionOccurrenceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionOccurrenceSpecification-_ownedComment.0" body="An ExecutionOccurrenceSpecification represents moments in time at which Actions or Behaviors start or finish.">
<annotatedElement xmi:idref="ExecutionOccurrenceSpecification"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ExecutionOccurrenceSpecification-_generalization.0" general="OccurrenceSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExecutionOccurrenceSpecification-execution" name="execution" type="ExecutionSpecification" association="A_execution_executionOccurrenceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionOccurrenceSpecification-execution-_ownedComment.0" body="References the execution specification describing the execution that is started or finished at this execution event.">
<annotatedElement xmi:idref="ExecutionOccurrenceSpecification-execution"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExecutionSpecification" name="ExecutionSpecification" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionSpecification-_ownedComment.0" body="An ExecutionSpecification is a specification of the execution of a unit of Behavior or Action within the Lifeline. The duration of an ExecutionSpecification is represented by two OccurrenceSpecifications, the start OccurrenceSpecification and the finish OccurrenceSpecification.">
<annotatedElement xmi:idref="ExecutionSpecification"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExecutionSpecification-same_lifeline" name="same_lifeline">
<constrainedElement xmi:idref="ExecutionSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionSpecification-same_lifeline-_ownedComment.0" body="The startEvent and the finishEvent must be on the same Lifeline.">
<annotatedElement xmi:idref="ExecutionSpecification-same_lifeline"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExecutionSpecification-same_lifeline-_specification">
<body>start.covered = finish.covered</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ExecutionSpecification-_generalization.0" general="InteractionFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExecutionSpecification-finish" name="finish" type="OccurrenceSpecification" association="A_finish_executionSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionSpecification-finish-_ownedComment.0" body="References the OccurrenceSpecification that designates the finish of the Action or Behavior.">
<annotatedElement xmi:idref="ExecutionSpecification-finish"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExecutionSpecification-start" name="start" type="OccurrenceSpecification" association="A_start_executionSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionSpecification-start-_ownedComment.0" body="References the OccurrenceSpecification that designates the start of the Action or Behavior.">
<annotatedElement xmi:idref="ExecutionSpecification-start"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Gate" name="Gate">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-_ownedComment.0" body="A Gate is a MessageEnd which serves as a connection point for relating a Message which has a MessageEnd (sendEvent / receiveEvent) outside an InteractionFragment with another Message which has a MessageEnd (receiveEvent / sendEvent) inside that InteractionFragment.">
<annotatedElement xmi:idref="Gate"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-actual_gate_matched" name="actual_gate_matched">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-actual_gate_matched-_ownedComment.0" body="If this Gate is an actualGate, it must have exactly one matching formalGate within the referred Interaction.">
<annotatedElement xmi:idref="Gate-actual_gate_matched"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-actual_gate_matched-_specification">
<body>interactionUse->notEmpty() implies interactionUse.refersTo.formalGate->select(matches(self))->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-inside_cf_matched" name="inside_cf_matched">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-inside_cf_matched-_ownedComment.0" body="If this Gate is inside a CombinedFragment, it must have exactly one matching Gate which is outside of that CombinedFragment.">
<annotatedElement xmi:idref="Gate-inside_cf_matched"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-inside_cf_matched-_specification">
<body>isInsideCF() implies combinedFragment.cfragmentGate->select(isOutsideCF() and matches(self))->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-outside_cf_matched" name="outside_cf_matched">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-outside_cf_matched-_ownedComment.0" body="If this Gate is outside an 'alt' CombinedFragment, for every InteractionOperator inside that CombinedFragment there must be exactly one matching Gate inside the CombindedFragment with its opposing end enclosed by that InteractionOperator. If this Gate is outside CombinedFragment with operator other than 'alt', there must be exactly one matching Gate inside that CombinedFragment.">
<annotatedElement xmi:idref="Gate-outside_cf_matched"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-outside_cf_matched-_specification">
<body>isOutsideCF() implies if self.combinedFragment.interactionOperator->asOrderedSet()->first() = InteractionOperatorKind::alt then self.combinedFragment.operand->forAll(op : InteractionOperand | self.combinedFragment.cfragmentGate->select(isInsideCF() and oppositeEnd().enclosingFragment()->includes(self.combinedFragment) and matches(self))->size()=1) else self.combinedFragment.cfragmentGate->select(isInsideCF() and matches(self))->size()=1 endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-formal_gate_distinguishable" name="formal_gate_distinguishable">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-formal_gate_distinguishable-_ownedComment.0" body="isFormal() implies that no other formalGate of the parent Interaction returns the same getName() as returned for self">
<annotatedElement xmi:idref="Gate-formal_gate_distinguishable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-formal_gate_distinguishable-_specification">
<body>isFormal() implies interaction.formalGate->select(getName() = self.getName())->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-actual_gate_distinguishable" name="actual_gate_distinguishable">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-actual_gate_distinguishable-_ownedComment.0" body="isActual() implies that no other actualGate of the parent InteractionUse returns the same getName() as returned for self">
<annotatedElement xmi:idref="Gate-actual_gate_distinguishable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-actual_gate_distinguishable-_specification">
<body>isActual() implies interactionUse.actualGate->select(getName() = self.getName())->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-outside_cf_gate_distinguishable" name="outside_cf_gate_distinguishable">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-outside_cf_gate_distinguishable-_ownedComment.0" body="isOutsideCF() implies that no other outside cfragmentGate of the parent CombinedFragment returns the same getName() as returned for self">
<annotatedElement xmi:idref="Gate-outside_cf_gate_distinguishable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-outside_cf_gate_distinguishable-_specification">
<body>isOutsideCF() implies combinedFragment.cfragmentGate->select(getName() = self.getName())->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-inside_cf_gate_distinguishable" name="inside_cf_gate_distinguishable">
<constrainedElement xmi:idref="Gate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-inside_cf_gate_distinguishable-_ownedComment.0" body="isInsideCF() implies that no other inside cfragmentGate attached to a message with its other end in the same InteractionOperator as self, returns the same getName() as returned for self">
<annotatedElement xmi:idref="Gate-inside_cf_gate_distinguishable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-inside_cf_gate_distinguishable-_specification">
<body>isInsideCF() implies let selfOperand : InteractionOperand = self.getOperand() in combinedFragment.cfragmentGate->select(isInsideCF() and getName() = self.getName())->select(getOperand() = selfOperand)->size()=1</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Gate-_generalization.0" general="MessageEnd"/>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-isOutsideCF" name="isOutsideCF" isQuery="true" bodyCondition="Gate-isOutsideCF-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-isOutsideCF-_ownedComment.0" body="This query returns true if this Gate is attached to the boundary of a CombinedFragment, and its other end (if present) is outside of the same CombinedFragment.">
<annotatedElement xmi:idref="Gate-isOutsideCF"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-isOutsideCF-spec" name="spec">
<constrainedElement xmi:idref="Gate-isOutsideCF"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-isOutsideCF-spec-_specification">
<body>result = (self.oppositeEnd()-> notEmpty() and combinedFragment->notEmpty() implies let oppEnd : MessageEnd = self.oppositeEnd()->asOrderedSet()->first() in if oppEnd.oclIsKindOf(MessageOccurrenceSpecification) then let oppMOS : MessageOccurrenceSpecification = oppEnd.oclAsType(MessageOccurrenceSpecification) in self.combinedFragment.enclosingInteraction.oclAsType(InteractionFragment)->asSet()-> union(self.combinedFragment.enclosingOperand.oclAsType(InteractionFragment)->asSet()) = oppMOS.enclosingInteraction.oclAsType(InteractionFragment)->asSet()-> union(oppMOS.enclosingOperand.oclAsType(InteractionFragment)->asSet()) else let oppGate : Gate = oppEnd.oclAsType(Gate) in self.combinedFragment.enclosingInteraction.oclAsType(InteractionFragment)->asSet()-> union(self.combinedFragment.enclosingOperand.oclAsType(InteractionFragment)->asSet()) = oppGate.combinedFragment.enclosingInteraction.oclAsType(InteractionFragment)->asSet()-> union(oppGate.combinedFragment.enclosingOperand.oclAsType(InteractionFragment)->asSet()) endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isOutsideCF-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-isInsideCF" name="isInsideCF" isQuery="true" bodyCondition="Gate-isInsideCF-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-isInsideCF-_ownedComment.0" body="This query returns true if this Gate is attached to the boundary of a CombinedFragment, and its other end (if present) is inside of an InteractionOperator of the same CombinedFragment.">
<annotatedElement xmi:idref="Gate-isInsideCF"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-isInsideCF-spec" name="spec">
<constrainedElement xmi:idref="Gate-isInsideCF"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-isInsideCF-spec-_specification">
<body>result = (self.oppositeEnd()-> notEmpty() and combinedFragment->notEmpty() implies let oppEnd : MessageEnd = self.oppositeEnd()->asOrderedSet()->first() in if oppEnd.oclIsKindOf(MessageOccurrenceSpecification) then let oppMOS : MessageOccurrenceSpecification = oppEnd.oclAsType(MessageOccurrenceSpecification) in combinedFragment = oppMOS.enclosingOperand.combinedFragment else let oppGate : Gate = oppEnd.oclAsType(Gate) in combinedFragment = oppGate.combinedFragment.enclosingOperand.combinedFragment endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isInsideCF-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-isActual" name="isActual" isQuery="true" bodyCondition="Gate-isActual-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-isActual-_ownedComment.0" body="This query returns true value if this Gate is an actualGate of an InteractionUse.">
<annotatedElement xmi:idref="Gate-isActual"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-isActual-spec" name="spec">
<constrainedElement xmi:idref="Gate-isActual"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-isActual-spec-_specification">
<body>result = (interactionUse->notEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isActual-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-isFormal" name="isFormal" isQuery="true" bodyCondition="Gate-isFormal-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-isFormal-_ownedComment.0" body="This query returns true if this Gate is a formalGate of an Interaction.">
<annotatedElement xmi:idref="Gate-isFormal"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-isFormal-spec" name="spec">
<constrainedElement xmi:idref="Gate-isFormal"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-isFormal-spec-_ownedComment.0" body="<p>interaction-&gt;notEmpty()</p>">
<annotatedElement xmi:idref="Gate-isFormal-spec"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-isFormal-spec-_specification">
<body>result = (interaction->notEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isFormal-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-getName" name="getName" isQuery="true" bodyCondition="Gate-getName-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-getName-_ownedComment.0" body="This query returns the name of the gate, either the explicit name (.name) or the constructed name ('out_" or 'in_' concatenated in front of .message.name) if the explicit name is not present.">
<annotatedElement xmi:idref="Gate-getName"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-getName-spec" name="spec">
<constrainedElement xmi:idref="Gate-getName"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-getName-spec-_specification">
<body>result = (if name->notEmpty() then name->asOrderedSet()->first() else if isActual() or isOutsideCF() then if isSend() then 'out_'.concat(self.message.name->asOrderedSet()->first()) else 'in_'.concat(self.message.name->asOrderedSet()->first()) endif else if isSend() then 'in_'.concat(self.message.name->asOrderedSet()->first()) else 'out_'.concat(self.message.name->asOrderedSet()->first()) endif endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-getName-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-matches" name="matches" isQuery="true" bodyCondition="Gate-matches-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-matches-_ownedComment.0" body="This query returns true if the name of this Gate matches the name of the in parameter Gate, and the messages for the two Gates correspond. The Message for one Gate (say A) corresponds to the Message for another Gate (say B) if (A and B have the same name value) and (if A is a sendEvent then B is a receiveEvent) and (if A is a receiveEvent then B is a sendEvent) and (A and B have the same messageSort value) and (A and B have the same signature value).">
<annotatedElement xmi:idref="Gate-matches"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-matches-spec" name="spec">
<constrainedElement xmi:idref="Gate-matches"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-matches-spec-_specification">
<body>result = (self.getName() = gateToMatch.getName() and self.message.messageSort = gateToMatch.message.messageSort and self.message.name = gateToMatch.message.name and self.message.sendEvent->includes(self) implies gateToMatch.message.receiveEvent->includes(gateToMatch) and self.message.receiveEvent->includes(self) implies gateToMatch.message.sendEvent->includes(gateToMatch) and self.message.signature = gateToMatch.message.signature)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-matches-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-matches-gateToMatch" name="gateToMatch" type="Gate"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-isDistinguishableFrom" name="isDistinguishableFrom" isQuery="true" bodyCondition="Gate-isDistinguishableFrom-spec">
<redefinedOperation xmi:idref="NamedElement-isDistinguishableFrom"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-isDistinguishableFrom-_ownedComment.0" body="The query isDistinguishableFrom() specifies that two Gates may coexist in the same Namespace, without an explicit name property. The association end formalGate subsets ownedElement, and since the Gate name attribute is optional, it is allowed to have two formal gates without an explicit name, but having derived names which are distinct.">
<annotatedElement xmi:idref="Gate-isDistinguishableFrom"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-isDistinguishableFrom-spec" name="spec">
<constrainedElement xmi:idref="Gate-isDistinguishableFrom"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-isDistinguishableFrom-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isDistinguishableFrom-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isDistinguishableFrom-n" name="n" type="NamedElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-isDistinguishableFrom-ns" name="ns" type="Namespace"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Gate-getOperand" name="getOperand" isQuery="true" bodyCondition="Gate-getOperand-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Gate-getOperand-_ownedComment.0" body="If the Gate is an inside Combined Fragment Gate, this operation returns the InteractionOperand that the opposite end of this Gate is included within.">
<annotatedElement xmi:idref="Gate-getOperand"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Gate-getOperand-spec" name="spec">
<constrainedElement xmi:idref="Gate-getOperand"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Gate-getOperand-spec-_specification">
<body>result = (if isInsideCF() then let oppEnd : MessageEnd = self.oppositeEnd()->asOrderedSet()->first() in if oppEnd.oclIsKindOf(MessageOccurrenceSpecification) then let oppMOS : MessageOccurrenceSpecification = oppEnd.oclAsType(MessageOccurrenceSpecification) in oppMOS.enclosingOperand->asOrderedSet()->first() else let oppGate : Gate = oppEnd.oclAsType(Gate) in oppGate.combinedFragment.enclosingOperand->asOrderedSet()->first() endif else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Gate-getOperand-result" name="result" direction="return" type="InteractionOperand"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="GeneralOrdering" name="GeneralOrdering">
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralOrdering-_ownedComment.0" body="A GeneralOrdering represents a binary relation between two OccurrenceSpecifications, to describe that one OccurrenceSpecification must occur before the other in a valid trace. This mechanism provides the ability to define partial orders of OccurrenceSpecifications that may otherwise not have a specified order.">
<annotatedElement xmi:idref="GeneralOrdering"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="GeneralOrdering-irreflexive_transitive_closure" name="irreflexive_transitive_closure">
<constrainedElement xmi:idref="GeneralOrdering"/>
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralOrdering-irreflexive_transitive_closure-_ownedComment.0" body="An occurrence specification must not be ordered relative to itself through a series of general orderings. (In other words, the transitive closure of the general orderings is irreflexive.)">
<annotatedElement xmi:idref="GeneralOrdering-irreflexive_transitive_closure"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="GeneralOrdering-irreflexive_transitive_closure-_specification">
<body>after->closure(toAfter.after)->excludes(before)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="GeneralOrdering-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="GeneralOrdering-after" name="after" type="OccurrenceSpecification" association="A_toBefore_after">
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralOrdering-after-_ownedComment.0" body="The OccurrenceSpecification referenced comes after the OccurrenceSpecification referenced by before.">
<annotatedElement xmi:idref="GeneralOrdering-after"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="GeneralOrdering-before" name="before" type="OccurrenceSpecification" association="A_before_toAfter">
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralOrdering-before-_ownedComment.0" body="The OccurrenceSpecification referenced comes before the OccurrenceSpecification referenced by after.">
<annotatedElement xmi:idref="GeneralOrdering-before"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Interaction" name="Interaction">
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-_ownedComment.0" body="An Interaction is a unit of Behavior that focuses on the observable exchange of information between connectable elements.">
<annotatedElement xmi:idref="Interaction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Interaction-not_contained" name="not_contained">
<constrainedElement xmi:idref="Interaction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-not_contained-_ownedComment.0" body="An Interaction instance must not be contained within another Interaction instance.">
<annotatedElement xmi:idref="Interaction-not_contained"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Interaction-not_contained-_specification">
<body>enclosingInteraction->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Interaction-_generalization.0" general="InteractionFragment"/>
<generalization xmi:type="uml:Generalization" xmi:id="Interaction-_generalization.1" general="Behavior"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interaction-action" name="action" aggregation="composite" type="Action" association="A_action_interaction">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-action-_ownedComment.0" body="Actions owned by the Interaction.">
<annotatedElement xmi:idref="Interaction-action"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interaction-action-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interaction-action-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interaction-formalGate" name="formalGate" aggregation="composite" type="Gate" association="A_formalGate_interaction">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-formalGate-_ownedComment.0" body="Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.">
<annotatedElement xmi:idref="Interaction-formalGate"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interaction-formalGate-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interaction-formalGate-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interaction-fragment" name="fragment" isOrdered="true" aggregation="composite" type="InteractionFragment" association="A_fragment_enclosingInteraction">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-fragment-_ownedComment.0" body="The ordered set of fragments in the Interaction.">
<annotatedElement xmi:idref="Interaction-fragment"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interaction-fragment-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interaction-fragment-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interaction-lifeline" name="lifeline" aggregation="composite" type="Lifeline" association="A_lifeline_interaction">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-lifeline-_ownedComment.0" body="Specifies the participants in this Interaction.">
<annotatedElement xmi:idref="Interaction-lifeline"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interaction-lifeline-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interaction-lifeline-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Interaction-message" name="message" aggregation="composite" type="Message" association="A_message_interaction">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Interaction-message-_ownedComment.0" body="The Messages contained in this Interaction.">
<annotatedElement xmi:idref="Interaction-message"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Interaction-message-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Interaction-message-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InteractionConstraint" name="InteractionConstraint">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-_ownedComment.0" body="An InteractionConstraint is a Boolean expression that guards an operand in a CombinedFragment.">
<annotatedElement xmi:idref="InteractionConstraint"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionConstraint-minint_maxint" name="minint_maxint">
<constrainedElement xmi:idref="InteractionConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-minint_maxint-_ownedComment.0" body="Minint/maxint can only be present if the InteractionConstraint is associated with the operand of a loop CombinedFragment.">
<annotatedElement xmi:idref="InteractionConstraint-minint_maxint"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionConstraint-minint_maxint-_specification">
<body>maxint->notEmpty() or minint->notEmpty() implies interactionOperand.combinedFragment.interactionOperator = InteractionOperatorKind::loop</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionConstraint-minint_non_negative" name="minint_non_negative">
<constrainedElement xmi:idref="InteractionConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-minint_non_negative-_ownedComment.0" body="If minint is specified, then the expression must evaluate to a non-negative integer.">
<annotatedElement xmi:idref="InteractionConstraint-minint_non_negative"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionConstraint-minint_non_negative-_specification">
<body>minint->notEmpty() implies minint->asSequence()->first().integerValue() >= 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionConstraint-maxint_positive" name="maxint_positive">
<constrainedElement xmi:idref="InteractionConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-maxint_positive-_ownedComment.0" body="If maxint is specified, then the expression must evaluate to a positive integer.">
<annotatedElement xmi:idref="InteractionConstraint-maxint_positive"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionConstraint-maxint_positive-_specification">
<body>maxint->notEmpty() implies maxint->asSequence()->first().integerValue() > 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionConstraint-dynamic_variables" name="dynamic_variables">
<constrainedElement xmi:idref="InteractionConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-dynamic_variables-_ownedComment.0" body="The dynamic variables that take part in the constraint must be owned by the ConnectableElement corresponding to the covered Lifeline.">
<annotatedElement xmi:idref="InteractionConstraint-dynamic_variables"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionConstraint-dynamic_variables-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionConstraint-global_data" name="global_data">
<constrainedElement xmi:idref="InteractionConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-global_data-_ownedComment.0" body="The constraint may contain references to global data or write-once data.">
<annotatedElement xmi:idref="InteractionConstraint-global_data"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionConstraint-global_data-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionConstraint-maxint_greater_equal_minint" name="maxint_greater_equal_minint">
<constrainedElement xmi:idref="InteractionConstraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-maxint_greater_equal_minint-_ownedComment.0" body="If maxint is specified, then minint must be specified and the evaluation of maxint must be >= the evaluation of minint.">
<annotatedElement xmi:idref="InteractionConstraint-maxint_greater_equal_minint"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionConstraint-maxint_greater_equal_minint-_specification">
<body>maxint->notEmpty() implies (minint->notEmpty() and maxint->asSequence()->first().integerValue() >= minint->asSequence()->first().integerValue() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InteractionConstraint-_generalization.0" general="Constraint"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionConstraint-maxint" name="maxint" aggregation="composite" type="ValueSpecification" association="A_maxint_interactionConstraint">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-maxint-_ownedComment.0" body="The maximum number of iterations of a loop">
<annotatedElement xmi:idref="InteractionConstraint-maxint"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionConstraint-maxint-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionConstraint-minint" name="minint" aggregation="composite" type="ValueSpecification" association="A_minint_interactionConstraint">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionConstraint-minint-_ownedComment.0" body="The minimum number of iterations of a loop">
<annotatedElement xmi:idref="InteractionConstraint-minint"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionConstraint-minint-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InteractionFragment" name="InteractionFragment" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionFragment-_ownedComment.0" body="InteractionFragment is an abstract notion of the most general interaction unit. An InteractionFragment is a piece of an Interaction. Each InteractionFragment is conceptually like an Interaction by itself.">
<annotatedElement xmi:idref="InteractionFragment"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="InteractionFragment-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionFragment-covered" name="covered" type="Lifeline" association="A_covered_coveredBy">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionFragment-covered-_ownedComment.0" body="References the Lifelines that the InteractionFragment involves.">
<annotatedElement xmi:idref="InteractionFragment-covered"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionFragment-covered-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InteractionFragment-covered-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionFragment-enclosingInteraction" name="enclosingInteraction" type="Interaction" association="A_fragment_enclosingInteraction">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionFragment-enclosingInteraction-_ownedComment.0" body="The Interaction enclosing this InteractionFragment.">
<annotatedElement xmi:idref="InteractionFragment-enclosingInteraction"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionFragment-enclosingInteraction-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionFragment-enclosingOperand" name="enclosingOperand" type="InteractionOperand" association="A_fragment_enclosingOperand">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionFragment-enclosingOperand-_ownedComment.0" body="The operand enclosing this InteractionFragment (they may nest recursively).">
<annotatedElement xmi:idref="InteractionFragment-enclosingOperand"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionFragment-enclosingOperand-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionFragment-generalOrdering" name="generalOrdering" aggregation="composite" type="GeneralOrdering" association="A_generalOrdering_interactionFragment">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionFragment-generalOrdering-_ownedComment.0" body="The general ordering relationships contained in this fragment.">
<annotatedElement xmi:idref="InteractionFragment-generalOrdering"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionFragment-generalOrdering-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InteractionFragment-generalOrdering-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InteractionOperand" name="InteractionOperand">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperand-_ownedComment.0" body="An InteractionOperand is contained in a CombinedFragment. An InteractionOperand represents one operand of the expression given by the enclosing CombinedFragment.">
<annotatedElement xmi:idref="InteractionOperand"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionOperand-guard_contain_references" name="guard_contain_references">
<constrainedElement xmi:idref="InteractionOperand"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperand-guard_contain_references-_ownedComment.0" body="The guard must contain only references to values local to the Lifeline on which it resides, or values global to the whole Interaction.">
<annotatedElement xmi:idref="InteractionOperand-guard_contain_references"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionOperand-guard_contain_references-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionOperand-guard_directly_prior" name="guard_directly_prior">
<constrainedElement xmi:idref="InteractionOperand"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperand-guard_directly_prior-_ownedComment.0" body="The guard must be placed directly prior to (above) the OccurrenceSpecification that will become the first OccurrenceSpecification within this InteractionOperand.">
<annotatedElement xmi:idref="InteractionOperand-guard_directly_prior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionOperand-guard_directly_prior-_specification"/>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InteractionOperand-_generalization.0" general="InteractionFragment"/>
<generalization xmi:type="uml:Generalization" xmi:id="InteractionOperand-_generalization.1" general="Namespace"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionOperand-fragment" name="fragment" isOrdered="true" aggregation="composite" type="InteractionFragment" association="A_fragment_enclosingOperand">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperand-fragment-_ownedComment.0" body="The fragments of the operand.">
<annotatedElement xmi:idref="InteractionOperand-fragment"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionOperand-fragment-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InteractionOperand-fragment-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionOperand-guard" name="guard" aggregation="composite" type="InteractionConstraint" association="A_guard_interactionOperand">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperand-guard-_ownedComment.0" body="Constraint of the operand.">
<annotatedElement xmi:idref="InteractionOperand-guard"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionOperand-guard-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InteractionUse" name="InteractionUse">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-_ownedComment.0" body="An InteractionUse refers to an Interaction. The InteractionUse is a shorthand for copying the contents of the referenced Interaction where the InteractionUse is. To be accurate the copying must take into account substituting parameters with arguments and connect the formal Gates with the actual ones.">
<annotatedElement xmi:idref="InteractionUse"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionUse-gates_match" name="gates_match">
<constrainedElement xmi:idref="InteractionUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-gates_match-_ownedComment.0" body="Actual Gates of the InteractionUse must match Formal Gates of the referred Interaction. Gates match when their names are equal and their messages correspond.">
<annotatedElement xmi:idref="InteractionUse-gates_match"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionUse-gates_match-_specification">
<body>actualGate->notEmpty() implies refersTo.formalGate->forAll( fg : Gate | self.actualGate->select(matches(fg))->size()=1) and self.actualGate->forAll(ag : Gate | refersTo.formalGate->select(matches(ag))->size()=1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionUse-arguments_are_constants" name="arguments_are_constants">
<constrainedElement xmi:idref="InteractionUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-arguments_are_constants-_ownedComment.0" body="The arguments must only be constants, parameters of the enclosing Interaction or attributes of the classifier owning the enclosing Interaction.">
<annotatedElement xmi:idref="InteractionUse-arguments_are_constants"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionUse-arguments_are_constants-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionUse-returnValueRecipient_coverage" name="returnValueRecipient_coverage">
<constrainedElement xmi:idref="InteractionUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-returnValueRecipient_coverage-_ownedComment.0" body="The returnValueRecipient must be a Property of a ConnectableElement that is represented by a Lifeline covered by this InteractionUse.">
<annotatedElement xmi:idref="InteractionUse-returnValueRecipient_coverage"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionUse-returnValueRecipient_coverage-_specification">
<body>returnValueRecipient->asSet()->notEmpty() implies let covCE : Set(ConnectableElement) = covered.represents->asSet() in covCE->notEmpty() and let classes:Set(Classifier) = covCE.type.oclIsKindOf(Classifier).oclAsType(Classifier)->asSet() in let allProps : Set(Property) = classes.attribute->union(classes.allParents().attribute)->asSet() in allProps->includes(returnValueRecipient)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionUse-arguments_correspond_to_parameters" name="arguments_correspond_to_parameters">
<constrainedElement xmi:idref="InteractionUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-arguments_correspond_to_parameters-_ownedComment.0" body="The arguments of the InteractionUse must correspond to parameters of the referred Interaction.">
<annotatedElement xmi:idref="InteractionUse-arguments_correspond_to_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionUse-arguments_correspond_to_parameters-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionUse-returnValue_type_recipient_correspondence" name="returnValue_type_recipient_correspondence">
<constrainedElement xmi:idref="InteractionUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-returnValue_type_recipient_correspondence-_ownedComment.0" body="The type of the returnValue must correspond to the type of the returnValueRecipient.">
<annotatedElement xmi:idref="InteractionUse-returnValue_type_recipient_correspondence"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionUse-returnValue_type_recipient_correspondence-_specification">
<body>returnValue.type->asSequence()->notEmpty() implies returnValue.type->asSequence()->first() = returnValueRecipient.type->asSequence()->first() </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InteractionUse-all_lifelines" name="all_lifelines">
<constrainedElement xmi:idref="InteractionUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-all_lifelines-_ownedComment.0" body="The InteractionUse must cover all Lifelines of the enclosing Interaction that are common with the lifelines covered by the referred Interaction. Lifelines are common if they have the same selector and represents associationEnd values.">
<annotatedElement xmi:idref="InteractionUse-all_lifelines"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InteractionUse-all_lifelines-_specification">
<body>let parentInteraction : Set(Interaction) = enclosingInteraction->asSet()-> union(enclosingOperand.combinedFragment->closure(enclosingOperand.combinedFragment)-> collect(enclosingInteraction).oclAsType(Interaction)->asSet()) in parentInteraction->size()=1 and let refInteraction : Interaction = refersTo in parentInteraction.covered-> forAll(intLifeline : Lifeline | refInteraction.covered-> forAll( refLifeline : Lifeline | refLifeline.represents = intLifeline.represents and ( ( refLifeline.selector.oclIsKindOf(LiteralString) implies intLifeline.selector.oclIsKindOf(LiteralString) and refLifeline.selector.oclAsType(LiteralString).value = intLifeline.selector.oclAsType(LiteralString).value ) and ( refLifeline.selector.oclIsKindOf(LiteralInteger) implies intLifeline.selector.oclIsKindOf(LiteralInteger) and refLifeline.selector.oclAsType(LiteralInteger).value = intLifeline.selector.oclAsType(LiteralInteger).value ) ) implies self.covered->asSet()->includes(intLifeline)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InteractionUse-_generalization.0" general="InteractionFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionUse-actualGate" name="actualGate" aggregation="composite" type="Gate" association="A_actualGate_interactionUse">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-actualGate-_ownedComment.0" body="The actual gates of the InteractionUse.">
<annotatedElement xmi:idref="InteractionUse-actualGate"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionUse-actualGate-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InteractionUse-actualGate-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionUse-argument" name="argument" isOrdered="true" aggregation="composite" type="ValueSpecification" association="A_argument_interactionUse">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-argument-_ownedComment.0" body="The actual arguments of the Interaction.">
<annotatedElement xmi:idref="InteractionUse-argument"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionUse-argument-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InteractionUse-argument-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionUse-refersTo" name="refersTo" type="Interaction" association="A_refersTo_interactionUse">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-refersTo-_ownedComment.0" body="Refers to the Interaction that defines its meaning.">
<annotatedElement xmi:idref="InteractionUse-refersTo"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionUse-returnValue" name="returnValue" aggregation="composite" type="ValueSpecification" association="A_returnValue_interactionUse">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-returnValue-_ownedComment.0" body="The value of the executed Interaction.">
<annotatedElement xmi:idref="InteractionUse-returnValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionUse-returnValue-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InteractionUse-returnValueRecipient" name="returnValueRecipient" type="Property" association="A_returnValueRecipient_interactionUse">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionUse-returnValueRecipient-_ownedComment.0" body="The recipient of the return value.">
<annotatedElement xmi:idref="InteractionUse-returnValueRecipient"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InteractionUse-returnValueRecipient-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Lifeline" name="Lifeline">
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-_ownedComment.0" body="A Lifeline represents an individual participant in the Interaction. While parts and structural features may have multiplicity greater than 1, Lifelines represent only one interacting entity.">
<annotatedElement xmi:idref="Lifeline"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Lifeline-selector_specified" name="selector_specified">
<constrainedElement xmi:idref="Lifeline"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-selector_specified-_ownedComment.0" body="The selector for a Lifeline must only be specified if the referenced Part is multivalued.">
<annotatedElement xmi:idref="Lifeline-selector_specified"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Lifeline-selector_specified-_specification">
<body> self.selector->notEmpty() = (self.represents.oclIsKindOf(MultiplicityElement) and self.represents.oclAsType(MultiplicityElement).isMultivalued())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Lifeline-interaction_uses_share_lifeline" name="interaction_uses_share_lifeline">
<constrainedElement xmi:idref="Lifeline"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-interaction_uses_share_lifeline-_ownedComment.0" body="If a lifeline is in an Interaction referred to by an InteractionUse in an enclosing Interaction, and that lifeline is common with another lifeline in an Interaction referred to by another InteractonUse within that same enclosing Interaction, it must be common to a lifeline within that enclosing Interaction. By common Lifelines we mean Lifelines with the same selector and represents associations. ">
<annotatedElement xmi:idref="Lifeline-interaction_uses_share_lifeline"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Lifeline-interaction_uses_share_lifeline-_specification">
<body>let intUses : Set(InteractionUse) = interaction.interactionUse in intUses->forAll ( iuse : InteractionUse | let usingInteraction : Set(Interaction) = iuse.enclosingInteraction->asSet() ->union( iuse.enclosingOperand.combinedFragment->asSet()->closure(enclosingOperand.combinedFragment).enclosingInteraction->asSet() ) in let peerUses : Set(InteractionUse) = usingInteraction.fragment->select(oclIsKindOf(InteractionUse)).oclAsType(InteractionUse)->asSet() ->union( usingInteraction.fragment->select(oclIsKindOf(CombinedFragment)).oclAsType(CombinedFragment)->asSet() ->closure(operand.fragment->select(oclIsKindOf(CombinedFragment)).oclAsType(CombinedFragment)).operand.fragment-> select(oclIsKindOf(InteractionUse)).oclAsType(InteractionUse)->asSet() )->excluding(iuse) in peerUses->forAll( peerUse : InteractionUse | peerUse.refersTo.lifeline->forAll( l : Lifeline | (l.represents = self.represents and ( self.selector.oclIsKindOf(LiteralString) implies l.selector.oclIsKindOf(LiteralString) and self.selector.oclAsType(LiteralString).value = l.selector.oclAsType(LiteralString).value ) and ( self.selector.oclIsKindOf(LiteralInteger) implies l.selector.oclIsKindOf(LiteralInteger) and self.selector.oclAsType(LiteralInteger).value = l.selector.oclAsType(LiteralInteger).value ) ) implies usingInteraction.lifeline->select(represents = self.represents and ( self.selector.oclIsKindOf(LiteralString) implies l.selector.oclIsKindOf(LiteralString) and self.selector.oclAsType(LiteralString).value = l.selector.oclAsType(LiteralString).value ) and ( self.selector.oclIsKindOf(LiteralInteger) implies l.selector.oclIsKindOf(LiteralInteger) and self.selector.oclAsType(LiteralInteger).value = l.selector.oclAsType(LiteralInteger).value ) ) ) ) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Lifeline-same_classifier" name="same_classifier">
<constrainedElement xmi:idref="Lifeline"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-same_classifier-_ownedComment.0" body="The classifier containing the referenced ConnectableElement must be the same classifier, or an ancestor, of the classifier that contains the interaction enclosing this lifeline.">
<annotatedElement xmi:idref="Lifeline-same_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Lifeline-same_classifier-_specification">
<body>represents.namespace->closure(namespace)->includes(interaction._'context')</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Lifeline-selector_int_or_string" name="selector_int_or_string">
<constrainedElement xmi:idref="Lifeline"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-selector_int_or_string-_ownedComment.0" body="The selector value, if present, must be a LiteralString or a LiteralInteger ">
<annotatedElement xmi:idref="Lifeline-selector_int_or_string"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Lifeline-selector_int_or_string-_specification">
<body>self.selector->notEmpty() implies self.selector.oclIsKindOf(LiteralInteger) or self.selector.oclIsKindOf(LiteralString)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Lifeline-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Lifeline-coveredBy" name="coveredBy" type="InteractionFragment" association="A_covered_coveredBy">
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-coveredBy-_ownedComment.0" body="References the InteractionFragments in which this Lifeline takes part.">
<annotatedElement xmi:idref="Lifeline-coveredBy"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Lifeline-coveredBy-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Lifeline-coveredBy-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Lifeline-decomposedAs" name="decomposedAs" type="PartDecomposition" association="A_decomposedAs_lifeline">
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-decomposedAs-_ownedComment.0" body="References the Interaction that represents the decomposition.">
<annotatedElement xmi:idref="Lifeline-decomposedAs"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Lifeline-decomposedAs-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Lifeline-interaction" name="interaction" type="Interaction" association="A_lifeline_interaction">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-interaction-_ownedComment.0" body="References the Interaction enclosing this Lifeline.">
<annotatedElement xmi:idref="Lifeline-interaction"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Lifeline-represents" name="represents" type="ConnectableElement" association="A_represents_lifeline">
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-represents-_ownedComment.0" body="References the ConnectableElement within the classifier that contains the enclosing interaction.">
<annotatedElement xmi:idref="Lifeline-represents"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Lifeline-represents-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Lifeline-selector" name="selector" aggregation="composite" type="ValueSpecification" association="A_selector_lifeline">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Lifeline-selector-_ownedComment.0" body="If the referenced ConnectableElement is multivalued, then this specifies the specific individual part within that set.">
<annotatedElement xmi:idref="Lifeline-selector"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Lifeline-selector-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Message" name="Message">
<ownedComment xmi:type="uml:Comment" xmi:id="Message-_ownedComment.0" body="A Message defines a particular communication between Lifelines of an Interaction.">
<annotatedElement xmi:idref="Message"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-sending_receiving_message_event" name="sending_receiving_message_event">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-sending_receiving_message_event-_ownedComment.0" body="If the sendEvent and the receiveEvent of the same Message are on the same Lifeline, the sendEvent must be ordered before the receiveEvent.">
<annotatedElement xmi:idref="Message-sending_receiving_message_event"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-sending_receiving_message_event-_specification">
<body>receiveEvent.oclIsKindOf(MessageOccurrenceSpecification) implies let f : Lifeline = sendEvent->select(oclIsKindOf(MessageOccurrenceSpecification)).oclAsType(MessageOccurrenceSpecification)->asOrderedSet()->first().covered in f = receiveEvent->select(oclIsKindOf(MessageOccurrenceSpecification)).oclAsType(MessageOccurrenceSpecification)->asOrderedSet()->first().covered implies f.events->indexOf(sendEvent.oclAsType(MessageOccurrenceSpecification)->asOrderedSet()->first() ) < f.events->indexOf(receiveEvent.oclAsType(MessageOccurrenceSpecification)->asOrderedSet()->first() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-arguments" name="arguments">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-arguments-_ownedComment.0" body="Arguments of a Message must only be: i) attributes of the sending lifeline, ii) constants, iii) symbolic values (which are wildcard values representing any legal value), iv) explicit parameters of the enclosing Interaction, v) attributes of the class owning the Interaction.">
<annotatedElement xmi:idref="Message-arguments"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-arguments-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-cannot_cross_boundaries" name="cannot_cross_boundaries">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-cannot_cross_boundaries-_ownedComment.0" body="Messages cannot cross boundaries of CombinedFragments or their operands. This is true if and only if both MessageEnds are enclosed within the same InteractionFragment (i.e., an InteractionOperand or an Interaction).">
<annotatedElement xmi:idref="Message-cannot_cross_boundaries"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-cannot_cross_boundaries-_specification">
<body>sendEvent->notEmpty() and receiveEvent->notEmpty() implies let sendEnclosingFrag : Set(InteractionFragment) = sendEvent->asOrderedSet()->first().enclosingFragment() in let receiveEnclosingFrag : Set(InteractionFragment) = receiveEvent->asOrderedSet()->first().enclosingFragment() in sendEnclosingFrag = receiveEnclosingFrag</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-signature_is_signal" name="signature_is_signal">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-signature_is_signal-_ownedComment.0" body="In the case when the Message signature is a Signal, the arguments of the Message must correspond to the attributes of the Signal. A Message Argument corresponds to a Signal Attribute if the Argument is of the same Class or a specialization of that of the Attribute.">
<annotatedElement xmi:idref="Message-signature_is_signal"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-signature_is_signal-_specification">
<body>(messageSort = MessageSort::asynchSignal ) and signature.oclIsKindOf(Signal) implies let signalAttributes : OrderedSet(Property) = signature.oclAsType(Signal).inheritedMember()-> select(n:NamedElement | n.oclIsTypeOf(Property))->collect(oclAsType(Property))->asOrderedSet() in signalAttributes->size() = self.argument->size() and self.argument->forAll( o: ValueSpecification | not (o.oclIsKindOf(Expression) and o.oclAsType(Expression).symbol->size()=0 and o.oclAsType(Expression).operand->isEmpty() ) implies let p : Property = signalAttributes->at(self.argument->indexOf(o)) in o.type.oclAsType(Classifier).conformsTo(p.type.oclAsType(Classifier))) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-occurrence_specifications" name="occurrence_specifications">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-occurrence_specifications-_ownedComment.0" body="If the MessageEnds are both OccurrenceSpecifications, then the connector must go between the Parts represented by the Lifelines of the two MessageEnds.">
<annotatedElement xmi:idref="Message-occurrence_specifications"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-occurrence_specifications-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-signature_refer_to" name="signature_refer_to">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-signature_refer_to-_ownedComment.0" body="The signature must either refer an Operation (in which case messageSort is either synchCall or asynchCall or reply) or a Signal (in which case messageSort is asynchSignal). The name of the NamedElement referenced by signature must be the same as that of the Message.">
<annotatedElement xmi:idref="Message-signature_refer_to"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-signature_refer_to-_specification">
<body>signature->notEmpty() implies ((signature.oclIsKindOf(Operation) and (messageSort = MessageSort::asynchCall or messageSort = MessageSort::synchCall or messageSort = MessageSort::reply) ) or (signature.oclIsKindOf(Signal) and messageSort = MessageSort::asynchSignal ) ) and name = signature.name</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-signature_is_operation_request" name="signature_is_operation_request">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-signature_is_operation_request-_ownedComment.0" body="In the case when a Message with messageSort synchCall or asynchCall has a non empty Operation signature, the arguments of the Message must correspond to the in and inout parameters of the Operation. A Parameter corresponds to an Argument if the Argument is of the same Class or a specialization of that of the Parameter.">
<annotatedElement xmi:idref="Message-signature_is_operation_request"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-signature_is_operation_request-_specification">
<body>(messageSort = MessageSort::asynchCall or messageSort = MessageSort::synchCall) and signature.oclIsKindOf(Operation) implies let requestParms : OrderedSet(Parameter) = signature.oclAsType(Operation).ownedParameter-> select(direction = ParameterDirectionKind::inout or direction = ParameterDirectionKind::_'in' ) in requestParms->size() = self.argument->size() and self.argument->forAll( o: ValueSpecification | not (o.oclIsKindOf(Expression) and o.oclAsType(Expression).symbol->size()=0 and o.oclAsType(Expression).operand->isEmpty() ) implies let p : Parameter = requestParms->at(self.argument->indexOf(o)) in o.type.oclAsType(Classifier).conformsTo(p.type.oclAsType(Classifier)) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-signature_is_operation_reply" name="signature_is_operation_reply">
<constrainedElement xmi:idref="Message"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-signature_is_operation_reply-_ownedComment.0" body="In the case when a Message with messageSort reply has a non empty Operation signature, the arguments of the Message must correspond to the out, inout, and return parameters of the Operation. A Parameter corresponds to an Argument if the Argument is of the same Class or a specialization of that of the Parameter.">
<annotatedElement xmi:idref="Message-signature_is_operation_reply"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-signature_is_operation_reply-_specification">
<body>(messageSort = MessageSort::reply) and signature.oclIsKindOf(Operation) implies let replyParms : OrderedSet(Parameter) = signature.oclAsType(Operation).ownedParameter-> select(direction = ParameterDirectionKind::inout or direction = ParameterDirectionKind::out or direction = ParameterDirectionKind::return) in replyParms->size() = self.argument->size() and self.argument->forAll( o: ValueSpecification | o.oclIsKindOf(Expression) and let e : Expression = o.oclAsType(Expression) in e.operand->notEmpty() implies let p : Parameter = replyParms->at(self.argument->indexOf(o)) in e.operand->asSequence()->first().type.oclAsType(Classifier).conformsTo(p.type.oclAsType(Classifier)) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Message-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-argument" name="argument" isOrdered="true" aggregation="composite" type="ValueSpecification" association="A_argument_message">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-argument-_ownedComment.0" body="The arguments of the Message.">
<annotatedElement xmi:idref="Message-argument"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Message-argument-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Message-argument-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-connector" name="connector" type="Connector" association="A_connector_message">
<ownedComment xmi:type="uml:Comment" xmi:id="Message-connector-_ownedComment.0" body="The Connector on which this Message is sent.">
<annotatedElement xmi:idref="Message-connector"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Message-connector-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-interaction" name="interaction" type="Interaction" association="A_message_interaction">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-interaction-_ownedComment.0" body="The enclosing Interaction owning the Message.">
<annotatedElement xmi:idref="Message-interaction"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-messageKind" name="messageKind" isReadOnly="true" isDerived="true" type="MessageKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Message-messageKind-_ownedComment.0" body="The derived kind of the Message (complete, lost, found, or unknown).">
<annotatedElement xmi:idref="Message-messageKind"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-messageSort" name="messageSort" type="MessageSort">
<ownedComment xmi:type="uml:Comment" xmi:id="Message-messageSort-_ownedComment.0" body="The sort of communication reflected by the Message.">
<annotatedElement xmi:idref="Message-messageSort"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="Message-messageSort-_defaultValue" type="MessageSort" instance="MessageSort-synchCall"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-receiveEvent" name="receiveEvent" type="MessageEnd" association="A_receiveEvent_endMessage">
<subsettedProperty xmi:idref="A_message_messageEnd-messageEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-receiveEvent-_ownedComment.0" body="References the Receiving of the Message.">
<annotatedElement xmi:idref="Message-receiveEvent"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Message-receiveEvent-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-sendEvent" name="sendEvent" type="MessageEnd" association="A_sendEvent_endMessage">
<subsettedProperty xmi:idref="A_message_messageEnd-messageEnd"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-sendEvent-_ownedComment.0" body="References the Sending of the Message.">
<annotatedElement xmi:idref="Message-sendEvent"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Message-sendEvent-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Message-signature" name="signature" type="NamedElement" association="A_signature_message">
<ownedComment xmi:type="uml:Comment" xmi:id="Message-signature-_ownedComment.0" body="The signature of the Message is the specification of its content. It refers either an Operation or a Signal.">
<annotatedElement xmi:idref="Message-signature"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Message-signature-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Message-messageKind.1" name="messageKind" isQuery="true" bodyCondition="Message-messageKind.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Message-messageKind.1-_ownedComment.0" body="This query returns the MessageKind value for this Message.">
<annotatedElement xmi:idref="Message-messageKind.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-messageKind.1-spec" name="spec">
<constrainedElement xmi:idref="Message-messageKind.1"/>
<constrainedElement xmi:idref="Message-messageKind"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-messageKind.1-spec-_specification">
<body>result = (messageKind)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Message-messageKind.1-result" name="result" direction="return" type="MessageKind"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Message-isDistinguishableFrom" name="isDistinguishableFrom" isQuery="true" bodyCondition="Message-isDistinguishableFrom-spec">
<redefinedOperation xmi:idref="NamedElement-isDistinguishableFrom"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Message-isDistinguishableFrom-_ownedComment.0" body="The query isDistinguishableFrom() specifies that any two Messages may coexist in the same Namespace, regardless of their names.">
<annotatedElement xmi:idref="Message-isDistinguishableFrom"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Message-isDistinguishableFrom-spec" name="spec">
<constrainedElement xmi:idref="Message-isDistinguishableFrom"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Message-isDistinguishableFrom-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Message-isDistinguishableFrom-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Message-isDistinguishableFrom-n" name="n" type="NamedElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Message-isDistinguishableFrom-ns" name="ns" type="Namespace"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="MessageEnd" name="MessageEnd" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-_ownedComment.0" body="MessageEnd is an abstract specialization of NamedElement that represents what can occur at the end of a Message.">
<annotatedElement xmi:idref="MessageEnd"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="MessageEnd-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="MessageEnd-message" name="message" type="Message" association="A_message_messageEnd">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-message-_ownedComment.0" body="References a Message.">
<annotatedElement xmi:idref="MessageEnd-message"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MessageEnd-message-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="MessageEnd-oppositeEnd" name="oppositeEnd" isQuery="true" bodyCondition="MessageEnd-oppositeEnd-spec">
<precondition xmi:idref="MessageEnd-oppositeEnd-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-oppositeEnd-_ownedComment.0" body="This query returns a set including the MessageEnd (if exists) at the opposite end of the Message for this MessageEnd.">
<annotatedElement xmi:idref="MessageEnd-oppositeEnd"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-oppositeEnd-spec" name="spec">
<constrainedElement xmi:idref="MessageEnd-oppositeEnd"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-oppositeEnd-spec-_specification">
<body>result = (message->asSet().messageEnd->asSet()->excluding(self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-oppositeEnd-pre" name="pre">
<constrainedElement xmi:idref="MessageEnd-oppositeEnd"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-oppositeEnd-pre-_specification">
<body>message->notEmpty() </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MessageEnd-oppositeEnd-result" name="result" direction="return" type="MessageEnd">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MessageEnd-oppositeEnd-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="MessageEnd-oppositeEnd-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MessageEnd-isSend" name="isSend" isQuery="true" bodyCondition="MessageEnd-isSend-spec">
<precondition xmi:idref="MessageEnd-isSend-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-isSend-_ownedComment.0" body="This query returns value true if this MessageEnd is a sendEvent.">
<annotatedElement xmi:idref="MessageEnd-isSend"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-isSend-pre" name="pre">
<constrainedElement xmi:idref="MessageEnd-isSend"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-isSend-pre-_specification">
<body>message->notEmpty() </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-isSend-spec" name="spec">
<constrainedElement xmi:idref="MessageEnd-isSend"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-isSend-spec-_specification">
<body>result = (message.sendEvent->asSet()->includes(self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MessageEnd-isSend-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MessageEnd-isReceive" name="isReceive" isQuery="true" bodyCondition="MessageEnd-isReceive-spec">
<precondition xmi:idref="MessageEnd-isReceive-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-isReceive-_ownedComment.0" body="This query returns value true if this MessageEnd is a receiveEvent.">
<annotatedElement xmi:idref="MessageEnd-isReceive"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-isReceive-pre" name="pre">
<constrainedElement xmi:idref="MessageEnd-isReceive"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-isReceive-pre-_ownedComment.0" body="<p>message-&gt;notEmpty()</p>">
<annotatedElement xmi:idref="MessageEnd-isReceive-pre"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-isReceive-pre-_specification">
<body>message->notEmpty() </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-isReceive-spec" name="spec">
<constrainedElement xmi:idref="MessageEnd-isReceive"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-isReceive-spec-_specification">
<body>result = (message.receiveEvent->asSet()->includes(self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MessageEnd-isReceive-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MessageEnd-enclosingFragment" name="enclosingFragment" isQuery="true" bodyCondition="MessageEnd-enclosingFragment-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEnd-enclosingFragment-_ownedComment.0" body="This query returns a set including the enclosing InteractionFragment this MessageEnd is enclosed within.">
<annotatedElement xmi:idref="MessageEnd-enclosingFragment"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MessageEnd-enclosingFragment-spec" name="spec">
<constrainedElement xmi:idref="MessageEnd-enclosingFragment"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MessageEnd-enclosingFragment-spec-_specification">
<body>result = (if self->select(oclIsKindOf(Gate))->notEmpty() then -- it is a Gate let endGate : Gate = self->select(oclIsKindOf(Gate)).oclAsType(Gate)->asOrderedSet()->first() in if endGate.isOutsideCF() then endGate.combinedFragment.enclosingInteraction.oclAsType(InteractionFragment)->asSet()-> union(endGate.combinedFragment.enclosingOperand.oclAsType(InteractionFragment)->asSet()) else if endGate.isInsideCF() then endGate.combinedFragment.oclAsType(InteractionFragment)->asSet() else if endGate.isFormal() then endGate.interaction.oclAsType(InteractionFragment)->asSet() else if endGate.isActual() then endGate.interactionUse.enclosingInteraction.oclAsType(InteractionFragment)->asSet()-> union(endGate.interactionUse.enclosingOperand.oclAsType(InteractionFragment)->asSet()) else null endif endif endif endif else -- it is a MessageOccurrenceSpecification let endMOS : MessageOccurrenceSpecification = self->select(oclIsKindOf(MessageOccurrenceSpecification)).oclAsType(MessageOccurrenceSpecification)->asOrderedSet()->first() in if endMOS.enclosingInteraction->notEmpty() then endMOS.enclosingInteraction.oclAsType(InteractionFragment)->asSet() else endMOS.enclosingOperand.oclAsType(InteractionFragment)->asSet() endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MessageEnd-enclosingFragment-result" name="result" direction="return" type="InteractionFragment">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MessageEnd-enclosingFragment-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="MessageEnd-enclosingFragment-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="MessageOccurrenceSpecification" name="MessageOccurrenceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageOccurrenceSpecification-_ownedComment.0" body="A MessageOccurrenceSpecification specifies the occurrence of Message events, such as sending and receiving of Signals or invoking or receiving of Operation calls. A MessageOccurrenceSpecification is a kind of MessageEnd. Messages are generated either by synchronous Operation calls or asynchronous Signal sends. They are received by the execution of corresponding AcceptEventActions.">
<annotatedElement xmi:idref="MessageOccurrenceSpecification"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="MessageOccurrenceSpecification-_generalization.0" general="MessageEnd"/>
<generalization xmi:type="uml:Generalization" xmi:id="MessageOccurrenceSpecification-_generalization.1" general="OccurrenceSpecification"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="OccurrenceSpecification" name="OccurrenceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="OccurrenceSpecification-_ownedComment.0" body="An OccurrenceSpecification is the basic semantic unit of Interactions. The sequences of occurrences specified by them are the meanings of Interactions.">
<annotatedElement xmi:idref="OccurrenceSpecification"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="OccurrenceSpecification-_generalization.0" general="InteractionFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="OccurrenceSpecification-covered" name="covered" type="Lifeline" association="A_covered_events">
<redefinedProperty xmi:idref="InteractionFragment-covered"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OccurrenceSpecification-covered-_ownedComment.0" body="References the Lifeline on which the OccurrenceSpecification appears.">
<annotatedElement xmi:idref="OccurrenceSpecification-covered"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OccurrenceSpecification-toAfter" name="toAfter" type="GeneralOrdering" association="A_before_toAfter">
<ownedComment xmi:type="uml:Comment" xmi:id="OccurrenceSpecification-toAfter-_ownedComment.0" body="References the GeneralOrderings that specify EventOcurrences that must occur after this OccurrenceSpecification.">
<annotatedElement xmi:idref="OccurrenceSpecification-toAfter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OccurrenceSpecification-toAfter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OccurrenceSpecification-toAfter-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OccurrenceSpecification-toBefore" name="toBefore" type="GeneralOrdering" association="A_toBefore_after">
<ownedComment xmi:type="uml:Comment" xmi:id="OccurrenceSpecification-toBefore-_ownedComment.0" body="References the GeneralOrderings that specify EventOcurrences that must occur before this OccurrenceSpecification.">
<annotatedElement xmi:idref="OccurrenceSpecification-toBefore"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OccurrenceSpecification-toBefore-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OccurrenceSpecification-toBefore-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="PartDecomposition" name="PartDecomposition">
<ownedComment xmi:type="uml:Comment" xmi:id="PartDecomposition-_ownedComment.0" body="A PartDecomposition is a description of the internal Interactions of one Lifeline relative to an Interaction.">
<annotatedElement xmi:idref="PartDecomposition"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="PartDecomposition-commutativity_of_decomposition" name="commutativity_of_decomposition">
<constrainedElement xmi:idref="PartDecomposition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PartDecomposition-commutativity_of_decomposition-_ownedComment.0" body="Assume that within Interaction X, Lifeline L is of class C and decomposed to D. Assume also that there is within X an InteractionUse (say) U that covers L. According to the constraint above U will have a counterpart CU within D. Within the Interaction referenced by U, L should also be decomposed, and the decomposition should reference CU. (This rule is called commutativity of decomposition.)">
<annotatedElement xmi:idref="PartDecomposition-commutativity_of_decomposition"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="PartDecomposition-commutativity_of_decomposition-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="PartDecomposition-assume" name="assume">
<constrainedElement xmi:idref="PartDecomposition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PartDecomposition-assume-_ownedComment.0" body="Assume that within Interaction X, Lifeline L is of class C and decomposed to D. Within X there is a sequence of constructs along L (such constructs are CombinedFragments, InteractionUse and (plain) OccurrenceSpecifications). Then a corresponding sequence of constructs must appear within D, matched one-to-one in the same order. i) CombinedFragment covering L are matched with an extra-global CombinedFragment in D. ii) An InteractionUse covering L is matched with a global (i.e., covering all Lifelines) InteractionUse in D. iii) A plain OccurrenceSpecification on L is considered an actualGate that must be matched by a formalGate of D.">
<annotatedElement xmi:idref="PartDecomposition-assume"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="PartDecomposition-assume-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="PartDecomposition-parts_of_internal_structures" name="parts_of_internal_structures">
<constrainedElement xmi:idref="PartDecomposition"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PartDecomposition-parts_of_internal_structures-_ownedComment.0" body="PartDecompositions apply only to Parts that are Parts of Internal Structures not to Parts of Collaborations.">
<annotatedElement xmi:idref="PartDecomposition-parts_of_internal_structures"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="PartDecomposition-parts_of_internal_structures-_specification"/>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="PartDecomposition-_generalization.0" general="InteractionUse"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StateInvariant" name="StateInvariant">
<ownedComment xmi:type="uml:Comment" xmi:id="StateInvariant-_ownedComment.0" body="A StateInvariant is a runtime constraint on the participants of the Interaction. It may be used to specify a variety of different kinds of Constraints, such as values of Attributes or Variables, internal or external States, and so on. A StateInvariant is an InteractionFragment and it is placed on a Lifeline.">
<annotatedElement xmi:idref="StateInvariant"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="StateInvariant-_generalization.0" general="InteractionFragment"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StateInvariant-covered" name="covered" type="Lifeline" association="A_covered_stateInvariant">
<redefinedProperty xmi:idref="InteractionFragment-covered"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateInvariant-covered-_ownedComment.0" body="References the Lifeline on which the StateInvariant appears.">
<annotatedElement xmi:idref="StateInvariant-covered"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StateInvariant-invariant" name="invariant" aggregation="composite" type="Constraint" association="A_invariant_stateInvariant">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StateInvariant-invariant-_ownedComment.0" body="A Constraint that should hold at runtime for this StateInvariant.">
<annotatedElement xmi:idref="StateInvariant-invariant"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="InteractionOperatorKind" name="InteractionOperatorKind">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-_ownedComment.0" body="InteractionOperatorKind is an enumeration designating the different kinds of operators of CombinedFragments. The InteractionOperand defines the type of operator of a CombinedFragment.">
<annotatedElement xmi:idref="InteractionOperatorKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-seq" name="seq">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-seq-_ownedComment.0" body="The InteractionOperatorKind seq designates that the CombinedFragment represents a weak sequencing between the behaviors of the operands.">
<annotatedElement xmi:idref="InteractionOperatorKind-seq"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-alt" name="alt">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-alt-_ownedComment.0" body="The InteractionOperatorKind alt designates that the CombinedFragment represents a choice of behavior. At most one of the operands will be chosen. The chosen operand must have an explicit or implicit guard expression that evaluates to true at this point in the interaction. An implicit true guard is implied if the operand has no guard.">
<annotatedElement xmi:idref="InteractionOperatorKind-alt"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-opt" name="opt">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-opt-_ownedComment.0" body="The InteractionOperatorKind opt designates that the CombinedFragment represents a choice of behavior where either the (sole) operand happens or nothing happens. An option is semantically equivalent to an alternative CombinedFragment where there is one operand with non-empty content and the second operand is empty.">
<annotatedElement xmi:idref="InteractionOperatorKind-opt"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-break" name="break">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-break-_ownedComment.0" body="The InteractionOperatorKind break designates that the CombinedFragment represents a breaking scenario in the sense that the operand is a scenario that is performed instead of the remainder of the enclosing InteractionFragment. A break operator with a guard is chosen when the guard is true and the rest of the enclosing Interaction Fragment is ignored. When the guard of the break operand is false, the break operand is ignored and the rest of the enclosing InteractionFragment is chosen. The choice between a break operand without a guard and the rest of the enclosing InteractionFragment is done non-deterministically.">
<annotatedElement xmi:idref="InteractionOperatorKind-break"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-par" name="par">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-par-_ownedComment.0" body="The InteractionOperatorKind par designates that the CombinedFragment represents a parallel merge between the behaviors of the operands. The OccurrenceSpecifications of the different operands can be interleaved in any way as long as the ordering imposed by each operand as such is preserved.">
<annotatedElement xmi:idref="InteractionOperatorKind-par"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-strict" name="strict">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-strict-_ownedComment.0" body="The InteractionOperatorKind strict designates that the CombinedFragment represents a strict sequencing between the behaviors of the operands. The semantics of strict sequencing defines a strict ordering of the operands on the first level within the CombinedFragment with interactionOperator strict. Therefore OccurrenceSpecifications within contained CombinedFragment will not directly be compared with other OccurrenceSpecifications of the enclosing CombinedFragment.">
<annotatedElement xmi:idref="InteractionOperatorKind-strict"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-loop" name="loop">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-loop-_ownedComment.0" body="The InteractionOperatorKind loop designates that the CombinedFragment represents a loop. The loop operand will be repeated a number of times.">
<annotatedElement xmi:idref="InteractionOperatorKind-loop"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-critical" name="critical">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-critical-_ownedComment.0" body="The InteractionOperatorKind critical designates that the CombinedFragment represents a critical region. A critical region means that the traces of the region cannot be interleaved by other OccurrenceSpecifications (on those Lifelines covered by the region). This means that the region is treated atomically by the enclosing fragment when determining the set of valid traces. Even though enclosing CombinedFragments may imply that some OccurrenceSpecifications may interleave into the region, such as with par-operator, this is prevented by defining a region.">
<annotatedElement xmi:idref="InteractionOperatorKind-critical"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-neg" name="neg">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-neg-_ownedComment.0" body="The InteractionOperatorKind neg designates that the CombinedFragment represents traces that are defined to be invalid.">
<annotatedElement xmi:idref="InteractionOperatorKind-neg"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-assert" name="assert">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-assert-_ownedComment.0" body="The InteractionOperatorKind assert designates that the CombinedFragment represents an assertion. The sequences of the operand of the assertion are the only valid continuations. All other continuations result in an invalid trace.">
<annotatedElement xmi:idref="InteractionOperatorKind-assert"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-ignore" name="ignore">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-ignore-_ownedComment.0" body="The InteractionOperatorKind ignore designates that there are some message types that are not shown within this combined fragment. These message types can be considered insignificant and are implicitly ignored if they appear in a corresponding execution. Alternatively, one can understand ignore to mean that the message types that are ignored can appear anywhere in the traces.">
<annotatedElement xmi:idref="InteractionOperatorKind-ignore"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="InteractionOperatorKind-consider" name="consider">
<ownedComment xmi:type="uml:Comment" xmi:id="InteractionOperatorKind-consider-_ownedComment.0" body="The InteractionOperatorKind consider designates which messages should be considered within this combined fragment. This is equivalent to defining every other message to be ignored.">
<annotatedElement xmi:idref="InteractionOperatorKind-consider"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="MessageKind" name="MessageKind">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageKind-_ownedComment.0" body="This is an enumerated type that identifies the type of Message.">
<annotatedElement xmi:idref="MessageKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageKind-complete" name="complete">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageKind-complete-_ownedComment.0" body="sendEvent and receiveEvent are present">
<annotatedElement xmi:idref="MessageKind-complete"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageKind-lost" name="lost">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageKind-lost-_ownedComment.0" body="sendEvent present and receiveEvent absent">
<annotatedElement xmi:idref="MessageKind-lost"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageKind-found" name="found">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageKind-found-_ownedComment.0" body="sendEvent absent and receiveEvent present">
<annotatedElement xmi:idref="MessageKind-found"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageKind-unknown" name="unknown">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageKind-unknown-_ownedComment.0" body="sendEvent and receiveEvent absent (should not appear)">
<annotatedElement xmi:idref="MessageKind-unknown"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="MessageSort" name="MessageSort">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-_ownedComment.0" body="This is an enumerated type that identifies the type of communication action that was used to generate the Message.">
<annotatedElement xmi:idref="MessageSort"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageSort-synchCall" name="synchCall">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-synchCall-_ownedComment.0" body="The message was generated by a synchronous call to an operation.">
<annotatedElement xmi:idref="MessageSort-synchCall"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageSort-asynchCall" name="asynchCall">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-asynchCall-_ownedComment.0" body="The message was generated by an asynchronous call to an operation; i.e., a CallAction with isSynchronous = false.">
<annotatedElement xmi:idref="MessageSort-asynchCall"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageSort-asynchSignal" name="asynchSignal">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-asynchSignal-_ownedComment.0" body="The message was generated by an asynchronous send action.">
<annotatedElement xmi:idref="MessageSort-asynchSignal"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageSort-createMessage" name="createMessage">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-createMessage-_ownedComment.0" body="The message designating the creation of another lifeline object.">
<annotatedElement xmi:idref="MessageSort-createMessage"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageSort-deleteMessage" name="deleteMessage">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-deleteMessage-_ownedComment.0" body="The message designating the termination of another lifeline.">
<annotatedElement xmi:idref="MessageSort-deleteMessage"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="MessageSort-reply" name="reply">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageSort-reply-_ownedComment.0" body="The message is a reply message to an operation call.">
<annotatedElement xmi:idref="MessageSort-reply"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_invariant_stateInvariant" name="A_invariant_stateInvariant">
<memberEnd xmi:idref="StateInvariant-invariant"/>
<memberEnd xmi:idref="A_invariant_stateInvariant-stateInvariant"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_invariant_stateInvariant-stateInvariant" name="stateInvariant" type="StateInvariant" association="A_invariant_stateInvariant">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_invariant_stateInvariant-stateInvariant-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_covered_stateInvariant" name="A_covered_stateInvariant">
<memberEnd xmi:idref="StateInvariant-covered"/>
<memberEnd xmi:idref="A_covered_stateInvariant-stateInvariant"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_covered_stateInvariant-stateInvariant" name="stateInvariant" type="StateInvariant" association="A_covered_stateInvariant">
<subsettedProperty xmi:idref="Lifeline-coveredBy"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_covered_stateInvariant-stateInvariant-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_covered_stateInvariant-stateInvariant-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_covered_events" name="A_covered_events">
<memberEnd xmi:idref="OccurrenceSpecification-covered"/>
<memberEnd xmi:idref="A_covered_events-events"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_covered_events-events" name="events" isOrdered="true" type="OccurrenceSpecification" association="A_covered_events">
<subsettedProperty xmi:idref="Lifeline-coveredBy"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_covered_events-events-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_covered_events-events-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_toBefore_after" name="A_toBefore_after">
<memberEnd xmi:idref="OccurrenceSpecification-toBefore"/>
<memberEnd xmi:idref="GeneralOrdering-after"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_message_messageEnd" name="A_message_messageEnd">
<memberEnd xmi:idref="MessageEnd-message"/>
<memberEnd xmi:idref="A_message_messageEnd-messageEnd"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_message_messageEnd-messageEnd" name="messageEnd" type="MessageEnd" association="A_message_messageEnd">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_message_messageEnd-messageEnd-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_message_messageEnd-messageEnd-_upperValue" value="2"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_signature_message" name="A_signature_message">
<memberEnd xmi:idref="Message-signature"/>
<memberEnd xmi:idref="A_signature_message-message"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_signature_message-message" name="message" type="Message" association="A_signature_message">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_signature_message-message-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_signature_message-message-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_connector_message" name="A_connector_message">
<memberEnd xmi:idref="Message-connector"/>
<memberEnd xmi:idref="A_connector_message-message"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_connector_message-message" name="message" type="Message" association="A_connector_message">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_connector_message-message-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_connector_message-message-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_receiveEvent_endMessage" name="A_receiveEvent_endMessage">
<memberEnd xmi:idref="Message-receiveEvent"/>
<memberEnd xmi:idref="A_receiveEvent_endMessage-endMessage"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_receiveEvent_endMessage-endMessage" name="endMessage" type="Message" association="A_receiveEvent_endMessage">
<subsettedProperty xmi:idref="MessageEnd-message"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_receiveEvent_endMessage-endMessage-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_sendEvent_endMessage" name="A_sendEvent_endMessage">
<memberEnd xmi:idref="Message-sendEvent"/>
<memberEnd xmi:idref="A_sendEvent_endMessage-endMessage"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_sendEvent_endMessage-endMessage" name="endMessage" type="Message" association="A_sendEvent_endMessage">
<subsettedProperty xmi:idref="MessageEnd-message"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_sendEvent_endMessage-endMessage-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_argument_message" name="A_argument_message">
<memberEnd xmi:idref="Message-argument"/>
<memberEnd xmi:idref="A_argument_message-message"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_argument_message-message" name="message" type="Message" association="A_argument_message">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_argument_message-message-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_selector_lifeline" name="A_selector_lifeline">
<memberEnd xmi:idref="Lifeline-selector"/>
<memberEnd xmi:idref="A_selector_lifeline-lifeline"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_selector_lifeline-lifeline" name="lifeline" type="Lifeline" association="A_selector_lifeline">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_selector_lifeline-lifeline-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_decomposedAs_lifeline" name="A_decomposedAs_lifeline">
<memberEnd xmi:idref="Lifeline-decomposedAs"/>
<memberEnd xmi:idref="A_decomposedAs_lifeline-lifeline"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_decomposedAs_lifeline-lifeline" name="lifeline" type="Lifeline" association="A_decomposedAs_lifeline"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_represents_lifeline" name="A_represents_lifeline">
<memberEnd xmi:idref="Lifeline-represents"/>
<memberEnd xmi:idref="A_represents_lifeline-lifeline"/>
<ownedComment xmi:type="uml:Comment" xmi:id="A_represents_lifeline-_ownedComment.0" body="If a Part has multiplicity, multiple lifelines might be used to show it.">
<annotatedElement xmi:idref="A_represents_lifeline"/>
</ownedComment>
<ownedEnd xmi:type="uml:Property" xmi:id="A_represents_lifeline-lifeline" name="lifeline" type="Lifeline" association="A_represents_lifeline">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_represents_lifeline-lifeline-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_represents_lifeline-lifeline-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_returnValueRecipient_interactionUse" name="A_returnValueRecipient_interactionUse">
<memberEnd xmi:idref="InteractionUse-returnValueRecipient"/>
<memberEnd xmi:idref="A_returnValueRecipient_interactionUse-interactionUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_returnValueRecipient_interactionUse-interactionUse" name="interactionUse" type="InteractionUse" association="A_returnValueRecipient_interactionUse">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_returnValueRecipient_interactionUse-interactionUse-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_returnValueRecipient_interactionUse-interactionUse-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_refersTo_interactionUse" name="A_refersTo_interactionUse">
<memberEnd xmi:idref="InteractionUse-refersTo"/>
<memberEnd xmi:idref="A_refersTo_interactionUse-interactionUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_refersTo_interactionUse-interactionUse" name="interactionUse" type="InteractionUse" association="A_refersTo_interactionUse">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_refersTo_interactionUse-interactionUse-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_refersTo_interactionUse-interactionUse-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_returnValue_interactionUse" name="A_returnValue_interactionUse">
<memberEnd xmi:idref="InteractionUse-returnValue"/>
<memberEnd xmi:idref="A_returnValue_interactionUse-interactionUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_returnValue_interactionUse-interactionUse" name="interactionUse" type="InteractionUse" association="A_returnValue_interactionUse">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_returnValue_interactionUse-interactionUse-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_argument_interactionUse" name="A_argument_interactionUse">
<memberEnd xmi:idref="InteractionUse-argument"/>
<memberEnd xmi:idref="A_argument_interactionUse-interactionUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_argument_interactionUse-interactionUse" name="interactionUse" type="InteractionUse" association="A_argument_interactionUse">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_argument_interactionUse-interactionUse-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_actualGate_interactionUse" name="A_actualGate_interactionUse">
<memberEnd xmi:idref="InteractionUse-actualGate"/>
<memberEnd xmi:idref="A_actualGate_interactionUse-interactionUse"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_actualGate_interactionUse-interactionUse" name="interactionUse" type="InteractionUse" association="A_actualGate_interactionUse">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_actualGate_interactionUse-interactionUse-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_fragment_enclosingOperand" name="A_fragment_enclosingOperand">
<memberEnd xmi:idref="InteractionOperand-fragment"/>
<memberEnd xmi:idref="InteractionFragment-enclosingOperand"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_guard_interactionOperand" name="A_guard_interactionOperand">
<memberEnd xmi:idref="InteractionOperand-guard"/>
<memberEnd xmi:idref="A_guard_interactionOperand-interactionOperand"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_guard_interactionOperand-interactionOperand" name="interactionOperand" type="InteractionOperand" association="A_guard_interactionOperand">
<subsettedProperty xmi:idref="Element-owner"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_generalOrdering_interactionFragment" name="A_generalOrdering_interactionFragment">
<memberEnd xmi:idref="InteractionFragment-generalOrdering"/>
<memberEnd xmi:idref="A_generalOrdering_interactionFragment-interactionFragment"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_generalOrdering_interactionFragment-interactionFragment" name="interactionFragment" type="InteractionFragment" association="A_generalOrdering_interactionFragment">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_generalOrdering_interactionFragment-interactionFragment-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_covered_coveredBy" name="A_covered_coveredBy">
<memberEnd xmi:idref="InteractionFragment-covered"/>
<memberEnd xmi:idref="Lifeline-coveredBy"/>
<ownedComment xmi:type="uml:Comment" xmi:id="A_covered_coveredBy-_ownedComment.0" body="This association shows the lifelines that make up an interaction. A lifeline may be part of more than one interaction use.">
<annotatedElement xmi:idref="A_covered_coveredBy"/>
</ownedComment>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_minint_interactionConstraint" name="A_minint_interactionConstraint">
<memberEnd xmi:idref="InteractionConstraint-minint"/>
<memberEnd xmi:idref="A_minint_interactionConstraint-interactionConstraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_minint_interactionConstraint-interactionConstraint" name="interactionConstraint" type="InteractionConstraint" association="A_minint_interactionConstraint">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_minint_interactionConstraint-interactionConstraint-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_maxint_interactionConstraint" name="A_maxint_interactionConstraint">
<memberEnd xmi:idref="InteractionConstraint-maxint"/>
<memberEnd xmi:idref="A_maxint_interactionConstraint-interactionConstraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_maxint_interactionConstraint-interactionConstraint" name="interactionConstraint" type="InteractionConstraint" association="A_maxint_interactionConstraint">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_maxint_interactionConstraint-interactionConstraint-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_action_interaction" name="A_action_interaction">
<memberEnd xmi:idref="Interaction-action"/>
<memberEnd xmi:idref="A_action_interaction-interaction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_action_interaction-interaction" name="interaction" type="Interaction" association="A_action_interaction">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_action_interaction-interaction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_formalGate_interaction" name="A_formalGate_interaction">
<memberEnd xmi:idref="Interaction-formalGate"/>
<memberEnd xmi:idref="A_formalGate_interaction-interaction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_formalGate_interaction-interaction" name="interaction" type="Interaction" association="A_formalGate_interaction">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_formalGate_interaction-interaction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_lifeline_interaction" name="A_lifeline_interaction">
<memberEnd xmi:idref="Interaction-lifeline"/>
<memberEnd xmi:idref="Lifeline-interaction"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_fragment_enclosingInteraction" name="A_fragment_enclosingInteraction">
<memberEnd xmi:idref="Interaction-fragment"/>
<memberEnd xmi:idref="InteractionFragment-enclosingInteraction"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_message_interaction" name="A_message_interaction">
<memberEnd xmi:idref="Interaction-message"/>
<memberEnd xmi:idref="Message-interaction"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_before_toAfter" name="A_before_toAfter">
<memberEnd xmi:idref="GeneralOrdering-before"/>
<memberEnd xmi:idref="OccurrenceSpecification-toAfter"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_finish_executionSpecification" name="A_finish_executionSpecification">
<memberEnd xmi:idref="ExecutionSpecification-finish"/>
<memberEnd xmi:idref="A_finish_executionSpecification-executionSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="A_finish_executionSpecification-_ownedComment.0" body="The event shows the time point at which the action completes execution.">
<annotatedElement xmi:idref="A_finish_executionSpecification"/>
</ownedComment>
<ownedEnd xmi:type="uml:Property" xmi:id="A_finish_executionSpecification-executionSpecification" name="executionSpecification" type="ExecutionSpecification" association="A_finish_executionSpecification">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_finish_executionSpecification-executionSpecification-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_finish_executionSpecification-executionSpecification-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_start_executionSpecification" name="A_start_executionSpecification">
<memberEnd xmi:idref="ExecutionSpecification-start"/>
<memberEnd xmi:idref="A_start_executionSpecification-executionSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="A_start_executionSpecification-_ownedComment.0" body="The event shows the time point at which the action begins execution.">
<annotatedElement xmi:idref="A_start_executionSpecification"/>
</ownedComment>
<ownedEnd xmi:type="uml:Property" xmi:id="A_start_executionSpecification-executionSpecification" name="executionSpecification" type="ExecutionSpecification" association="A_start_executionSpecification">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_start_executionSpecification-executionSpecification-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_start_executionSpecification-executionSpecification-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_execution_executionOccurrenceSpecification" name="A_execution_executionOccurrenceSpecification">
<memberEnd xmi:idref="ExecutionOccurrenceSpecification-execution"/>
<memberEnd xmi:idref="A_execution_executionOccurrenceSpecification-executionOccurrenceSpecification"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_execution_executionOccurrenceSpecification-executionOccurrenceSpecification" name="executionOccurrenceSpecification" type="ExecutionOccurrenceSpecification" association="A_execution_executionOccurrenceSpecification">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_execution_executionOccurrenceSpecification-executionOccurrenceSpecification-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_execution_executionOccurrenceSpecification-executionOccurrenceSpecification-_upperValue" value="2"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_message_considerIgnoreFragment" name="A_message_considerIgnoreFragment">
<memberEnd xmi:idref="ConsiderIgnoreFragment-message"/>
<memberEnd xmi:idref="A_message_considerIgnoreFragment-considerIgnoreFragment"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_message_considerIgnoreFragment-considerIgnoreFragment" name="considerIgnoreFragment" type="ConsiderIgnoreFragment" association="A_message_considerIgnoreFragment">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_message_considerIgnoreFragment-considerIgnoreFragment-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_message_considerIgnoreFragment-considerIgnoreFragment-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_cfragmentGate_combinedFragment" name="A_cfragmentGate_combinedFragment">
<memberEnd xmi:idref="CombinedFragment-cfragmentGate"/>
<memberEnd xmi:idref="A_cfragmentGate_combinedFragment-combinedFragment"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_cfragmentGate_combinedFragment-combinedFragment" name="combinedFragment" type="CombinedFragment" association="A_cfragmentGate_combinedFragment">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_cfragmentGate_combinedFragment-combinedFragment-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_operand_combinedFragment" name="A_operand_combinedFragment">
<memberEnd xmi:idref="CombinedFragment-operand"/>
<memberEnd xmi:idref="A_operand_combinedFragment-combinedFragment"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_operand_combinedFragment-combinedFragment" name="combinedFragment" type="CombinedFragment" association="A_operand_combinedFragment">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_operand_combinedFragment-combinedFragment-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_behavior_behaviorExecutionSpecification" name="A_behavior_behaviorExecutionSpecification">
<memberEnd xmi:idref="BehaviorExecutionSpecification-behavior"/>
<memberEnd xmi:idref="A_behavior_behaviorExecutionSpecification-behaviorExecutionSpecification"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_behavior_behaviorExecutionSpecification-behaviorExecutionSpecification" name="behaviorExecutionSpecification" type="BehaviorExecutionSpecification" association="A_behavior_behaviorExecutionSpecification">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_behavior_behaviorExecutionSpecification-behaviorExecutionSpecification-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_behavior_behaviorExecutionSpecification-behaviorExecutionSpecification-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_action_actionExecutionSpecification" name="A_action_actionExecutionSpecification">
<memberEnd xmi:idref="ActionExecutionSpecification-action"/>
<memberEnd xmi:idref="A_action_actionExecutionSpecification-actionExecutionSpecification"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_action_actionExecutionSpecification-actionExecutionSpecification" name="actionExecutionSpecification" type="ActionExecutionSpecification" association="A_action_actionExecutionSpecification">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_action_actionExecutionSpecification-actionExecutionSpecification-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_action_actionExecutionSpecification-actionExecutionSpecification-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="InformationFlows" name="InformationFlows">
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.0" importedPackage="UseCases"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.1" importedPackage="Deployments"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.2" importedPackage="StructuredClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.3" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.4" importedPackage="SimpleClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.5" importedPackage="Packages"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="InformationFlows-_packageImport.6" importedPackage="Activities"/>
<packagedElement xmi:type="uml:Class" xmi:id="InformationFlow" name="InformationFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-_ownedComment.0" body="InformationFlows describe circulation of information through a system in a general manner. They do not specify the nature of the information, mechanisms by which it is conveyed, sequences of exchange or any control conditions. During more detailed modeling, representation and realization links may be added to specify which model elements implement an InformationFlow and to show how information is conveyed. InformationFlows require some kind of “information channel” for unidirectional transmission of information items from sources to targets.  They specify the information channel’s realizations, if any, and identify the information that flows along them.  Information moving along the information channel may be represented by abstract InformationItems and by concrete Classifiers.">
<annotatedElement xmi:idref="InformationFlow"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InformationFlow-must_conform" name="must_conform">
<constrainedElement xmi:idref="InformationFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-must_conform-_ownedComment.0" body="The sources and targets of the information flow must conform to the sources and targets or conversely the targets and sources of the realization relationships.">
<annotatedElement xmi:idref="InformationFlow-must_conform"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InformationFlow-must_conform-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InformationFlow-sources_and_targets_kind" name="sources_and_targets_kind">
<constrainedElement xmi:idref="InformationFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-sources_and_targets_kind-_ownedComment.0" body="The sources and targets of the information flow can only be one of the following kind: Actor, Node, UseCase, Artifact, Class, Component, Port, Property, Interface, Package, ActivityNode, ActivityPartition, Behavior and InstanceSpecification except when its classifier is a relationship (i.e. it represents a link).">
<annotatedElement xmi:idref="InformationFlow-sources_and_targets_kind"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InformationFlow-sources_and_targets_kind-_specification">
<body>(self.informationSource->forAll( sis | oclIsKindOf(Actor) or oclIsKindOf(Node) or oclIsKindOf(UseCase) or oclIsKindOf(Artifact) or oclIsKindOf(Class) or oclIsKindOf(Component) or oclIsKindOf(Port) or oclIsKindOf(Property) or oclIsKindOf(Interface) or oclIsKindOf(Package) or oclIsKindOf(ActivityNode) or oclIsKindOf(ActivityPartition) or (oclIsKindOf(InstanceSpecification) and not sis.oclAsType(InstanceSpecification).classifier->exists(oclIsKindOf(Relationship))))) and (self.informationTarget->forAll( sit | oclIsKindOf(Actor) or oclIsKindOf(Node) or oclIsKindOf(UseCase) or oclIsKindOf(Artifact) or oclIsKindOf(Class) or oclIsKindOf(Component) or oclIsKindOf(Port) or oclIsKindOf(Property) or oclIsKindOf(Interface) or oclIsKindOf(Package) or oclIsKindOf(ActivityNode) or oclIsKindOf(ActivityPartition) or (oclIsKindOf(InstanceSpecification) and not sit.oclAsType(InstanceSpecification).classifier->exists(oclIsKindOf(Relationship)))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InformationFlow-convey_classifiers" name="convey_classifiers">
<constrainedElement xmi:idref="InformationFlow"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-convey_classifiers-_ownedComment.0" body="An information flow can only convey classifiers that are allowed to represent an information item.">
<annotatedElement xmi:idref="InformationFlow-convey_classifiers"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InformationFlow-convey_classifiers-_specification">
<body>self.conveyed->forAll(oclIsKindOf(Class) or oclIsKindOf(Interface) or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InformationFlow-_generalization.0" general="DirectedRelationship"/>
<generalization xmi:type="uml:Generalization" xmi:id="InformationFlow-_generalization.1" general="PackageableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-conveyed" name="conveyed" type="Classifier" association="A_conveyed_conveyingFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-conveyed-_ownedComment.0" body="Specifies the information items that may circulate on this information flow.">
<annotatedElement xmi:idref="InformationFlow-conveyed"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-conveyed-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-informationSource" name="informationSource" type="NamedElement" association="A_informationSource_informationFlow">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-informationSource-_ownedComment.0" body="Defines from which source the conveyed InformationItems are initiated.">
<annotatedElement xmi:idref="InformationFlow-informationSource"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-informationSource-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-informationTarget" name="informationTarget" type="NamedElement" association="A_informationTarget_informationFlow">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-informationTarget-_ownedComment.0" body="Defines to which target the conveyed InformationItems are directed.">
<annotatedElement xmi:idref="InformationFlow-informationTarget"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-informationTarget-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-realization" name="realization" type="Relationship" association="A_realization_abstraction_flow">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-realization-_ownedComment.0" body="Determines which Relationship will realize the specified flow.">
<annotatedElement xmi:idref="InformationFlow-realization"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InformationFlow-realization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-realization-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-realizingActivityEdge" name="realizingActivityEdge" type="ActivityEdge" association="A_realizingActivityEdge_informationFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-realizingActivityEdge-_ownedComment.0" body="Determines which ActivityEdges will realize the specified flow.">
<annotatedElement xmi:idref="InformationFlow-realizingActivityEdge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InformationFlow-realizingActivityEdge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-realizingActivityEdge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-realizingConnector" name="realizingConnector" type="Connector" association="A_realizingConnector_informationFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-realizingConnector-_ownedComment.0" body="Determines which Connectors will realize the specified flow.">
<annotatedElement xmi:idref="InformationFlow-realizingConnector"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InformationFlow-realizingConnector-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-realizingConnector-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationFlow-realizingMessage" name="realizingMessage" type="Message" association="A_realizingMessage_informationFlow">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationFlow-realizingMessage-_ownedComment.0" body="Determines which Messages will realize the specified flow.">
<annotatedElement xmi:idref="InformationFlow-realizingMessage"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InformationFlow-realizingMessage-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationFlow-realizingMessage-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InformationItem" name="InformationItem">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationItem-_ownedComment.0" body="InformationItems represent many kinds of information that can flow from sources to targets in very abstract ways.  They represent the kinds of information that may move within a system, but do not elaborate details of the transferred information.  Details of transferred information are the province of other Classifiers that may ultimately define InformationItems.  Consequently, InformationItems cannot be instantiated and do not themselves have features, generalizations, or associations. An important use of InformationItems is to represent information during early design stages, possibly before the detailed modeling decisions that will ultimately define them have been made. Another purpose of InformationItems is to abstract portions of complex models in less precise, but perhaps more general and communicable, ways. ">
<annotatedElement xmi:idref="InformationItem"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InformationItem-sources_and_targets" name="sources_and_targets">
<constrainedElement xmi:idref="InformationItem"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationItem-sources_and_targets-_ownedComment.0" body="The sources and targets of an information item (its related information flows) must designate subsets of the sources and targets of the representation information item, if any. The Classifiers that can realize an information item can only be of the following kind: Class, Interface, InformationItem, Signal, Component.">
<annotatedElement xmi:idref="InformationItem-sources_and_targets"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InformationItem-sources_and_targets-_specification">
<body>(self.represented->select(oclIsKindOf(InformationItem))->forAll(p | p.conveyingFlow.source->forAll(q | self.conveyingFlow.source->includes(q)) and p.conveyingFlow.target->forAll(q | self.conveyingFlow.target->includes(q)))) and (self.represented->forAll(oclIsKindOf(Class) or oclIsKindOf(Interface) or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InformationItem-has_no" name="has_no">
<constrainedElement xmi:idref="InformationItem"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationItem-has_no-_ownedComment.0" body="An informationItem has no feature, no generalization, and no associations.">
<annotatedElement xmi:idref="InformationItem-has_no"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InformationItem-has_no-_specification">
<body>self.generalization->isEmpty() and self.feature->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InformationItem-not_instantiable" name="not_instantiable">
<constrainedElement xmi:idref="InformationItem"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InformationItem-not_instantiable-_ownedComment.0" body="It is not instantiable.">
<annotatedElement xmi:idref="InformationItem-not_instantiable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InformationItem-not_instantiable-_specification">
<body>isAbstract</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InformationItem-_generalization.0" general="Classifier"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InformationItem-represented" name="represented" type="Classifier" association="A_represented_representation">
<ownedComment xmi:type="uml:Comment" xmi:id="InformationItem-represented-_ownedComment.0" body="Determines the classifiers that will specify the structure and nature of the information. An information item represents all its represented classifiers.">
<annotatedElement xmi:idref="InformationItem-represented"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InformationItem-represented-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InformationItem-represented-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_represented_representation" name="A_represented_representation">
<memberEnd xmi:idref="InformationItem-represented"/>
<memberEnd xmi:idref="A_represented_representation-representation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_represented_representation-representation" name="representation" type="InformationItem" association="A_represented_representation">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_represented_representation-representation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_represented_representation-representation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_conveyed_conveyingFlow" name="A_conveyed_conveyingFlow">
<memberEnd xmi:idref="InformationFlow-conveyed"/>
<memberEnd xmi:idref="A_conveyed_conveyingFlow-conveyingFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_conveyed_conveyingFlow-conveyingFlow" name="conveyingFlow" type="InformationFlow" association="A_conveyed_conveyingFlow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_conveyed_conveyingFlow-conveyingFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_conveyed_conveyingFlow-conveyingFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_realizingActivityEdge_informationFlow" name="A_realizingActivityEdge_informationFlow">
<memberEnd xmi:idref="InformationFlow-realizingActivityEdge"/>
<memberEnd xmi:idref="A_realizingActivityEdge_informationFlow-informationFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_realizingActivityEdge_informationFlow-informationFlow" name="informationFlow" type="InformationFlow" association="A_realizingActivityEdge_informationFlow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_realizingActivityEdge_informationFlow-informationFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_realizingActivityEdge_informationFlow-informationFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_realizingMessage_informationFlow" name="A_realizingMessage_informationFlow">
<memberEnd xmi:idref="InformationFlow-realizingMessage"/>
<memberEnd xmi:idref="A_realizingMessage_informationFlow-informationFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_realizingMessage_informationFlow-informationFlow" name="informationFlow" type="InformationFlow" association="A_realizingMessage_informationFlow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_realizingMessage_informationFlow-informationFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_realizingMessage_informationFlow-informationFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_informationSource_informationFlow" name="A_informationSource_informationFlow">
<memberEnd xmi:idref="InformationFlow-informationSource"/>
<memberEnd xmi:idref="A_informationSource_informationFlow-informationFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_informationSource_informationFlow-informationFlow" name="informationFlow" type="InformationFlow" association="A_informationSource_informationFlow">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_informationSource_informationFlow-informationFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_informationSource_informationFlow-informationFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_realization_abstraction_flow" name="A_realization_abstraction_flow">
<memberEnd xmi:idref="InformationFlow-realization"/>
<memberEnd xmi:idref="A_realization_abstraction_flow-abstraction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_realization_abstraction_flow-abstraction" name="abstraction" type="InformationFlow" association="A_realization_abstraction_flow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_realization_abstraction_flow-abstraction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_realization_abstraction_flow-abstraction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_realizingConnector_informationFlow" name="A_realizingConnector_informationFlow">
<memberEnd xmi:idref="InformationFlow-realizingConnector"/>
<memberEnd xmi:idref="A_realizingConnector_informationFlow-informationFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_realizingConnector_informationFlow-informationFlow" name="informationFlow" type="InformationFlow" association="A_realizingConnector_informationFlow">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_realizingConnector_informationFlow-informationFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_realizingConnector_informationFlow-informationFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_informationTarget_informationFlow" name="A_informationTarget_informationFlow">
<memberEnd xmi:idref="InformationFlow-informationTarget"/>
<memberEnd xmi:idref="A_informationTarget_informationFlow-informationFlow"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_informationTarget_informationFlow-informationFlow" name="informationFlow" type="InformationFlow" association="A_informationTarget_informationFlow">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_informationTarget_informationFlow-informationFlow-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_informationTarget_informationFlow-informationFlow-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="Deployments" name="Deployments">
<packageImport xmi:type="uml:PackageImport" xmi:id="Deployments-_packageImport.0" importedPackage="StructuredClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Deployments-_packageImport.1" importedPackage="CommonStructure"/>
<packagedElement xmi:type="uml:Class" xmi:id="Artifact" name="Artifact">
<ownedComment xmi:type="uml:Comment" xmi:id="Artifact-_ownedComment.0" body="An artifact is the specification of a physical piece of information that is used or produced by a software development process, or by deployment and operation of a system. Examples of artifacts include model files, source files, scripts, and binary executable files, a table in a database system, a development deliverable, or a word-processing document, a mail message. An artifact is the source of a deployment to a node.">
<annotatedElement xmi:idref="Artifact"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Artifact-_generalization.0" general="Classifier"/>
<generalization xmi:type="uml:Generalization" xmi:id="Artifact-_generalization.1" general="DeployedArtifact"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Artifact-fileName" name="fileName">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Artifact-fileName-_ownedComment.0" body="A concrete name that is used to refer to the Artifact in a physical context. Example: file system name, universal resource locator.">
<annotatedElement xmi:idref="Artifact-fileName"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Artifact-fileName-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Artifact-manifestation" name="manifestation" aggregation="composite" type="Manifestation" association="A_manifestation_artifact">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="NamedElement-clientDependency"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Artifact-manifestation-_ownedComment.0" body="The set of model elements that are manifested in the Artifact. That is, these model elements are utilized in the construction (or generation) of the artifact.">
<annotatedElement xmi:idref="Artifact-manifestation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Artifact-manifestation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Artifact-manifestation-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Artifact-nestedArtifact" name="nestedArtifact" aggregation="composite" type="Artifact" association="A_nestedArtifact_artifact">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Artifact-nestedArtifact-_ownedComment.0" body="The Artifacts that are defined (nested) within the Artifact. The association is a specialization of the ownedMember association from Namespace to NamedElement.">
<annotatedElement xmi:idref="Artifact-nestedArtifact"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Artifact-nestedArtifact-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Artifact-nestedArtifact-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Artifact-ownedAttribute" name="ownedAttribute" isOrdered="true" aggregation="composite" type="Property" association="A_ownedAttribute_artifact">
<subsettedProperty xmi:idref="Classifier-attribute"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Artifact-ownedAttribute-_ownedComment.0" body="The attributes or association ends defined for the Artifact. The association is a specialization of the ownedMember association.">
<annotatedElement xmi:idref="Artifact-ownedAttribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Artifact-ownedAttribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Artifact-ownedAttribute-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Artifact-ownedOperation" name="ownedOperation" isOrdered="true" aggregation="composite" type="Operation" association="A_ownedOperation_artifact">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Artifact-ownedOperation-_ownedComment.0" body="The Operations defined for the Artifact. The association is a specialization of the ownedMember association.">
<annotatedElement xmi:idref="Artifact-ownedOperation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Artifact-ownedOperation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Artifact-ownedOperation-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CommunicationPath" name="CommunicationPath">
<ownedComment xmi:type="uml:Comment" xmi:id="CommunicationPath-_ownedComment.0" body="A communication path is an association between two deployment targets, through which they are able to exchange signals and messages.">
<annotatedElement xmi:idref="CommunicationPath"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CommunicationPath-association_ends" name="association_ends">
<constrainedElement xmi:idref="CommunicationPath"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CommunicationPath-association_ends-_ownedComment.0" body="The association ends of a CommunicationPath are typed by DeploymentTargets.">
<annotatedElement xmi:idref="CommunicationPath-association_ends"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CommunicationPath-association_ends-_specification">
<body>endType->forAll (oclIsKindOf(DeploymentTarget))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CommunicationPath-_generalization.0" general="Association"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DeployedArtifact" name="DeployedArtifact" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="DeployedArtifact-_ownedComment.0" body="A deployed artifact is an artifact or artifact instance that has been deployed to a deployment target.">
<annotatedElement xmi:idref="DeployedArtifact"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DeployedArtifact-_generalization.0" general="NamedElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Deployment" name="Deployment">
<ownedComment xmi:type="uml:Comment" xmi:id="Deployment-_ownedComment.0" body="A deployment is the allocation of an artifact or artifact instance to a deployment target. A component deployment is the deployment of one or more artifacts or artifact instances to a deployment target, optionally parameterized by a deployment specification. Examples are executables and configuration files.">
<annotatedElement xmi:idref="Deployment"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Deployment-_generalization.0" general="Dependency"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Deployment-configuration" name="configuration" aggregation="composite" type="DeploymentSpecification" association="A_configuration_deployment">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Deployment-configuration-_ownedComment.0" body="The specification of properties that parameterize the deployment and execution of one or more Artifacts.">
<annotatedElement xmi:idref="Deployment-configuration"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Deployment-configuration-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Deployment-configuration-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Deployment-deployedArtifact" name="deployedArtifact" type="DeployedArtifact" association="A_deployedArtifact_deploymentForArtifact">
<subsettedProperty xmi:idref="Dependency-supplier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Deployment-deployedArtifact-_ownedComment.0" body="The Artifacts that are deployed onto a Node. This association specializes the supplier association.">
<annotatedElement xmi:idref="Deployment-deployedArtifact"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Deployment-deployedArtifact-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Deployment-deployedArtifact-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Deployment-location" name="location" type="DeploymentTarget" association="A_deployment_location">
<subsettedProperty xmi:idref="Dependency-client"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Deployment-location-_ownedComment.0" body="The DeployedTarget which is the target of a Deployment.">
<annotatedElement xmi:idref="Deployment-location"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DeploymentSpecification" name="DeploymentSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentSpecification-_ownedComment.0" body="A deployment specification specifies a set of properties that determine execution parameters of a component artifact that is deployed on a node. A deployment specification can be aimed at a specific type of container. An artifact that reifies or implements deployment specification properties is a deployment descriptor.">
<annotatedElement xmi:idref="DeploymentSpecification"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DeploymentSpecification-deployment_target" name="deployment_target">
<constrainedElement xmi:idref="DeploymentSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentSpecification-deployment_target-_ownedComment.0" body="The DeploymentTarget of a DeploymentSpecification is a kind of ExecutionEnvironment.">
<annotatedElement xmi:idref="DeploymentSpecification-deployment_target"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DeploymentSpecification-deployment_target-_specification">
<body>deployment->forAll (location.oclIsKindOf(ExecutionEnvironment))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DeploymentSpecification-deployed_elements" name="deployed_elements">
<constrainedElement xmi:idref="DeploymentSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentSpecification-deployed_elements-_ownedComment.0" body="The deployedElements of a DeploymentTarget that are involved in a Deployment that has an associated Deployment-Specification is a kind of Component (i.e., the configured components).">
<annotatedElement xmi:idref="DeploymentSpecification-deployed_elements"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DeploymentSpecification-deployed_elements-_specification">
<body>deployment->forAll (location.deployedElement->forAll (oclIsKindOf(Component)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="DeploymentSpecification-_generalization.0" general="Artifact"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DeploymentSpecification-deployment" name="deployment" type="Deployment" association="A_configuration_deployment">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentSpecification-deployment-_ownedComment.0" body="The deployment with which the DeploymentSpecification is associated.">
<annotatedElement xmi:idref="DeploymentSpecification-deployment"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DeploymentSpecification-deployment-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DeploymentSpecification-deploymentLocation" name="deploymentLocation">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentSpecification-deploymentLocation-_ownedComment.0" body="The location where an Artifact is deployed onto a Node. This is typically a 'directory' or 'memory address.'">
<annotatedElement xmi:idref="DeploymentSpecification-deploymentLocation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DeploymentSpecification-deploymentLocation-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DeploymentSpecification-executionLocation" name="executionLocation">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentSpecification-executionLocation-_ownedComment.0" body="The location where a component Artifact executes. This may be a local or remote location.">
<annotatedElement xmi:idref="DeploymentSpecification-executionLocation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DeploymentSpecification-executionLocation-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DeploymentTarget" name="DeploymentTarget" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentTarget-_ownedComment.0" body="A deployment target is the location for a deployed artifact.">
<annotatedElement xmi:idref="DeploymentTarget"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DeploymentTarget-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DeploymentTarget-deployedElement" name="deployedElement" isReadOnly="true" isDerived="true" type="PackageableElement" association="A_deployedElement_deploymentTarget">
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentTarget-deployedElement-_ownedComment.0" body="The set of elements that are manifested in an Artifact that is involved in Deployment to a DeploymentTarget.">
<annotatedElement xmi:idref="DeploymentTarget-deployedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DeploymentTarget-deployedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DeploymentTarget-deployedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DeploymentTarget-deployment" name="deployment" aggregation="composite" type="Deployment" association="A_deployment_location">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="NamedElement-clientDependency"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentTarget-deployment-_ownedComment.0" body="The set of Deployments for a DeploymentTarget.">
<annotatedElement xmi:idref="DeploymentTarget-deployment"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DeploymentTarget-deployment-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DeploymentTarget-deployment-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="DeploymentTarget-deployedElement.1" name="deployedElement" isQuery="true" bodyCondition="DeploymentTarget-deployedElement.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="DeploymentTarget-deployedElement.1-_ownedComment.0" body="Derivation for DeploymentTarget::/deployedElement">
<annotatedElement xmi:idref="DeploymentTarget-deployedElement.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DeploymentTarget-deployedElement.1-spec" name="spec">
<constrainedElement xmi:idref="DeploymentTarget-deployedElement.1"/>
<constrainedElement xmi:idref="DeploymentTarget-deployedElement"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DeploymentTarget-deployedElement.1-spec-_specification">
<body>result = (deployment.deployedArtifact->select(oclIsKindOf(Artifact))->collect(oclAsType(Artifact).manifestation)->collect(utilizedElement)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="DeploymentTarget-deployedElement.1-result" name="result" direction="return" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DeploymentTarget-deployedElement.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DeploymentTarget-deployedElement.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Device" name="Device">
<ownedComment xmi:type="uml:Comment" xmi:id="Device-_ownedComment.0" body="A device is a physical computational resource with processing capability upon which artifacts may be deployed for execution. Devices may be complex (i.e., they may consist of other devices).">
<annotatedElement xmi:idref="Device"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Device-_generalization.0" general="Node"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExecutionEnvironment" name="ExecutionEnvironment">
<ownedComment xmi:type="uml:Comment" xmi:id="ExecutionEnvironment-_ownedComment.0" body="An execution environment is a node that offers an execution environment for specific types of components that are deployed on it in the form of executable artifacts.">
<annotatedElement xmi:idref="ExecutionEnvironment"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ExecutionEnvironment-_generalization.0" general="Node"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Manifestation" name="Manifestation">
<ownedComment xmi:type="uml:Comment" xmi:id="Manifestation-_ownedComment.0" body="A manifestation is the concrete physical rendering of one or more model elements by an artifact.">
<annotatedElement xmi:idref="Manifestation"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Manifestation-_generalization.0" general="Abstraction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Manifestation-utilizedElement" name="utilizedElement" type="PackageableElement" association="A_utilizedElement_manifestation">
<subsettedProperty xmi:idref="Dependency-supplier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Manifestation-utilizedElement-_ownedComment.0" body="The model element that is utilized in the manifestation in an Artifact.">
<annotatedElement xmi:idref="Manifestation-utilizedElement"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Node" name="Node">
<ownedComment xmi:type="uml:Comment" xmi:id="Node-_ownedComment.0" body="A Node is computational resource upon which artifacts may be deployed for execution. Nodes can be interconnected through communication paths to define network structures.">
<annotatedElement xmi:idref="Node"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Node-internal_structure" name="internal_structure">
<constrainedElement xmi:idref="Node"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Node-internal_structure-_ownedComment.0" body="The internal structure of a Node (if defined) consists solely of parts of type Node.">
<annotatedElement xmi:idref="Node-internal_structure"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Node-internal_structure-_specification">
<body>part->forAll(oclIsKindOf(Node))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Node-_generalization.1" general="Class"/>
<generalization xmi:type="uml:Generalization" xmi:id="Node-_generalization.0" general="DeploymentTarget"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Node-nestedNode" name="nestedNode" aggregation="composite" type="Node" association="A_nestedNode_node">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Node-nestedNode-_ownedComment.0" body="The Nodes that are defined (nested) within the Node.">
<annotatedElement xmi:idref="Node-nestedNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Node-nestedNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Node-nestedNode-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_nestedNode_node" name="A_nestedNode_node">
<memberEnd xmi:idref="Node-nestedNode"/>
<memberEnd xmi:idref="A_nestedNode_node-node"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_nestedNode_node-node" name="node" type="Node" association="A_nestedNode_node">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_nestedNode_node-node-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_utilizedElement_manifestation" name="A_utilizedElement_manifestation">
<memberEnd xmi:idref="Manifestation-utilizedElement"/>
<memberEnd xmi:idref="A_utilizedElement_manifestation-manifestation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_utilizedElement_manifestation-manifestation" name="manifestation" type="Manifestation" association="A_utilizedElement_manifestation">
<subsettedProperty xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_utilizedElement_manifestation-manifestation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_utilizedElement_manifestation-manifestation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_deployedElement_deploymentTarget" name="A_deployedElement_deploymentTarget" isDerived="true">
<memberEnd xmi:idref="DeploymentTarget-deployedElement"/>
<memberEnd xmi:idref="A_deployedElement_deploymentTarget-deploymentTarget"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_deployedElement_deploymentTarget-deploymentTarget" name="deploymentTarget" type="DeploymentTarget" association="A_deployedElement_deploymentTarget">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_deployedElement_deploymentTarget-deploymentTarget-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_deployedElement_deploymentTarget-deploymentTarget-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_deployment_location" name="A_deployment_location">
<memberEnd xmi:idref="DeploymentTarget-deployment"/>
<memberEnd xmi:idref="Deployment-location"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_deployedArtifact_deploymentForArtifact" name="A_deployedArtifact_deploymentForArtifact">
<memberEnd xmi:idref="Deployment-deployedArtifact"/>
<memberEnd xmi:idref="A_deployedArtifact_deploymentForArtifact-deploymentForArtifact"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_deployedArtifact_deploymentForArtifact-deploymentForArtifact" name="deploymentForArtifact" type="Deployment" association="A_deployedArtifact_deploymentForArtifact">
<subsettedProperty xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_deployedArtifact_deploymentForArtifact-deploymentForArtifact-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_deployedArtifact_deploymentForArtifact-deploymentForArtifact-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_configuration_deployment" name="A_configuration_deployment">
<memberEnd xmi:idref="Deployment-configuration"/>
<memberEnd xmi:idref="DeploymentSpecification-deployment"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedAttribute_artifact" name="A_ownedAttribute_artifact">
<memberEnd xmi:idref="Artifact-ownedAttribute"/>
<memberEnd xmi:idref="A_ownedAttribute_artifact-artifact"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedAttribute_artifact-artifact" name="artifact" type="Artifact" association="A_ownedAttribute_artifact">
<subsettedProperty xmi:idref="A_attribute_classifier-classifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedAttribute_artifact-artifact-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedOperation_artifact" name="A_ownedOperation_artifact">
<memberEnd xmi:idref="Artifact-ownedOperation"/>
<memberEnd xmi:idref="A_ownedOperation_artifact-artifact"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedOperation_artifact-artifact" name="artifact" type="Artifact" association="A_ownedOperation_artifact">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedOperation_artifact-artifact-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_nestedArtifact_artifact" name="A_nestedArtifact_artifact">
<memberEnd xmi:idref="Artifact-nestedArtifact"/>
<memberEnd xmi:idref="A_nestedArtifact_artifact-artifact"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_nestedArtifact_artifact-artifact" name="artifact" type="Artifact" association="A_nestedArtifact_artifact">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_nestedArtifact_artifact-artifact-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_manifestation_artifact" name="A_manifestation_artifact">
<memberEnd xmi:idref="Artifact-manifestation"/>
<memberEnd xmi:idref="A_manifestation_artifact-artifact"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_manifestation_artifact-artifact" name="artifact" type="Artifact" association="A_manifestation_artifact">
<subsettedProperty xmi:idref="Dependency-client"/>
<subsettedProperty xmi:idref="Element-owner"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="CommonStructure" name="CommonStructure">
<packageImport xmi:type="uml:PackageImport" xmi:id="CommonStructure-_packageImport.0" importedPackage="Packages"/>
<packagedElement xmi:type="uml:Class" xmi:id="Abstraction" name="Abstraction">
<ownedComment xmi:type="uml:Comment" xmi:id="Abstraction-_ownedComment.0" body="An Abstraction is a Relationship that relates two Elements or sets of Elements that represent the same concept at different levels of abstraction or from different viewpoints.">
<annotatedElement xmi:idref="Abstraction"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Abstraction-_generalization.0" general="Dependency"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Abstraction-mapping" name="mapping" aggregation="composite" type="OpaqueExpression" association="A_mapping_abstraction">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Abstraction-mapping-_ownedComment.0" body="An OpaqueExpression that states the abstraction relationship between the supplier(s) and the client(s). In some cases, such as derivation, it is usually formal and unidirectional; in other cases, such as trace, it is usually informal and bidirectional. The mapping expression is optional and may be omitted if the precise relationship between the Elements is not specified.">
<annotatedElement xmi:idref="Abstraction-mapping"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Abstraction-mapping-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Comment" name="Comment">
<ownedComment xmi:type="uml:Comment" xmi:id="Comment-_ownedComment.0" body="A Comment is a textual annotation that can be attached to a set of Elements.">
<annotatedElement xmi:idref="Comment"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Comment-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Comment-annotatedElement" name="annotatedElement" type="Element" association="A_annotatedElement_comment">
<ownedComment xmi:type="uml:Comment" xmi:id="Comment-annotatedElement-_ownedComment.0" body="References the Element(s) being commented.">
<annotatedElement xmi:idref="Comment-annotatedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Comment-annotatedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Comment-annotatedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Comment-body" name="body">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Comment-body-_ownedComment.0" body="Specifies a string that is the comment.">
<annotatedElement xmi:idref="Comment-body"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Comment-body-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Constraint" name="Constraint">
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-_ownedComment.0" body="A Constraint is a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an Element or set of Elements.">
<annotatedElement xmi:idref="Constraint"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Constraint-boolean_value" name="boolean_value">
<constrainedElement xmi:idref="Constraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-boolean_value-_ownedComment.0" body="The ValueSpecification for a Constraint must evaluate to a Boolean value.">
<annotatedElement xmi:idref="Constraint-boolean_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Constraint-boolean_value-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Constraint-no_side_effects" name="no_side_effects">
<constrainedElement xmi:idref="Constraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-no_side_effects-_ownedComment.0" body="Evaluating the ValueSpecification for a Constraint must not have side effects.">
<annotatedElement xmi:idref="Constraint-no_side_effects"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Constraint-no_side_effects-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Constraint-not_apply_to_self" name="not_apply_to_self">
<constrainedElement xmi:idref="Constraint"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-not_apply_to_self-_ownedComment.0" body="A Constraint cannot be applied to itself.">
<annotatedElement xmi:idref="Constraint-not_apply_to_self"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Constraint-not_apply_to_self-_specification">
<body>not constrainedElement->includes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Constraint-_generalization.0" general="PackageableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Constraint-constrainedElement" name="constrainedElement" isOrdered="true" type="Element" association="A_constrainedElement_constraint">
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-constrainedElement-_ownedComment.0" body="The ordered set of Elements referenced by this Constraint.">
<annotatedElement xmi:idref="Constraint-constrainedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Constraint-constrainedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Constraint-constrainedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Constraint-context" name="context" type="Namespace" association="A_ownedRule_context">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-context-_ownedComment.0" body="Specifies the Namespace that owns the Constraint.">
<annotatedElement xmi:idref="Constraint-context"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Constraint-context-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Constraint-specification" name="specification" aggregation="composite" type="ValueSpecification" association="A_specification_owningConstraint">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Constraint-specification-_ownedComment.0" body="A condition that must be true when evaluated in order for the Constraint to be satisfied.">
<annotatedElement xmi:idref="Constraint-specification"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Dependency" name="Dependency">
<ownedComment xmi:type="uml:Comment" xmi:id="Dependency-_ownedComment.0" body="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation. This means that the complete semantics of the client Element(s) are either semantically or structurally dependent on the definition of the supplier Element(s).">
<annotatedElement xmi:idref="Dependency"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Dependency-_generalization.0" general="DirectedRelationship"/>
<generalization xmi:type="uml:Generalization" xmi:id="Dependency-_generalization.1" general="PackageableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Dependency-client" name="client" type="NamedElement" association="A_clientDependency_client">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Dependency-client-_ownedComment.0" body="The Element(s) dependent on the supplier Element(s). In some cases (such as a trace Abstraction) the assignment of direction (that is, the designation of the client Element) is at the discretion of the modeler and is a stipulation.">
<annotatedElement xmi:idref="Dependency-client"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Dependency-client-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Dependency-supplier" name="supplier" type="NamedElement" association="A_supplier_supplierDependency">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Dependency-supplier-_ownedComment.0" body="The Element(s) on which the client Element(s) depend in some respect. The modeler may stipulate a sense of Dependency direction suitable for their domain.">
<annotatedElement xmi:idref="Dependency-supplier"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Dependency-supplier-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DirectedRelationship" name="DirectedRelationship" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="DirectedRelationship-_ownedComment.0" body="A DirectedRelationship represents a relationship between a collection of source model Elements and a collection of target model Elements.">
<annotatedElement xmi:idref="DirectedRelationship"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DirectedRelationship-_generalization.0" general="Relationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DirectedRelationship-source" name="source" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Element" association="A_source_directedRelationship">
<subsettedProperty xmi:idref="Relationship-relatedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DirectedRelationship-source-_ownedComment.0" body="Specifies the source Element(s) of the DirectedRelationship.">
<annotatedElement xmi:idref="DirectedRelationship-source"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DirectedRelationship-source-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DirectedRelationship-target" name="target" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Element" association="A_target_directedRelationship">
<subsettedProperty xmi:idref="Relationship-relatedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DirectedRelationship-target-_ownedComment.0" body="Specifies the target Element(s) of the DirectedRelationship.">
<annotatedElement xmi:idref="DirectedRelationship-target"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DirectedRelationship-target-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Element" name="Element" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Element-_ownedComment.0" body="An Element is a constituent of a model. As such, it has the capability of owning other Elements.">
<annotatedElement xmi:idref="Element"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Element-has_owner" name="has_owner">
<constrainedElement xmi:idref="Element"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Element-has_owner-_ownedComment.0" body="Elements that must be owned must have an owner.">
<annotatedElement xmi:idref="Element-has_owner"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Element-has_owner-_specification">
<body>mustBeOwned() implies owner->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Element-not_own_self" name="not_own_self">
<constrainedElement xmi:idref="Element"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Element-not_own_self-_ownedComment.0" body="An element may not directly or indirectly own itself.">
<annotatedElement xmi:idref="Element-not_own_self"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Element-not_own_self-_specification">
<body>not allOwnedElements()->includes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedAttribute xmi:type="uml:Property" xmi:id="Element-ownedComment" name="ownedComment" aggregation="composite" type="Comment" association="A_ownedComment_owningElement">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Element-ownedComment-_ownedComment.0" body="The Comments owned by this Element.">
<annotatedElement xmi:idref="Element-ownedComment"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Element-ownedComment-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Element-ownedComment-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Element-ownedElement" name="ownedElement" isReadOnly="true" aggregation="composite" isDerived="true" isDerivedUnion="true" type="Element" association="A_ownedElement_owner">
<ownedComment xmi:type="uml:Comment" xmi:id="Element-ownedElement-_ownedComment.0" body="The Elements owned by this Element.">
<annotatedElement xmi:idref="Element-ownedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Element-ownedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Element-ownedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Element-owner" name="owner" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Element" association="A_ownedElement_owner">
<ownedComment xmi:type="uml:Comment" xmi:id="Element-owner-_ownedComment.0" body="The Element that owns this Element.">
<annotatedElement xmi:idref="Element-owner"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Element-owner-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Element-allOwnedElements" name="allOwnedElements" isQuery="true" bodyCondition="Element-allOwnedElements-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Element-allOwnedElements-_ownedComment.0" body="The query allOwnedElements() gives all of the direct and indirect ownedElements of an Element.">
<annotatedElement xmi:idref="Element-allOwnedElements"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Element-allOwnedElements-spec" name="spec">
<constrainedElement xmi:idref="Element-allOwnedElements"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Element-allOwnedElements-spec-_specification">
<body>result = (ownedElement->union(ownedElement->collect(e | e.allOwnedElements()))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Element-allOwnedElements-result" name="result" direction="return" type="Element">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Element-allOwnedElements-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Element-allOwnedElements-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Element-mustBeOwned" name="mustBeOwned" isQuery="true" bodyCondition="Element-mustBeOwned-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Element-mustBeOwned-_ownedComment.0" body="The query mustBeOwned() indicates whether Elements of this type must have an owner. Subclasses of Element that do not require an owner must override this operation.">
<annotatedElement xmi:idref="Element-mustBeOwned"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Element-mustBeOwned-spec" name="spec">
<constrainedElement xmi:idref="Element-mustBeOwned"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Element-mustBeOwned-spec-_specification">
<body>result = (true)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Element-mustBeOwned-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ElementImport" name="ElementImport">
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-_ownedComment.0" body="An ElementImport identifies a NamedElement in a Namespace other than the one that owns that NamedElement and allows the NamedElement to be referenced using an unqualified name in the Namespace owning the ElementImport.">
<annotatedElement xmi:idref="ElementImport"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ElementImport-imported_element_is_public" name="imported_element_is_public">
<constrainedElement xmi:idref="ElementImport"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-imported_element_is_public-_ownedComment.0" body="An importedElement has either public visibility or no visibility at all.">
<annotatedElement xmi:idref="ElementImport-imported_element_is_public"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ElementImport-imported_element_is_public-_specification">
<body>importedElement.visibility <> null implies importedElement.visibility = VisibilityKind::public</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ElementImport-visibility_public_or_private" name="visibility_public_or_private">
<constrainedElement xmi:idref="ElementImport"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-visibility_public_or_private-_ownedComment.0" body="The visibility of an ElementImport is either public or private.">
<annotatedElement xmi:idref="ElementImport-visibility_public_or_private"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ElementImport-visibility_public_or_private-_specification">
<body>visibility = VisibilityKind::public or visibility = VisibilityKind::private</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ElementImport-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ElementImport-alias" name="alias">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-alias-_ownedComment.0" body="Specifies the name that should be added to the importing Namespace in lieu of the name of the imported PackagableElement. The alias must not clash with any other member in the importing Namespace. By default, no alias is used.">
<annotatedElement xmi:idref="ElementImport-alias"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ElementImport-alias-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ElementImport-importedElement" name="importedElement" type="PackageableElement" association="A_importedElement_import">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-importedElement-_ownedComment.0" body="Specifies the PackageableElement whose name is to be added to a Namespace.">
<annotatedElement xmi:idref="ElementImport-importedElement"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ElementImport-importingNamespace" name="importingNamespace" type="Namespace" association="A_elementImport_importingNamespace">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-importingNamespace-_ownedComment.0" body="Specifies the Namespace that imports a PackageableElement from another Namespace.">
<annotatedElement xmi:idref="ElementImport-importingNamespace"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ElementImport-visibility" name="visibility" type="VisibilityKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-visibility-_ownedComment.0" body="Specifies the visibility of the imported PackageableElement within the importingNamespace, i.e., whether the importedElement will in turn be visible to other Namespaces. If the ElementImport is public, the importedElement will be visible outside the importingNamespace while, if the ElementImport is private, it will not.">
<annotatedElement xmi:idref="ElementImport-visibility"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="ElementImport-visibility-_defaultValue" type="VisibilityKind" instance="VisibilityKind-public"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ElementImport-getName" name="getName" isQuery="true" bodyCondition="ElementImport-getName-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ElementImport-getName-_ownedComment.0" body="The query getName() returns the name under which the imported PackageableElement will be known in the importing namespace.">
<annotatedElement xmi:idref="ElementImport-getName"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ElementImport-getName-spec" name="spec">
<constrainedElement xmi:idref="ElementImport-getName"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ElementImport-getName-spec-_specification">
<body>result = (if alias->notEmpty() then alias else importedElement.name endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ElementImport-getName-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="MultiplicityElement" name="MultiplicityElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-_ownedComment.0" body="A multiplicity is a definition of an inclusive interval of non-negative integers beginning with a lower bound and ending with a (possibly infinite) upper bound. A MultiplicityElement embeds this information to specify the allowable cardinalities for an instantiation of the Element.">
<annotatedElement xmi:idref="MultiplicityElement"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-upper_ge_lower" name="upper_ge_lower">
<constrainedElement xmi:idref="MultiplicityElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-upper_ge_lower-_ownedComment.0" body="The upper bound must be greater than or equal to the lower bound.">
<annotatedElement xmi:idref="MultiplicityElement-upper_ge_lower"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-upper_ge_lower-_specification">
<body>upperBound() >= lowerBound()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-lower_ge_0" name="lower_ge_0">
<constrainedElement xmi:idref="MultiplicityElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-lower_ge_0-_ownedComment.0" body="The lower bound must be a non-negative integer literal.">
<annotatedElement xmi:idref="MultiplicityElement-lower_ge_0"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-lower_ge_0-_specification">
<body>lowerBound() >= 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-value_specification_no_side_effects" name="value_specification_no_side_effects">
<constrainedElement xmi:idref="MultiplicityElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-value_specification_no_side_effects-_ownedComment.0" body="If a non-literal ValueSpecification is used for lowerValue or upperValue, then evaluating that specification must not have side effects.">
<annotatedElement xmi:idref="MultiplicityElement-value_specification_no_side_effects"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-value_specification_no_side_effects-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-value_specification_constant" name="value_specification_constant">
<constrainedElement xmi:idref="MultiplicityElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-value_specification_constant-_ownedComment.0" body="If a non-literal ValueSpecification is used for lowerValue or upperValue, then that specification must be a constant expression.">
<annotatedElement xmi:idref="MultiplicityElement-value_specification_constant"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-value_specification_constant-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-lower_is_integer" name="lower_is_integer">
<constrainedElement xmi:idref="MultiplicityElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-lower_is_integer-_ownedComment.0" body="If it is not empty, then lowerValue must have an Integer value.">
<annotatedElement xmi:idref="MultiplicityElement-lower_is_integer"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-lower_is_integer-_specification">
<body>lowerValue <> null implies lowerValue.integerValue() <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-upper_is_unlimitedNatural" name="upper_is_unlimitedNatural">
<constrainedElement xmi:idref="MultiplicityElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-upper_is_unlimitedNatural-_ownedComment.0" body="If it is not empty, then upperValue must have an UnlimitedNatural value.">
<annotatedElement xmi:idref="MultiplicityElement-upper_is_unlimitedNatural"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-upper_is_unlimitedNatural-_specification">
<body>upperValue <> null implies upperValue.unlimitedValue() <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="MultiplicityElement-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="MultiplicityElement-isOrdered" name="isOrdered">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-isOrdered-_ownedComment.0" body="For a multivalued multiplicity, this attribute specifies whether the values in an instantiation of this MultiplicityElement are sequentially ordered.">
<annotatedElement xmi:idref="MultiplicityElement-isOrdered"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="MultiplicityElement-isOrdered-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="MultiplicityElement-isUnique" name="isUnique">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-isUnique-_ownedComment.0" body="For a multivalued multiplicity, this attributes specifies whether the values in an instantiation of this MultiplicityElement are unique.">
<annotatedElement xmi:idref="MultiplicityElement-isUnique"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="MultiplicityElement-isUnique-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="MultiplicityElement-lower" name="lower" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-lower-_ownedComment.0" body="The lower bound of the multiplicity interval.">
<annotatedElement xmi:idref="MultiplicityElement-lower"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="MultiplicityElement-lowerValue" name="lowerValue" aggregation="composite" type="ValueSpecification" association="A_lowerValue_owningLower">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-lowerValue-_ownedComment.0" body="The specification of the lower bound for this multiplicity.">
<annotatedElement xmi:idref="MultiplicityElement-lowerValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MultiplicityElement-lowerValue-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="MultiplicityElement-upper" name="upper" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-upper-_ownedComment.0" body="The upper bound of the multiplicity interval.">
<annotatedElement xmi:idref="MultiplicityElement-upper"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="MultiplicityElement-upperValue" name="upperValue" aggregation="composite" type="ValueSpecification" association="A_upperValue_owningUpper">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-upperValue-_ownedComment.0" body="The specification of the upper bound for this multiplicity.">
<annotatedElement xmi:idref="MultiplicityElement-upperValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MultiplicityElement-upperValue-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-compatibleWith" name="compatibleWith" isQuery="true" bodyCondition="MultiplicityElement-compatibleWith-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-compatibleWith-_ownedComment.0" body="The operation compatibleWith takes another multiplicity as input. It returns true if the other multiplicity is wider than, or the same as, self.">
<annotatedElement xmi:idref="MultiplicityElement-compatibleWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-compatibleWith-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-compatibleWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-compatibleWith-spec-_specification">
<body>result = ((other.lowerBound() <= self.lowerBound()) and ((other.upperBound() = *) or (self.upperBound() <= other.upperBound())))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-compatibleWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-compatibleWith-other" name="other" type="MultiplicityElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-includesMultiplicity" name="includesMultiplicity" isQuery="true" bodyCondition="MultiplicityElement-includesMultiplicity-spec">
<precondition xmi:idref="MultiplicityElement-includesMultiplicity-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-includesMultiplicity-_ownedComment.0" body="The query includesMultiplicity() checks whether this multiplicity includes all the cardinalities allowed by the specified multiplicity.">
<annotatedElement xmi:idref="MultiplicityElement-includesMultiplicity"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-includesMultiplicity-pre" name="pre">
<constrainedElement xmi:idref="MultiplicityElement-includesMultiplicity"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-includesMultiplicity-pre-_specification">
<body>self.upperBound()->notEmpty() and self.lowerBound()->notEmpty() and M.upperBound()->notEmpty() and M.lowerBound()->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-includesMultiplicity-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-includesMultiplicity"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-includesMultiplicity-spec-_specification">
<body>result = ((self.lowerBound() <= M.lowerBound()) and (self.upperBound() >= M.upperBound()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-includesMultiplicity-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-includesMultiplicity-M" name="M" type="MultiplicityElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-is" name="is" isQuery="true" bodyCondition="MultiplicityElement-is-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-is-_ownedComment.0" body="The operation is determines if the upper and lower bound of the ranges are the ones given.">
<annotatedElement xmi:idref="MultiplicityElement-is"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-is-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-is"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-is-spec-_specification">
<body>result = (lowerbound = self.lowerBound() and upperbound = self.upperBound())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-is-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-is-lowerbound" name="lowerbound">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-is-upperbound" name="upperbound">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-isMultivalued" name="isMultivalued" isQuery="true" bodyCondition="MultiplicityElement-isMultivalued-spec">
<precondition xmi:idref="MultiplicityElement-isMultivalued-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-isMultivalued-_ownedComment.0" body="The query isMultivalued() checks whether this multiplicity has an upper bound greater than one.">
<annotatedElement xmi:idref="MultiplicityElement-isMultivalued"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-isMultivalued-pre" name="pre">
<constrainedElement xmi:idref="MultiplicityElement-isMultivalued"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-isMultivalued-pre-_specification">
<body>upperBound()->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-isMultivalued-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-isMultivalued"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-isMultivalued-spec-_specification">
<body>result = (upperBound() > 1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-isMultivalued-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-lower.1" name="lower" isQuery="true" bodyCondition="MultiplicityElement-lower.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-lower.1-_ownedComment.0" body="The derived lower attribute must equal the lowerBound.">
<annotatedElement xmi:idref="MultiplicityElement-lower.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-lower.1-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-lower.1"/>
<constrainedElement xmi:idref="MultiplicityElement-lower"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-lower.1-spec-_specification">
<body>result = (lowerBound())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-lower.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MultiplicityElement-lower.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-lowerBound" name="lowerBound" isQuery="true" bodyCondition="MultiplicityElement-lowerBound-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-lowerBound-_ownedComment.0" body="The query lowerBound() returns the lower bound of the multiplicity as an integer, which is the integerValue of lowerValue, if this is given, and 1 otherwise.">
<annotatedElement xmi:idref="MultiplicityElement-lowerBound"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-lowerBound-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-lowerBound"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-lowerBound-spec-_specification">
<body>result = (if (lowerValue=null or lowerValue.integerValue()=null) then 1 else lowerValue.integerValue() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-lowerBound-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-upper.1" name="upper" isQuery="true" bodyCondition="MultiplicityElement-upper.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-upper.1-_ownedComment.0" body="The derived upper attribute must equal the upperBound.">
<annotatedElement xmi:idref="MultiplicityElement-upper.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-upper.1-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-upper.1"/>
<constrainedElement xmi:idref="MultiplicityElement-upper"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-upper.1-spec-_specification">
<body>result = (upperBound())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-upper.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="MultiplicityElement-upper.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="MultiplicityElement-upperBound" name="upperBound" isQuery="true" bodyCondition="MultiplicityElement-upperBound-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="MultiplicityElement-upperBound-_ownedComment.0" body="The query upperBound() returns the upper bound of the multiplicity for a bounded multiplicity as an unlimited natural, which is the unlimitedNaturalValue of upperValue, if given, and 1, otherwise.">
<annotatedElement xmi:idref="MultiplicityElement-upperBound"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="MultiplicityElement-upperBound-spec" name="spec">
<constrainedElement xmi:idref="MultiplicityElement-upperBound"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="MultiplicityElement-upperBound-spec-_specification">
<body>result = (if (upperValue=null or upperValue.unlimitedValue()=null) then 1 else upperValue.unlimitedValue() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="MultiplicityElement-upperBound-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="NamedElement" name="NamedElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-_ownedComment.0" body="A NamedElement is an Element in a model that may have a name. The name may be given directly and/or via the use of a StringExpression.">
<annotatedElement xmi:idref="NamedElement"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-visibility_needs_ownership" name="visibility_needs_ownership">
<constrainedElement xmi:idref="NamedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-visibility_needs_ownership-_ownedComment.0" body="If a NamedElement is owned by something other than a Namespace, it does not have a visibility. One that is not owned by anything (and hence must be a Package, as this is the only kind of NamedElement that overrides mustBeOwned()) may have a visibility.">
<annotatedElement xmi:idref="NamedElement-visibility_needs_ownership"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-visibility_needs_ownership-_specification">
<body>(namespace = null and owner <> null) implies visibility = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-has_qualified_name" name="has_qualified_name">
<constrainedElement xmi:idref="NamedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-has_qualified_name-_ownedComment.0" body="When there is a name, and all of the containing Namespaces have a name, the qualifiedName is constructed from the name of the NamedElement and the names of the containing Namespaces.">
<annotatedElement xmi:idref="NamedElement-has_qualified_name"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-has_qualified_name-_specification">
<body>(name <> null and allNamespaces()->select(ns | ns.name = null)->isEmpty()) implies qualifiedName = allNamespaces()->iterate( ns : Namespace; agg: String = name | ns.name.concat(self.separator()).concat(agg))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-has_no_qualified_name" name="has_no_qualified_name">
<constrainedElement xmi:idref="NamedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-has_no_qualified_name-_ownedComment.0" body="If there is no name, or one of the containing Namespaces has no name, there is no qualifiedName.">
<annotatedElement xmi:idref="NamedElement-has_no_qualified_name"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-has_no_qualified_name-_specification">
<body>name=null or allNamespaces()->select( ns | ns.name=null )->notEmpty() implies qualifiedName = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="NamedElement-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="NamedElement-clientDependency" name="clientDependency" isDerived="true" type="Dependency" association="A_clientDependency_client">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-clientDependency-_ownedComment.0" body="Indicates the Dependencies that reference this NamedElement as a client.">
<annotatedElement xmi:idref="NamedElement-clientDependency"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-clientDependency-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="NamedElement-clientDependency-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="NamedElement-name" name="name">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-name-_ownedComment.0" body="The name of the NamedElement.">
<annotatedElement xmi:idref="NamedElement-name"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-name-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="NamedElement-nameExpression" name="nameExpression" aggregation="composite" type="StringExpression" association="A_nameExpression_namedElement">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-nameExpression-_ownedComment.0" body="The StringExpression used to define the name of this NamedElement.">
<annotatedElement xmi:idref="NamedElement-nameExpression"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-nameExpression-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="NamedElement-namespace" name="namespace" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Namespace" association="A_ownedMember_namespace">
<subsettedProperty xmi:idref="A_member_memberNamespace-memberNamespace"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-namespace-_ownedComment.0" body="Specifies the Namespace that owns the NamedElement.">
<annotatedElement xmi:idref="NamedElement-namespace"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-namespace-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="NamedElement-qualifiedName" name="qualifiedName" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-qualifiedName-_ownedComment.0" body="A name that allows the NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from the names of the containing Namespaces starting at the root of the hierarchy and ending with the name of the NamedElement itself.">
<annotatedElement xmi:idref="NamedElement-qualifiedName"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-qualifiedName-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="NamedElement-visibility" name="visibility" type="VisibilityKind">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-visibility-_ownedComment.0" body="Determines whether and how the NamedElement is visible outside its owning Namespace.">
<annotatedElement xmi:idref="NamedElement-visibility"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-visibility-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="NamedElement-allNamespaces" name="allNamespaces" isQuery="true" bodyCondition="NamedElement-allNamespaces-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-allNamespaces-_ownedComment.0" body="The query allNamespaces() gives the sequence of Namespaces in which the NamedElement is nested, working outwards.">
<annotatedElement xmi:idref="NamedElement-allNamespaces"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-allNamespaces-spec" name="spec">
<constrainedElement xmi:idref="NamedElement-allNamespaces"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-allNamespaces-spec-_specification">
<body>result = (if owner.oclIsKindOf(TemplateParameter) and owner.oclAsType(TemplateParameter).signature.template.oclIsKindOf(Namespace) then let enclosingNamespace : Namespace = owner.oclAsType(TemplateParameter).signature.template.oclAsType(Namespace) in enclosingNamespace.allNamespaces()->prepend(enclosingNamespace) else if namespace->isEmpty() then OrderedSet{} else namespace.allNamespaces()->prepend(namespace) endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-allNamespaces-result" isOrdered="true" name="result" direction="return" type="Namespace">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-allNamespaces-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="NamedElement-allNamespaces-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="NamedElement-allOwningPackages" name="allOwningPackages" isQuery="true" bodyCondition="NamedElement-allOwningPackages-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-allOwningPackages-_ownedComment.0" body="The query allOwningPackages() returns the set of all the enclosing Namespaces of this NamedElement, working outwards, that are Packages, up to but not including the first such Namespace that is not a Package.">
<annotatedElement xmi:idref="NamedElement-allOwningPackages"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-allOwningPackages-spec" name="spec">
<constrainedElement xmi:idref="NamedElement-allOwningPackages"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-allOwningPackages-spec-_specification">
<body>result = (if namespace.oclIsKindOf(Package) then let owningPackage : Package = namespace.oclAsType(Package) in owningPackage->union(owningPackage.allOwningPackages()) else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-allOwningPackages-result" name="result" direction="return" type="Package">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-allOwningPackages-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="NamedElement-allOwningPackages-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="NamedElement-isDistinguishableFrom" name="isDistinguishableFrom" isQuery="true" bodyCondition="NamedElement-isDistinguishableFrom-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-isDistinguishableFrom-_ownedComment.0" body="The query isDistinguishableFrom() determines whether two NamedElements may logically co-exist within a Namespace. By default, two named elements are distinguishable if (a) they have types neither of which is a kind of the other or (b) they have different names.">
<annotatedElement xmi:idref="NamedElement-isDistinguishableFrom"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-isDistinguishableFrom-spec" name="spec">
<constrainedElement xmi:idref="NamedElement-isDistinguishableFrom"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-isDistinguishableFrom-spec-_specification">
<body>result = ((self.oclIsKindOf(n.oclType()) or n.oclIsKindOf(self.oclType())) implies ns.getNamesOfMember(self)->intersection(ns.getNamesOfMember(n))->isEmpty() )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-isDistinguishableFrom-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-isDistinguishableFrom-n" name="n" type="NamedElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-isDistinguishableFrom-ns" name="ns" type="Namespace"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="NamedElement-qualifiedName.1" name="qualifiedName" isQuery="true" bodyCondition="NamedElement-qualifiedName.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-qualifiedName.1-_ownedComment.0" body="When a NamedElement has a name, and all of its containing Namespaces have a name, the qualifiedName is constructed from the name of the NamedElement and the names of the containing Namespaces.">
<annotatedElement xmi:idref="NamedElement-qualifiedName.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-qualifiedName.1-spec" name="spec">
<constrainedElement xmi:idref="NamedElement-qualifiedName.1"/>
<constrainedElement xmi:idref="NamedElement-qualifiedName"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-qualifiedName.1-spec-_specification">
<body>result = (if self.name <> null and self.allNamespaces()->select( ns | ns.name=null )->isEmpty() then self.allNamespaces()->iterate( ns : Namespace; agg: String = self.name | ns.name.concat(self.separator()).concat(agg)) else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-qualifiedName.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="NamedElement-separator" name="separator" isQuery="true" bodyCondition="NamedElement-separator-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="NamedElement-separator-_ownedComment.0" body="The query separator() gives the string that is used to separate names when constructing a qualifiedName.">
<annotatedElement xmi:idref="NamedElement-separator"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-separator-spec" name="spec">
<constrainedElement xmi:idref="NamedElement-separator"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-separator-spec-_specification">
<body>result = ('::')</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-separator-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="NamedElement-clientDependency.1" name="clientDependency" isQuery="true" bodyCondition="NamedElement-clientDependency.1-spec">
<ownedRule xmi:type="uml:Constraint" xmi:id="NamedElement-clientDependency.1-spec" name="spec">
<constrainedElement xmi:idref="NamedElement-clientDependency.1"/>
<constrainedElement xmi:idref="NamedElement-clientDependency"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="NamedElement-clientDependency.1-spec-_specification">
<body>result = (Dependency.allInstances()->select(d | d.client->includes(self)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="NamedElement-clientDependency.1-result" name="result" direction="return" type="Dependency">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="NamedElement-clientDependency.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="NamedElement-clientDependency.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Namespace" name="Namespace" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-_ownedComment.0" body="A Namespace is an Element in a model that owns and/or imports a set of NamedElements that can be identified by name.">
<annotatedElement xmi:idref="Namespace"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-members_distinguishable" name="members_distinguishable">
<constrainedElement xmi:idref="Namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-members_distinguishable-_ownedComment.0" body="All the members of a Namespace are distinguishable within it.">
<annotatedElement xmi:idref="Namespace-members_distinguishable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-members_distinguishable-_specification">
<body>membersAreDistinguishable()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-cannot_import_self" name="cannot_import_self">
<constrainedElement xmi:idref="Namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-cannot_import_self-_ownedComment.0" body="A Namespace cannot have a PackageImport to itself.">
<annotatedElement xmi:idref="Namespace-cannot_import_self"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-cannot_import_self-_specification">
<body>packageImport.importedPackage.oclAsType(Namespace)->excludes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-cannot_import_ownedMembers" name="cannot_import_ownedMembers">
<constrainedElement xmi:idref="Namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-cannot_import_ownedMembers-_ownedComment.0" body="A Namespace cannot have an ElementImport to one of its ownedMembers.">
<annotatedElement xmi:idref="Namespace-cannot_import_ownedMembers"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-cannot_import_ownedMembers-_specification">
<body>elementImport.importedElement.oclAsType(Element)->excludesAll(ownedMember)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Namespace-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Namespace-elementImport" name="elementImport" aggregation="composite" type="ElementImport" association="A_elementImport_importingNamespace">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-elementImport-_ownedComment.0" body="References the ElementImports owned by the Namespace.">
<annotatedElement xmi:idref="Namespace-elementImport"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-elementImport-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-elementImport-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Namespace-importedMember" name="importedMember" isReadOnly="true" isDerived="true" type="PackageableElement" association="A_importedMember_namespace">
<subsettedProperty xmi:idref="Namespace-member"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-importedMember-_ownedComment.0" body="References the PackageableElements that are members of this Namespace as a result of either PackageImports or ElementImports.">
<annotatedElement xmi:idref="Namespace-importedMember"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-importedMember-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-importedMember-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Namespace-member" name="member" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="NamedElement" association="A_member_memberNamespace">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-member-_ownedComment.0" body="A collection of NamedElements identifiable within the Namespace, either by being owned or by being introduced by importing or inheritance.">
<annotatedElement xmi:idref="Namespace-member"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-member-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-member-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Namespace-ownedMember" name="ownedMember" isReadOnly="true" aggregation="composite" isDerived="true" isDerivedUnion="true" type="NamedElement" association="A_ownedMember_namespace">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="Namespace-member"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-ownedMember-_ownedComment.0" body="A collection of NamedElements owned by the Namespace.">
<annotatedElement xmi:idref="Namespace-ownedMember"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-ownedMember-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-ownedMember-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Namespace-ownedRule" name="ownedRule" aggregation="composite" type="Constraint" association="A_ownedRule_context">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-ownedRule-_ownedComment.0" body="Specifies a set of Constraints owned by this Namespace.">
<annotatedElement xmi:idref="Namespace-ownedRule"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-ownedRule-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-ownedRule-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Namespace-packageImport" name="packageImport" aggregation="composite" type="PackageImport" association="A_packageImport_importingNamespace">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-packageImport-_ownedComment.0" body="References the PackageImports owned by the Namespace.">
<annotatedElement xmi:idref="Namespace-packageImport"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-packageImport-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-packageImport-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Namespace-excludeCollisions" name="excludeCollisions" isQuery="true" bodyCondition="Namespace-excludeCollisions-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-excludeCollisions-_ownedComment.0" body="The query excludeCollisions() excludes from a set of PackageableElements any that would not be distinguishable from each other in this Namespace.">
<annotatedElement xmi:idref="Namespace-excludeCollisions"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-excludeCollisions-spec" name="spec">
<constrainedElement xmi:idref="Namespace-excludeCollisions"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-excludeCollisions-spec-_specification">
<body>result = (imps->reject(imp1 | imps->exists(imp2 | not imp1.isDistinguishableFrom(imp2, self))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-excludeCollisions-result" name="result" direction="return" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-excludeCollisions-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-excludeCollisions-result-_upperValue" value="*"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-excludeCollisions-imps" name="imps" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-excludeCollisions-imps-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-excludeCollisions-imps-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Namespace-getNamesOfMember" name="getNamesOfMember" isQuery="true" bodyCondition="Namespace-getNamesOfMember-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-getNamesOfMember-_ownedComment.0" body="The query getNamesOfMember() gives a set of all of the names that a member would have in a Namespace, taking importing into account. In general a member can have multiple names in a Namespace if it is imported more than once with different aliases.">
<annotatedElement xmi:idref="Namespace-getNamesOfMember"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-getNamesOfMember-spec" name="spec">
<constrainedElement xmi:idref="Namespace-getNamesOfMember"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-getNamesOfMember-spec-_specification">
<body>result = (if self.ownedMember ->includes(element) then Set{element.name} else let elementImports : Set(ElementImport) = self.elementImport->select(ei | ei.importedElement = element) in if elementImports->notEmpty() then elementImports->collect(el | el.getName())->asSet() else self.packageImport->select(pi | pi.importedPackage.visibleMembers().oclAsType(NamedElement)->includes(element))-> collect(pi | pi.importedPackage.getNamesOfMember(element))->asSet() endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-getNamesOfMember-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-getNamesOfMember-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-getNamesOfMember-result-_upperValue" value="*"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-getNamesOfMember-element" name="element" type="NamedElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Namespace-importMembers" name="importMembers" isQuery="true" bodyCondition="Namespace-importMembers-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-importMembers-_ownedComment.0" body="The query importMembers() defines which of a set of PackageableElements are actually imported into the Namespace. This excludes hidden ones, i.e., those which have names that conflict with names of ownedMembers, and it also excludes PackageableElements that would have the indistinguishable names when imported.">
<annotatedElement xmi:idref="Namespace-importMembers"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-importMembers-spec" name="spec">
<constrainedElement xmi:idref="Namespace-importMembers"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-importMembers-spec-_specification">
<body>result = (self.excludeCollisions(imps)->select(imp | self.ownedMember->forAll(mem | imp.isDistinguishableFrom(mem, self))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-importMembers-result" name="result" direction="return" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-importMembers-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-importMembers-result-_upperValue" value="*"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-importMembers-imps" name="imps" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-importMembers-imps-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-importMembers-imps-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Namespace-importedMember.1" name="importedMember" isQuery="true" bodyCondition="Namespace-importedMember.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-importedMember.1-_ownedComment.0" body="The importedMember property is derived as the PackageableElements that are members of this Namespace as a result of either PackageImports or ElementImports.">
<annotatedElement xmi:idref="Namespace-importedMember.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-importedMember.1-spec" name="spec">
<constrainedElement xmi:idref="Namespace-importedMember.1"/>
<constrainedElement xmi:idref="Namespace-importedMember"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-importedMember.1-spec-_specification">
<body>result = (self.importMembers(elementImport.importedElement->asSet()->union(packageImport.importedPackage->collect(p | p.visibleMembers()))->asSet()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-importedMember.1-result" name="result" direction="return" type="PackageableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Namespace-importedMember.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Namespace-importedMember.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Namespace-membersAreDistinguishable" name="membersAreDistinguishable" isQuery="true" bodyCondition="Namespace-membersAreDistinguishable-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Namespace-membersAreDistinguishable-_ownedComment.0" body="The Boolean query membersAreDistinguishable() determines whether all of the Namespace's members are distinguishable within it.">
<annotatedElement xmi:idref="Namespace-membersAreDistinguishable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Namespace-membersAreDistinguishable-spec" name="spec">
<constrainedElement xmi:idref="Namespace-membersAreDistinguishable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Namespace-membersAreDistinguishable-spec-_specification">
<body>result = (member->forAll( memb | member->excluding(memb)->forAll(other | memb.isDistinguishableFrom(other, self))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Namespace-membersAreDistinguishable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="PackageableElement" name="PackageableElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="PackageableElement-_ownedComment.0" body="A PackageableElement is a NamedElement that may be owned directly by a Package. A PackageableElement is also able to serve as the parameteredElement of a TemplateParameter.">
<annotatedElement xmi:idref="PackageableElement"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="PackageableElement-namespace_needs_visibility" name="namespace_needs_visibility">
<constrainedElement xmi:idref="PackageableElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageableElement-namespace_needs_visibility-_ownedComment.0" body="A PackageableElement owned by a Namespace must have a visibility.">
<annotatedElement xmi:idref="PackageableElement-namespace_needs_visibility"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="PackageableElement-namespace_needs_visibility-_specification">
<body>visibility = null implies namespace = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="PackageableElement-_generalization.0" general="ParameterableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="PackageableElement-_generalization.1" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="PackageableElement-visibility" name="visibility" type="VisibilityKind">
<redefinedProperty xmi:idref="NamedElement-visibility"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageableElement-visibility-_ownedComment.0" body="A PackageableElement must have a visibility specified if it is owned by a Namespace. The default visibility is public.">
<annotatedElement xmi:idref="PackageableElement-visibility"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="PackageableElement-visibility-_lowerValue"/>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="PackageableElement-visibility-_defaultValue" type="VisibilityKind" instance="VisibilityKind-public"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="PackageImport" name="PackageImport">
<ownedComment xmi:type="uml:Comment" xmi:id="PackageImport-_ownedComment.0" body="A PackageImport is a Relationship that imports all the non-private members of a Package into the Namespace owning the PackageImport, so that those Elements may be referred to by their unqualified names in the importingNamespace.">
<annotatedElement xmi:idref="PackageImport"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="PackageImport-public_or_private" name="public_or_private">
<constrainedElement xmi:idref="PackageImport"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageImport-public_or_private-_ownedComment.0" body="The visibility of a PackageImport is either public or private.">
<annotatedElement xmi:idref="PackageImport-public_or_private"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="PackageImport-public_or_private-_specification">
<body>visibility = VisibilityKind::public or visibility = VisibilityKind::private</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="PackageImport-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="PackageImport-importedPackage" name="importedPackage" type="Package" association="A_importedPackage_packageImport">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageImport-importedPackage-_ownedComment.0" body="Specifies the Package whose members are imported into a Namespace.">
<annotatedElement xmi:idref="PackageImport-importedPackage"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="PackageImport-importingNamespace" name="importingNamespace" type="Namespace" association="A_packageImport_importingNamespace">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="PackageImport-importingNamespace-_ownedComment.0" body="Specifies the Namespace that imports the members from a Package.">
<annotatedElement xmi:idref="PackageImport-importingNamespace"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="PackageImport-visibility" name="visibility" type="VisibilityKind">
<ownedComment xmi:type="uml:Comment" xmi:id="PackageImport-visibility-_ownedComment.0" body="Specifies the visibility of the imported PackageableElements within the importingNamespace, i.e., whether imported Elements will in turn be visible to other Namespaces. If the PackageImport is public, the imported Elements will be visible outside the importingNamespace, while, if the PackageImport is private, they will not.">
<annotatedElement xmi:idref="PackageImport-visibility"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="PackageImport-visibility-_defaultValue" type="VisibilityKind" instance="VisibilityKind-public"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ParameterableElement" name="ParameterableElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterableElement-_ownedComment.0" body="A ParameterableElement is an Element that can be exposed as a formal TemplateParameter for a template, or specified as an actual parameter in a binding of a template.">
<annotatedElement xmi:idref="ParameterableElement"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ParameterableElement-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ParameterableElement-owningTemplateParameter" name="owningTemplateParameter" type="TemplateParameter" association="A_ownedParameteredElement_owningTemplateParameter">
<subsettedProperty xmi:idref="Element-owner"/>
<subsettedProperty xmi:idref="ParameterableElement-templateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterableElement-owningTemplateParameter-_ownedComment.0" body="The formal TemplateParameter that owns this ParameterableElement.">
<annotatedElement xmi:idref="ParameterableElement-owningTemplateParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ParameterableElement-owningTemplateParameter-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ParameterableElement-templateParameter" name="templateParameter" type="TemplateParameter" association="A_parameteredElement_templateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterableElement-templateParameter-_ownedComment.0" body="The TemplateParameter that exposes this ParameterableElement as a formal parameter.">
<annotatedElement xmi:idref="ParameterableElement-templateParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ParameterableElement-templateParameter-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ParameterableElement-isCompatibleWith" name="isCompatibleWith" isQuery="true" bodyCondition="ParameterableElement-isCompatibleWith-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterableElement-isCompatibleWith-_ownedComment.0" body="The query isCompatibleWith() determines if this ParameterableElement is compatible with the specified ParameterableElement. By default, this ParameterableElement is compatible with another ParameterableElement p if the kind of this ParameterableElement is the same as or a subtype of the kind of p. Subclasses of ParameterableElement should override this operation to specify different compatibility constraints.">
<annotatedElement xmi:idref="ParameterableElement-isCompatibleWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ParameterableElement-isCompatibleWith-spec" name="spec">
<constrainedElement xmi:idref="ParameterableElement-isCompatibleWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ParameterableElement-isCompatibleWith-spec-_specification">
<body>result = (self.oclIsKindOf(p.oclType()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ParameterableElement-isCompatibleWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ParameterableElement-isCompatibleWith-p" name="p" type="ParameterableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="ParameterableElement-isTemplateParameter" name="isTemplateParameter" isQuery="true" bodyCondition="ParameterableElement-isTemplateParameter-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterableElement-isTemplateParameter-_ownedComment.0" body="The query isTemplateParameter() determines if this ParameterableElement is exposed as a formal TemplateParameter.">
<annotatedElement xmi:idref="ParameterableElement-isTemplateParameter"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ParameterableElement-isTemplateParameter-spec" name="spec">
<constrainedElement xmi:idref="ParameterableElement-isTemplateParameter"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ParameterableElement-isTemplateParameter-spec-_specification">
<body>result = (templateParameter->notEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ParameterableElement-isTemplateParameter-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Realization" name="Realization">
<ownedComment xmi:type="uml:Comment" xmi:id="Realization-_ownedComment.0" body="Realization is a specialized Abstraction relationship between two sets of model Elements, one representing a specification (the supplier) and the other represents an implementation of the latter (the client). Realization can be used to model stepwise refinement, optimizations, transformations, templates, model synthesis, framework composition, etc.">
<annotatedElement xmi:idref="Realization"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Realization-_generalization.0" general="Abstraction"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Relationship" name="Relationship" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Relationship-_ownedComment.0" body="Relationship is an abstract concept that specifies some kind of relationship between Elements.">
<annotatedElement xmi:idref="Relationship"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Relationship-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Relationship-relatedElement" name="relatedElement" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Element" association="A_relatedElement_relationship">
<ownedComment xmi:type="uml:Comment" xmi:id="Relationship-relatedElement-_ownedComment.0" body="Specifies the elements related by the Relationship.">
<annotatedElement xmi:idref="Relationship-relatedElement"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Relationship-relatedElement-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TemplateableElement" name="TemplateableElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateableElement-_ownedComment.0" body="A TemplateableElement is an Element that can optionally be defined as a template and bound to other templates.">
<annotatedElement xmi:idref="TemplateableElement"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="TemplateableElement-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateableElement-ownedTemplateSignature" name="ownedTemplateSignature" aggregation="composite" type="TemplateSignature" association="A_ownedTemplateSignature_template">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateableElement-ownedTemplateSignature-_ownedComment.0" body="The optional TemplateSignature specifying the formal TemplateParameters for this TemplateableElement. If a TemplateableElement has a TemplateSignature, then it is a template.">
<annotatedElement xmi:idref="TemplateableElement-ownedTemplateSignature"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateableElement-ownedTemplateSignature-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateableElement-templateBinding" name="templateBinding" aggregation="composite" type="TemplateBinding" association="A_templateBinding_boundElement">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateableElement-templateBinding-_ownedComment.0" body="The optional TemplateBindings from this TemplateableElement to one or more templates.">
<annotatedElement xmi:idref="TemplateableElement-templateBinding"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateableElement-templateBinding-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="TemplateableElement-templateBinding-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="TemplateableElement-isTemplate" name="isTemplate" isQuery="true" bodyCondition="TemplateableElement-isTemplate-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateableElement-isTemplate-_ownedComment.0" body="The query isTemplate() returns whether this TemplateableElement is actually a template.">
<annotatedElement xmi:idref="TemplateableElement-isTemplate"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateableElement-isTemplate-spec" name="spec">
<constrainedElement xmi:idref="TemplateableElement-isTemplate"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateableElement-isTemplate-spec-_specification">
<body>result = (ownedTemplateSignature <> null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="TemplateableElement-isTemplate-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="TemplateableElement-parameterableElements" name="parameterableElements" isQuery="true" bodyCondition="TemplateableElement-parameterableElements-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateableElement-parameterableElements-_ownedComment.0" body="The query parameterableElements() returns the set of ParameterableElements that may be used as the parameteredElements for a TemplateParameter of this TemplateableElement. By default, this set includes all the ownedElements. Subclasses may override this operation if they choose to restrict the set of ParameterableElements.">
<annotatedElement xmi:idref="TemplateableElement-parameterableElements"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateableElement-parameterableElements-spec" name="spec">
<constrainedElement xmi:idref="TemplateableElement-parameterableElements"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateableElement-parameterableElements-spec-_specification">
<body>result = (self.allOwnedElements()->select(oclIsKindOf(ParameterableElement)).oclAsType(ParameterableElement)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="TemplateableElement-parameterableElements-result" name="result" direction="return" type="ParameterableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateableElement-parameterableElements-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="TemplateableElement-parameterableElements-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TemplateBinding" name="TemplateBinding">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateBinding-_ownedComment.0" body="A TemplateBinding is a DirectedRelationship between a TemplateableElement and a template. A TemplateBinding specifies the TemplateParameterSubstitutions of actual parameters for the formal parameters of the template.">
<annotatedElement xmi:idref="TemplateBinding"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateBinding-parameter_substitution_formal" name="parameter_substitution_formal">
<constrainedElement xmi:idref="TemplateBinding"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateBinding-parameter_substitution_formal-_ownedComment.0" body="Each parameterSubstitution must refer to a formal TemplateParameter of the target TemplateSignature.">
<annotatedElement xmi:idref="TemplateBinding-parameter_substitution_formal"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateBinding-parameter_substitution_formal-_specification">
<body>parameterSubstitution->forAll(b | signature.parameter->includes(b.formal))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateBinding-one_parameter_substitution" name="one_parameter_substitution">
<constrainedElement xmi:idref="TemplateBinding"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateBinding-one_parameter_substitution-_ownedComment.0" body="A TemplateBiinding contains at most one TemplateParameterSubstitution for each formal TemplateParameter of the target TemplateSignature.">
<annotatedElement xmi:idref="TemplateBinding-one_parameter_substitution"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateBinding-one_parameter_substitution-_specification">
<body>signature.parameter->forAll(p | parameterSubstitution->select(b | b.formal = p)->size() <= 1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TemplateBinding-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateBinding-boundElement" name="boundElement" type="TemplateableElement" association="A_templateBinding_boundElement">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateBinding-boundElement-_ownedComment.0" body="The TemplateableElement that is bound by this TemplateBinding.">
<annotatedElement xmi:idref="TemplateBinding-boundElement"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateBinding-parameterSubstitution" name="parameterSubstitution" aggregation="composite" type="TemplateParameterSubstitution" association="A_parameterSubstitution_templateBinding">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateBinding-parameterSubstitution-_ownedComment.0" body="The TemplateParameterSubstitutions owned by this TemplateBinding.">
<annotatedElement xmi:idref="TemplateBinding-parameterSubstitution"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateBinding-parameterSubstitution-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="TemplateBinding-parameterSubstitution-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateBinding-signature" name="signature" type="TemplateSignature" association="A_signature_templateBinding">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateBinding-signature-_ownedComment.0" body="The TemplateSignature for the template that is the target of this TemplateBinding.">
<annotatedElement xmi:idref="TemplateBinding-signature"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TemplateParameter" name="TemplateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-_ownedComment.0" body="A TemplateParameter exposes a ParameterableElement as a formal parameter of a template.">
<annotatedElement xmi:idref="TemplateParameter"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateParameter-must_be_compatible" name="must_be_compatible">
<constrainedElement xmi:idref="TemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-must_be_compatible-_ownedComment.0" body="The default must be compatible with the formal TemplateParameter.">
<annotatedElement xmi:idref="TemplateParameter-must_be_compatible"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateParameter-must_be_compatible-_specification">
<body>default <> null implies default.isCompatibleWith(parameteredElement)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TemplateParameter-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameter-default" name="default" type="ParameterableElement" association="A_default_templateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-default-_ownedComment.0" body="The ParameterableElement that is the default for this formal TemplateParameter.">
<annotatedElement xmi:idref="TemplateParameter-default"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateParameter-default-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameter-ownedDefault" name="ownedDefault" aggregation="composite" type="ParameterableElement" association="A_ownedDefault_templateParameter">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="TemplateParameter-default"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-ownedDefault-_ownedComment.0" body="The ParameterableElement that is owned by this TemplateParameter for the purpose of providing a default.">
<annotatedElement xmi:idref="TemplateParameter-ownedDefault"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateParameter-ownedDefault-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameter-ownedParameteredElement" name="ownedParameteredElement" aggregation="composite" type="ParameterableElement" association="A_ownedParameteredElement_owningTemplateParameter">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="TemplateParameter-parameteredElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-ownedParameteredElement-_ownedComment.0" body="The ParameterableElement that is owned by this TemplateParameter for the purpose of exposing it as the parameteredElement.">
<annotatedElement xmi:idref="TemplateParameter-ownedParameteredElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateParameter-ownedParameteredElement-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameter-parameteredElement" name="parameteredElement" type="ParameterableElement" association="A_parameteredElement_templateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-parameteredElement-_ownedComment.0" body="The ParameterableElement exposed by this TemplateParameter.">
<annotatedElement xmi:idref="TemplateParameter-parameteredElement"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameter-signature" name="signature" type="TemplateSignature" association="A_ownedParameter_signature">
<subsettedProperty xmi:idref="A_parameter_templateSignature-templateSignature"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameter-signature-_ownedComment.0" body="The TemplateSignature that owns this TemplateParameter.">
<annotatedElement xmi:idref="TemplateParameter-signature"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TemplateParameterSubstitution" name="TemplateParameterSubstitution">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameterSubstitution-_ownedComment.0" body="A TemplateParameterSubstitution relates the actual parameter to a formal TemplateParameter as part of a template binding.">
<annotatedElement xmi:idref="TemplateParameterSubstitution"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateParameterSubstitution-must_be_compatible" name="must_be_compatible">
<constrainedElement xmi:idref="TemplateParameterSubstitution"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameterSubstitution-must_be_compatible-_ownedComment.0" body="The actual ParameterableElement must be compatible with the formal TemplateParameter, e.g., the actual ParameterableElement for a Class TemplateParameter must be a Class.">
<annotatedElement xmi:idref="TemplateParameterSubstitution-must_be_compatible"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateParameterSubstitution-must_be_compatible-_specification">
<body>actual->forAll(a | a.isCompatibleWith(formal.parameteredElement))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TemplateParameterSubstitution-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameterSubstitution-actual" name="actual" type="ParameterableElement" association="A_actual_templateParameterSubstitution">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameterSubstitution-actual-_ownedComment.0" body="The ParameterableElement that is the actual parameter for this TemplateParameterSubstitution.">
<annotatedElement xmi:idref="TemplateParameterSubstitution-actual"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameterSubstitution-formal" name="formal" type="TemplateParameter" association="A_formal_templateParameterSubstitution">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameterSubstitution-formal-_ownedComment.0" body="The formal TemplateParameter that is associated with this TemplateParameterSubstitution.">
<annotatedElement xmi:idref="TemplateParameterSubstitution-formal"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameterSubstitution-ownedActual" name="ownedActual" aggregation="composite" type="ParameterableElement" association="A_ownedActual_owningTemplateParameterSubstitution">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="TemplateParameterSubstitution-actual"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameterSubstitution-ownedActual-_ownedComment.0" body="The ParameterableElement that is owned by this TemplateParameterSubstitution as its actual parameter.">
<annotatedElement xmi:idref="TemplateParameterSubstitution-ownedActual"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateParameterSubstitution-ownedActual-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateParameterSubstitution-templateBinding" name="templateBinding" type="TemplateBinding" association="A_parameterSubstitution_templateBinding">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateParameterSubstitution-templateBinding-_ownedComment.0" body="The TemplateBinding that owns this TemplateParameterSubstitution.">
<annotatedElement xmi:idref="TemplateParameterSubstitution-templateBinding"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TemplateSignature" name="TemplateSignature">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateSignature-_ownedComment.0" body="A Template Signature bundles the set of formal TemplateParameters for a template.">
<annotatedElement xmi:idref="TemplateSignature"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateSignature-own_elements" name="own_elements">
<constrainedElement xmi:idref="TemplateSignature"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateSignature-own_elements-_ownedComment.0" body="Parameters must own the ParameterableElements they parameter or those ParameterableElements must be owned by the TemplateableElement being templated.">
<annotatedElement xmi:idref="TemplateSignature-own_elements"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateSignature-own_elements-_specification">
<body>template.ownedElement->includesAll(parameter.parameteredElement->asSet() - parameter.ownedParameteredElement->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="TemplateSignature-unique_parameters" name="unique_parameters">
<constrainedElement xmi:idref="TemplateSignature"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateSignature-unique_parameters-_ownedComment.0" body="The names of the parameters of a TemplateSignature are unique.">
<annotatedElement xmi:idref="TemplateSignature-unique_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TemplateSignature-unique_parameters-_specification">
<body>parameter->forAll( p1, p2 | (p1 <> p2 and p1.parameteredElement.oclIsKindOf(NamedElement) and p2.parameteredElement.oclIsKindOf(NamedElement) ) implies p1.parameteredElement.oclAsType(NamedElement).name <> p2.parameteredElement.oclAsType(NamedElement).name)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TemplateSignature-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateSignature-ownedParameter" name="ownedParameter" isOrdered="true" aggregation="composite" type="TemplateParameter" association="A_ownedParameter_signature">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="TemplateSignature-parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateSignature-ownedParameter-_ownedComment.0" body="The formal parameters that are owned by this TemplateSignature.">
<annotatedElement xmi:idref="TemplateSignature-ownedParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TemplateSignature-ownedParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="TemplateSignature-ownedParameter-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateSignature-parameter" name="parameter" isOrdered="true" type="TemplateParameter" association="A_parameter_templateSignature">
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateSignature-parameter-_ownedComment.0" body="The ordered set of all formal TemplateParameters for this TemplateSignature.">
<annotatedElement xmi:idref="TemplateSignature-parameter"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="TemplateSignature-parameter-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TemplateSignature-template" name="template" type="TemplateableElement" association="A_ownedTemplateSignature_template">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TemplateSignature-template-_ownedComment.0" body="The TemplateableElement that owns this TemplateSignature.">
<annotatedElement xmi:idref="TemplateSignature-template"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Type" name="Type" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Type-_ownedComment.0" body="A Type constrains the values represented by a TypedElement.">
<annotatedElement xmi:idref="Type"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Type-_generalization.0" general="PackageableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Type-package" name="package" type="Package" association="A_ownedType_package">
<subsettedProperty xmi:idref="A_packagedElement_owningPackage-owningPackage"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Type-package-_ownedComment.0" body="Specifies the owning Package of this Type, if any.">
<annotatedElement xmi:idref="Type-package"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Type-package-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Type-conformsTo" name="conformsTo" isQuery="true" bodyCondition="Type-conformsTo-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Type-conformsTo-_ownedComment.0" body="The query conformsTo() gives true for a Type that conforms to another. By default, two Types do not conform to each other. This query is intended to be redefined for specific conformance situations.">
<annotatedElement xmi:idref="Type-conformsTo"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Type-conformsTo-spec" name="spec">
<constrainedElement xmi:idref="Type-conformsTo"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Type-conformsTo-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Type-conformsTo-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Type-conformsTo-other" name="other" type="Type"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TypedElement" name="TypedElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="TypedElement-_ownedComment.0" body="A TypedElement is a NamedElement that may have a Type specified for it.">
<annotatedElement xmi:idref="TypedElement"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="TypedElement-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TypedElement-type" name="type" type="Type" association="A_type_typedElement">
<ownedComment xmi:type="uml:Comment" xmi:id="TypedElement-type-_ownedComment.0" body="The type of the TypedElement.">
<annotatedElement xmi:idref="TypedElement-type"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="TypedElement-type-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Usage" name="Usage">
<ownedComment xmi:type="uml:Comment" xmi:id="Usage-_ownedComment.0" body="A Usage is a Dependency in which the client Element requires the supplier Element (or set of Elements) for its full implementation or operation.">
<annotatedElement xmi:idref="Usage"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Usage-_generalization.0" general="Dependency"/>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="VisibilityKind" name="VisibilityKind">
<ownedComment xmi:type="uml:Comment" xmi:id="VisibilityKind-_ownedComment.0" body="VisibilityKind is an enumeration type that defines literals to determine the visibility of Elements in a model.">
<annotatedElement xmi:idref="VisibilityKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="VisibilityKind-public" name="public">
<ownedComment xmi:type="uml:Comment" xmi:id="VisibilityKind-public-_ownedComment.0" body="A Named Element with public visibility is visible to all elements that can access the contents of the Namespace that owns it.">
<annotatedElement xmi:idref="VisibilityKind-public"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="VisibilityKind-private" name="private">
<ownedComment xmi:type="uml:Comment" xmi:id="VisibilityKind-private-_ownedComment.0" body="A NamedElement with private visibility is only visible inside the Namespace that owns it.">
<annotatedElement xmi:idref="VisibilityKind-private"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="VisibilityKind-protected" name="protected">
<ownedComment xmi:type="uml:Comment" xmi:id="VisibilityKind-protected-_ownedComment.0" body="A NamedElement with protected visibility is visible to Elements that have a generalization relationship to the Namespace that owns it.">
<annotatedElement xmi:idref="VisibilityKind-protected"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="VisibilityKind-package" name="package">
<ownedComment xmi:type="uml:Comment" xmi:id="VisibilityKind-package-_ownedComment.0" body="A NamedElement with package visibility is visible to all Elements within the nearest enclosing Package (given that other owning Elements have proper visibility). Outside the nearest enclosing Package, a NamedElement marked as having package visibility is not visible. Only NamedElements that are not owned by Packages can be marked as having package visibility. ">
<annotatedElement xmi:idref="VisibilityKind-package"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_type_typedElement" name="A_type_typedElement">
<memberEnd xmi:idref="TypedElement-type"/>
<memberEnd xmi:idref="A_type_typedElement-typedElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_type_typedElement-typedElement" name="typedElement" type="TypedElement" association="A_type_typedElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_type_typedElement-typedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_type_typedElement-typedElement-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameter_signature" name="A_ownedParameter_signature">
<memberEnd xmi:idref="TemplateSignature-ownedParameter"/>
<memberEnd xmi:idref="TemplateParameter-signature"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_parameter_templateSignature" name="A_parameter_templateSignature">
<memberEnd xmi:idref="TemplateSignature-parameter"/>
<memberEnd xmi:idref="A_parameter_templateSignature-templateSignature"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_parameter_templateSignature-templateSignature" name="templateSignature" type="TemplateSignature" association="A_parameter_templateSignature">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_parameter_templateSignature-templateSignature-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_parameter_templateSignature-templateSignature-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_actual_templateParameterSubstitution" name="A_actual_templateParameterSubstitution">
<memberEnd xmi:idref="TemplateParameterSubstitution-actual"/>
<memberEnd xmi:idref="A_actual_templateParameterSubstitution-templateParameterSubstitution"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_actual_templateParameterSubstitution-templateParameterSubstitution" name="templateParameterSubstitution" type="TemplateParameterSubstitution" association="A_actual_templateParameterSubstitution">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_actual_templateParameterSubstitution-templateParameterSubstitution-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_actual_templateParameterSubstitution-templateParameterSubstitution-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedActual_owningTemplateParameterSubstitution" name="A_ownedActual_owningTemplateParameterSubstitution">
<memberEnd xmi:idref="TemplateParameterSubstitution-ownedActual"/>
<memberEnd xmi:idref="A_ownedActual_owningTemplateParameterSubstitution-owningTemplateParameterSubstitution"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_ownedActual_owningTemplateParameterSubstitution-_generalization.0" general="A_actual_templateParameterSubstitution"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedActual_owningTemplateParameterSubstitution-owningTemplateParameterSubstitution" name="owningTemplateParameterSubstitution" type="TemplateParameterSubstitution" association="A_ownedActual_owningTemplateParameterSubstitution">
<redefinedProperty xmi:idref="A_actual_templateParameterSubstitution-templateParameterSubstitution"/>
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedActual_owningTemplateParameterSubstitution-owningTemplateParameterSubstitution-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_formal_templateParameterSubstitution" name="A_formal_templateParameterSubstitution">
<memberEnd xmi:idref="TemplateParameterSubstitution-formal"/>
<memberEnd xmi:idref="A_formal_templateParameterSubstitution-templateParameterSubstitution"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_formal_templateParameterSubstitution-templateParameterSubstitution" name="templateParameterSubstitution" type="TemplateParameterSubstitution" association="A_formal_templateParameterSubstitution">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_formal_templateParameterSubstitution-templateParameterSubstitution-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_formal_templateParameterSubstitution-templateParameterSubstitution-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedDefault_templateParameter" name="A_ownedDefault_templateParameter">
<memberEnd xmi:idref="TemplateParameter-ownedDefault"/>
<memberEnd xmi:idref="A_ownedDefault_templateParameter-templateParameter"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_ownedDefault_templateParameter-_generalization.0" general="A_default_templateParameter"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedDefault_templateParameter-templateParameter" name="templateParameter" type="TemplateParameter" association="A_ownedDefault_templateParameter">
<redefinedProperty xmi:idref="A_default_templateParameter-templateParameter"/>
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedDefault_templateParameter-templateParameter-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameteredElement_owningTemplateParameter" name="A_ownedParameteredElement_owningTemplateParameter">
<memberEnd xmi:idref="TemplateParameter-ownedParameteredElement"/>
<memberEnd xmi:idref="ParameterableElement-owningTemplateParameter"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_default_templateParameter" name="A_default_templateParameter">
<memberEnd xmi:idref="TemplateParameter-default"/>
<memberEnd xmi:idref="A_default_templateParameter-templateParameter"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_default_templateParameter-templateParameter" name="templateParameter" type="TemplateParameter" association="A_default_templateParameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_default_templateParameter-templateParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_default_templateParameter-templateParameter-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_parameteredElement_templateParameter" name="A_parameteredElement_templateParameter">
<memberEnd xmi:idref="TemplateParameter-parameteredElement"/>
<memberEnd xmi:idref="ParameterableElement-templateParameter"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_signature_templateBinding" name="A_signature_templateBinding">
<memberEnd xmi:idref="TemplateBinding-signature"/>
<memberEnd xmi:idref="A_signature_templateBinding-templateBinding"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_signature_templateBinding-templateBinding" name="templateBinding" type="TemplateBinding" association="A_signature_templateBinding">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_signature_templateBinding-templateBinding-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_signature_templateBinding-templateBinding-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_parameterSubstitution_templateBinding" name="A_parameterSubstitution_templateBinding">
<memberEnd xmi:idref="TemplateBinding-parameterSubstitution"/>
<memberEnd xmi:idref="TemplateParameterSubstitution-templateBinding"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_templateBinding_boundElement" name="A_templateBinding_boundElement">
<memberEnd xmi:idref="TemplateableElement-templateBinding"/>
<memberEnd xmi:idref="TemplateBinding-boundElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedTemplateSignature_template" name="A_ownedTemplateSignature_template">
<memberEnd xmi:idref="TemplateableElement-ownedTemplateSignature"/>
<memberEnd xmi:idref="TemplateSignature-template"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_relatedElement_relationship" name="A_relatedElement_relationship" isDerived="true">
<memberEnd xmi:idref="Relationship-relatedElement"/>
<memberEnd xmi:idref="A_relatedElement_relationship-relationship"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_relatedElement_relationship-relationship" name="relationship" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Relationship" association="A_relatedElement_relationship">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_relatedElement_relationship-relationship-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_relatedElement_relationship-relationship-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_importedPackage_packageImport" name="A_importedPackage_packageImport">
<memberEnd xmi:idref="PackageImport-importedPackage"/>
<memberEnd xmi:idref="A_importedPackage_packageImport-packageImport"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_importedPackage_packageImport-packageImport" name="packageImport" type="PackageImport" association="A_importedPackage_packageImport">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_importedPackage_packageImport-packageImport-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_importedPackage_packageImport-packageImport-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_elementImport_importingNamespace" name="A_elementImport_importingNamespace">
<memberEnd xmi:idref="Namespace-elementImport"/>
<memberEnd xmi:idref="ElementImport-importingNamespace"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedMember_namespace" name="A_ownedMember_namespace" isDerived="true">
<memberEnd xmi:idref="Namespace-ownedMember"/>
<memberEnd xmi:idref="NamedElement-namespace"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedRule_context" name="A_ownedRule_context">
<memberEnd xmi:idref="Namespace-ownedRule"/>
<memberEnd xmi:idref="Constraint-context"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_packageImport_importingNamespace" name="A_packageImport_importingNamespace">
<memberEnd xmi:idref="Namespace-packageImport"/>
<memberEnd xmi:idref="PackageImport-importingNamespace"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_member_memberNamespace" name="A_member_memberNamespace" isDerived="true">
<memberEnd xmi:idref="Namespace-member"/>
<memberEnd xmi:idref="A_member_memberNamespace-memberNamespace"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_member_memberNamespace-memberNamespace" name="memberNamespace" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Namespace" association="A_member_memberNamespace">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_member_memberNamespace-memberNamespace-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_member_memberNamespace-memberNamespace-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_importedMember_namespace" name="A_importedMember_namespace" isDerived="true">
<memberEnd xmi:idref="Namespace-importedMember"/>
<memberEnd xmi:idref="A_importedMember_namespace-namespace"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_importedMember_namespace-namespace" name="namespace" type="Namespace" association="A_importedMember_namespace">
<subsettedProperty xmi:idref="A_member_memberNamespace-memberNamespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_importedMember_namespace-namespace-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_importedMember_namespace-namespace-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_nameExpression_namedElement" name="A_nameExpression_namedElement">
<memberEnd xmi:idref="NamedElement-nameExpression"/>
<memberEnd xmi:idref="A_nameExpression_namedElement-namedElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_nameExpression_namedElement-namedElement" name="namedElement" type="NamedElement" association="A_nameExpression_namedElement">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_nameExpression_namedElement-namedElement-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_clientDependency_client" name="A_clientDependency_client">
<memberEnd xmi:idref="NamedElement-clientDependency"/>
<memberEnd xmi:idref="Dependency-client"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_lowerValue_owningLower" name="A_lowerValue_owningLower">
<memberEnd xmi:idref="MultiplicityElement-lowerValue"/>
<memberEnd xmi:idref="A_lowerValue_owningLower-owningLower"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_lowerValue_owningLower-owningLower" name="owningLower" type="MultiplicityElement" association="A_lowerValue_owningLower">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_lowerValue_owningLower-owningLower-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_upperValue_owningUpper" name="A_upperValue_owningUpper">
<memberEnd xmi:idref="MultiplicityElement-upperValue"/>
<memberEnd xmi:idref="A_upperValue_owningUpper-owningUpper"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_upperValue_owningUpper-owningUpper" name="owningUpper" type="MultiplicityElement" association="A_upperValue_owningUpper">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_upperValue_owningUpper-owningUpper-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_importedElement_import" name="A_importedElement_import">
<memberEnd xmi:idref="ElementImport-importedElement"/>
<memberEnd xmi:idref="A_importedElement_import-import"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_importedElement_import-import" name="import" type="ElementImport" association="A_importedElement_import">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_importedElement_import-import-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_importedElement_import-import-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedElement_owner" name="A_ownedElement_owner" isDerived="true">
<memberEnd xmi:idref="Element-ownedElement"/>
<memberEnd xmi:idref="Element-owner"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedComment_owningElement" name="A_ownedComment_owningElement">
<memberEnd xmi:idref="Element-ownedComment"/>
<memberEnd xmi:idref="A_ownedComment_owningElement-owningElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedComment_owningElement-owningElement" name="owningElement" type="Element" association="A_ownedComment_owningElement">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedComment_owningElement-owningElement-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_source_directedRelationship" name="A_source_directedRelationship" isDerived="true">
<memberEnd xmi:idref="DirectedRelationship-source"/>
<memberEnd xmi:idref="A_source_directedRelationship-directedRelationship"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_source_directedRelationship-directedRelationship" name="directedRelationship" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="DirectedRelationship" association="A_source_directedRelationship">
<subsettedProperty xmi:idref="A_relatedElement_relationship-relationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_source_directedRelationship-directedRelationship-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_source_directedRelationship-directedRelationship-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_target_directedRelationship" name="A_target_directedRelationship" isDerived="true">
<memberEnd xmi:idref="DirectedRelationship-target"/>
<memberEnd xmi:idref="A_target_directedRelationship-directedRelationship"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_target_directedRelationship-directedRelationship" name="directedRelationship" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="DirectedRelationship" association="A_target_directedRelationship">
<subsettedProperty xmi:idref="A_relatedElement_relationship-relationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_target_directedRelationship-directedRelationship-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_target_directedRelationship-directedRelationship-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_supplier_supplierDependency" name="A_supplier_supplierDependency">
<memberEnd xmi:idref="Dependency-supplier"/>
<memberEnd xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_supplier_supplierDependency-supplierDependency" name="supplierDependency" type="Dependency" association="A_supplier_supplierDependency">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<ownedComment xmi:type="uml:Comment" xmi:id="A_supplier_supplierDependency-supplierDependency-_ownedComment.0" body="Indicates the dependencies that reference the supplier.">
<annotatedElement xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_supplier_supplierDependency-supplierDependency-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_supplier_supplierDependency-supplierDependency-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_constrainedElement_constraint" name="A_constrainedElement_constraint">
<memberEnd xmi:idref="Constraint-constrainedElement"/>
<memberEnd xmi:idref="A_constrainedElement_constraint-constraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_constrainedElement_constraint-constraint" name="constraint" type="Constraint" association="A_constrainedElement_constraint">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_constrainedElement_constraint-constraint-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_constrainedElement_constraint-constraint-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_specification_owningConstraint" name="A_specification_owningConstraint">
<memberEnd xmi:idref="Constraint-specification"/>
<memberEnd xmi:idref="A_specification_owningConstraint-owningConstraint"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_specification_owningConstraint-owningConstraint" name="owningConstraint" type="Constraint" association="A_specification_owningConstraint">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_specification_owningConstraint-owningConstraint-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_annotatedElement_comment" name="A_annotatedElement_comment">
<memberEnd xmi:idref="Comment-annotatedElement"/>
<memberEnd xmi:idref="A_annotatedElement_comment-comment"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_annotatedElement_comment-comment" name="comment" type="Comment" association="A_annotatedElement_comment">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_annotatedElement_comment-comment-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_annotatedElement_comment-comment-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_mapping_abstraction" name="A_mapping_abstraction">
<memberEnd xmi:idref="Abstraction-mapping"/>
<memberEnd xmi:idref="A_mapping_abstraction-abstraction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_mapping_abstraction-abstraction" name="abstraction" type="Abstraction" association="A_mapping_abstraction">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_mapping_abstraction-abstraction-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="CommonBehavior" name="CommonBehavior">
<packageImport xmi:type="uml:PackageImport" xmi:id="CommonBehavior-_packageImport.0" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="CommonBehavior-_packageImport.1" importedPackage="SimpleClassifiers"/>
<packagedElement xmi:type="uml:Class" xmi:id="AnyReceiveEvent" name="AnyReceiveEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="AnyReceiveEvent-_ownedComment.0" body="A trigger for an AnyReceiveEvent is triggered by the receipt of any message that is not explicitly handled by any related trigger.">
<annotatedElement xmi:idref="AnyReceiveEvent"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="AnyReceiveEvent-_generalization.0" general="MessageEvent"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Behavior" name="Behavior" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-_ownedComment.0" body="Behavior is a specification of how its context BehavioredClassifier changes state over time. This specification may be either a definition of possible behavior execution or emergent behavior, or a selective illustration of an interesting subset of possible executions. The latter form is typically used for capturing examples, such as a trace of a particular execution.">
<annotatedElement xmi:idref="Behavior"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-most_one_behavior" name="most_one_behavior">
<constrainedElement xmi:idref="Behavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-most_one_behavior-_ownedComment.0" body="There may be at most one Behavior for a given pairing of BehavioredClassifier (as owner of the Behavior) and BehavioralFeature (as specification of the Behavior).">
<annotatedElement xmi:idref="Behavior-most_one_behavior"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-most_one_behavior-_specification">
<body>specification <> null implies _'context'.ownedBehavior->select(specification=self.specification)->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-parameters_match" name="parameters_match">
<constrainedElement xmi:idref="Behavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-parameters_match-_ownedComment.0" body="If a Behavior has a specification BehavioralFeature, then it must have the same number of ownedParameters as its specification. The Behavior Parameters must also "match" the BehavioralParameter Parameters, but the exact requirements for this matching are not formalized.">
<annotatedElement xmi:idref="Behavior-parameters_match"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-parameters_match-_specification">
<body>specification <> null implies ownedParameter->size() = specification.ownedParameter->size()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-feature_of_context_classifier" name="feature_of_context_classifier">
<constrainedElement xmi:idref="Behavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-feature_of_context_classifier-_ownedComment.0" body="The specification BehavioralFeature must be a feature (possibly inherited) of the context BehavioredClassifier of the Behavior.">
<annotatedElement xmi:idref="Behavior-feature_of_context_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-feature_of_context_classifier-_specification">
<body>_'context'.feature->includes(specification)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Behavior-_generalization.0" general="Class"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-context" name="context" isReadOnly="true" isDerived="true" type="BehavioredClassifier" association="A_context_behavior">
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-context-_ownedComment.0" body="The BehavioredClassifier that is the context for the execution of the Behavior. A Behavior that is directly owned as a nestedClassifier does not have a context. Otherwise, to determine the context of a Behavior, find the first BehavioredClassifier reached by following the chain of owner relationships from the Behavior, if any. If there is such a BehavioredClassifier, then it is the context, unless it is itself a Behavior with a non-empty context, in which case that is also the context for the original Behavior. For example, following this algorithm, the context of an entry Behavior in a StateMachine is the BehavioredClassifier that owns the StateMachine. The features of the context BehavioredClassifier as well as the Elements visible to the context Classifier are visible to the Behavior.">
<annotatedElement xmi:idref="Behavior-context"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-context-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-isReentrant" name="isReentrant">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-isReentrant-_ownedComment.0" body="Tells whether the Behavior can be invoked while it is still executing from a previous invocation.">
<annotatedElement xmi:idref="Behavior-isReentrant"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Behavior-isReentrant-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-ownedParameter" name="ownedParameter" isOrdered="true" aggregation="composite" type="Parameter" association="A_ownedParameter_behavior">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-ownedParameter-_ownedComment.0" body="References a list of Parameters to the Behavior which describes the order and type of arguments that can be given when the Behavior is invoked and of the values which will be returned when the Behavior completes its execution.">
<annotatedElement xmi:idref="Behavior-ownedParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-ownedParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-ownedParameter-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-ownedParameterSet" name="ownedParameterSet" aggregation="composite" type="ParameterSet" association="A_ownedParameterSet_behavior">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-ownedParameterSet-_ownedComment.0" body="The ParameterSets owned by this Behavior.">
<annotatedElement xmi:idref="Behavior-ownedParameterSet"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-ownedParameterSet-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-ownedParameterSet-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-postcondition" name="postcondition" aggregation="composite" type="Constraint" association="A_postcondition_behavior">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-postcondition-_ownedComment.0" body="An optional set of Constraints specifying what is fulfilled after the execution of the Behavior is completed, if its precondition was fulfilled before its invocation.">
<annotatedElement xmi:idref="Behavior-postcondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-postcondition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-postcondition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-precondition" name="precondition" aggregation="composite" type="Constraint" association="A_precondition_behavior">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-precondition-_ownedComment.0" body="An optional set of Constraints specifying what must be fulfilled before the Behavior is invoked.">
<annotatedElement xmi:idref="Behavior-precondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-precondition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-precondition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-specification" name="specification" type="BehavioralFeature" association="A_method_specification">
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-specification-_ownedComment.0" body="Designates a BehavioralFeature that the Behavior implements. The BehavioralFeature must be owned by the BehavioredClassifier that owns the Behavior or be inherited by it. The Parameters of the BehavioralFeature and the implementing Behavior must match. A Behavior does not need to have a specification, in which case it either is the classifierBehavior of a BehavioredClassifier or it can only be invoked by another Behavior of the Classifier.">
<annotatedElement xmi:idref="Behavior-specification"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-specification-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Behavior-redefinedBehavior" name="redefinedBehavior" type="Behavior" association="A_redefinedBehavior_behavior">
<subsettedProperty xmi:idref="Classifier-redefinedClassifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-redefinedBehavior-_ownedComment.0" body="References the Behavior that this Behavior redefines. A subtype of Behavior may redefine any other subtype of Behavior. If the Behavior implements a BehavioralFeature, it replaces the redefined Behavior. If the Behavior is a classifierBehavior, it extends the redefined Behavior.">
<annotatedElement xmi:idref="Behavior-redefinedBehavior"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-redefinedBehavior-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-redefinedBehavior-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Behavior-context.1" name="context" isQuery="true" bodyCondition="Behavior-context.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-context.1-_ownedComment.0" body="A Behavior that is directly owned as a nestedClassifier does not have a context. Otherwise, to determine the context of a Behavior, find the first BehavioredClassifier reached by following the chain of owner relationships from the Behavior, if any. If there is such a BehavioredClassifier, then it is the context, unless it is itself a Behavior with a non-empty context, in which case that is also the context for the original Behavior. ">
<annotatedElement xmi:idref="Behavior-context.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-context.1-spec" name="spec">
<constrainedElement xmi:idref="Behavior-context.1"/>
<constrainedElement xmi:idref="Behavior-context"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-context.1-spec-_specification">
<body>result = (if nestingClass <> null then null else let b:BehavioredClassifier = self.behavioredClassifier(self.owner) in if b.oclIsKindOf(Behavior) and b.oclAsType(Behavior)._'context' <> null then b.oclAsType(Behavior)._'context' else b endif endif )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Behavior-context.1-result" name="result" direction="return" type="BehavioredClassifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-context.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Behavior-behavioredClassifier" name="behavioredClassifier" isQuery="true">
<precondition xmi:idref="Behavior-behavioredClassifier-spec"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-behavioredClassifier-_ownedComment.0" body="The first BehavioredClassifier reached by following the chain of owner relationships from the Behavior, if any.">
<annotatedElement xmi:idref="Behavior-behavioredClassifier"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-behavioredClassifier-spec" name="spec">
<constrainedElement xmi:idref="Behavior-behavioredClassifier"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-behavioredClassifier-spec-_specification">
<body>if from.oclIsKindOf(BehavioredClassifier) then from.oclAsType(BehavioredClassifier) else if from.owner = null then null else self.behavioredClassifier(from.owner) endif endif </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Behavior-behavioredClassifier-from" name="from" type="Element"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Behavior-behavioredClassifier-result" name="result" direction="return" type="BehavioredClassifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-behavioredClassifier-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Behavior-inputParameters" name="inputParameters" isQuery="true" bodyCondition="Behavior-inputParameters-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-inputParameters-_ownedComment.0" body="The in and inout ownedParameters of the Behavior.">
<annotatedElement xmi:idref="Behavior-inputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-inputParameters-spec" name="spec">
<constrainedElement xmi:idref="Behavior-inputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-inputParameters-spec-_specification">
<body>result = (ownedParameter->select(direction=ParameterDirectionKind::_'in' or direction=ParameterDirectionKind::inout))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Behavior-inputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-inputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-inputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Behavior-outputParameters" name="outputParameters" isQuery="true" bodyCondition="Behavior-outputParameters-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Behavior-outputParameters-_ownedComment.0" body="The out, inout and return ownedParameters.">
<annotatedElement xmi:idref="Behavior-outputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Behavior-outputParameters-spec" name="spec">
<constrainedElement xmi:idref="Behavior-outputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Behavior-outputParameters-spec-_specification">
<body>result = (ownedParameter->select(direction=ParameterDirectionKind::out or direction=ParameterDirectionKind::inout or direction=ParameterDirectionKind::return))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Behavior-outputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Behavior-outputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Behavior-outputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CallEvent" name="CallEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="CallEvent-_ownedComment.0" body="A CallEvent models the receipt by an object of a message invoking a call of an Operation.">
<annotatedElement xmi:idref="CallEvent"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="CallEvent-_generalization.0" general="MessageEvent"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CallEvent-operation" name="operation" type="Operation" association="A_operation_callEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="CallEvent-operation-_ownedComment.0" body="Designates the Operation whose invocation raised the CalEvent.">
<annotatedElement xmi:idref="CallEvent-operation"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ChangeEvent" name="ChangeEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="ChangeEvent-_ownedComment.0" body="A ChangeEvent models a change in the system configuration that makes a condition true.">
<annotatedElement xmi:idref="ChangeEvent"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ChangeEvent-_generalization.0" general="Event"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ChangeEvent-changeExpression" name="changeExpression" aggregation="composite" type="ValueSpecification" association="A_changeExpression_changeEvent">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ChangeEvent-changeExpression-_ownedComment.0" body="A Boolean-valued ValueSpecification that will result in a ChangeEvent whenever its value changes from false to true.">
<annotatedElement xmi:idref="ChangeEvent-changeExpression"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Event" name="Event" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Event-_ownedComment.0" body="An Event is the specification of some occurrence that may potentially trigger effects by an object.">
<annotatedElement xmi:idref="Event"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Event-_generalization.0" general="PackageableElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="FunctionBehavior" name="FunctionBehavior">
<ownedComment xmi:type="uml:Comment" xmi:id="FunctionBehavior-_ownedComment.0" body="A FunctionBehavior is an OpaqueBehavior that does not access or modify any objects or other external data.">
<annotatedElement xmi:idref="FunctionBehavior"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="FunctionBehavior-one_output_parameter" name="one_output_parameter">
<constrainedElement xmi:idref="FunctionBehavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FunctionBehavior-one_output_parameter-_ownedComment.0" body="A FunctionBehavior has at least one output Parameter.">
<annotatedElement xmi:idref="FunctionBehavior-one_output_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FunctionBehavior-one_output_parameter-_specification">
<body>self.ownedParameter-> select(p | p.direction = ParameterDirectionKind::out or p.direction= ParameterDirectionKind::inout or p.direction= ParameterDirectionKind::return)->size() >= 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="FunctionBehavior-types_of_parameters" name="types_of_parameters">
<constrainedElement xmi:idref="FunctionBehavior"/>
<ownedComment xmi:type="uml:Comment" xmi:id="FunctionBehavior-types_of_parameters-_ownedComment.0" body="The types of the ownedParameters are all DataTypes, which may not nest anything but other DataTypes.">
<annotatedElement xmi:idref="FunctionBehavior-types_of_parameters"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FunctionBehavior-types_of_parameters-_specification">
<body>ownedParameter->forAll(p | p.type <> null and p.type.oclIsTypeOf(DataType) and hasAllDataTypeAttributes(p.type.oclAsType(DataType)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="FunctionBehavior-_generalization.0" general="OpaqueBehavior"/>
<ownedOperation xmi:type="uml:Operation" xmi:id="FunctionBehavior-hasAllDataTypeAttributes" name="hasAllDataTypeAttributes" isQuery="true" bodyCondition="FunctionBehavior-hasAllDataTypeAttributes-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="FunctionBehavior-hasAllDataTypeAttributes-_ownedComment.0" body="The hasAllDataTypeAttributes query tests whether the types of the attributes of the given DataType are all DataTypes, and similarly for all those DataTypes.">
<annotatedElement xmi:idref="FunctionBehavior-hasAllDataTypeAttributes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="FunctionBehavior-hasAllDataTypeAttributes-spec" name="spec">
<constrainedElement xmi:idref="FunctionBehavior-hasAllDataTypeAttributes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="FunctionBehavior-hasAllDataTypeAttributes-spec-_specification">
<body>result = (d.ownedAttribute->forAll(a | a.type.oclIsKindOf(DataType) and hasAllDataTypeAttributes(a.type.oclAsType(DataType))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="FunctionBehavior-hasAllDataTypeAttributes-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="FunctionBehavior-hasAllDataTypeAttributes-d" name="d" type="DataType"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="MessageEvent" name="MessageEvent" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="MessageEvent-_ownedComment.0" body="A MessageEvent specifies the receipt by an object of either an Operation call or a Signal instance.">
<annotatedElement xmi:idref="MessageEvent"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="MessageEvent-_generalization.0" general="Event"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="OpaqueBehavior" name="OpaqueBehavior">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueBehavior-_ownedComment.0" body="An OpaqueBehavior is a Behavior whose specification is given in a textual language other than UML.">
<annotatedElement xmi:idref="OpaqueBehavior"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="OpaqueBehavior-_generalization.0" general="Behavior"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueBehavior-body" name="body" isOrdered="true" isUnique="false">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueBehavior-body-_ownedComment.0" body="Specifies the behavior in one or more languages.">
<annotatedElement xmi:idref="OpaqueBehavior-body"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueBehavior-body-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueBehavior-body-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueBehavior-language" name="language" isOrdered="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueBehavior-language-_ownedComment.0" body="Languages the body strings use in the same order as the body strings.">
<annotatedElement xmi:idref="OpaqueBehavior-language"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueBehavior-language-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueBehavior-language-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="SignalEvent" name="SignalEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="SignalEvent-_ownedComment.0" body="A SignalEvent represents the receipt of an asynchronous Signal instance.">
<annotatedElement xmi:idref="SignalEvent"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="SignalEvent-_generalization.0" general="MessageEvent"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="SignalEvent-signal" name="signal" type="Signal" association="A_signal_signalEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="SignalEvent-signal-_ownedComment.0" body="The specific Signal that is associated with this SignalEvent.">
<annotatedElement xmi:idref="SignalEvent-signal"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TimeEvent" name="TimeEvent">
<ownedComment xmi:type="uml:Comment" xmi:id="TimeEvent-_ownedComment.0" body="A TimeEvent is an Event that occurs at a specific point in time.">
<annotatedElement xmi:idref="TimeEvent"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TimeEvent-when_non_negative" name="when_non_negative">
<constrainedElement xmi:idref="TimeEvent"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeEvent-when_non_negative-_ownedComment.0" body="The ValueSpecification when must return a non-negative Integer.">
<annotatedElement xmi:idref="TimeEvent-when_non_negative"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TimeEvent-when_non_negative-_specification">
<body>when.integerValue() >= 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TimeEvent-_generalization.0" general="Event"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeEvent-isRelative" name="isRelative">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeEvent-isRelative-_ownedComment.0" body="Specifies whether the TimeEvent is specified as an absolute or relative time.">
<annotatedElement xmi:idref="TimeEvent-isRelative"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="TimeEvent-isRelative-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TimeEvent-when" name="when" aggregation="composite" type="TimeExpression" association="A_when_timeEvent">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TimeEvent-when-_ownedComment.0" body="Specifies the time of the TimeEvent.">
<annotatedElement xmi:idref="TimeEvent-when"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Trigger" name="Trigger">
<ownedComment xmi:type="uml:Comment" xmi:id="Trigger-_ownedComment.0" body="A Trigger specifies a specific point at which an Event occurrence may trigger an effect in a Behavior. A Trigger may be qualified by the Port on which the Event occurred.">
<annotatedElement xmi:idref="Trigger"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Trigger-trigger_with_ports" name="trigger_with_ports">
<constrainedElement xmi:idref="Trigger"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Trigger-trigger_with_ports-_ownedComment.0" body="If a Trigger specifies one or more ports, the event of the Trigger must be a MessageEvent.">
<annotatedElement xmi:idref="Trigger-trigger_with_ports"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Trigger-trigger_with_ports-_specification">
<body>port->notEmpty() implies event.oclIsKindOf(MessageEvent)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Trigger-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Trigger-event" name="event" type="Event" association="A_event_trigger">
<ownedComment xmi:type="uml:Comment" xmi:id="Trigger-event-_ownedComment.0" body="The Event that detected by the Trigger.">
<annotatedElement xmi:idref="Trigger-event"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Trigger-port" name="port" type="Port" association="A_port_trigger">
<ownedComment xmi:type="uml:Comment" xmi:id="Trigger-port-_ownedComment.0" body="A optional Port of through which the given effect is detected.">
<annotatedElement xmi:idref="Trigger-port"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Trigger-port-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Trigger-port-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_event_trigger" name="A_event_trigger">
<memberEnd xmi:idref="Trigger-event"/>
<memberEnd xmi:idref="A_event_trigger-trigger"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_event_trigger-trigger" name="trigger" type="Trigger" association="A_event_trigger">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_event_trigger-trigger-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_event_trigger-trigger-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_port_trigger" name="A_port_trigger">
<memberEnd xmi:idref="Trigger-port"/>
<memberEnd xmi:idref="A_port_trigger-trigger"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_port_trigger-trigger" name="trigger" type="Trigger" association="A_port_trigger">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_port_trigger-trigger-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_port_trigger-trigger-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_when_timeEvent" name="A_when_timeEvent">
<memberEnd xmi:idref="TimeEvent-when"/>
<memberEnd xmi:idref="A_when_timeEvent-timeEvent"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_when_timeEvent-timeEvent" name="timeEvent" type="TimeEvent" association="A_when_timeEvent">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_when_timeEvent-timeEvent-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_signal_signalEvent" name="A_signal_signalEvent">
<memberEnd xmi:idref="SignalEvent-signal"/>
<memberEnd xmi:idref="A_signal_signalEvent-signalEvent"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_signal_signalEvent-signalEvent" name="signalEvent" type="SignalEvent" association="A_signal_signalEvent">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_signal_signalEvent-signalEvent-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_signal_signalEvent-signalEvent-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_changeExpression_changeEvent" name="A_changeExpression_changeEvent">
<memberEnd xmi:idref="ChangeEvent-changeExpression"/>
<memberEnd xmi:idref="A_changeExpression_changeEvent-changeEvent"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_changeExpression_changeEvent-changeEvent" name="changeEvent" type="ChangeEvent" association="A_changeExpression_changeEvent">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_changeExpression_changeEvent-changeEvent-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_operation_callEvent" name="A_operation_callEvent">
<memberEnd xmi:idref="CallEvent-operation"/>
<memberEnd xmi:idref="A_operation_callEvent-callEvent"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_operation_callEvent-callEvent" name="callEvent" type="CallEvent" association="A_operation_callEvent">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_operation_callEvent-callEvent-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_operation_callEvent-callEvent-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameterSet_behavior" name="A_ownedParameterSet_behavior">
<memberEnd xmi:idref="Behavior-ownedParameterSet"/>
<memberEnd xmi:idref="A_ownedParameterSet_behavior-behavior"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedParameterSet_behavior-behavior" name="behavior" type="Behavior" association="A_ownedParameterSet_behavior">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedParameterSet_behavior-behavior-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_context_behavior" name="A_context_behavior" isDerived="true">
<memberEnd xmi:idref="Behavior-context"/>
<memberEnd xmi:idref="A_context_behavior-behavior"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_context_behavior-behavior" name="behavior" type="Behavior" association="A_context_behavior">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_context_behavior-behavior-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_context_behavior-behavior-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_precondition_behavior" name="A_precondition_behavior">
<memberEnd xmi:idref="Behavior-precondition"/>
<memberEnd xmi:idref="A_precondition_behavior-behavior"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_precondition_behavior-behavior" name="behavior" type="Behavior" association="A_precondition_behavior">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_precondition_behavior-behavior-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_postcondition_behavior" name="A_postcondition_behavior">
<memberEnd xmi:idref="Behavior-postcondition"/>
<memberEnd xmi:idref="A_postcondition_behavior-behavior"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_postcondition_behavior-behavior" name="behavior" type="Behavior" association="A_postcondition_behavior">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_postcondition_behavior-behavior-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedBehavior_behavior" name="A_redefinedBehavior_behavior">
<memberEnd xmi:idref="Behavior-redefinedBehavior"/>
<memberEnd xmi:idref="A_redefinedBehavior_behavior-behavior"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedBehavior_behavior-behavior" name="behavior" type="Behavior" association="A_redefinedBehavior_behavior">
<subsettedProperty xmi:idref="A_redefinedClassifier_classifier-classifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedBehavior_behavior-behavior-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedBehavior_behavior-behavior-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameter_behavior" name="A_ownedParameter_behavior">
<memberEnd xmi:idref="Behavior-ownedParameter"/>
<memberEnd xmi:idref="A_ownedParameter_behavior-behavior"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedParameter_behavior-behavior" name="behavior" type="Behavior" association="A_ownedParameter_behavior">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedParameter_behavior-behavior-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="Classification" name="Classification">
<packageImport xmi:type="uml:PackageImport" xmi:id="Classification-_packageImport.0" importedPackage="CommonStructure"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Classification-_packageImport.1" importedPackage="Deployments"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Classification-_packageImport.2" importedPackage="CommonBehavior"/>
<packagedElement xmi:type="uml:Class" xmi:id="Substitution" name="Substitution">
<ownedComment xmi:type="uml:Comment" xmi:id="Substitution-_ownedComment.0" body="A substitution is a relationship between two classifiers signifying that the substituting classifier complies with the contract specified by the contract classifier. This implies that instances of the substituting classifier are runtime substitutable where instances of the contract classifier are expected.">
<annotatedElement xmi:idref="Substitution"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Substitution-_generalization.0" general="Realization"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Substitution-contract" name="contract" type="Classifier" association="A_contract_substitution">
<subsettedProperty xmi:idref="Dependency-supplier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Substitution-contract-_ownedComment.0" body="The contract with which the substituting classifier complies.">
<annotatedElement xmi:idref="Substitution-contract"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Substitution-substitutingClassifier" name="substitutingClassifier" type="Classifier" association="A_substitution_substitutingClassifier">
<subsettedProperty xmi:idref="Dependency-client"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Substitution-substitutingClassifier-_ownedComment.0" body="Instances of the substituting classifier are runtime substitutable where instances of the contract classifier are expected.">
<annotatedElement xmi:idref="Substitution-substitutingClassifier"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="BehavioralFeature" name="BehavioralFeature" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-_ownedComment.0" body="A BehavioralFeature is a feature of a Classifier that specifies an aspect of the behavior of its instances. A BehavioralFeature is implemented (realized) by a Behavior. A BehavioralFeature specifies that a Classifier will respond to a designated request by invoking its implementing method.">
<annotatedElement xmi:idref="BehavioralFeature"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="BehavioralFeature-abstract_no_method" name="abstract_no_method">
<constrainedElement xmi:idref="BehavioralFeature"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-abstract_no_method-_ownedComment.0" body="When isAbstract is true there are no methods.">
<annotatedElement xmi:idref="BehavioralFeature-abstract_no_method"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BehavioralFeature-abstract_no_method-_specification">
<body>isAbstract implies method->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="BehavioralFeature-_generalization.0" general="Feature"/>
<generalization xmi:type="uml:Generalization" xmi:id="BehavioralFeature-_generalization.1" general="Namespace"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioralFeature-concurrency" name="concurrency" type="CallConcurrencyKind">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-concurrency-_ownedComment.0" body="Specifies the semantics of concurrent calls to the same passive instance (i.e., an instance originating from a Class with isActive being false). Active instances control access to their own BehavioralFeatures.">
<annotatedElement xmi:idref="BehavioralFeature-concurrency"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="BehavioralFeature-concurrency-_defaultValue" type="CallConcurrencyKind" instance="CallConcurrencyKind-sequential"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioralFeature-isAbstract" name="isAbstract">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-isAbstract-_ownedComment.0" body="If true, then the BehavioralFeature does not have an implementation, and one must be supplied by a more specific Classifier. If false, the BehavioralFeature must have an implementation in the Classifier or one must be inherited.">
<annotatedElement xmi:idref="BehavioralFeature-isAbstract"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="BehavioralFeature-isAbstract-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioralFeature-method" name="method" type="Behavior" association="A_method_specification">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-method-_ownedComment.0" body="A Behavior that implements the BehavioralFeature. There may be at most one Behavior for a particular pairing of a Classifier (as owner of the Behavior) and a BehavioralFeature (as specification of the Behavior).">
<annotatedElement xmi:idref="BehavioralFeature-method"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioralFeature-method-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioralFeature-method-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioralFeature-ownedParameter" name="ownedParameter" isOrdered="true" aggregation="composite" type="Parameter" association="A_ownedParameter_ownerFormalParam">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-ownedParameter-_ownedComment.0" body="The ordered set of formal Parameters of this BehavioralFeature.">
<annotatedElement xmi:idref="BehavioralFeature-ownedParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioralFeature-ownedParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioralFeature-ownedParameter-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioralFeature-ownedParameterSet" name="ownedParameterSet" aggregation="composite" type="ParameterSet" association="A_ownedParameterSet_behavioralFeature">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-ownedParameterSet-_ownedComment.0" body="The ParameterSets owned by this BehavioralFeature.">
<annotatedElement xmi:idref="BehavioralFeature-ownedParameterSet"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioralFeature-ownedParameterSet-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioralFeature-ownedParameterSet-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="BehavioralFeature-raisedException" name="raisedException" type="Type" association="A_raisedException_behavioralFeature">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-raisedException-_ownedComment.0" body="The Types representing exceptions that may be raised during an invocation of this BehavioralFeature.">
<annotatedElement xmi:idref="BehavioralFeature-raisedException"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioralFeature-raisedException-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioralFeature-raisedException-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="BehavioralFeature-isDistinguishableFrom" name="isDistinguishableFrom" isQuery="true" bodyCondition="BehavioralFeature-isDistinguishableFrom-spec">
<redefinedOperation xmi:idref="NamedElement-isDistinguishableFrom"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-isDistinguishableFrom-_ownedComment.0" body="The query isDistinguishableFrom() determines whether two BehavioralFeatures may coexist in the same Namespace. It specifies that they must have different signatures.">
<annotatedElement xmi:idref="BehavioralFeature-isDistinguishableFrom"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="BehavioralFeature-isDistinguishableFrom-spec" name="spec">
<constrainedElement xmi:idref="BehavioralFeature-isDistinguishableFrom"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BehavioralFeature-isDistinguishableFrom-spec-_specification">
<body>result = ((n.oclIsKindOf(BehavioralFeature) and ns.getNamesOfMember(self)->intersection(ns.getNamesOfMember(n))->notEmpty()) implies Set{self}->including(n.oclAsType(BehavioralFeature))->isUnique(ownedParameter->collect(p| Tuple { name=p.name, type=p.type,effect=p.effect,direction=p.direction,isException=p.isException, isStream=p.isStream,isOrdered=p.isOrdered,isUnique=p.isUnique,lower=p.lower, upper=p.upper })) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="BehavioralFeature-isDistinguishableFrom-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="BehavioralFeature-isDistinguishableFrom-n" name="n" type="NamedElement"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="BehavioralFeature-isDistinguishableFrom-ns" name="ns" type="Namespace"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="BehavioralFeature-inputParameters" name="inputParameters" isQuery="true" bodyCondition="BehavioralFeature-inputParameters-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-inputParameters-_ownedComment.0" body="The ownedParameters with direction in and inout.">
<annotatedElement xmi:idref="BehavioralFeature-inputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="BehavioralFeature-inputParameters-spec" name="spec">
<constrainedElement xmi:idref="BehavioralFeature-inputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BehavioralFeature-inputParameters-spec-_specification">
<body>result = (ownedParameter->select(direction=ParameterDirectionKind::_'in' or direction=ParameterDirectionKind::inout))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="BehavioralFeature-inputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioralFeature-inputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioralFeature-inputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="BehavioralFeature-outputParameters" name="outputParameters" isQuery="true" bodyCondition="BehavioralFeature-outputParameters-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="BehavioralFeature-outputParameters-_ownedComment.0" body="The ownedParameters with direction out, inout, or return.">
<annotatedElement xmi:idref="BehavioralFeature-outputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="BehavioralFeature-outputParameters-spec" name="spec">
<constrainedElement xmi:idref="BehavioralFeature-outputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BehavioralFeature-outputParameters-spec-_specification">
<body>result = (ownedParameter->select(direction=ParameterDirectionKind::out or direction=ParameterDirectionKind::inout or direction=ParameterDirectionKind::return))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="BehavioralFeature-outputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="BehavioralFeature-outputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="BehavioralFeature-outputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Classifier" name="Classifier" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-_ownedComment.0" body="A Classifier represents a classification of instances according to their Features.">
<annotatedElement xmi:idref="Classifier"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-specialize_type" name="specialize_type">
<constrainedElement xmi:idref="Classifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-specialize_type-_ownedComment.0" body="A Classifier may only specialize Classifiers of a valid type.">
<annotatedElement xmi:idref="Classifier-specialize_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-specialize_type-_specification">
<body>parents()->forAll(c | self.maySpecializeType(c))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-maps_to_generalization_set" name="maps_to_generalization_set">
<constrainedElement xmi:idref="Classifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-maps_to_generalization_set-_ownedComment.0" body="The Classifier that maps to a GeneralizationSet may neither be a specific nor a general Classifier in any of the Generalization relationships defined for that GeneralizationSet. In other words, a power type may not be an instance of itself nor may its instances also be its subclasses.">
<annotatedElement xmi:idref="Classifier-maps_to_generalization_set"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-maps_to_generalization_set-_specification">
<body>powertypeExtent->forAll( gs | gs.generalization->forAll( gen | not (gen.general = self) and not gen.general.allParents()->includes(self) and not (gen.specific = self) and not self.allParents()->includes(gen.specific) ))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-non_final_parents" name="non_final_parents">
<constrainedElement xmi:idref="Classifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-non_final_parents-_ownedComment.0" body="The parents of a Classifier must be non-final.">
<annotatedElement xmi:idref="Classifier-non_final_parents"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-non_final_parents-_specification">
<body>parents()->forAll(not isFinalSpecialization)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-no_cycles_in_generalization" name="no_cycles_in_generalization">
<constrainedElement xmi:idref="Classifier"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-no_cycles_in_generalization-_ownedComment.0" body="Generalization hierarchies must be directed and acyclical. A Classifier can not be both a transitively general and transitively specific Classifier of the same Classifier.">
<annotatedElement xmi:idref="Classifier-no_cycles_in_generalization"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-no_cycles_in_generalization-_specification">
<body>not allParents()->includes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Classifier-_generalization.3" general="Namespace"/>
<generalization xmi:type="uml:Generalization" xmi:id="Classifier-_generalization.0" general="Type"/>
<generalization xmi:type="uml:Generalization" xmi:id="Classifier-_generalization.2" general="TemplateableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Classifier-_generalization.1" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-attribute" name="attribute" isOrdered="true" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Property" association="A_attribute_classifier">
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<subsettedProperty xmi:idref="Classifier-feature"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-attribute-_ownedComment.0" body="All of the Properties that are direct (i.e., not inherited or imported) attributes of the Classifier.">
<annotatedElement xmi:idref="Classifier-attribute"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-attribute-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-attribute-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-collaborationUse" name="collaborationUse" aggregation="composite" type="CollaborationUse" association="A_collaborationUse_classifier">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-collaborationUse-_ownedComment.0" body="The CollaborationUses owned by the Classifier.">
<annotatedElement xmi:idref="Classifier-collaborationUse"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-collaborationUse-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-collaborationUse-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-feature" name="feature" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Feature" association="A_feature_featuringClassifier">
<subsettedProperty xmi:idref="Namespace-member"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-feature-_ownedComment.0" body="Specifies each Feature directly defined in the classifier. Note that there may be members of the Classifier that are of the type Feature but are not included, e.g., inherited features.">
<annotatedElement xmi:idref="Classifier-feature"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-feature-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-feature-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-general" name="general" isDerived="true" type="Classifier" association="A_general_classifier">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-general-_ownedComment.0" body="The generalizing Classifiers for this Classifier.">
<annotatedElement xmi:idref="Classifier-general"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-general-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-general-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-generalization" name="generalization" aggregation="composite" type="Generalization" association="A_generalization_specific">
<subsettedProperty xmi:idref="A_source_directedRelationship-directedRelationship"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-generalization-_ownedComment.0" body="The Generalization relationships for this Classifier. These Generalizations navigate to more general Classifiers in the generalization hierarchy.">
<annotatedElement xmi:idref="Classifier-generalization"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-generalization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-generalization-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-inheritedMember" name="inheritedMember" isReadOnly="true" isDerived="true" type="NamedElement" association="A_inheritedMember_inheritingClassifier">
<subsettedProperty xmi:idref="Namespace-member"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-inheritedMember-_ownedComment.0" body="All elements inherited by this Classifier from its general Classifiers.">
<annotatedElement xmi:idref="Classifier-inheritedMember"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-inheritedMember-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-inheritedMember-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-isAbstract" name="isAbstract">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-isAbstract-_ownedComment.0" body="If true, the Classifier can only be instantiated by instantiating one of its specializations. An abstract Classifier is intended to be used by other Classifiers e.g., as the target of Associations or Generalizations.">
<annotatedElement xmi:idref="Classifier-isAbstract"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Classifier-isAbstract-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-isFinalSpecialization" name="isFinalSpecialization">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-isFinalSpecialization-_ownedComment.0" body="If true, the Classifier cannot be specialized.">
<annotatedElement xmi:idref="Classifier-isFinalSpecialization"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Classifier-isFinalSpecialization-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-ownedTemplateSignature" name="ownedTemplateSignature" aggregation="composite" type="RedefinableTemplateSignature" association="A_ownedTemplateSignature_classifier">
<redefinedProperty xmi:idref="TemplateableElement-ownedTemplateSignature"/>
<subsettedProperty xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-ownedTemplateSignature-_ownedComment.0" body="The optional RedefinableTemplateSignature specifying the formal template parameters.">
<annotatedElement xmi:idref="Classifier-ownedTemplateSignature"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-ownedTemplateSignature-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-ownedUseCase" name="ownedUseCase" aggregation="composite" type="UseCase" association="A_ownedUseCase_classifier">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-ownedUseCase-_ownedComment.0" body="The UseCases owned by this classifier.">
<annotatedElement xmi:idref="Classifier-ownedUseCase"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-ownedUseCase-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-ownedUseCase-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-powertypeExtent" name="powertypeExtent" type="GeneralizationSet" association="A_powertypeExtent_powertype">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-powertypeExtent-_ownedComment.0" body="The GeneralizationSet of which this Classifier is a power type.">
<annotatedElement xmi:idref="Classifier-powertypeExtent"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-powertypeExtent-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-powertypeExtent-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-redefinedClassifier" name="redefinedClassifier" type="Classifier" association="A_redefinedClassifier_classifier">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-redefinedClassifier-_ownedComment.0" body="The Classifiers redefined by this Classifier.">
<annotatedElement xmi:idref="Classifier-redefinedClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-redefinedClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-redefinedClassifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-representation" name="representation" type="CollaborationUse" association="A_representation_classifier">
<subsettedProperty xmi:idref="Classifier-collaborationUse"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-representation-_ownedComment.0" body="A CollaborationUse which indicates the Collaboration that represents this Classifier.">
<annotatedElement xmi:idref="Classifier-representation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-representation-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-substitution" name="substitution" aggregation="composite" type="Substitution" association="A_substitution_substitutingClassifier">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<subsettedProperty xmi:idref="NamedElement-clientDependency"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-substitution-_ownedComment.0" body="The Substitutions owned by this Classifier.">
<annotatedElement xmi:idref="Classifier-substitution"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-substitution-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-substitution-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-templateParameter" name="templateParameter" type="ClassifierTemplateParameter" association="A_classifier_templateParameter_parameteredElement">
<redefinedProperty xmi:idref="ParameterableElement-templateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-templateParameter-_ownedComment.0" body="TheClassifierTemplateParameter that exposes this element as a formal parameter.">
<annotatedElement xmi:idref="Classifier-templateParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-templateParameter-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Classifier-useCase" name="useCase" type="UseCase" association="A_subject_useCase">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-useCase-_ownedComment.0" body="The set of UseCases for which this Classifier is the subject.">
<annotatedElement xmi:idref="Classifier-useCase"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-useCase-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-useCase-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-allFeatures" name="allFeatures" isQuery="true" bodyCondition="Classifier-allFeatures-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-allFeatures-_ownedComment.0" body="The query allFeatures() gives all of the Features in the namespace of the Classifier. In general, through mechanisms such as inheritance, this will be a larger set than feature.">
<annotatedElement xmi:idref="Classifier-allFeatures"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-allFeatures-spec" name="spec">
<constrainedElement xmi:idref="Classifier-allFeatures"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-allFeatures-spec-_specification">
<body>result = (member->select(oclIsKindOf(Feature))->collect(oclAsType(Feature))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-allFeatures-result" name="result" direction="return" type="Feature">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-allFeatures-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-allFeatures-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-allParents" name="allParents" isQuery="true" bodyCondition="Classifier-allParents-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-allParents-_ownedComment.0" body="The query allParents() gives all of the direct and indirect ancestors of a generalized Classifier.">
<annotatedElement xmi:idref="Classifier-allParents"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-allParents-spec" name="spec">
<constrainedElement xmi:idref="Classifier-allParents"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-allParents-spec-_specification">
<body>result = (parents()->union(parents()->collect(allParents())->asSet()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-allParents-result" name="result" direction="return" type="Classifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-allParents-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-allParents-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-conformsTo" name="conformsTo" isQuery="true" bodyCondition="Classifier-conformsTo-spec">
<redefinedOperation xmi:idref="Type-conformsTo"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-conformsTo-_ownedComment.0" body="The query conformsTo() gives true for a Classifier that defines a type that conforms to another. This is used, for example, in the specification of signature conformance for operations.">
<annotatedElement xmi:idref="Classifier-conformsTo"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-conformsTo-spec" name="spec">
<constrainedElement xmi:idref="Classifier-conformsTo"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-conformsTo-spec-_specification">
<body>result = (if other.oclIsKindOf(Classifier) then let otherClassifier : Classifier = other.oclAsType(Classifier) in self = otherClassifier or allParents()->includes(otherClassifier) else false endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-conformsTo-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-conformsTo-other" name="other" type="Type"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-general.1" name="general" isQuery="true" bodyCondition="Classifier-general.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-general.1-_ownedComment.0" body="The general Classifiers are the ones referenced by the Generalization relationships.">
<annotatedElement xmi:idref="Classifier-general.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-general.1-spec" name="spec">
<constrainedElement xmi:idref="Classifier-general.1"/>
<constrainedElement xmi:idref="Classifier-general"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-general.1-spec-_specification">
<body>result = (parents())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-general.1-result" name="result" direction="return" type="Classifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-general.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-general.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-hasVisibilityOf" name="hasVisibilityOf" isQuery="true" bodyCondition="Classifier-hasVisibilityOf-spec">
<precondition xmi:idref="Classifier-hasVisibilityOf-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-hasVisibilityOf-_ownedComment.0" body="The query hasVisibilityOf() determines whether a NamedElement is visible in the classifier. Non-private members are visible. It is only called when the argument is something owned by a parent.">
<annotatedElement xmi:idref="Classifier-hasVisibilityOf"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-hasVisibilityOf-pre" name="pre">
<constrainedElement xmi:idref="Classifier-hasVisibilityOf"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-hasVisibilityOf-pre-_specification">
<body>allParents()->including(self)->collect(member)->includes(n)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-hasVisibilityOf-spec" name="spec">
<constrainedElement xmi:idref="Classifier-hasVisibilityOf"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-hasVisibilityOf-spec-_specification">
<body>result = (n.visibility <> VisibilityKind::private)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-hasVisibilityOf-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-hasVisibilityOf-n" name="n" type="NamedElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-inherit" name="inherit" isQuery="true" bodyCondition="Classifier-inherit-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-inherit-_ownedComment.0" body="The query inherit() defines how to inherit a set of elements passed as its argument. It excludes redefined elements from the result.">
<annotatedElement xmi:idref="Classifier-inherit"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-inherit-spec" name="spec">
<constrainedElement xmi:idref="Classifier-inherit"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-inherit-spec-_specification">
<body>result = (inhs->reject(inh | inh.oclIsKindOf(RedefinableElement) and ownedMember->select(oclIsKindOf(RedefinableElement))-> select(redefinedElement->includes(inh.oclAsType(RedefinableElement))) ->notEmpty()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-inherit-result" name="result" direction="return" type="NamedElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-inherit-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-inherit-result-_upperValue" value="*"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-inherit-inhs" name="inhs" type="NamedElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-inherit-inhs-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-inherit-inhs-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-inheritableMembers" name="inheritableMembers" isQuery="true" bodyCondition="Classifier-inheritableMembers-spec">
<precondition xmi:idref="Classifier-inheritableMembers-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-inheritableMembers-_ownedComment.0" body="The query inheritableMembers() gives all of the members of a Classifier that may be inherited in one of its descendants, subject to whatever visibility restrictions apply.">
<annotatedElement xmi:idref="Classifier-inheritableMembers"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-inheritableMembers-pre" name="pre">
<constrainedElement xmi:idref="Classifier-inheritableMembers"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-inheritableMembers-pre-_specification">
<body>c.allParents()->includes(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-inheritableMembers-spec" name="spec">
<constrainedElement xmi:idref="Classifier-inheritableMembers"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-inheritableMembers-spec-_specification">
<body>result = (member->select(m | c.hasVisibilityOf(m)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-inheritableMembers-result" name="result" direction="return" type="NamedElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-inheritableMembers-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-inheritableMembers-result-_upperValue" value="*"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-inheritableMembers-c" name="c" type="Classifier"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-inheritedMember.1" name="inheritedMember" isQuery="true" bodyCondition="Classifier-inheritedMember.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-inheritedMember.1-_ownedComment.0" body="The inheritedMember association is derived by inheriting the inheritable members of the parents.">
<annotatedElement xmi:idref="Classifier-inheritedMember.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-inheritedMember.1-spec" name="spec">
<constrainedElement xmi:idref="Classifier-inheritedMember.1"/>
<constrainedElement xmi:idref="Classifier-inheritedMember"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-inheritedMember.1-spec-_specification">
<body>result = (inherit(parents()->collect(inheritableMembers(self))->asSet()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-inheritedMember.1-result" name="result" direction="return" type="NamedElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-inheritedMember.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-inheritedMember.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-isTemplate" name="isTemplate" isQuery="true" bodyCondition="Classifier-isTemplate-spec">
<redefinedOperation xmi:idref="TemplateableElement-isTemplate"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-isTemplate-_ownedComment.0" body="The query isTemplate() returns whether this Classifier is actually a template.">
<annotatedElement xmi:idref="Classifier-isTemplate"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-isTemplate-spec" name="spec">
<constrainedElement xmi:idref="Classifier-isTemplate"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-isTemplate-spec-_specification">
<body>result = (ownedTemplateSignature <> null or general->exists(g | g.isTemplate()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-isTemplate-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-maySpecializeType" name="maySpecializeType" isQuery="true" bodyCondition="Classifier-maySpecializeType-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-maySpecializeType-_ownedComment.0" body="The query maySpecializeType() determines whether this classifier may have a generalization relationship to classifiers of the specified type. By default a classifier may specialize classifiers of the same or a more general type. It is intended to be redefined by classifiers that have different specialization constraints.">
<annotatedElement xmi:idref="Classifier-maySpecializeType"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-maySpecializeType-spec" name="spec">
<constrainedElement xmi:idref="Classifier-maySpecializeType"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-maySpecializeType-spec-_specification">
<body>result = (self.oclIsKindOf(c.oclType()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-maySpecializeType-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-maySpecializeType-c" name="c" type="Classifier"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-parents" name="parents" isQuery="true" bodyCondition="Classifier-parents-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-parents-_ownedComment.0" body="The query parents() gives all of the immediate ancestors of a generalized Classifier.">
<annotatedElement xmi:idref="Classifier-parents"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-parents-spec" name="spec">
<constrainedElement xmi:idref="Classifier-parents"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-parents-spec-_specification">
<body>result = (generalization.general->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-parents-result" name="result" direction="return" type="Classifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-parents-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-parents-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-directlyRealizedInterfaces" name="directlyRealizedInterfaces" isQuery="true" bodyCondition="Classifier-directlyRealizedInterfaces-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-directlyRealizedInterfaces-_ownedComment.0" body="The Interfaces directly realized by this Classifier">
<annotatedElement xmi:idref="Classifier-directlyRealizedInterfaces"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-directlyRealizedInterfaces-spec" name="spec">
<constrainedElement xmi:idref="Classifier-directlyRealizedInterfaces"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-directlyRealizedInterfaces-spec-_specification">
<body>result = ((clientDependency-> select(oclIsKindOf(Realization) and supplier->forAll(oclIsKindOf(Interface))))-> collect(supplier.oclAsType(Interface))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-directlyRealizedInterfaces-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-directlyRealizedInterfaces-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-directlyRealizedInterfaces-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-directlyUsedInterfaces" name="directlyUsedInterfaces" isQuery="true" bodyCondition="Classifier-directlyUsedInterfaces-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-directlyUsedInterfaces-_ownedComment.0" body="The Interfaces directly used by this Classifier">
<annotatedElement xmi:idref="Classifier-directlyUsedInterfaces"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-directlyUsedInterfaces-spec" name="spec">
<constrainedElement xmi:idref="Classifier-directlyUsedInterfaces"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-directlyUsedInterfaces-spec-_specification">
<body>result = ((supplierDependency-> select(oclIsKindOf(Usage) and client->forAll(oclIsKindOf(Interface))))-> collect(client.oclAsType(Interface))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-directlyUsedInterfaces-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-directlyUsedInterfaces-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-directlyUsedInterfaces-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-allRealizedInterfaces" name="allRealizedInterfaces" isQuery="true" bodyCondition="Classifier-allRealizedInterfaces-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-allRealizedInterfaces-_ownedComment.0" body="The Interfaces realized by this Classifier and all of its generalizations">
<annotatedElement xmi:idref="Classifier-allRealizedInterfaces"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-allRealizedInterfaces-spec" name="spec">
<constrainedElement xmi:idref="Classifier-allRealizedInterfaces"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-allRealizedInterfaces-spec-_specification">
<body>result = (directlyRealizedInterfaces()->union(self.allParents()->collect(directlyRealizedInterfaces()))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-allRealizedInterfaces-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-allRealizedInterfaces-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-allRealizedInterfaces-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-allUsedInterfaces" name="allUsedInterfaces" isQuery="true" bodyCondition="Classifier-allUsedInterfaces-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-allUsedInterfaces-_ownedComment.0" body="The Interfaces used by this Classifier and all of its generalizations">
<annotatedElement xmi:idref="Classifier-allUsedInterfaces"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-allUsedInterfaces-spec" name="spec">
<constrainedElement xmi:idref="Classifier-allUsedInterfaces"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-allUsedInterfaces-spec-_specification">
<body>result = (directlyUsedInterfaces()->union(self.allParents()->collect(directlyUsedInterfaces()))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-allUsedInterfaces-result" name="result" direction="return" type="Interface">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-allUsedInterfaces-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-allUsedInterfaces-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-isSubstitutableFor" name="isSubstitutableFor" isQuery="true" bodyCondition="Classifier-isSubstitutableFor-spec">
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-isSubstitutableFor-spec" name="spec">
<constrainedElement xmi:idref="Classifier-isSubstitutableFor"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-isSubstitutableFor-spec-_specification">
<body>result = (substitution.contract->includes(contract))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-isSubstitutableFor-contract" name="contract" type="Classifier"/>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-isSubstitutableFor-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-allAttributes" name="allAttributes" isQuery="true" bodyCondition="Classifier-allAttributes-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-allAttributes-_ownedComment.0" body="The query allAttributes gives an ordered set of all owned and inherited attributes of the Classifier. All owned attributes appear before any inherited attributes, and the attributes inherited from any more specific parent Classifier appear before those of any more general parent Classifier. However, if the Classifier has multiple immediate parents, then the relative ordering of the sets of attributes from those parents is not defined.">
<annotatedElement xmi:idref="Classifier-allAttributes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-allAttributes-spec" name="spec">
<constrainedElement xmi:idref="Classifier-allAttributes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-allAttributes-spec-_specification">
<body>result = (attribute->asSequence()->union(parents()->asSequence().allAttributes())->select(p | member->includes(p))->asOrderedSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-allAttributes-result" isOrdered="true" name="result" direction="return" type="Property">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-allAttributes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-allAttributes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Classifier-allSlottableFeatures" name="allSlottableFeatures" isQuery="true" bodyCondition="Classifier-allSlottableFeatures-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Classifier-allSlottableFeatures-_ownedComment.0" body="All StructuralFeatures related to the Classifier that may have Slots, including direct attributes, inherited attributes, private attributes in generalizations, and memberEnds of Associations, but excluding redefined StructuralFeatures.">
<annotatedElement xmi:idref="Classifier-allSlottableFeatures"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Classifier-allSlottableFeatures-spec" name="spec">
<constrainedElement xmi:idref="Classifier-allSlottableFeatures"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Classifier-allSlottableFeatures-spec-_specification">
<body>result = (member->select(oclIsKindOf(StructuralFeature))-> collect(oclAsType(StructuralFeature))-> union(self.inherit(self.allParents()->collect(p | p.attribute)->asSet())-> collect(oclAsType(StructuralFeature)))->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Classifier-allSlottableFeatures-result" name="result" direction="return" type="StructuralFeature">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Classifier-allSlottableFeatures-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Classifier-allSlottableFeatures-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ClassifierTemplateParameter" name="ClassifierTemplateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-_ownedComment.0" body="A ClassifierTemplateParameter exposes a Classifier as a formal template parameter.">
<annotatedElement xmi:idref="ClassifierTemplateParameter"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClassifierTemplateParameter-has_constraining_classifier" name="has_constraining_classifier">
<constrainedElement xmi:idref="ClassifierTemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-has_constraining_classifier-_ownedComment.0" body="If allowSubstitutable is true, then there must be a constrainingClassifier.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-has_constraining_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClassifierTemplateParameter-has_constraining_classifier-_specification">
<body>allowSubstitutable implies constrainingClassifier->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClassifierTemplateParameter-parametered_element_no_features" name="parametered_element_no_features">
<constrainedElement xmi:idref="ClassifierTemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-parametered_element_no_features-_ownedComment.0" body="The parameteredElement has no direct features, and if constrainedElement is empty it has no generalizations.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-parametered_element_no_features"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClassifierTemplateParameter-parametered_element_no_features-_specification">
<body>parameteredElement.feature->isEmpty() and (constrainingClassifier->isEmpty() implies parameteredElement.allParents()->isEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClassifierTemplateParameter-matching_abstract" name="matching_abstract">
<constrainedElement xmi:idref="ClassifierTemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-matching_abstract-_ownedComment.0" body="If the parameteredElement is not abstract, then the Classifier used as an argument shall not be abstract.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-matching_abstract"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClassifierTemplateParameter-matching_abstract-_specification">
<body>(not parameteredElement.isAbstract) implies templateParameterSubstitution.actual->forAll(a | not a.oclAsType(Classifier).isAbstract)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClassifierTemplateParameter-actual_is_classifier" name="actual_is_classifier">
<constrainedElement xmi:idref="ClassifierTemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-actual_is_classifier-_ownedComment.0" body="The argument to a ClassifierTemplateParameter is a Classifier.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-actual_is_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClassifierTemplateParameter-actual_is_classifier-_specification">
<body> templateParameterSubstitution.actual->forAll(a | a.oclIsKindOf(Classifier))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClassifierTemplateParameter-constraining_classifiers_constrain_args" name="constraining_classifiers_constrain_args">
<constrainedElement xmi:idref="ClassifierTemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-constraining_classifiers_constrain_args-_ownedComment.0" body="If there are any constrainingClassifiers, then every argument must be the same as or a specialization of them, or if allowSubstitutable is true, then it can also be substitutable.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-constraining_classifiers_constrain_args"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClassifierTemplateParameter-constraining_classifiers_constrain_args-_specification">
<body>templateParameterSubstitution.actual->forAll( a | let arg : Classifier = a.oclAsType(Classifier) in constrainingClassifier->forAll( cc | arg = cc or arg.conformsTo(cc) or (allowSubstitutable and arg.isSubstitutableFor(cc)) ) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClassifierTemplateParameter-constraining_classifiers_constrain_parametered_element" name="constraining_classifiers_constrain_parametered_element">
<constrainedElement xmi:idref="ClassifierTemplateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-constraining_classifiers_constrain_parametered_element-_ownedComment.0" body="If there are any constrainingClassifiers, then the parameteredElement must be the same as or a specialization of them, or if allowSubstitutable is true, then it can also be substitutable.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-constraining_classifiers_constrain_parametered_element"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClassifierTemplateParameter-constraining_classifiers_constrain_parametered_element-_specification">
<body>constrainingClassifier->forAll( cc | parameteredElement = cc or parameteredElement.conformsTo(cc) or (allowSubstitutable and parameteredElement.isSubstitutableFor(cc)) ) </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ClassifierTemplateParameter-_generalization.0" general="TemplateParameter"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ClassifierTemplateParameter-allowSubstitutable" name="allowSubstitutable">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-allowSubstitutable-_ownedComment.0" body="Constrains the required relationship between an actual parameter and the parameteredElement for this formal parameter.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-allowSubstitutable"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ClassifierTemplateParameter-allowSubstitutable-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ClassifierTemplateParameter-constrainingClassifier" name="constrainingClassifier" type="Classifier" association="A_constrainingClassifier_classifierTemplateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-constrainingClassifier-_ownedComment.0" body="The classifiers that constrain the argument that can be used for the parameter. If the allowSubstitutable attribute is true, then any Classifier that is compatible with this constraining Classifier can be substituted; otherwise, it must be either this Classifier or one of its specializations. If this property is empty, there are no constraints on the Classifier that can be used as an argument.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-constrainingClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ClassifierTemplateParameter-constrainingClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ClassifierTemplateParameter-constrainingClassifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ClassifierTemplateParameter-parameteredElement" name="parameteredElement" type="Classifier" association="A_classifier_templateParameter_parameteredElement">
<redefinedProperty xmi:idref="TemplateParameter-parameteredElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClassifierTemplateParameter-parameteredElement-_ownedComment.0" body="The Classifier exposed by this ClassifierTemplateParameter.">
<annotatedElement xmi:idref="ClassifierTemplateParameter-parameteredElement"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Feature" name="Feature" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Feature-_ownedComment.0" body="A Feature declares a behavioral or structural characteristic of Classifiers.">
<annotatedElement xmi:idref="Feature"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Feature-_generalization.0" general="RedefinableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Feature-featuringClassifier" name="featuringClassifier" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Classifier" association="A_feature_featuringClassifier">
<subsettedProperty xmi:idref="A_member_memberNamespace-memberNamespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Feature-featuringClassifier-_ownedComment.0" body="The Classifiers that have this Feature as a feature.">
<annotatedElement xmi:idref="Feature-featuringClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Feature-featuringClassifier-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Feature-isStatic" name="isStatic">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Feature-isStatic-_ownedComment.0" body="Specifies whether this Feature characterizes individual instances classified by the Classifier (false) or the Classifier itself (true).">
<annotatedElement xmi:idref="Feature-isStatic"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Feature-isStatic-_defaultValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Generalization" name="Generalization">
<ownedComment xmi:type="uml:Comment" xmi:id="Generalization-_ownedComment.0" body="A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.">
<annotatedElement xmi:idref="Generalization"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Generalization-_generalization.0" general="DirectedRelationship"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Generalization-general" name="general" type="Classifier" association="A_general_generalization">
<subsettedProperty xmi:idref="DirectedRelationship-target"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Generalization-general-_ownedComment.0" body="The general classifier in the Generalization relationship.">
<annotatedElement xmi:idref="Generalization-general"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Generalization-generalizationSet" name="generalizationSet" type="GeneralizationSet" association="A_generalizationSet_generalization">
<ownedComment xmi:type="uml:Comment" xmi:id="Generalization-generalizationSet-_ownedComment.0" body="Represents a set of instances of Generalization. A Generalization may appear in many GeneralizationSets.">
<annotatedElement xmi:idref="Generalization-generalizationSet"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Generalization-generalizationSet-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Generalization-generalizationSet-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Generalization-isSubstitutable" name="isSubstitutable">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Generalization-isSubstitutable-_ownedComment.0" body="Indicates whether the specific Classifier can be used wherever the general Classifier can be used. If true, the execution traces of the specific Classifier shall be a superset of the execution traces of the general Classifier. If false, there is no such constraint on execution traces. If unset, the modeler has not stated whether there is such a constraint or not.">
<annotatedElement xmi:idref="Generalization-isSubstitutable"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Generalization-isSubstitutable-_lowerValue"/>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Generalization-isSubstitutable-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Generalization-specific" name="specific" type="Classifier" association="A_generalization_specific">
<subsettedProperty xmi:idref="DirectedRelationship-source"/>
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Generalization-specific-_ownedComment.0" body="The specializing Classifier in the Generalization relationship.">
<annotatedElement xmi:idref="Generalization-specific"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="GeneralizationSet" name="GeneralizationSet">
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-_ownedComment.0" body="A GeneralizationSet is a PackageableElement whose instances represent sets of Generalization relationships.">
<annotatedElement xmi:idref="GeneralizationSet"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="GeneralizationSet-generalization_same_classifier" name="generalization_same_classifier">
<constrainedElement xmi:idref="GeneralizationSet"/>
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-generalization_same_classifier-_ownedComment.0" body="Every Generalization associated with a particular GeneralizationSet must have the same general Classifier.">
<annotatedElement xmi:idref="GeneralizationSet-generalization_same_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="GeneralizationSet-generalization_same_classifier-_specification">
<body>generalization->collect(general)->asSet()->size() <= 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="GeneralizationSet-maps_to_generalization_set" name="maps_to_generalization_set">
<constrainedElement xmi:idref="GeneralizationSet"/>
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-maps_to_generalization_set-_ownedComment.0" body="The Classifier that maps to a GeneralizationSet may neither be a specific nor a general Classifier in any of the Generalization relationships defined for that GeneralizationSet. In other words, a power type may not be an instance of itself nor may its instances be its subclasses.">
<annotatedElement xmi:idref="GeneralizationSet-maps_to_generalization_set"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="GeneralizationSet-maps_to_generalization_set-_specification">
<body>powertype <> null implies generalization->forAll( gen | not (gen.general = powertype) and not gen.general.allParents()->includes(powertype) and not (gen.specific = powertype) and not powertype.allParents()->includes(gen.specific) )</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="GeneralizationSet-_generalization.0" general="PackageableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="GeneralizationSet-generalization" name="generalization" type="Generalization" association="A_generalizationSet_generalization">
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-generalization-_ownedComment.0" body="Designates the instances of Generalization that are members of this GeneralizationSet.">
<annotatedElement xmi:idref="GeneralizationSet-generalization"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="GeneralizationSet-generalization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="GeneralizationSet-generalization-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="GeneralizationSet-isCovering" name="isCovering">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-isCovering-_ownedComment.0" body="Indicates (via the associated Generalizations) whether or not the set of specific Classifiers are covering for a particular general classifier. When isCovering is true, every instance of a particular general Classifier is also an instance of at least one of its specific Classifiers for the GeneralizationSet. When isCovering is false, there are one or more instances of the particular general Classifier that are not instances of at least one of its specific Classifiers defined for the GeneralizationSet.">
<annotatedElement xmi:idref="GeneralizationSet-isCovering"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="GeneralizationSet-isCovering-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="GeneralizationSet-isDisjoint" name="isDisjoint">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-isDisjoint-_ownedComment.0" body="Indicates whether or not the set of specific Classifiers in a Generalization relationship have instance in common. If isDisjoint is true, the specific Classifiers for a particular GeneralizationSet have no members in common; that is, their intersection is empty. If isDisjoint is false, the specific Classifiers in a particular GeneralizationSet have one or more members in common; that is, their intersection is not empty.">
<annotatedElement xmi:idref="GeneralizationSet-isDisjoint"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="GeneralizationSet-isDisjoint-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="GeneralizationSet-powertype" name="powertype" type="Classifier" association="A_powertypeExtent_powertype">
<ownedComment xmi:type="uml:Comment" xmi:id="GeneralizationSet-powertype-_ownedComment.0" body="Designates the Classifier that is defined as the power type for the associated GeneralizationSet, if there is one.">
<annotatedElement xmi:idref="GeneralizationSet-powertype"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="GeneralizationSet-powertype-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InstanceSpecification" name="InstanceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-_ownedComment.0" body="An InstanceSpecification is a model element that represents an instance in a modeled system. An InstanceSpecification can act as a DeploymentTarget in a Deployment relationship, in the case that it represents an instance of a Node. It can also act as a DeployedArtifact, if it represents an instance of an Artifact.">
<annotatedElement xmi:idref="InstanceSpecification"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InstanceSpecification-deployment_artifact" name="deployment_artifact">
<constrainedElement xmi:idref="InstanceSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-deployment_artifact-_ownedComment.0" body="An InstanceSpecification can act as a DeployedArtifact if it represents an instance of an Artifact.">
<annotatedElement xmi:idref="InstanceSpecification-deployment_artifact"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InstanceSpecification-deployment_artifact-_specification">
<body>deploymentForArtifact->notEmpty() implies classifier->exists(oclIsKindOf(Artifact))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InstanceSpecification-structural_feature" name="structural_feature">
<constrainedElement xmi:idref="InstanceSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-structural_feature-_ownedComment.0" body="No more than one slot in an InstanceSpecification may have the same definingFeature.">
<annotatedElement xmi:idref="InstanceSpecification-structural_feature"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InstanceSpecification-structural_feature-_specification">
<body>classifier->forAll(c | (c.allSlottableFeatures()->forAll(f | slot->select(s | s.definingFeature = f)->size() <= 1)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InstanceSpecification-defining_feature" name="defining_feature">
<constrainedElement xmi:idref="InstanceSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-defining_feature-_ownedComment.0" body="The definingFeature of each slot is a StructuralFeature related to a classifier of the InstanceSpecification, including direct attributes, inherited attributes, private attributes in generalizations, and memberEnds of Associations, but excluding redefined StructuralFeatures.">
<annotatedElement xmi:idref="InstanceSpecification-defining_feature"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InstanceSpecification-defining_feature-_specification">
<body>slot->forAll(s | classifier->exists (c | c.allSlottableFeatures()->includes (s.definingFeature)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="InstanceSpecification-deployment_target" name="deployment_target">
<constrainedElement xmi:idref="InstanceSpecification"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-deployment_target-_ownedComment.0" body="An InstanceSpecification can act as a DeploymentTarget if it represents an instance of a Node and functions as a part in the internal structure of an encompassing Node.">
<annotatedElement xmi:idref="InstanceSpecification-deployment_target"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InstanceSpecification-deployment_target-_specification">
<body>deployment->notEmpty() implies classifier->exists(node | node.oclIsKindOf(Node) and Node.allInstances()->exists(n | n.part->exists(p | p.type = node)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InstanceSpecification-_generalization.2" general="DeploymentTarget"/>
<generalization xmi:type="uml:Generalization" xmi:id="InstanceSpecification-_generalization.0" general="PackageableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="InstanceSpecification-_generalization.1" general="DeployedArtifact"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InstanceSpecification-classifier" name="classifier" type="Classifier" association="A_classifier_instanceSpecification">
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-classifier-_ownedComment.0" body="The Classifier or Classifiers of the represented instance. If multiple Classifiers are specified, the instance is classified by all of them.">
<annotatedElement xmi:idref="InstanceSpecification-classifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InstanceSpecification-classifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InstanceSpecification-classifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InstanceSpecification-slot" name="slot" aggregation="composite" type="Slot" association="A_slot_owningInstance">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-slot-_ownedComment.0" body="A Slot giving the value or values of a StructuralFeature of the instance. An InstanceSpecification can have one Slot per StructuralFeature of its Classifiers, including inherited features. It is not necessary to model a Slot for every StructuralFeature, in which case the InstanceSpecification is a partial description.">
<annotatedElement xmi:idref="InstanceSpecification-slot"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InstanceSpecification-slot-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InstanceSpecification-slot-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InstanceSpecification-specification" name="specification" aggregation="composite" type="ValueSpecification" association="A_specification_owningInstanceSpec">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceSpecification-specification-_ownedComment.0" body="A specification of how to compute, derive, or construct the instance.">
<annotatedElement xmi:idref="InstanceSpecification-specification"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InstanceSpecification-specification-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InstanceValue" name="InstanceValue">
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceValue-_ownedComment.0" body="An InstanceValue is a ValueSpecification that identifies an instance.">
<annotatedElement xmi:idref="InstanceValue"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="InstanceValue-_generalization.0" general="ValueSpecification"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InstanceValue-instance" name="instance" type="InstanceSpecification" association="A_instance_instanceValue">
<ownedComment xmi:type="uml:Comment" xmi:id="InstanceValue-instance-_ownedComment.0" body="The InstanceSpecification that represents the specified value.">
<annotatedElement xmi:idref="InstanceValue-instance"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Operation" name="Operation">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-_ownedComment.0" body="An Operation is a BehavioralFeature of a Classifier that specifies the name, type, parameters, and constraints for invoking an associated Behavior. An Operation may invoke both the execution of method behaviors as well as other behavioral responses. Operation specializes TemplateableElement in order to support specification of template operations and bound operations. Operation specializes ParameterableElement to specify that an operation can be exposed as a formal template parameter, and provided as an actual parameter in a binding of a template.">
<annotatedElement xmi:idref="Operation"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-at_most_one_return" name="at_most_one_return">
<constrainedElement xmi:idref="Operation"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-at_most_one_return-_ownedComment.0" body="An Operation can have at most one return parameter; i.e., an owned parameter with the direction set to 'return.'">
<annotatedElement xmi:idref="Operation-at_most_one_return"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-at_most_one_return-_specification">
<body>self.ownedParameter->select(direction = ParameterDirectionKind::return)->size() <= 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-only_body_for_query" name="only_body_for_query">
<constrainedElement xmi:idref="Operation"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-only_body_for_query-_ownedComment.0" body="A bodyCondition can only be specified for a query Operation.">
<annotatedElement xmi:idref="Operation-only_body_for_query"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-only_body_for_query-_specification">
<body>bodyCondition <> null implies isQuery</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Operation-_generalization.2" general="TemplateableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Operation-_generalization.0" general="ParameterableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Operation-_generalization.1" general="BehavioralFeature"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-bodyCondition" name="bodyCondition" aggregation="composite" type="Constraint" association="A_bodyCondition_bodyContext">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-bodyCondition-_ownedComment.0" body="An optional Constraint on the result values of an invocation of this Operation.">
<annotatedElement xmi:idref="Operation-bodyCondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-bodyCondition-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-class" name="class" type="Class" association="A_ownedOperation_class">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-class-_ownedComment.0" body="The Class that owns this operation, if any.">
<annotatedElement xmi:idref="Operation-class"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-class-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-datatype" name="datatype" type="DataType" association="A_ownedOperation_datatype">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-datatype-_ownedComment.0" body="The DataType that owns this Operation, if any.">
<annotatedElement xmi:idref="Operation-datatype"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-datatype-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-interface" name="interface" type="Interface" association="A_ownedOperation_interface">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-interface-_ownedComment.0" body="The Interface that owns this Operation, if any.">
<annotatedElement xmi:idref="Operation-interface"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-interface-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-isOrdered" name="isOrdered" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-isOrdered-_ownedComment.0" body="Specifies whether the return parameter is ordered or not, if present. This information is derived from the return result for this Operation.">
<annotatedElement xmi:idref="Operation-isOrdered"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-isQuery" name="isQuery">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-isQuery-_ownedComment.0" body="Specifies whether an execution of the BehavioralFeature leaves the state of the system unchanged (isQuery=true) or whether side effects may occur (isQuery=false).">
<annotatedElement xmi:idref="Operation-isQuery"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Operation-isQuery-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-isUnique" name="isUnique" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-isUnique-_ownedComment.0" body="Specifies whether the return parameter is unique or not, if present. This information is derived from the return result for this Operation.">
<annotatedElement xmi:idref="Operation-isUnique"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-lower" name="lower" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-lower-_ownedComment.0" body="Specifies the lower multiplicity of the return parameter, if present. This information is derived from the return result for this Operation.">
<annotatedElement xmi:idref="Operation-lower"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-lower-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-ownedParameter" name="ownedParameter" isOrdered="true" aggregation="composite" type="Parameter" association="A_ownedParameter_operation">
<redefinedProperty xmi:idref="BehavioralFeature-ownedParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-ownedParameter-_ownedComment.0" body="The parameters owned by this Operation.">
<annotatedElement xmi:idref="Operation-ownedParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-ownedParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Operation-ownedParameter-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-postcondition" name="postcondition" aggregation="composite" type="Constraint" association="A_postcondition_postContext">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-postcondition-_ownedComment.0" body="An optional set of Constraints specifying the state of the system when the Operation is completed.">
<annotatedElement xmi:idref="Operation-postcondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-postcondition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Operation-postcondition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-precondition" name="precondition" aggregation="composite" type="Constraint" association="A_precondition_preContext">
<subsettedProperty xmi:idref="Namespace-ownedRule"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-precondition-_ownedComment.0" body="An optional set of Constraints on the state of the system when the Operation is invoked.">
<annotatedElement xmi:idref="Operation-precondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-precondition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Operation-precondition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-raisedException" name="raisedException" type="Type" association="A_raisedException_operation">
<redefinedProperty xmi:idref="BehavioralFeature-raisedException"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-raisedException-_ownedComment.0" body="The Types representing exceptions that may be raised during an invocation of this operation.">
<annotatedElement xmi:idref="Operation-raisedException"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-raisedException-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Operation-raisedException-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-redefinedOperation" name="redefinedOperation" type="Operation" association="A_redefinedOperation_operation">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-redefinedOperation-_ownedComment.0" body="The Operations that are redefined by this Operation.">
<annotatedElement xmi:idref="Operation-redefinedOperation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-redefinedOperation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Operation-redefinedOperation-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-templateParameter" name="templateParameter" type="OperationTemplateParameter" association="A_operation_templateParameter_parameteredElement">
<redefinedProperty xmi:idref="ParameterableElement-templateParameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-templateParameter-_ownedComment.0" body="The OperationTemplateParameter that exposes this element as a formal parameter.">
<annotatedElement xmi:idref="Operation-templateParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-templateParameter-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-type" name="type" isReadOnly="true" isDerived="true" type="Type" association="A_type_operation">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-type-_ownedComment.0" body="The return type of the operation, if present. This information is derived from the return result for this Operation.">
<annotatedElement xmi:idref="Operation-type"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-type-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Operation-upper" name="upper" isReadOnly="true" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-upper-_ownedComment.0" body="The upper multiplicity of the return parameter, if present. This information is derived from the return result for this Operation.">
<annotatedElement xmi:idref="Operation-upper"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-upper-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="Operation-isConsistentWith-spec">
<precondition xmi:idref="Operation-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-isConsistentWith-_ownedComment.0" body="The query isConsistentWith() specifies, for any two Operations in a context in which redefinition is possible, whether redefinition would be consistent. A redefining operation is consistent with a redefined operation if it has the same number of owned parameters, and for each parameter the following holds: - Direction, ordering and uniqueness are the same. - The corresponding types are covariant, contravariant or invariant. - The multiplicities are compatible, depending on the parameter direction.">
<annotatedElement xmi:idref="Operation-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="Operation-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsKindOf(Operation) and let op : Operation = redefiningElement.oclAsType(Operation) in self.ownedParameter->size() = op.ownedParameter->size() and Sequence{1..self.ownedParameter->size()}-> forAll(i | let redefiningParam : Parameter = op.ownedParameter->at(i), redefinedParam : Parameter = self.ownedParameter->at(i) in (redefiningParam.isUnique = redefinedParam.isUnique) and (redefiningParam.isOrdered = redefinedParam. isOrdered) and (redefiningParam.direction = redefinedParam.direction) and (redefiningParam.type.conformsTo(redefinedParam.type) or redefinedParam.type.conformsTo(redefiningParam.type)) and (redefiningParam.direction = ParameterDirectionKind::inout implies (redefinedParam.compatibleWith(redefiningParam) and redefiningParam.compatibleWith(redefinedParam))) and (redefiningParam.direction = ParameterDirectionKind::_'in' implies redefinedParam.compatibleWith(redefiningParam)) and ((redefiningParam.direction = ParameterDirectionKind::out or redefiningParam.direction = ParameterDirectionKind::return) implies redefiningParam.compatibleWith(redefinedParam)) ))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="Operation-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-isOrdered.1" name="isOrdered" isQuery="true" bodyCondition="Operation-isOrdered.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-isOrdered.1-_ownedComment.0" body="If this operation has a return parameter, isOrdered equals the value of isOrdered for that parameter. Otherwise isOrdered is false.">
<annotatedElement xmi:idref="Operation-isOrdered.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-isOrdered.1-spec" name="spec">
<constrainedElement xmi:idref="Operation-isOrdered.1"/>
<constrainedElement xmi:idref="Operation-isOrdered"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-isOrdered.1-spec-_specification">
<body>result = (if returnResult()->notEmpty() then returnResult()-> exists(isOrdered) else false endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-isOrdered.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-isUnique.1" name="isUnique" isQuery="true" bodyCondition="Operation-isUnique.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-isUnique.1-_ownedComment.0" body="If this operation has a return parameter, isUnique equals the value of isUnique for that parameter. Otherwise isUnique is true.">
<annotatedElement xmi:idref="Operation-isUnique.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-isUnique.1-spec" name="spec">
<constrainedElement xmi:idref="Operation-isUnique.1"/>
<constrainedElement xmi:idref="Operation-isUnique"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-isUnique.1-spec-_specification">
<body>result = (if returnResult()->notEmpty() then returnResult()->exists(isUnique) else true endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-isUnique.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-lower.1" name="lower" isQuery="true" bodyCondition="Operation-lower.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-lower.1-_ownedComment.0" body="If this operation has a return parameter, lower equals the value of lower for that parameter. Otherwise lower has no value.">
<annotatedElement xmi:idref="Operation-lower.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-lower.1-spec" name="spec">
<constrainedElement xmi:idref="Operation-lower.1"/>
<constrainedElement xmi:idref="Operation-lower"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-lower.1-spec-_specification">
<body>result = (if returnResult()->notEmpty() then returnResult()->any(true).lower else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-lower.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-returnResult" name="returnResult" isQuery="true" bodyCondition="Operation-returnResult-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-returnResult-_ownedComment.0" body="The query returnResult() returns the set containing the return parameter of the Operation if one exists, otherwise, it returns an empty set">
<annotatedElement xmi:idref="Operation-returnResult"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-returnResult-spec" name="spec">
<constrainedElement xmi:idref="Operation-returnResult"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-returnResult-spec-_specification">
<body>result = (ownedParameter->select (direction = ParameterDirectionKind::return))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-returnResult-result" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Operation-returnResult-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Operation-returnResult-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-type.1" name="type" isQuery="true" bodyCondition="Operation-type.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-type.1-_ownedComment.0" body="If this operation has a return parameter, type equals the value of type for that parameter. Otherwise type has no value.">
<annotatedElement xmi:idref="Operation-type.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-type.1-spec" name="spec">
<constrainedElement xmi:idref="Operation-type.1"/>
<constrainedElement xmi:idref="Operation-type"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-type.1-spec-_specification">
<body>result = (if returnResult()->notEmpty() then returnResult()->any(true).type else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-type.1-result" name="result" direction="return" type="Type"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Operation-upper.1" name="upper" isQuery="true" bodyCondition="Operation-upper.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Operation-upper.1-_ownedComment.0" body="If this operation has a return parameter, upper equals the value of upper for that parameter. Otherwise upper has no value.">
<annotatedElement xmi:idref="Operation-upper.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Operation-upper.1-spec" name="spec">
<constrainedElement xmi:idref="Operation-upper.1"/>
<constrainedElement xmi:idref="Operation-upper"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Operation-upper.1-spec-_specification">
<body>result = (if returnResult()->notEmpty() then returnResult()->any(true).upper else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Operation-upper.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#UnlimitedNatural"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="OperationTemplateParameter" name="OperationTemplateParameter">
<ownedComment xmi:type="uml:Comment" xmi:id="OperationTemplateParameter-_ownedComment.0" body="An OperationTemplateParameter exposes an Operation as a formal parameter for a template.">
<annotatedElement xmi:idref="OperationTemplateParameter"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OperationTemplateParameter-match_default_signature" name="match_default_signature">
<constrainedElement xmi:idref="OperationTemplateParameter"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OperationTemplateParameter-match_default_signature-_specification">
<body>default->notEmpty() implies (default.oclIsKindOf(Operation) and (let defaultOp : Operation = default.oclAsType(Operation) in defaultOp.ownedParameter->size() = parameteredElement.ownedParameter->size() and Sequence{1.. defaultOp.ownedParameter->size()}->forAll( ix | let p1: Parameter = defaultOp.ownedParameter->at(ix), p2 : Parameter = parameteredElement.ownedParameter->at(ix) in p1.type = p2.type and p1.upper = p2.upper and p1.lower = p2.lower and p1.direction = p2.direction and p1.isOrdered = p2.isOrdered and p1.isUnique = p2.isUnique)))</body>
<language>OCL</language>
<ownedComment xmi:type="uml:Comment" xmi:id="OperationTemplateParameter-match_default_signature-_specification-_ownedComment.0" body="A default for an OperationTemplateParameter must be an Operation with the same Parameter types, directions and multiplicities as the exposed Operation.">
<annotatedElement xmi:idref="OperationTemplateParameter-match_default_signature-_specification"/>
</ownedComment>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="OperationTemplateParameter-_generalization.0" general="TemplateParameter"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="OperationTemplateParameter-parameteredElement" name="parameteredElement" type="Operation" association="A_operation_templateParameter_parameteredElement">
<redefinedProperty xmi:idref="TemplateParameter-parameteredElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OperationTemplateParameter-parameteredElement-_ownedComment.0" body="The Operation exposed by this OperationTemplateParameter.">
<annotatedElement xmi:idref="OperationTemplateParameter-parameteredElement"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Parameter" name="Parameter">
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-_ownedComment.0" body="A Parameter is a specification of an argument used to pass information into or out of an invocation of a BehavioralFeature. Parameters can be treated as ConnectableElements within Collaborations.">
<annotatedElement xmi:idref="Parameter"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-in_and_out" name="in_and_out">
<constrainedElement xmi:idref="Parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-in_and_out-_ownedComment.0" body="Only in and inout Parameters may have a delete effect. Only out, inout, and return Parameters may have a create effect.">
<annotatedElement xmi:idref="Parameter-in_and_out"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-in_and_out-_specification">
<body>(effect = ParameterEffectKind::delete implies (direction = ParameterDirectionKind::_'in' or direction = ParameterDirectionKind::inout)) and (effect = ParameterEffectKind::create implies (direction = ParameterDirectionKind::out or direction = ParameterDirectionKind::inout or direction = ParameterDirectionKind::return))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-not_exception" name="not_exception">
<constrainedElement xmi:idref="Parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-not_exception-_ownedComment.0" body="An input Parameter cannot be an exception.">
<annotatedElement xmi:idref="Parameter-not_exception"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-not_exception-_specification">
<body>isException implies (direction <> ParameterDirectionKind::_'in' and direction <> ParameterDirectionKind::inout)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-connector_end" name="connector_end">
<constrainedElement xmi:idref="Parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-connector_end-_ownedComment.0" body="A Parameter may only be associated with a Connector end within the context of a Collaboration.">
<annotatedElement xmi:idref="Parameter-connector_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-connector_end-_specification">
<body>end->notEmpty() implies collaboration->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-reentrant_behaviors" name="reentrant_behaviors">
<constrainedElement xmi:idref="Parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-reentrant_behaviors-_ownedComment.0" body="Reentrant behaviors cannot have stream Parameters.">
<annotatedElement xmi:idref="Parameter-reentrant_behaviors"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-reentrant_behaviors-_specification">
<body>(isStream and behavior <> null) implies not behavior.isReentrant</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-stream_and_exception" name="stream_and_exception">
<constrainedElement xmi:idref="Parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-stream_and_exception-_ownedComment.0" body="A Parameter cannot be a stream and exception at the same time.">
<annotatedElement xmi:idref="Parameter-stream_and_exception"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-stream_and_exception-_specification">
<body>not (isException and isStream)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-object_effect" name="object_effect">
<constrainedElement xmi:idref="Parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-object_effect-_ownedComment.0" body="Parameters typed by DataTypes cannot have an effect.">
<annotatedElement xmi:idref="Parameter-object_effect"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-object_effect-_specification">
<body>(type.oclIsKindOf(DataType)) implies (effect = null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Parameter-_generalization.0" general="MultiplicityElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Parameter-_generalization.1" general="ConnectableElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-default" name="default" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-default-_ownedComment.0" body="A String that represents a value to be used when no argument is supplied for the Parameter.">
<annotatedElement xmi:idref="Parameter-default"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Parameter-default-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-defaultValue" name="defaultValue" aggregation="composite" type="ValueSpecification" association="A_defaultValue_owningParameter">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-defaultValue-_ownedComment.0" body="Specifies a ValueSpecification that represents a value to be used when no argument is supplied for the Parameter.">
<annotatedElement xmi:idref="Parameter-defaultValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Parameter-defaultValue-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-direction" name="direction" type="ParameterDirectionKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-direction-_ownedComment.0" body="Indicates whether a parameter is being sent into or out of a behavioral element.">
<annotatedElement xmi:idref="Parameter-direction"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="Parameter-direction-_defaultValue" type="ParameterDirectionKind" instance="ParameterDirectionKind-in"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-effect" name="effect" type="ParameterEffectKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-effect-_ownedComment.0" body="Specifies the effect that executions of the owner of the Parameter have on objects passed in or out of the parameter.">
<annotatedElement xmi:idref="Parameter-effect"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Parameter-effect-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-isException" name="isException">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-isException-_ownedComment.0" body="Tells whether an output parameter may emit a value to the exclusion of the other outputs.">
<annotatedElement xmi:idref="Parameter-isException"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Parameter-isException-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-isStream" name="isStream">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-isStream-_ownedComment.0" body="Tells whether an input parameter may accept values while its behavior is executing, or whether an output parameter may post values while the behavior is executing.">
<annotatedElement xmi:idref="Parameter-isStream"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Parameter-isStream-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-operation" name="operation" type="Operation" association="A_ownedParameter_operation">
<subsettedProperty xmi:idref="A_ownedParameter_ownerFormalParam-ownerFormalParam"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-operation-_ownedComment.0" body="The Operation owning this parameter.">
<annotatedElement xmi:idref="Parameter-operation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Parameter-operation-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Parameter-parameterSet" name="parameterSet" type="ParameterSet" association="A_parameterSet_parameter">
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-parameterSet-_ownedComment.0" body="The ParameterSets containing the parameter. See ParameterSet.">
<annotatedElement xmi:idref="Parameter-parameterSet"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Parameter-parameterSet-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Parameter-parameterSet-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Parameter-default.1" name="default" isQuery="true" bodyCondition="Parameter-default.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Parameter-default.1-_ownedComment.0" body="Derivation for Parameter::/default">
<annotatedElement xmi:idref="Parameter-default.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Parameter-default.1-spec" name="spec">
<constrainedElement xmi:idref="Parameter-default.1"/>
<constrainedElement xmi:idref="Parameter-default"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Parameter-default.1-spec-_specification">
<body>result = (if self.type = String then defaultValue.stringValue() else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Parameter-default.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Parameter-default.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ParameterSet" name="ParameterSet">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterSet-_ownedComment.0" body="A ParameterSet designates alternative sets of inputs or outputs that a Behavior may use.">
<annotatedElement xmi:idref="ParameterSet"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ParameterSet-same_parameterized_entity" name="same_parameterized_entity">
<constrainedElement xmi:idref="ParameterSet"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterSet-same_parameterized_entity-_ownedComment.0" body="The Parameters in a ParameterSet must all be inputs or all be outputs of the same parameterized entity, and the ParameterSet is owned by that entity.">
<annotatedElement xmi:idref="ParameterSet-same_parameterized_entity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ParameterSet-same_parameterized_entity-_specification">
<body>parameter->forAll(p1, p2 | self.owner = p1.owner and self.owner = p2.owner and p1.direction = p2.direction)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ParameterSet-input" name="input">
<constrainedElement xmi:idref="ParameterSet"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterSet-input-_ownedComment.0" body="If a parameterized entity has input Parameters that are in a ParameterSet, then any inputs that are not in a ParameterSet must be streaming. Same for output Parameters.">
<annotatedElement xmi:idref="ParameterSet-input"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ParameterSet-input-_specification">
<body>((parameter->exists(direction = ParameterDirectionKind::_'in')) implies behavioralFeature.ownedParameter->select(p | p.direction = ParameterDirectionKind::_'in' and p.parameterSet->isEmpty())->forAll(isStream)) and ((parameter->exists(direction = ParameterDirectionKind::out)) implies behavioralFeature.ownedParameter->select(p | p.direction = ParameterDirectionKind::out and p.parameterSet->isEmpty())->forAll(isStream)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ParameterSet-two_parameter_sets" name="two_parameter_sets">
<constrainedElement xmi:idref="ParameterSet"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterSet-two_parameter_sets-_ownedComment.0" body="Two ParameterSets cannot have exactly the same set of Parameters.">
<annotatedElement xmi:idref="ParameterSet-two_parameter_sets"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ParameterSet-two_parameter_sets-_specification">
<body>parameter->forAll(parameterSet->forAll(s1, s2 | s1->size() = s2->size() implies s1.parameter->exists(p | not s2.parameter->includes(p))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ParameterSet-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ParameterSet-condition" name="condition" aggregation="composite" type="Constraint" association="A_condition_parameterSet">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterSet-condition-_ownedComment.0" body="A constraint that should be satisfied for the owner of the Parameters in an input ParameterSet to start execution using the values provided for those Parameters, or the owner of the Parameters in an output ParameterSet to end execution providing the values for those Parameters, if all preconditions and conditions on input ParameterSets were satisfied.">
<annotatedElement xmi:idref="ParameterSet-condition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ParameterSet-condition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ParameterSet-condition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ParameterSet-parameter" name="parameter" type="Parameter" association="A_parameterSet_parameter">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterSet-parameter-_ownedComment.0" body="Parameters in the ParameterSet.">
<annotatedElement xmi:idref="ParameterSet-parameter"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ParameterSet-parameter-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Property" name="Property">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-_ownedComment.0" body="A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. The type of the Property is the type of the end of the Association. A Property has the capability of being a DeploymentTarget in a Deployment relationship. This enables modeling the deployment to hierarchical nodes that have Properties functioning as internal parts. Property specializes ParameterableElement to specify that a Property can be exposed as a formal template parameter, and provided as an actual parameter in a binding of a template.">
<annotatedElement xmi:idref="Property"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-subsetting_context_conforms" name="subsetting_context_conforms">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-subsetting_context_conforms-_ownedComment.0" body="Subsetting may only occur when the context of the subsetting property conforms to the context of the subsetted property.">
<annotatedElement xmi:idref="Property-subsetting_context_conforms"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-subsetting_context_conforms-_specification">
<body>subsettedProperty->notEmpty() implies (subsettingContext()->notEmpty() and subsettingContext()->forAll (sc | subsettedProperty->forAll(sp | sp.subsettingContext()->exists(c | sc.conformsTo(c)))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-derived_union_is_read_only" name="derived_union_is_read_only">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-derived_union_is_read_only-_ownedComment.0" body="A derived union is read only.">
<annotatedElement xmi:idref="Property-derived_union_is_read_only"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-derived_union_is_read_only-_specification">
<body>isDerivedUnion implies isReadOnly</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-multiplicity_of_composite" name="multiplicity_of_composite">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-multiplicity_of_composite-_ownedComment.0" body="A multiplicity on the composing end of a composite aggregation must not have an upper bound greater than 1.">
<annotatedElement xmi:idref="Property-multiplicity_of_composite"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-multiplicity_of_composite-_specification">
<body>isComposite and association <> null implies opposite.upperBound() <= 1 </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-redefined_property_inherited" name="redefined_property_inherited">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-redefined_property_inherited-_ownedComment.0" body="A redefined Property must be inherited from a more general Classifier.">
<annotatedElement xmi:idref="Property-redefined_property_inherited"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-redefined_property_inherited-_specification">
<body>(redefinedProperty->notEmpty()) implies (redefinitionContext->notEmpty() and redefinedProperty->forAll(rp| ((redefinitionContext->collect(fc| fc.allParents()))->asSet())->collect(c| c.allFeatures())->asSet()->includes(rp)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-subsetting_rules" name="subsetting_rules">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-subsetting_rules-_ownedComment.0" body="A subsetting Property may strengthen the type of the subsetted Property, and its upper bound may be less.">
<annotatedElement xmi:idref="Property-subsetting_rules"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-subsetting_rules-_specification">
<body>subsettedProperty->forAll(sp | self.type.conformsTo(sp.type) and ((self.upperBound()->notEmpty() and sp.upperBound()->notEmpty()) implies self.upperBound() <= sp.upperBound() ))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-binding_to_attribute" name="binding_to_attribute">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-binding_to_attribute-_ownedComment.0" body="A binding of a PropertyTemplateParameter representing an attribute must be to an attribute.">
<annotatedElement xmi:idref="Property-binding_to_attribute"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-binding_to_attribute-_specification">
<body>(self.isAttribute() and (templateParameterSubstitution->notEmpty()) implies (templateParameterSubstitution->forAll(ts | ts.formal.oclIsKindOf(Property) and ts.formal.oclAsType(Property).isAttribute())))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-derived_union_is_derived" name="derived_union_is_derived">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-derived_union_is_derived-_ownedComment.0" body="A derived union is derived.">
<annotatedElement xmi:idref="Property-derived_union_is_derived"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-derived_union_is_derived-_specification">
<body>isDerivedUnion implies isDerived</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-deployment_target" name="deployment_target">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-deployment_target-_ownedComment.0" body="A Property can be a DeploymentTarget if it is a kind of Node and functions as a part in the internal structure of an encompassing Node.">
<annotatedElement xmi:idref="Property-deployment_target"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-deployment_target-_specification">
<body>deployment->notEmpty() implies owner.oclIsKindOf(Node) and Node.allInstances()->exists(n | n.part->exists(p | p = self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-subsetted_property_names" name="subsetted_property_names">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-subsetted_property_names-_ownedComment.0" body="A Property may not subset a Property with the same name.">
<annotatedElement xmi:idref="Property-subsetted_property_names"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-subsetted_property_names-_specification">
<body>subsettedProperty->forAll(sp | sp.name <> name)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-type_of_opposite_end" name="type_of_opposite_end">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-type_of_opposite_end-_ownedComment.0" body="If a Property is a classifier-owned end of a binary Association, its owner must be the type of the opposite end.">
<annotatedElement xmi:idref="Property-type_of_opposite_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-type_of_opposite_end-_specification">
<body>(opposite->notEmpty() and owningAssociation->isEmpty()) implies classifier = opposite.type</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-qualified_is_association_end" name="qualified_is_association_end">
<constrainedElement xmi:idref="Property"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-qualified_is_association_end-_ownedComment.0" body="All qualified Properties must be Association ends">
<annotatedElement xmi:idref="Property-qualified_is_association_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-qualified_is_association_end-_specification">
<body>qualifier->notEmpty() implies association->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Property-_generalization.0" general="ConnectableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="Property-_generalization.2" general="DeploymentTarget"/>
<generalization xmi:type="uml:Generalization" xmi:id="Property-_generalization.1" general="StructuralFeature"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-aggregation" name="aggregation" type="AggregationKind">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-aggregation-_ownedComment.0" body="Specifies the kind of aggregation that applies to the Property.">
<annotatedElement xmi:idref="Property-aggregation"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="Property-aggregation-_defaultValue" type="AggregationKind" instance="AggregationKind-none"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-association" name="association" type="Association" association="A_memberEnd_association">
<subsettedProperty xmi:idref="A_member_memberNamespace-memberNamespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-association-_ownedComment.0" body="The Association of which this Property is a member, if any.">
<annotatedElement xmi:idref="Property-association"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-association-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-associationEnd" name="associationEnd" type="Property" association="A_qualifier_associationEnd">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-associationEnd-_ownedComment.0" body="Designates the optional association end that owns a qualifier attribute.">
<annotatedElement xmi:idref="Property-associationEnd"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-associationEnd-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-class" name="class" type="Class" association="A_ownedAttribute_class">
<subsettedProperty xmi:idref="A_attribute_classifier-classifier"/>
<subsettedProperty xmi:idref="A_ownedAttribute_structuredClassifier-structuredClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-class-_ownedComment.0" body="The Class that owns this Property, if any.">
<annotatedElement xmi:idref="Property-class"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-class-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-datatype" name="datatype" type="DataType" association="A_ownedAttribute_datatype">
<subsettedProperty xmi:idref="A_attribute_classifier-classifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-datatype-_ownedComment.0" body="The DataType that owns this Property, if any.">
<annotatedElement xmi:idref="Property-datatype"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-datatype-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-defaultValue" name="defaultValue" aggregation="composite" type="ValueSpecification" association="A_defaultValue_owningProperty">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-defaultValue-_ownedComment.0" body="A ValueSpecification that is evaluated to give a default value for the Property when an instance of the owning Classifier is instantiated.">
<annotatedElement xmi:idref="Property-defaultValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-defaultValue-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-interface" name="interface" type="Interface" association="A_ownedAttribute_interface">
<subsettedProperty xmi:idref="A_attribute_classifier-classifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-interface-_ownedComment.0" body="The Interface that owns this Property, if any.">
<annotatedElement xmi:idref="Property-interface"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-interface-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-isComposite" name="isComposite" isDerived="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isComposite-_ownedComment.0" body="If isComposite is true, the object containing the attribute is a container for the object or value contained in the attribute. This is a derived value, indicating whether the aggregation of the Property is composite or not.">
<annotatedElement xmi:idref="Property-isComposite"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Property-isComposite-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-isDerived" name="isDerived">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isDerived-_ownedComment.0" body="Specifies whether the Property is derived, i.e., whether its value or values can be computed from other information.">
<annotatedElement xmi:idref="Property-isDerived"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Property-isDerived-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-isDerivedUnion" name="isDerivedUnion">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isDerivedUnion-_ownedComment.0" body="Specifies whether the property is derived as the union of all of the Properties that are constrained to subset it.">
<annotatedElement xmi:idref="Property-isDerivedUnion"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Property-isDerivedUnion-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-isID" name="isID">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isID-_ownedComment.0" body="True indicates this property can be used to uniquely identify an instance of the containing Class.">
<annotatedElement xmi:idref="Property-isID"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Property-isID-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-opposite" name="opposite" isDerived="true" type="Property" association="A_opposite_property">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-opposite-_ownedComment.0" body="In the case where the Property is one end of a binary association this gives the other end.">
<annotatedElement xmi:idref="Property-opposite"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-opposite-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-owningAssociation" name="owningAssociation" type="Association" association="A_ownedEnd_owningAssociation">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<subsettedProperty xmi:idref="Property-association"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-owningAssociation-_ownedComment.0" body="The owning association of this property, if any.">
<annotatedElement xmi:idref="Property-owningAssociation"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-owningAssociation-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-qualifier" name="qualifier" isOrdered="true" aggregation="composite" type="Property" association="A_qualifier_associationEnd">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-qualifier-_ownedComment.0" body="An optional list of ordered qualifier attributes for the end.">
<annotatedElement xmi:idref="Property-qualifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-qualifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Property-qualifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-redefinedProperty" name="redefinedProperty" type="Property" association="A_redefinedProperty_property">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-redefinedProperty-_ownedComment.0" body="The properties that are redefined by this property, if any.">
<annotatedElement xmi:idref="Property-redefinedProperty"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-redefinedProperty-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Property-redefinedProperty-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Property-subsettedProperty" name="subsettedProperty" type="Property" association="A_subsettedProperty_property">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-subsettedProperty-_ownedComment.0" body="The properties of which this Property is constrained to be a subset, if any.">
<annotatedElement xmi:idref="Property-subsettedProperty"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-subsettedProperty-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Property-subsettedProperty-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-isAttribute" name="isAttribute" isQuery="true" bodyCondition="Property-isAttribute-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isAttribute-_ownedComment.0" body="The query isAttribute() is true if the Property is defined as an attribute of some Classifier.">
<annotatedElement xmi:idref="Property-isAttribute"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-isAttribute-spec" name="spec">
<constrainedElement xmi:idref="Property-isAttribute"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-isAttribute-spec-_specification">
<body>result = (not classifier->isEmpty())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isAttribute-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-isCompatibleWith" name="isCompatibleWith" isQuery="true" bodyCondition="Property-isCompatibleWith-spec">
<redefinedOperation xmi:idref="ParameterableElement-isCompatibleWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isCompatibleWith-_ownedComment.0" body="The query isCompatibleWith() determines if this Property is compatible with the specified ParameterableElement. This Property is compatible with ParameterableElement p if the kind of this Property is thesame as or a subtype of the kind of p. Further, if p is a TypedElement, then the type of this Property must be conformant with the type of p.">
<annotatedElement xmi:idref="Property-isCompatibleWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-isCompatibleWith-spec" name="spec">
<constrainedElement xmi:idref="Property-isCompatibleWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-isCompatibleWith-spec-_specification">
<body>result = (self.oclIsKindOf(p.oclType()) and (p.oclIsKindOf(TypeElement) implies self.type.conformsTo(p.oclAsType(TypedElement).type)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isCompatibleWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isCompatibleWith-p" name="p" type="ParameterableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-isComposite.1" name="isComposite" isQuery="true" bodyCondition="Property-isComposite.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isComposite.1-_ownedComment.0" body="The value of isComposite is true only if aggregation is composite.">
<annotatedElement xmi:idref="Property-isComposite.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-isComposite.1-spec" name="spec">
<constrainedElement xmi:idref="Property-isComposite.1"/>
<constrainedElement xmi:idref="Property-isComposite"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-isComposite.1-spec-_specification">
<body>result = (aggregation = AggregationKind::composite)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isComposite.1-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="Property-isConsistentWith-spec">
<precondition xmi:idref="Property-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isConsistentWith-_ownedComment.0" body="The query isConsistentWith() specifies, for any two Properties in a context in which redefinition is possible, whether redefinition would be logically consistent. A redefining Property is consistent with a redefined Property if the type of the redefining Property conforms to the type of the redefined Property, and the multiplicity of the redefining Property (if specified) is contained in the multiplicity of the redefined Property.">
<annotatedElement xmi:idref="Property-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="Property-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="Property-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-isConsistentWith-spec-_specification">
<body>result = (redefiningElement.oclIsKindOf(Property) and let prop : Property = redefiningElement.oclAsType(Property) in (prop.type.conformsTo(self.type) and ((prop.lowerBound()->notEmpty() and self.lowerBound()->notEmpty()) implies prop.lowerBound() >= self.lowerBound()) and ((prop.upperBound()->notEmpty() and self.upperBound()->notEmpty()) implies prop.lowerBound() <= self.lowerBound()) and (self.isComposite implies prop.isComposite)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-isNavigable" name="isNavigable" isQuery="true" bodyCondition="Property-isNavigable-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-isNavigable-_ownedComment.0" body="The query isNavigable() indicates whether it is possible to navigate across the property.">
<annotatedElement xmi:idref="Property-isNavigable"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-isNavigable-spec" name="spec">
<constrainedElement xmi:idref="Property-isNavigable"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-isNavigable-spec-_specification">
<body>result = (not classifier->isEmpty() or association.navigableOwnedEnd->includes(self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-isNavigable-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-opposite.1" name="opposite" isQuery="true" bodyCondition="Property-opposite.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-opposite.1-_ownedComment.0" body="If this property is a memberEnd of a binary association, then opposite gives the other end.">
<annotatedElement xmi:idref="Property-opposite.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-opposite.1-spec" name="spec">
<constrainedElement xmi:idref="Property-opposite.1"/>
<constrainedElement xmi:idref="Property-opposite"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-opposite.1-spec-_specification">
<body>result = (if association <> null and association.memberEnd->size() = 2 then association.memberEnd->any(e | e <> self) else null endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-opposite.1-result" name="result" direction="return" type="Property"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Property-subsettingContext" name="subsettingContext" isQuery="true" bodyCondition="Property-subsettingContext-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Property-subsettingContext-_ownedComment.0" body="The query subsettingContext() gives the context for subsetting a Property. It consists, in the case of an attribute, of the corresponding Classifier, and in the case of an association end, all of the Classifiers at the other ends.">
<annotatedElement xmi:idref="Property-subsettingContext"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Property-subsettingContext-spec" name="spec">
<constrainedElement xmi:idref="Property-subsettingContext"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Property-subsettingContext-spec-_specification">
<body>result = (if association <> null then association.memberEnd->excluding(self)->collect(type)->asSet() else if classifier<>null then classifier->asSet() else Set{} endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Property-subsettingContext-result" name="result" direction="return" type="Type">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Property-subsettingContext-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Property-subsettingContext-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="RedefinableElement" name="RedefinableElement" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-_ownedComment.0" body="A RedefinableElement is an element that, when defined in the context of a Classifier, can be redefined more specifically or differently in the context of another Classifier that specializes (directly or indirectly) the context Classifier.">
<annotatedElement xmi:idref="RedefinableElement"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableElement-redefinition_consistent" name="redefinition_consistent">
<constrainedElement xmi:idref="RedefinableElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-redefinition_consistent-_ownedComment.0" body="A redefining element must be consistent with each redefined element.">
<annotatedElement xmi:idref="RedefinableElement-redefinition_consistent"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableElement-redefinition_consistent-_specification">
<body>redefinedElement->forAll(re | re.isConsistentWith(self))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableElement-non_leaf_redefinition" name="non_leaf_redefinition">
<constrainedElement xmi:idref="RedefinableElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-non_leaf_redefinition-_ownedComment.0" body="A RedefinableElement can only redefine non-leaf RedefinableElements.">
<annotatedElement xmi:idref="RedefinableElement-non_leaf_redefinition"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableElement-non_leaf_redefinition-_specification">
<body>redefinedElement->forAll(re | not re.isLeaf)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableElement-redefinition_context_valid" name="redefinition_context_valid">
<constrainedElement xmi:idref="RedefinableElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-redefinition_context_valid-_ownedComment.0" body="At least one of the redefinition contexts of the redefining element must be a specialization of at least one of the redefinition contexts for each redefined element.">
<annotatedElement xmi:idref="RedefinableElement-redefinition_context_valid"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableElement-redefinition_context_valid-_specification">
<body>redefinedElement->forAll(re | self.isRedefinitionContextValid(re))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="RedefinableElement-_generalization.0" general="NamedElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="RedefinableElement-isLeaf" name="isLeaf">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-isLeaf-_ownedComment.0" body="Indicates whether it is possible to further redefine a RedefinableElement. If the value is true, then it is not possible to further redefine the RedefinableElement.">
<annotatedElement xmi:idref="RedefinableElement-isLeaf"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="RedefinableElement-isLeaf-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="RedefinableElement-redefinedElement" name="redefinedElement" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="RedefinableElement" association="A_redefinedElement_redefinableElement">
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-redefinedElement-_ownedComment.0" body="The RedefinableElement that is being redefined by this element.">
<annotatedElement xmi:idref="RedefinableElement-redefinedElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RedefinableElement-redefinedElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="RedefinableElement-redefinedElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="RedefinableElement-redefinitionContext" name="redefinitionContext" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Classifier" association="A_redefinitionContext_redefinableElement">
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-redefinitionContext-_ownedComment.0" body="The contexts that this element may be redefined from.">
<annotatedElement xmi:idref="RedefinableElement-redefinitionContext"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RedefinableElement-redefinitionContext-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="RedefinableElement-redefinitionContext-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="RedefinableElement-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="RedefinableElement-isConsistentWith-spec">
<precondition xmi:idref="RedefinableElement-isConsistentWith-pre"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-isConsistentWith-_ownedComment.0" body="The query isConsistentWith() specifies, for any two RedefinableElements in a context in which redefinition is possible, whether redefinition would be logically consistent. By default, this is false; this operation must be overridden for subclasses of RedefinableElement to define the consistency conditions.">
<annotatedElement xmi:idref="RedefinableElement-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableElement-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="RedefinableElement-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableElement-isConsistentWith-spec-_specification">
<body>result = (false)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableElement-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="RedefinableElement-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableElement-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableElement-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableElement-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="RedefinableElement-isRedefinitionContextValid" name="isRedefinitionContextValid" isQuery="true" bodyCondition="RedefinableElement-isRedefinitionContextValid-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableElement-isRedefinitionContextValid-_ownedComment.0" body="The query isRedefinitionContextValid() specifies whether the redefinition contexts of this RedefinableElement are properly related to the redefinition contexts of the specified RedefinableElement to allow this element to redefine the other. By default at least one of the redefinition contexts of this element must be a specialization of at least one of the redefinition contexts of the specified element.">
<annotatedElement xmi:idref="RedefinableElement-isRedefinitionContextValid"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableElement-isRedefinitionContextValid-spec" name="spec">
<constrainedElement xmi:idref="RedefinableElement-isRedefinitionContextValid"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableElement-isRedefinitionContextValid-spec-_specification">
<body>result = (redefinitionContext->exists(c | c.allParents()->includesAll(redefinedElement.redefinitionContext)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableElement-isRedefinitionContextValid-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableElement-isRedefinitionContextValid-redefinedElement" name="redefinedElement" type="RedefinableElement"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="RedefinableTemplateSignature" name="RedefinableTemplateSignature">
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-_ownedComment.0" body="A RedefinableTemplateSignature supports the addition of formal template parameters in a specialization of a template classifier.">
<annotatedElement xmi:idref="RedefinableTemplateSignature"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableTemplateSignature-redefines_parents" name="redefines_parents">
<constrainedElement xmi:idref="RedefinableTemplateSignature"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-redefines_parents-_ownedComment.0" body="If any of the parent Classifiers are a template, then the extendedSignature must include the signature of that Classifier.">
<annotatedElement xmi:idref="RedefinableTemplateSignature-redefines_parents"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableTemplateSignature-redefines_parents-_specification">
<body>classifier.allParents()->forAll(c | c.ownedTemplateSignature->notEmpty() implies self->closure(extendedSignature)->includes(c.ownedTemplateSignature))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="RedefinableTemplateSignature-_generalization.0" general="RedefinableElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="RedefinableTemplateSignature-_generalization.1" general="TemplateSignature"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="RedefinableTemplateSignature-classifier" name="classifier" type="Classifier" association="A_ownedTemplateSignature_classifier">
<redefinedProperty xmi:idref="TemplateSignature-template"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-classifier-_ownedComment.0" body="The Classifier that owns this RedefinableTemplateSignature.">
<annotatedElement xmi:idref="RedefinableTemplateSignature-classifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="RedefinableTemplateSignature-extendedSignature" name="extendedSignature" type="RedefinableTemplateSignature" association="A_extendedSignature_redefinableTemplateSignature">
<subsettedProperty xmi:idref="RedefinableElement-redefinedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-extendedSignature-_ownedComment.0" body="The signatures extended by this RedefinableTemplateSignature.">
<annotatedElement xmi:idref="RedefinableTemplateSignature-extendedSignature"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RedefinableTemplateSignature-extendedSignature-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="RedefinableTemplateSignature-extendedSignature-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="RedefinableTemplateSignature-inheritedParameter" name="inheritedParameter" isReadOnly="true" isDerived="true" type="TemplateParameter" association="A_inheritedParameter_redefinableTemplateSignature">
<subsettedProperty xmi:idref="TemplateSignature-parameter"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-inheritedParameter-_ownedComment.0" body="The formal template parameters of the extended signatures.">
<annotatedElement xmi:idref="RedefinableTemplateSignature-inheritedParameter"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RedefinableTemplateSignature-inheritedParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="RedefinableTemplateSignature-inheritedParameter-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="RedefinableTemplateSignature-inheritedParameter.1" name="inheritedParameter" isQuery="true" bodyCondition="RedefinableTemplateSignature-inheritedParameter.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-inheritedParameter.1-_ownedComment.0" body="Derivation for RedefinableTemplateSignature::/inheritedParameter">
<annotatedElement xmi:idref="RedefinableTemplateSignature-inheritedParameter.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableTemplateSignature-inheritedParameter.1-spec" name="spec">
<constrainedElement xmi:idref="RedefinableTemplateSignature-inheritedParameter.1"/>
<constrainedElement xmi:idref="RedefinableTemplateSignature-inheritedParameter"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableTemplateSignature-inheritedParameter.1-spec-_specification">
<body>result = (if extendedSignature->isEmpty() then Set{} else extendedSignature.parameter->asSet() endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableTemplateSignature-inheritedParameter.1-result" name="result" direction="return" type="TemplateParameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RedefinableTemplateSignature-inheritedParameter.1-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="RedefinableTemplateSignature-inheritedParameter.1-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="RedefinableTemplateSignature-isConsistentWith" name="isConsistentWith" isQuery="true" bodyCondition="RedefinableTemplateSignature-isConsistentWith-spec">
<precondition xmi:idref="RedefinableTemplateSignature-isConsistentWith-pre"/>
<redefinedOperation xmi:idref="RedefinableElement-isConsistentWith"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RedefinableTemplateSignature-isConsistentWith-_ownedComment.0" body="The query isConsistentWith() specifies, for any two RedefinableTemplateSignatures in a context in which redefinition is possible, whether redefinition would be logically consistent. A redefining template signature is always consistent with a redefined template signature, as redefinition only adds new formal parameters.">
<annotatedElement xmi:idref="RedefinableTemplateSignature-isConsistentWith"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableTemplateSignature-isConsistentWith-spec" name="spec">
<constrainedElement xmi:idref="RedefinableTemplateSignature-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableTemplateSignature-isConsistentWith-spec-spec" name="spec">
<body>result = (redefiningElement.oclIsKindOf(RedefinableTemplateSignature))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="RedefinableTemplateSignature-isConsistentWith-pre" name="pre">
<constrainedElement xmi:idref="RedefinableTemplateSignature-isConsistentWith"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RedefinableTemplateSignature-isConsistentWith-pre-_specification">
<body>redefiningElement.isRedefinitionContextValid(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableTemplateSignature-isConsistentWith-result" name="result" direction="return">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
</ownedParameter>
<ownedParameter xmi:type="uml:Parameter" xmi:id="RedefinableTemplateSignature-isConsistentWith-redefiningElement" name="redefiningElement" type="RedefinableElement"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Slot" name="Slot">
<ownedComment xmi:type="uml:Comment" xmi:id="Slot-_ownedComment.0" body="A Slot designates that an entity modeled by an InstanceSpecification has a value or values for a specific StructuralFeature.">
<annotatedElement xmi:idref="Slot"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Slot-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Slot-definingFeature" name="definingFeature" type="StructuralFeature" association="A_definingFeature_slot">
<ownedComment xmi:type="uml:Comment" xmi:id="Slot-definingFeature-_ownedComment.0" body="The StructuralFeature that specifies the values that may be held by the Slot.">
<annotatedElement xmi:idref="Slot-definingFeature"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Slot-owningInstance" name="owningInstance" type="InstanceSpecification" association="A_slot_owningInstance">
<subsettedProperty xmi:idref="Element-owner"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Slot-owningInstance-_ownedComment.0" body="The InstanceSpecification that owns this Slot.">
<annotatedElement xmi:idref="Slot-owningInstance"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Slot-value" name="value" isOrdered="true" aggregation="composite" type="ValueSpecification" association="A_value_owningSlot">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Slot-value-_ownedComment.0" body="The value or values held by the Slot.">
<annotatedElement xmi:idref="Slot-value"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Slot-value-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Slot-value-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StructuralFeature" name="StructuralFeature" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeature-_ownedComment.0" body="A StructuralFeature is a typed feature of a Classifier that specifies the structure of instances of the Classifier.">
<annotatedElement xmi:idref="StructuralFeature"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="StructuralFeature-_generalization.0" general="MultiplicityElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="StructuralFeature-_generalization.1" general="TypedElement"/>
<generalization xmi:type="uml:Generalization" xmi:id="StructuralFeature-_generalization.2" general="Feature"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuralFeature-isReadOnly" name="isReadOnly">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeature-isReadOnly-_ownedComment.0" body="If isReadOnly is true, the StructuralFeature may not be written to after initialization.">
<annotatedElement xmi:idref="StructuralFeature-isReadOnly"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="StructuralFeature-isReadOnly-_defaultValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="AggregationKind" name="AggregationKind">
<ownedComment xmi:type="uml:Comment" xmi:id="AggregationKind-_ownedComment.0" body="AggregationKind is an Enumeration for specifying the kind of aggregation of a Property.">
<annotatedElement xmi:idref="AggregationKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="AggregationKind-none" name="none">
<ownedComment xmi:type="uml:Comment" xmi:id="AggregationKind-none-_ownedComment.0" body="Indicates that the Property has no aggregation.">
<annotatedElement xmi:idref="AggregationKind-none"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="AggregationKind-shared" name="shared">
<ownedComment xmi:type="uml:Comment" xmi:id="AggregationKind-shared-_ownedComment.0" body="Indicates that the Property has shared aggregation.">
<annotatedElement xmi:idref="AggregationKind-shared"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="AggregationKind-composite" name="composite">
<ownedComment xmi:type="uml:Comment" xmi:id="AggregationKind-composite-_ownedComment.0" body="Indicates that the Property is aggregated compositely, i.e., the composite object has responsibility for the existence and storage of the composed objects (parts).">
<annotatedElement xmi:idref="AggregationKind-composite"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="CallConcurrencyKind" name="CallConcurrencyKind">
<ownedComment xmi:type="uml:Comment" xmi:id="CallConcurrencyKind-_ownedComment.0" body="CallConcurrencyKind is an Enumeration used to specify the semantics of concurrent calls to a BehavioralFeature.">
<annotatedElement xmi:idref="CallConcurrencyKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="CallConcurrencyKind-sequential" name="sequential">
<ownedComment xmi:type="uml:Comment" xmi:id="CallConcurrencyKind-sequential-_ownedComment.0" body="No concurrency management mechanism is associated with the BehavioralFeature and, therefore, concurrency conflicts may occur. Instances that invoke a BehavioralFeature need to coordinate so that only one invocation to a target on any BehavioralFeature occurs at once.">
<annotatedElement xmi:idref="CallConcurrencyKind-sequential"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="CallConcurrencyKind-guarded" name="guarded">
<ownedComment xmi:type="uml:Comment" xmi:id="CallConcurrencyKind-guarded-_ownedComment.0" body="Multiple invocations of a BehavioralFeature that overlap in time may occur to one instance, but only one is allowed to commence. The others are blocked until the performance of the currently executing BehavioralFeature is complete. It is the responsibility of the system designer to ensure that deadlocks do not occur due to simultaneous blocking.">
<annotatedElement xmi:idref="CallConcurrencyKind-guarded"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="CallConcurrencyKind-concurrent" name="concurrent">
<ownedComment xmi:type="uml:Comment" xmi:id="CallConcurrencyKind-concurrent-_ownedComment.0" body="Multiple invocations of a BehavioralFeature that overlap in time may occur to one instance and all of them may proceed concurrently.">
<annotatedElement xmi:idref="CallConcurrencyKind-concurrent"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="ParameterDirectionKind" name="ParameterDirectionKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterDirectionKind-_ownedComment.0" body="ParameterDirectionKind is an Enumeration that defines literals used to specify direction of parameters.">
<annotatedElement xmi:idref="ParameterDirectionKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterDirectionKind-in" name="in">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterDirectionKind-in-_ownedComment.0" body="Indicates that Parameter values are passed in by the caller. ">
<annotatedElement xmi:idref="ParameterDirectionKind-in"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterDirectionKind-inout" name="inout">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterDirectionKind-inout-_ownedComment.0" body="Indicates that Parameter values are passed in by the caller and (possibly different) values passed out to the caller.">
<annotatedElement xmi:idref="ParameterDirectionKind-inout"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterDirectionKind-out" name="out">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterDirectionKind-out-_ownedComment.0" body="Indicates that Parameter values are passed out to the caller.">
<annotatedElement xmi:idref="ParameterDirectionKind-out"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterDirectionKind-return" name="return">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterDirectionKind-return-_ownedComment.0" body="Indicates that Parameter values are passed as return values back to the caller.">
<annotatedElement xmi:idref="ParameterDirectionKind-return"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="ParameterEffectKind" name="ParameterEffectKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterEffectKind-_ownedComment.0" body="ParameterEffectKind is an Enumeration that indicates the effect of a Behavior on values passed in or out of its parameters.">
<annotatedElement xmi:idref="ParameterEffectKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterEffectKind-create" name="create">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterEffectKind-create-_ownedComment.0" body="Indicates that the behavior creates values.">
<annotatedElement xmi:idref="ParameterEffectKind-create"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterEffectKind-read" name="read">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterEffectKind-read-_ownedComment.0" body="Indicates objects that are values of the parameter have values of their properties, or links in which they participate, or their classifiers retrieved during executions of the behavior.">
<annotatedElement xmi:idref="ParameterEffectKind-read"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterEffectKind-update" name="update">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterEffectKind-update-_ownedComment.0" body="Indicates objects that are values of the parameter have values of their properties, or links in which they participate, or their classification changed during executions of the behavior.">
<annotatedElement xmi:idref="ParameterEffectKind-update"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ParameterEffectKind-delete" name="delete">
<ownedComment xmi:type="uml:Comment" xmi:id="ParameterEffectKind-delete-_ownedComment.0" body="Indicates objects that are values of the parameter do not exist after executions of the behavior are finished.">
<annotatedElement xmi:idref="ParameterEffectKind-delete"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_definingFeature_slot" name="A_definingFeature_slot">
<memberEnd xmi:idref="Slot-definingFeature"/>
<memberEnd xmi:idref="A_definingFeature_slot-slot"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_definingFeature_slot-slot" name="slot" type="Slot" association="A_definingFeature_slot">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_definingFeature_slot-slot-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_definingFeature_slot-slot-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_owningSlot" name="A_value_owningSlot">
<memberEnd xmi:idref="Slot-value"/>
<memberEnd xmi:idref="A_value_owningSlot-owningSlot"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_owningSlot-owningSlot" name="owningSlot" type="Slot" association="A_value_owningSlot">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_owningSlot-owningSlot-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_extendedSignature_redefinableTemplateSignature" name="A_extendedSignature_redefinableTemplateSignature">
<memberEnd xmi:idref="RedefinableTemplateSignature-extendedSignature"/>
<memberEnd xmi:idref="A_extendedSignature_redefinableTemplateSignature-redefinableTemplateSignature"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_extendedSignature_redefinableTemplateSignature-redefinableTemplateSignature" name="redefinableTemplateSignature" type="RedefinableTemplateSignature" association="A_extendedSignature_redefinableTemplateSignature">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_extendedSignature_redefinableTemplateSignature-redefinableTemplateSignature-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_extendedSignature_redefinableTemplateSignature-redefinableTemplateSignature-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inheritedParameter_redefinableTemplateSignature" name="A_inheritedParameter_redefinableTemplateSignature" isDerived="true">
<memberEnd xmi:idref="RedefinableTemplateSignature-inheritedParameter"/>
<memberEnd xmi:idref="A_inheritedParameter_redefinableTemplateSignature-redefinableTemplateSignature"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_inheritedParameter_redefinableTemplateSignature-redefinableTemplateSignature" name="redefinableTemplateSignature" type="RedefinableTemplateSignature" association="A_inheritedParameter_redefinableTemplateSignature">
<subsettedProperty xmi:idref="A_parameter_templateSignature-templateSignature"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_inheritedParameter_redefinableTemplateSignature-redefinableTemplateSignature-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_inheritedParameter_redefinableTemplateSignature-redefinableTemplateSignature-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinitionContext_redefinableElement" name="A_redefinitionContext_redefinableElement" isDerived="true">
<memberEnd xmi:idref="RedefinableElement-redefinitionContext"/>
<memberEnd xmi:idref="A_redefinitionContext_redefinableElement-redefinableElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinitionContext_redefinableElement-redefinableElement" name="redefinableElement" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="RedefinableElement" association="A_redefinitionContext_redefinableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinitionContext_redefinableElement-redefinableElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinitionContext_redefinableElement-redefinableElement-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedElement_redefinableElement" name="A_redefinedElement_redefinableElement" isDerived="true">
<memberEnd xmi:idref="RedefinableElement-redefinedElement"/>
<memberEnd xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedElement_redefinableElement-redefinableElement" name="redefinableElement" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="RedefinableElement" association="A_redefinedElement_redefinableElement">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedElement_redefinableElement-redefinableElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedElement_redefinableElement-redefinableElement-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_qualifier_associationEnd" name="A_qualifier_associationEnd">
<memberEnd xmi:idref="Property-qualifier"/>
<memberEnd xmi:idref="Property-associationEnd"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedProperty_property" name="A_redefinedProperty_property">
<memberEnd xmi:idref="Property-redefinedProperty"/>
<memberEnd xmi:idref="A_redefinedProperty_property-property"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedProperty_property-property" name="property" type="Property" association="A_redefinedProperty_property">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedProperty_property-property-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedProperty_property-property-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_defaultValue_owningProperty" name="A_defaultValue_owningProperty">
<memberEnd xmi:idref="Property-defaultValue"/>
<memberEnd xmi:idref="A_defaultValue_owningProperty-owningProperty"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_defaultValue_owningProperty-owningProperty" name="owningProperty" type="Property" association="A_defaultValue_owningProperty">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_defaultValue_owningProperty-owningProperty-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_opposite_property" name="A_opposite_property" isDerived="true">
<memberEnd xmi:idref="Property-opposite"/>
<memberEnd xmi:idref="A_opposite_property-property"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_opposite_property-property" name="property" type="Property" association="A_opposite_property">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_opposite_property-property-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_subsettedProperty_property" name="A_subsettedProperty_property">
<memberEnd xmi:idref="Property-subsettedProperty"/>
<memberEnd xmi:idref="A_subsettedProperty_property-property"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_subsettedProperty_property-property" name="property" type="Property" association="A_subsettedProperty_property">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_subsettedProperty_property-property-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_subsettedProperty_property-property-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_condition_parameterSet" name="A_condition_parameterSet">
<memberEnd xmi:idref="ParameterSet-condition"/>
<memberEnd xmi:idref="A_condition_parameterSet-parameterSet"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_condition_parameterSet-parameterSet" name="parameterSet" type="ParameterSet" association="A_condition_parameterSet">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_condition_parameterSet-parameterSet-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_parameterSet_parameter" name="A_parameterSet_parameter">
<memberEnd xmi:idref="Parameter-parameterSet"/>
<memberEnd xmi:idref="ParameterSet-parameter"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_defaultValue_owningParameter" name="A_defaultValue_owningParameter">
<memberEnd xmi:idref="Parameter-defaultValue"/>
<memberEnd xmi:idref="A_defaultValue_owningParameter-owningParameter"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_defaultValue_owningParameter-owningParameter" name="owningParameter" type="Parameter" association="A_defaultValue_owningParameter">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_defaultValue_owningParameter-owningParameter-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_type_operation" name="A_type_operation" isDerived="true">
<memberEnd xmi:idref="Operation-type"/>
<memberEnd xmi:idref="A_type_operation-operation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_type_operation-operation" name="operation" type="Operation" association="A_type_operation">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_type_operation-operation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_type_operation-operation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_operation_templateParameter_parameteredElement" name="A_operation_templateParameter_parameteredElement">
<memberEnd xmi:idref="Operation-templateParameter"/>
<memberEnd xmi:idref="OperationTemplateParameter-parameteredElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_bodyCondition_bodyContext" name="A_bodyCondition_bodyContext">
<memberEnd xmi:idref="Operation-bodyCondition"/>
<memberEnd xmi:idref="A_bodyCondition_bodyContext-bodyContext"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_bodyCondition_bodyContext-bodyContext" name="bodyContext" type="Operation" association="A_bodyCondition_bodyContext">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_bodyCondition_bodyContext-bodyContext-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_postcondition_postContext" name="A_postcondition_postContext">
<memberEnd xmi:idref="Operation-postcondition"/>
<memberEnd xmi:idref="A_postcondition_postContext-postContext"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_postcondition_postContext-postContext" name="postContext" type="Operation" association="A_postcondition_postContext">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_postcondition_postContext-postContext-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedOperation_operation" name="A_redefinedOperation_operation">
<memberEnd xmi:idref="Operation-redefinedOperation"/>
<memberEnd xmi:idref="A_redefinedOperation_operation-operation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedOperation_operation-operation" name="operation" type="Operation" association="A_redefinedOperation_operation">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedOperation_operation-operation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedOperation_operation-operation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_raisedException_operation" name="A_raisedException_operation">
<memberEnd xmi:idref="Operation-raisedException"/>
<memberEnd xmi:idref="A_raisedException_operation-operation"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_raisedException_operation-operation" name="operation" type="Operation" association="A_raisedException_operation">
<subsettedProperty xmi:idref="A_raisedException_behavioralFeature-behavioralFeature"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_raisedException_operation-operation-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_raisedException_operation-operation-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_precondition_preContext" name="A_precondition_preContext">
<memberEnd xmi:idref="Operation-precondition"/>
<memberEnd xmi:idref="A_precondition_preContext-preContext"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_precondition_preContext-preContext" name="preContext" type="Operation" association="A_precondition_preContext">
<subsettedProperty xmi:idref="Constraint-context"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_precondition_preContext-preContext-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameter_operation" name="A_ownedParameter_operation">
<memberEnd xmi:idref="Operation-ownedParameter"/>
<memberEnd xmi:idref="Parameter-operation"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_instance_instanceValue" name="A_instance_instanceValue">
<memberEnd xmi:idref="InstanceValue-instance"/>
<memberEnd xmi:idref="A_instance_instanceValue-instanceValue"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_instance_instanceValue-instanceValue" name="instanceValue" type="InstanceValue" association="A_instance_instanceValue">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_instance_instanceValue-instanceValue-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_instance_instanceValue-instanceValue-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifier_instanceSpecification" name="A_classifier_instanceSpecification">
<memberEnd xmi:idref="InstanceSpecification-classifier"/>
<memberEnd xmi:idref="A_classifier_instanceSpecification-instanceSpecification"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_classifier_instanceSpecification-instanceSpecification" name="instanceSpecification" type="InstanceSpecification" association="A_classifier_instanceSpecification">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_classifier_instanceSpecification-instanceSpecification-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_classifier_instanceSpecification-instanceSpecification-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_slot_owningInstance" name="A_slot_owningInstance">
<memberEnd xmi:idref="InstanceSpecification-slot"/>
<memberEnd xmi:idref="Slot-owningInstance"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_specification_owningInstanceSpec" name="A_specification_owningInstanceSpec">
<memberEnd xmi:idref="InstanceSpecification-specification"/>
<memberEnd xmi:idref="A_specification_owningInstanceSpec-owningInstanceSpec"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_specification_owningInstanceSpec-owningInstanceSpec" name="owningInstanceSpec" type="InstanceSpecification" association="A_specification_owningInstanceSpec">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_specification_owningInstanceSpec-owningInstanceSpec-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_generalizationSet_generalization" name="A_generalizationSet_generalization">
<memberEnd xmi:idref="Generalization-generalizationSet"/>
<memberEnd xmi:idref="GeneralizationSet-generalization"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_general_generalization" name="A_general_generalization">
<memberEnd xmi:idref="Generalization-general"/>
<memberEnd xmi:idref="A_general_generalization-generalization"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_general_generalization-generalization" name="generalization" type="Generalization" association="A_general_generalization">
<subsettedProperty xmi:idref="A_target_directedRelationship-directedRelationship"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_general_generalization-generalization-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_general_generalization-generalization-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_constrainingClassifier_classifierTemplateParameter" name="A_constrainingClassifier_classifierTemplateParameter">
<memberEnd xmi:idref="ClassifierTemplateParameter-constrainingClassifier"/>
<memberEnd xmi:idref="A_constrainingClassifier_classifierTemplateParameter-classifierTemplateParameter"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_constrainingClassifier_classifierTemplateParameter-classifierTemplateParameter" name="classifierTemplateParameter" type="ClassifierTemplateParameter" association="A_constrainingClassifier_classifierTemplateParameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_constrainingClassifier_classifierTemplateParameter-classifierTemplateParameter-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_constrainingClassifier_classifierTemplateParameter-classifierTemplateParameter-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifier_templateParameter_parameteredElement" name="A_classifier_templateParameter_parameteredElement">
<memberEnd xmi:idref="Classifier-templateParameter"/>
<memberEnd xmi:idref="ClassifierTemplateParameter-parameteredElement"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_powertypeExtent_powertype" name="A_powertypeExtent_powertype">
<memberEnd xmi:idref="Classifier-powertypeExtent"/>
<memberEnd xmi:idref="GeneralizationSet-powertype"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_generalization_specific" name="A_generalization_specific">
<memberEnd xmi:idref="Classifier-generalization"/>
<memberEnd xmi:idref="Generalization-specific"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_general_classifier" name="A_general_classifier" isDerived="true">
<memberEnd xmi:idref="Classifier-general"/>
<memberEnd xmi:idref="A_general_classifier-classifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_general_classifier-classifier" name="classifier" type="Classifier" association="A_general_classifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_general_classifier-classifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_general_classifier-classifier-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_feature_featuringClassifier" name="A_feature_featuringClassifier" isDerived="true">
<memberEnd xmi:idref="Classifier-feature"/>
<memberEnd xmi:idref="Feature-featuringClassifier"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_substitution_substitutingClassifier" name="A_substitution_substitutingClassifier">
<memberEnd xmi:idref="Classifier-substitution"/>
<memberEnd xmi:idref="Substitution-substitutingClassifier"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_representation_classifier" name="A_representation_classifier">
<memberEnd xmi:idref="Classifier-representation"/>
<memberEnd xmi:idref="A_representation_classifier-classifier"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_representation_classifier-_generalization.0" general="A_collaborationUse_classifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_representation_classifier-classifier" name="classifier" type="Classifier" association="A_representation_classifier">
<redefinedProperty xmi:idref="A_collaborationUse_classifier-classifier"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_representation_classifier-classifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedTemplateSignature_classifier" name="A_ownedTemplateSignature_classifier">
<memberEnd xmi:idref="Classifier-ownedTemplateSignature"/>
<memberEnd xmi:idref="RedefinableTemplateSignature-classifier"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inheritedMember_inheritingClassifier" name="A_inheritedMember_inheritingClassifier" isDerived="true">
<memberEnd xmi:idref="Classifier-inheritedMember"/>
<memberEnd xmi:idref="A_inheritedMember_inheritingClassifier-inheritingClassifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_inheritedMember_inheritingClassifier-inheritingClassifier" name="inheritingClassifier" type="Classifier" association="A_inheritedMember_inheritingClassifier">
<subsettedProperty xmi:idref="A_member_memberNamespace-memberNamespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_inheritedMember_inheritingClassifier-inheritingClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_inheritedMember_inheritingClassifier-inheritingClassifier-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_redefinedClassifier_classifier" name="A_redefinedClassifier_classifier">
<memberEnd xmi:idref="Classifier-redefinedClassifier"/>
<memberEnd xmi:idref="A_redefinedClassifier_classifier-classifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_redefinedClassifier_classifier-classifier" name="classifier" type="Classifier" association="A_redefinedClassifier_classifier">
<subsettedProperty xmi:idref="A_redefinedElement_redefinableElement-redefinableElement"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_redefinedClassifier_classifier-classifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_redefinedClassifier_classifier-classifier-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_collaborationUse_classifier" name="A_collaborationUse_classifier">
<memberEnd xmi:idref="Classifier-collaborationUse"/>
<memberEnd xmi:idref="A_collaborationUse_classifier-classifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_collaborationUse_classifier-classifier" name="classifier" type="Classifier" association="A_collaborationUse_classifier">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_collaborationUse_classifier-classifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_attribute_classifier" name="A_attribute_classifier" isDerived="true">
<memberEnd xmi:idref="Classifier-attribute"/>
<memberEnd xmi:idref="A_attribute_classifier-classifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_attribute_classifier-classifier" name="classifier" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Classifier" association="A_attribute_classifier">
<subsettedProperty xmi:idref="Feature-featuringClassifier"/>
<subsettedProperty xmi:idref="RedefinableElement-redefinitionContext"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_attribute_classifier-classifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedUseCase_classifier" name="A_ownedUseCase_classifier">
<memberEnd xmi:idref="Classifier-ownedUseCase"/>
<memberEnd xmi:idref="A_ownedUseCase_classifier-classifier"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedUseCase_classifier-classifier" name="classifier" type="Classifier" association="A_ownedUseCase_classifier">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedUseCase_classifier-classifier-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameter_ownerFormalParam" name="A_ownedParameter_ownerFormalParam">
<memberEnd xmi:idref="BehavioralFeature-ownedParameter"/>
<memberEnd xmi:idref="A_ownedParameter_ownerFormalParam-ownerFormalParam"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedParameter_ownerFormalParam-ownerFormalParam" name="ownerFormalParam" type="BehavioralFeature" association="A_ownedParameter_ownerFormalParam">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedParameter_ownerFormalParam-ownerFormalParam-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_raisedException_behavioralFeature" name="A_raisedException_behavioralFeature">
<memberEnd xmi:idref="BehavioralFeature-raisedException"/>
<memberEnd xmi:idref="A_raisedException_behavioralFeature-behavioralFeature"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_raisedException_behavioralFeature-behavioralFeature" name="behavioralFeature" type="BehavioralFeature" association="A_raisedException_behavioralFeature">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_raisedException_behavioralFeature-behavioralFeature-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_raisedException_behavioralFeature-behavioralFeature-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_ownedParameterSet_behavioralFeature" name="A_ownedParameterSet_behavioralFeature">
<memberEnd xmi:idref="BehavioralFeature-ownedParameterSet"/>
<memberEnd xmi:idref="A_ownedParameterSet_behavioralFeature-behavioralFeature"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_ownedParameterSet_behavioralFeature-behavioralFeature" name="behavioralFeature" type="BehavioralFeature" association="A_ownedParameterSet_behavioralFeature">
<subsettedProperty xmi:idref="NamedElement-namespace"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_ownedParameterSet_behavioralFeature-behavioralFeature-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_method_specification" name="A_method_specification">
<memberEnd xmi:idref="BehavioralFeature-method"/>
<memberEnd xmi:idref="Behavior-specification"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_contract_substitution" name="A_contract_substitution">
<memberEnd xmi:idref="Substitution-contract"/>
<memberEnd xmi:idref="A_contract_substitution-substitution"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_contract_substitution-substitution" name="substitution" type="Substitution" association="A_contract_substitution">
<subsettedProperty xmi:idref="A_supplier_supplierDependency-supplierDependency"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_contract_substitution-substitution-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_contract_substitution-substitution-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
</packagedElement>
<packagedElement xmi:type="uml:Package" xmi:id="Actions" name="Actions">
<packageImport xmi:type="uml:PackageImport" xmi:id="Actions-_packageImport.0" importedPackage="Classification"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Actions-_packageImport.1" importedPackage="StructuredClassifiers"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Actions-_packageImport.2" importedPackage="CommonStructure"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Actions-_packageImport.3" importedPackage="Activities"/>
<packageImport xmi:type="uml:PackageImport" xmi:id="Actions-_packageImport.4" importedPackage="CommonBehavior"/>
<packagedElement xmi:type="uml:Class" xmi:id="ValueSpecificationAction" name="ValueSpecificationAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecificationAction-_ownedComment.0" body="A ValueSpecificationAction is an Action that evaluates a ValueSpecification and provides a result.">
<annotatedElement xmi:idref="ValueSpecificationAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecificationAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ValueSpecificationAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecificationAction-multiplicity-_ownedComment.0" body="The multiplicity of the result OutputPin is 1..1">
<annotatedElement xmi:idref="ValueSpecificationAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecificationAction-multiplicity-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValueSpecificationAction-compatible_type" name="compatible_type">
<constrainedElement xmi:idref="ValueSpecificationAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecificationAction-compatible_type-_ownedComment.0" body="The type of the value ValueSpecification must conform to the type of the result OutputPin.">
<annotatedElement xmi:idref="ValueSpecificationAction-compatible_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValueSpecificationAction-compatible_type-_specification">
<body>value.type.conformsTo(result.type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ValueSpecificationAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ValueSpecificationAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_valueSpecificationAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecificationAction-result-_ownedComment.0" body="The OutputPin on which the result value is placed.">
<annotatedElement xmi:idref="ValueSpecificationAction-result"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ValueSpecificationAction-value" name="value" aggregation="composite" type="ValueSpecification" association="A_value_valueSpecificationAction">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValueSpecificationAction-value-_ownedComment.0" body="The ValueSpecification to be evaluated.">
<annotatedElement xmi:idref="ValueSpecificationAction-value"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="VariableAction" name="VariableAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="VariableAction-_ownedComment.0" body="VariableAction is an abstract class for Actions that operate on a specified Variable.">
<annotatedElement xmi:idref="VariableAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="VariableAction-scope_of_variable" name="scope_of_variable">
<constrainedElement xmi:idref="VariableAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="VariableAction-scope_of_variable-_ownedComment.0" body="The VariableAction must be in the scope of the variable.">
<annotatedElement xmi:idref="VariableAction-scope_of_variable"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="VariableAction-scope_of_variable-_specification">
<body>variable.isAccessibleBy(self)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="VariableAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="VariableAction-variable" name="variable" type="Variable" association="A_variable_variableAction">
<ownedComment xmi:type="uml:Comment" xmi:id="VariableAction-variable-_ownedComment.0" body="The Variable to be read or written.">
<annotatedElement xmi:idref="VariableAction-variable"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="WriteLinkAction" name="WriteLinkAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="WriteLinkAction-_ownedComment.0" body="WriteLinkAction is an abstract class for LinkActions that create and destroy links.">
<annotatedElement xmi:idref="WriteLinkAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteLinkAction-allow_access" name="allow_access">
<constrainedElement xmi:idref="WriteLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteLinkAction-allow_access-_ownedComment.0" body="The visibility of at least one end must allow access from the context Classifier of the WriteLinkAction.">
<annotatedElement xmi:idref="WriteLinkAction-allow_access"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteLinkAction-allow_access-_specification">
<body>endData.end->exists(end | end.type=_'context' or end.visibility=VisibilityKind::public or end.visibility=VisibilityKind::protected and endData.end->exists(other | other<>end and _'context'.conformsTo(other.type.oclAsType(Classifier)))) </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="WriteLinkAction-_generalization.0" general="LinkAction"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="WriteStructuralFeatureAction" name="WriteStructuralFeatureAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-_ownedComment.0" body="WriteStructuralFeatureAction is an abstract class for StructuralFeatureActions that change StructuralFeature values.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteStructuralFeatureAction-multiplicity_of_result" name="multiplicity_of_result">
<constrainedElement xmi:idref="WriteStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-multiplicity_of_result-_ownedComment.0" body="The multiplicity of the result OutputPin must be 1..1.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction-multiplicity_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteStructuralFeatureAction-multiplicity_of_result-_specification">
<body>result <> null implies result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteStructuralFeatureAction-type_of_value" name="type_of_value">
<constrainedElement xmi:idref="WriteStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-type_of_value-_ownedComment.0" body="The type of the value InputPin must conform to the type of the structuralFeature.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction-type_of_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteStructuralFeatureAction-type_of_value-_specification">
<body>value <> null implies value.type.conformsTo(structuralFeature.type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteStructuralFeatureAction-multiplicity_of_value" name="multiplicity_of_value">
<constrainedElement xmi:idref="WriteStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-multiplicity_of_value-_ownedComment.0" body="The multiplicity of the value InputPin is 1..1.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction-multiplicity_of_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteStructuralFeatureAction-multiplicity_of_value-_specification">
<body>value<>null implies value.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteStructuralFeatureAction-type_of_result" name="type_of_result">
<constrainedElement xmi:idref="WriteStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-type_of_result-_ownedComment.0" body="The type of the result OutputPin is the same as the type of the inherited object InputPin.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction-type_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteStructuralFeatureAction-type_of_result-_specification">
<body>result <> null implies result.type = object.type</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="WriteStructuralFeatureAction-_generalization.0" general="StructuralFeatureAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="WriteStructuralFeatureAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_writeStructuralFeatureAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-result-_ownedComment.0" body="The OutputPin on which is put the input object as modified by the WriteStructuralFeatureAction.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="WriteStructuralFeatureAction-result-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="WriteStructuralFeatureAction-value" name="value" aggregation="composite" type="InputPin" association="A_value_writeStructuralFeatureAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteStructuralFeatureAction-value-_ownedComment.0" body="The InputPin that provides the value to be added or removed from the StructuralFeature.">
<annotatedElement xmi:idref="WriteStructuralFeatureAction-value"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="WriteStructuralFeatureAction-value-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="WriteVariableAction" name="WriteVariableAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="WriteVariableAction-_ownedComment.0" body="WriteVariableAction is an abstract class for VariableActions that change Variable values.">
<annotatedElement xmi:idref="WriteVariableAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteVariableAction-value_type" name="value_type">
<constrainedElement xmi:idref="WriteVariableAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteVariableAction-value_type-_ownedComment.0" body="The type of the value InputPin must conform to the type of the variable.">
<annotatedElement xmi:idref="WriteVariableAction-value_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteVariableAction-value_type-_specification">
<body>value <> null implies value.type.conformsTo(variable.type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="WriteVariableAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="WriteVariableAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteVariableAction-multiplicity-_ownedComment.0" body="The multiplicity of the value InputPin is 1..1.">
<annotatedElement xmi:idref="WriteVariableAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="WriteVariableAction-multiplicity-_specification">
<body>value<>null implies value.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="WriteVariableAction-_generalization.0" general="VariableAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="WriteVariableAction-value" name="value" aggregation="composite" type="InputPin" association="A_value_writeVariableAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="WriteVariableAction-value-_ownedComment.0" body="The InputPin that gives the value to be added or removed from the Variable.">
<annotatedElement xmi:idref="WriteVariableAction-value"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="WriteVariableAction-value-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Enumeration" xmi:id="ExpansionKind" name="ExpansionKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionKind-_ownedComment.0" body="ExpansionKind is an enumeration type used to specify how an ExpansionRegion executes its contents.">
<annotatedElement xmi:idref="ExpansionKind"/>
</ownedComment>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ExpansionKind-parallel" name="parallel">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionKind-parallel-_ownedComment.0" body="The content of the ExpansionRegion is executed concurrently for the elements of the input collections.">
<annotatedElement xmi:idref="ExpansionKind-parallel"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ExpansionKind-iterative" name="iterative">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionKind-iterative-_ownedComment.0" body="The content of the ExpansionRegion is executed iteratively for the elements of the input collections, in the order of the input elements, if the collections are ordered.">
<annotatedElement xmi:idref="ExpansionKind-iterative"/>
</ownedComment>
</ownedLiteral>
<ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="ExpansionKind-stream" name="stream">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionKind-stream-_ownedComment.0" body="A stream of input collection elements flows into a single execution of the content of the ExpansionRegion, in the order of the collection elements if the input collections are ordered.">
<annotatedElement xmi:idref="ExpansionKind-stream"/>
</ownedComment>
</ownedLiteral>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="AcceptCallAction" name="AcceptCallAction">
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptCallAction-_ownedComment.0" body="An AcceptCallAction is an AcceptEventAction that handles the receipt of a synchronous call request. In addition to the values from the Operation input parameters, the Action produces an output that is needed later to supply the information to the ReplyAction necessary to return control to the caller. An AcceptCallAction is for synchronous calls. If it is used to handle an asynchronous call, execution of the subsequent ReplyAction will complete immediately with no effect.">
<annotatedElement xmi:idref="AcceptCallAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptCallAction-result_pins" name="result_pins">
<constrainedElement xmi:idref="AcceptCallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptCallAction-result_pins-_ownedComment.0" body="The number of result OutputPins must be the same as the number of input (in and inout) ownedParameters of the Operation specified by the trigger Event. The type, ordering and multiplicity of each result OutputPin must be consistent with the corresponding input Parameter.">
<annotatedElement xmi:idref="AcceptCallAction-result_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptCallAction-result_pins-_specification">
<body>let parameter: OrderedSet(Parameter) = trigger.event->asSequence()->first().oclAsType(CallEvent).operation.inputParameters() in result->size() = parameter->size() and Sequence{1..result->size()}->forAll(i | parameter->at(i).type.conformsTo(result->at(i).type) and parameter->at(i).isOrdered = result->at(i).isOrdered and parameter->at(i).compatibleWith(result->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptCallAction-trigger_call_event" name="trigger_call_event">
<constrainedElement xmi:idref="AcceptCallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptCallAction-trigger_call_event-_ownedComment.0" body="The action must have exactly one trigger, which must be for a CallEvent.">
<annotatedElement xmi:idref="AcceptCallAction-trigger_call_event"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptCallAction-trigger_call_event-_specification">
<body>trigger->size()=1 and trigger->asSequence()->first().event.oclIsKindOf(CallEvent) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptCallAction-unmarshall" name="unmarshall">
<constrainedElement xmi:idref="AcceptCallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptCallAction-unmarshall-_ownedComment.0" body="isUnmrashall must be true for an AcceptCallAction.">
<annotatedElement xmi:idref="AcceptCallAction-unmarshall"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptCallAction-unmarshall-_specification">
<body>isUnmarshall = true</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="AcceptCallAction-_generalization.0" general="AcceptEventAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="AcceptCallAction-returnInformation" name="returnInformation" aggregation="composite" type="OutputPin" association="A_returnInformation_acceptCallAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptCallAction-returnInformation-_ownedComment.0" body="An OutputPin where a value is placed containing sufficient information to perform a subsequent ReplyAction and return control to the caller. The contents of this value are opaque. It can be passed and copied but it cannot be manipulated by the model.">
<annotatedElement xmi:idref="AcceptCallAction-returnInformation"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="AcceptEventAction" name="AcceptEventAction">
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-_ownedComment.0" body="An AcceptEventAction is an Action that waits for the occurrence of one or more specific Events.">
<annotatedElement xmi:idref="AcceptEventAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptEventAction-one_output_pin" name="one_output_pin">
<constrainedElement xmi:idref="AcceptEventAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-one_output_pin-_ownedComment.0" body="If isUnmarshall=false and any of the triggers are for SignalEvents or TimeEvents, there must be exactly one result OutputPin with multiplicity 1..1.">
<annotatedElement xmi:idref="AcceptEventAction-one_output_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptEventAction-one_output_pin-_specification">
<body>not isUnmarshall and trigger->exists(event.oclIsKindOf(SignalEvent) or event.oclIsKindOf(TimeEvent)) implies output->size() = 1 and output->first().is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptEventAction-no_input_pins" name="no_input_pins">
<constrainedElement xmi:idref="AcceptEventAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-no_input_pins-_ownedComment.0" body="AcceptEventActions may have no input pins.">
<annotatedElement xmi:idref="AcceptEventAction-no_input_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptEventAction-no_input_pins-_specification">
<body>input->size() = 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptEventAction-no_output_pins" name="no_output_pins">
<constrainedElement xmi:idref="AcceptEventAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-no_output_pins-_ownedComment.0" body="There are no OutputPins if the trigger events are only ChangeEvents and/or CallEvents when this action is an instance of AcceptEventAction and not an instance of a descendant of AcceptEventAction (such as AcceptCallAction).">
<annotatedElement xmi:idref="AcceptEventAction-no_output_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptEventAction-no_output_pins-_specification">
<body>(self.oclIsTypeOf(AcceptEventAction) and (trigger->forAll(event.oclIsKindOf(ChangeEvent) or event.oclIsKindOf(CallEvent)))) implies output->size() = 0</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptEventAction-unmarshall_signal_events" name="unmarshall_signal_events">
<constrainedElement xmi:idref="AcceptEventAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-unmarshall_signal_events-_ownedComment.0" body="If isUnmarshall is true (and this is not an AcceptCallAction), there must be exactly one trigger, which is for a SignalEvent. The number of result output pins must be the same as the number of attributes of the signal. The type and ordering of each result output pin must be the same as the corresponding attribute of the signal. The multiplicity of each result output pin must be compatible with the multiplicity of the corresponding attribute.">
<annotatedElement xmi:idref="AcceptEventAction-unmarshall_signal_events"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptEventAction-unmarshall_signal_events-_specification">
<body>isUnmarshall and self.oclIsTypeOf(AcceptEventAction) implies trigger->size()=1 and trigger->asSequence()->first().event.oclIsKindOf(SignalEvent) and let attribute: OrderedSet(Property) = trigger->asSequence()->first().event.oclAsType(SignalEvent).signal.allAttributes() in attribute->size()>0 and result->size() = attribute->size() and Sequence{1..result->size()}->forAll(i | result->at(i).type = attribute->at(i).type and result->at(i).isOrdered = attribute->at(i).isOrdered and result->at(i).includesMultiplicity(attribute->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AcceptEventAction-conforming_type" name="conforming_type">
<constrainedElement xmi:idref="AcceptEventAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-conforming_type-_ownedComment.0" body="If isUnmarshall=false and all the triggers are for SignalEvents, then the type of the single result OutputPin must either be null or all the signals must conform to it.">
<annotatedElement xmi:idref="AcceptEventAction-conforming_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AcceptEventAction-conforming_type-_specification">
<body>not isUnmarshall implies result->isEmpty() or let type: Type = result->first().type in type=null or (trigger->forAll(event.oclIsKindOf(SignalEvent)) and trigger.event.oclAsType(SignalEvent).signal->forAll(s | s.conformsTo(type)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="AcceptEventAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="AcceptEventAction-isUnmarshall" name="isUnmarshall">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-isUnmarshall-_ownedComment.0" body="Indicates whether there is a single OutputPin for a SignalEvent occurrence, or multiple OutputPins for attribute values of the instance of the Signal associated with a SignalEvent occurrence.">
<annotatedElement xmi:idref="AcceptEventAction-isUnmarshall"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="AcceptEventAction-isUnmarshall-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="AcceptEventAction-result" name="result" isOrdered="true" aggregation="composite" type="OutputPin" association="A_result_acceptEventAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-result-_ownedComment.0" body="OutputPins holding the values received from an Event occurrence.">
<annotatedElement xmi:idref="AcceptEventAction-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="AcceptEventAction-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="AcceptEventAction-result-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="AcceptEventAction-trigger" name="trigger" aggregation="composite" type="Trigger" association="A_trigger_acceptEventAction">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AcceptEventAction-trigger-_ownedComment.0" body="The Triggers specifying the Events of which the AcceptEventAction waits for occurrences.">
<annotatedElement xmi:idref="AcceptEventAction-trigger"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="AcceptEventAction-trigger-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Action" name="Action" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Action-_ownedComment.0" body="An Action is the fundamental unit of executable functionality. The execution of an Action represents some transformation or processing in the modeled system. Actions provide the ExecutableNodes within Activities and may also be used within Interactions.">
<annotatedElement xmi:idref="Action"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="Action-_generalization.0" general="ExecutableNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Action-context" name="context" isReadOnly="true" isDerived="true" type="Classifier" association="A_context_action">
<ownedComment xmi:type="uml:Comment" xmi:id="Action-context-_ownedComment.0" body="The context Classifier of the Behavior that contains this Action, or the Behavior itself if it has no context.">
<annotatedElement xmi:idref="Action-context"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-context-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Action-input" name="input" isOrdered="true" isReadOnly="true" aggregation="composite" isDerived="true" isDerivedUnion="true" type="InputPin" association="A_input_action">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Action-input-_ownedComment.0" body="The ordered set of InputPins representing the inputs to the Action.">
<annotatedElement xmi:idref="Action-input"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-input-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Action-input-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Action-isLocallyReentrant" name="isLocallyReentrant">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Action-isLocallyReentrant-_ownedComment.0" body="If true, the Action can begin a new, concurrent execution, even if there is already another execution of the Action ongoing. If false, the Action cannot begin a new execution until any previous execution has completed.">
<annotatedElement xmi:idref="Action-isLocallyReentrant"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Action-isLocallyReentrant-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Action-localPostcondition" name="localPostcondition" aggregation="composite" type="Constraint" association="A_localPostcondition_action">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Action-localPostcondition-_ownedComment.0" body="A Constraint that must be satisfied when execution of the Action is completed.">
<annotatedElement xmi:idref="Action-localPostcondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-localPostcondition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Action-localPostcondition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Action-localPrecondition" name="localPrecondition" aggregation="composite" type="Constraint" association="A_localPrecondition_action">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Action-localPrecondition-_ownedComment.0" body="A Constraint that must be satisfied when execution of the Action is started.">
<annotatedElement xmi:idref="Action-localPrecondition"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-localPrecondition-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Action-localPrecondition-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Action-output" name="output" isOrdered="true" isReadOnly="true" aggregation="composite" isDerived="true" isDerivedUnion="true" type="OutputPin" association="A_output_action">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Action-output-_ownedComment.0" body="The ordered set of OutputPins representing outputs from the Action.">
<annotatedElement xmi:idref="Action-output"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-output-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Action-output-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="Action-context.1" name="context" isQuery="true" bodyCondition="Action-context.1-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Action-context.1-_ownedComment.0" body="The derivation for the context property.">
<annotatedElement xmi:idref="Action-context.1"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Action-context.1-spec" name="spec">
<constrainedElement xmi:idref="Action-context.1"/>
<constrainedElement xmi:idref="Action-context"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Action-context.1-spec-_specification">
<body>result = (let behavior: Behavior = self.containingBehavior() in if behavior=null then null else if behavior._'context' = null then behavior else behavior._'context' endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Action-context.1-result" name="result" direction="return" type="Classifier">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-context.1-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Action-allActions" name="allActions" isQuery="true" bodyCondition="Action-allActions-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Action-allActions-_ownedComment.0" body="Return this Action and all Actions contained directly or indirectly in it. By default only the Action itself is returned, but the operation is overridden for StructuredActivityNodes.">
<annotatedElement xmi:idref="Action-allActions"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Action-allActions-spec" name="spec">
<constrainedElement xmi:idref="Action-allActions"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Action-allActions-spec-_specification">
<body>result = (self->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Action-allActions-result" name="result" direction="return" type="Action">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-allActions-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Action-allActions-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Action-allOwnedNodes" name="allOwnedNodes" isQuery="true" bodyCondition="Action-allOwnedNodes-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="Action-allOwnedNodes-_ownedComment.0" body="Returns all the ActivityNodes directly or indirectly owned by this Action. This includes at least all the Pins of the Action.">
<annotatedElement xmi:idref="Action-allOwnedNodes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Action-allOwnedNodes-spec" name="spec">
<constrainedElement xmi:idref="Action-allOwnedNodes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Action-allOwnedNodes-spec-_specification">
<body>result = (input.oclAsType(Pin)->asSet()->union(output->asSet()))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Action-allOwnedNodes-result" name="result" direction="return" type="ActivityNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-allOwnedNodes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Action-allOwnedNodes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="Action-containingBehavior" name="containingBehavior" isQuery="true" bodyCondition="Action-containingBehavior-spec">
<ownedRule xmi:type="uml:Constraint" xmi:id="Action-containingBehavior-spec" name="spec">
<constrainedElement xmi:idref="Action-containingBehavior"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Action-containingBehavior-spec-_specification">
<body>result = (if inStructuredNode<>null then inStructuredNode.containingBehavior() else if activity<>null then activity else interaction endif endif )</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="Action-containingBehavior-result" name="result" direction="return" type="Behavior">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Action-containingBehavior-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ActionInputPin" name="ActionInputPin">
<ownedComment xmi:type="uml:Comment" xmi:id="ActionInputPin-_ownedComment.0" body="An ActionInputPin is a kind of InputPin that executes an Action to determine the values to input to another Action.">
<annotatedElement xmi:idref="ActionInputPin"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActionInputPin-input_pin" name="input_pin">
<constrainedElement xmi:idref="ActionInputPin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActionInputPin-input_pin-_ownedComment.0" body="The fromAction of an ActionInputPin must only have ActionInputPins as InputPins.">
<annotatedElement xmi:idref="ActionInputPin-input_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActionInputPin-input_pin-_specification">
<body>fromAction.input->forAll(oclIsKindOf(ActionInputPin))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActionInputPin-one_output_pin" name="one_output_pin">
<constrainedElement xmi:idref="ActionInputPin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActionInputPin-one_output_pin-_ownedComment.0" body="The fromAction of an ActionInputPin must have exactly one OutputPin.">
<annotatedElement xmi:idref="ActionInputPin-one_output_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActionInputPin-one_output_pin-_specification">
<body>fromAction.output->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ActionInputPin-no_control_or_object_flow" name="no_control_or_object_flow">
<constrainedElement xmi:idref="ActionInputPin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActionInputPin-no_control_or_object_flow-_ownedComment.0" body="The fromAction of an ActionInputPin cannot have ActivityEdges coming into or out of it or its Pins.">
<annotatedElement xmi:idref="ActionInputPin-no_control_or_object_flow"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ActionInputPin-no_control_or_object_flow-_specification">
<body>fromAction.incoming->union(outgoing)->isEmpty() and fromAction.input.incoming->isEmpty() and fromAction.output.outgoing->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ActionInputPin-_generalization.0" general="InputPin"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ActionInputPin-fromAction" name="fromAction" aggregation="composite" type="Action" association="A_fromAction_actionInputPin">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ActionInputPin-fromAction-_ownedComment.0" body="The Action used to provide the values of the ActionInputPin.">
<annotatedElement xmi:idref="ActionInputPin-fromAction"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="AddStructuralFeatureValueAction" name="AddStructuralFeatureValueAction">
<ownedComment xmi:type="uml:Comment" xmi:id="AddStructuralFeatureValueAction-_ownedComment.0" body="An AddStructuralFeatureValueAction is a WriteStructuralFeatureAction for adding values to a StructuralFeature.">
<annotatedElement xmi:idref="AddStructuralFeatureValueAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="AddStructuralFeatureValueAction-required_value" name="required_value">
<constrainedElement xmi:idref="AddStructuralFeatureValueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddStructuralFeatureValueAction-required_value-_ownedComment.0" body="A value InputPin is required.">
<annotatedElement xmi:idref="AddStructuralFeatureValueAction-required_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AddStructuralFeatureValueAction-required_value-_specification">
<body>value<>null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AddStructuralFeatureValueAction-insertAt_pin" name="insertAt_pin">
<constrainedElement xmi:idref="AddStructuralFeatureValueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddStructuralFeatureValueAction-insertAt_pin-_ownedComment.0" body="AddStructuralFeatureActions adding a value to ordered StructuralFeatures must have a single InputPin for the insertion point with type UnlimitedNatural and multiplicity of 1..1 if isReplaceAll=false, and must have no Input Pin for the insertion point when the StructuralFeature is unordered.">
<annotatedElement xmi:idref="AddStructuralFeatureValueAction-insertAt_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AddStructuralFeatureValueAction-insertAt_pin-_specification">
<body>if not structuralFeature.isOrdered then insertAt = null else not isReplaceAll implies insertAt<>null and insertAt->forAll(type=UnlimitedNatural and is(1,1.oclAsType(UnlimitedNatural))) endif </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="AddStructuralFeatureValueAction-_generalization.0" general="WriteStructuralFeatureAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="AddStructuralFeatureValueAction-insertAt" name="insertAt" aggregation="composite" type="InputPin" association="A_insertAt_addStructuralFeatureValueAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddStructuralFeatureValueAction-insertAt-_ownedComment.0" body="The InputPin that gives the position at which to insert the value in an ordered StructuralFeature. The type of the insertAt InputPin is UnlimitedNatural, but the value cannot be zero. It is omitted for unordered StructuralFeatures.">
<annotatedElement xmi:idref="AddStructuralFeatureValueAction-insertAt"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="AddStructuralFeatureValueAction-insertAt-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="AddStructuralFeatureValueAction-isReplaceAll" name="isReplaceAll">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddStructuralFeatureValueAction-isReplaceAll-_ownedComment.0" body="Specifies whether existing values of the StructuralFeature should be removed before adding the new value.">
<annotatedElement xmi:idref="AddStructuralFeatureValueAction-isReplaceAll"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="AddStructuralFeatureValueAction-isReplaceAll-_defaultValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="AddVariableValueAction" name="AddVariableValueAction">
<ownedComment xmi:type="uml:Comment" xmi:id="AddVariableValueAction-_ownedComment.0" body="An AddVariableValueAction is a WriteVariableAction for adding values to a Variable.">
<annotatedElement xmi:idref="AddVariableValueAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="AddVariableValueAction-required_value" name="required_value">
<constrainedElement xmi:idref="AddVariableValueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddVariableValueAction-required_value-_ownedComment.0" body="A value InputPin is required.">
<annotatedElement xmi:idref="AddVariableValueAction-required_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AddVariableValueAction-required_value-_specification">
<body>value <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="AddVariableValueAction-insertAt_pin" name="insertAt_pin">
<constrainedElement xmi:idref="AddVariableValueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddVariableValueAction-insertAt_pin-_ownedComment.0" body="AddVariableValueActions for ordered Variables must have a single InputPin for the insertion point with type UnlimtedNatural and multiplicity of 1..1 if isReplaceAll=false, otherwise the Action has no InputPin for the insertion point.">
<annotatedElement xmi:idref="AddVariableValueAction-insertAt_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="AddVariableValueAction-insertAt_pin-_specification">
<body>if not variable.isOrdered then insertAt = null else not isReplaceAll implies insertAt<>null and insertAt->forAll(type=UnlimitedNatural and is(1,1.oclAsType(UnlimitedNatural))) endif </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="AddVariableValueAction-_generalization.0" general="WriteVariableAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="AddVariableValueAction-insertAt" name="insertAt" aggregation="composite" type="InputPin" association="A_insertAt_addVariableValueAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddVariableValueAction-insertAt-_ownedComment.0" body="The InputPin that gives the position at which to insert a new value or move an existing value in ordered Variables. The type of the insertAt InputPin is UnlimitedNatural, but the value cannot be zero. It is omitted for unordered Variables.">
<annotatedElement xmi:idref="AddVariableValueAction-insertAt"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="AddVariableValueAction-insertAt-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="AddVariableValueAction-isReplaceAll" name="isReplaceAll">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="AddVariableValueAction-isReplaceAll-_ownedComment.0" body="Specifies whether existing values of the Variable should be removed before adding the new value.">
<annotatedElement xmi:idref="AddVariableValueAction-isReplaceAll"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="AddVariableValueAction-isReplaceAll-_defaultValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="BroadcastSignalAction" name="BroadcastSignalAction">
<ownedComment xmi:type="uml:Comment" xmi:id="BroadcastSignalAction-_ownedComment.0" body="A BroadcastSignalAction is an InvocationAction that transmits a Signal instance to all the potential target objects in the system. Values from the argument InputPins are used to provide values for the attributes of the Signal. The requestor continues execution immediately after the Signal instances are sent out and cannot receive reply values.">
<annotatedElement xmi:idref="BroadcastSignalAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="BroadcastSignalAction-number_of_arguments" name="number_of_arguments">
<constrainedElement xmi:idref="BroadcastSignalAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BroadcastSignalAction-number_of_arguments-_ownedComment.0" body="The number of argument InputPins must be the same as the number of attributes in the signal.">
<annotatedElement xmi:idref="BroadcastSignalAction-number_of_arguments"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BroadcastSignalAction-number_of_arguments-_specification">
<body>argument->size() = signal.allAttributes()->size()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="BroadcastSignalAction-type_ordering_multiplicity" name="type_ordering_multiplicity">
<constrainedElement xmi:idref="BroadcastSignalAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BroadcastSignalAction-type_ordering_multiplicity-_ownedComment.0" body="The type, ordering, and multiplicity of an argument InputPin must be the same as the corresponding attribute of the signal.">
<annotatedElement xmi:idref="BroadcastSignalAction-type_ordering_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BroadcastSignalAction-type_ordering_multiplicity-_specification">
<body>let attribute: OrderedSet(Property) = signal.allAttributes() in Sequence{1..argument->size()}->forAll(i | argument->at(i).type.conformsTo(attribute->at(i).type) and argument->at(i).isOrdered = attribute->at(i).isOrdered and argument->at(i).compatibleWith(attribute->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="BroadcastSignalAction-no_onport" name="no_onport">
<constrainedElement xmi:idref="BroadcastSignalAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="BroadcastSignalAction-no_onport-_ownedComment.0" body="A BroadcaseSignalAction may not specify onPort.">
<annotatedElement xmi:idref="BroadcastSignalAction-no_onport"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="BroadcastSignalAction-no_onport-_specification">
<body>onPort=null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="BroadcastSignalAction-_generalization.0" general="InvocationAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="BroadcastSignalAction-signal" name="signal" type="Signal" association="A_signal_broadcastSignalAction">
<ownedComment xmi:type="uml:Comment" xmi:id="BroadcastSignalAction-signal-_ownedComment.0" body="The Signal whose instances are to be sent.">
<annotatedElement xmi:idref="BroadcastSignalAction-signal"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CallAction" name="CallAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-_ownedComment.0" body="CallAction is an abstract class for Actions that invoke a Behavior with given argument values and (if the invocation is synchronous) receive reply values.">
<annotatedElement xmi:idref="CallAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallAction-argument_pins" name="argument_pins">
<constrainedElement xmi:idref="CallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-argument_pins-_ownedComment.0" body="The number of argument InputPins must be the same as the number of input (in and inout) ownedParameters of the called Behavior or Operation. The type, ordering and multiplicity of each argument InputPin must be consistent with the corresponding input Parameter.">
<annotatedElement xmi:idref="CallAction-argument_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallAction-argument_pins-_specification">
<body>let parameter: OrderedSet(Parameter) = self.inputParameters() in argument->size() = parameter->size() and Sequence{1..argument->size()}->forAll(i | argument->at(i).type.conformsTo(parameter->at(i).type) and argument->at(i).isOrdered = parameter->at(i).isOrdered and argument->at(i).compatibleWith(parameter->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallAction-result_pins" name="result_pins">
<constrainedElement xmi:idref="CallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-result_pins-_ownedComment.0" body="The number of result OutputPins must be the same as the number of output (inout, out and return) ownedParameters of the called Behavior or Operation. The type, ordering and multiplicity of each result OutputPin must be consistent with the corresponding input Parameter.">
<annotatedElement xmi:idref="CallAction-result_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallAction-result_pins-_specification">
<body>let parameter: OrderedSet(Parameter) = self.outputParameters() in result->size() = parameter->size() and Sequence{1..result->size()}->forAll(i | parameter->at(i).type.conformsTo(result->at(i).type) and parameter->at(i).isOrdered = result->at(i).isOrdered and parameter->at(i).compatibleWith(result->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallAction-synchronous_call" name="synchronous_call">
<constrainedElement xmi:idref="CallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-synchronous_call-_ownedComment.0" body="Only synchronous CallActions can have result OutputPins.">
<annotatedElement xmi:idref="CallAction-synchronous_call"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallAction-synchronous_call-_specification">
<body>result->notEmpty() implies isSynchronous</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CallAction-_generalization.0" general="InvocationAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CallAction-isSynchronous" name="isSynchronous">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-isSynchronous-_ownedComment.0" body="If true, the call is synchronous and the caller waits for completion of the invoked Behavior. If false, the call is asynchronous and the caller proceeds immediately and cannot receive return values.">
<annotatedElement xmi:idref="CallAction-isSynchronous"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="CallAction-isSynchronous-_defaultValue" value="true"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="CallAction-result" name="result" isOrdered="true" aggregation="composite" type="OutputPin" association="A_result_callAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-result-_ownedComment.0" body="The OutputPins on which the reply values from the invocation are placed (if the call is synchronous).">
<annotatedElement xmi:idref="CallAction-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallAction-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallAction-result-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="CallAction-inputParameters" name="inputParameters" isAbstract="true" isQuery="true">
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-inputParameters-_ownedComment.0" body="Return the in and inout ownedParameters of the Behavior or Operation being called. (This operation is abstract and should be overridden by subclasses of CallAction.)">
<annotatedElement xmi:idref="CallAction-inputParameters"/>
</ownedComment>
<ownedParameter xmi:type="uml:Parameter" xmi:id="CallAction-inputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallAction-inputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallAction-inputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="CallAction-outputParameters" name="outputParameters" isAbstract="true" isQuery="true">
<ownedComment xmi:type="uml:Comment" xmi:id="CallAction-outputParameters-_ownedComment.0" body="Return the inout, out and return ownedParameters of the Behavior or Operation being called. (This operation is abstract and should be overridden by subclasses of CallAction.)">
<annotatedElement xmi:idref="CallAction-outputParameters"/>
</ownedComment>
<ownedParameter xmi:type="uml:Parameter" xmi:id="CallAction-outputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallAction-outputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallAction-outputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CallBehaviorAction" name="CallBehaviorAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CallBehaviorAction-_ownedComment.0" body="A CallBehaviorAction is a CallAction that invokes a Behavior directly. The argument values of the CallBehaviorAction are passed on the input Parameters of the invoked Behavior. If the call is synchronous, the execution of the CallBehaviorAction waits until the execution of the invoked Behavior completes and the values of output Parameters of the Behavior are placed on the result OutputPins. If the call is asynchronous, the CallBehaviorAction completes immediately and no results values can be provided.">
<annotatedElement xmi:idref="CallBehaviorAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallBehaviorAction-no_onport" name="no_onport">
<constrainedElement xmi:idref="CallBehaviorAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallBehaviorAction-no_onport-_ownedComment.0" body="A CallBehaviorAction may not specify onPort.">
<annotatedElement xmi:idref="CallBehaviorAction-no_onport"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallBehaviorAction-no_onport-_specification">
<body>onPort=null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CallBehaviorAction-_generalization.0" general="CallAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CallBehaviorAction-behavior" name="behavior" type="Behavior" association="A_behavior_callBehaviorAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CallBehaviorAction-behavior-_ownedComment.0" body="The Behavior being invoked.">
<annotatedElement xmi:idref="CallBehaviorAction-behavior"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="CallBehaviorAction-outputParameters" name="outputParameters" isQuery="true" bodyCondition="CallBehaviorAction-outputParameters-spec">
<redefinedOperation xmi:idref="CallAction-outputParameters"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallBehaviorAction-outputParameters-_ownedComment.0" body="Return the inout, out and return ownedParameters of the Behavior being called.">
<annotatedElement xmi:idref="CallBehaviorAction-outputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallBehaviorAction-outputParameters-spec" name="spec">
<constrainedElement xmi:idref="CallBehaviorAction-outputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallBehaviorAction-outputParameters-spec-_specification">
<body>result = (behavior.outputParameters())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="CallBehaviorAction-outputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallBehaviorAction-outputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallBehaviorAction-outputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="CallBehaviorAction-inputParameters" name="inputParameters" isQuery="true" bodyCondition="CallBehaviorAction-inputParameters-spec">
<redefinedOperation xmi:idref="CallAction-inputParameters"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallBehaviorAction-inputParameters-_ownedComment.0" body="Return the in and inout ownedParameters of the Behavior being called.">
<annotatedElement xmi:idref="CallBehaviorAction-inputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallBehaviorAction-inputParameters-spec" name="spec">
<constrainedElement xmi:idref="CallBehaviorAction-inputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallBehaviorAction-inputParameters-spec-_specification">
<body>result = (behavior.inputParameters())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="CallBehaviorAction-inputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallBehaviorAction-inputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallBehaviorAction-inputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CallOperationAction" name="CallOperationAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CallOperationAction-_ownedComment.0" body="A CallOperationAction is a CallAction that transmits an Operation call request to the target object, where it may cause the invocation of associated Behavior. The argument values of the CallOperationAction are passed on the input Parameters of the Operation. If call is synchronous, the execution of the CallOperationAction waits until the execution of the invoked Operation completes and the values of output Parameters of the Operation are placed on the result OutputPins. If the call is asynchronous, the CallOperationAction completes immediately and no results values can be provided.">
<annotatedElement xmi:idref="CallOperationAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallOperationAction-type_target_pin" name="type_target_pin">
<constrainedElement xmi:idref="CallOperationAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallOperationAction-type_target_pin-_ownedComment.0" body="If onPort has no value, the operation must be an owned or inherited feature of the type of the target InputPin, otherwise the Port given by onPort must be an owned or inherited feature of the type of the target InputPin, and the Port must have a required or provided Interface with the operation as an owned or inherited feature.">
<annotatedElement xmi:idref="CallOperationAction-type_target_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallOperationAction-type_target_pin-_specification">
<body>if onPort=null then target.type.oclAsType(Classifier).allFeatures()->includes(operation) else target.type.oclAsType(Classifier).allFeatures()->includes(onPort) and onPort.provided->union(onPort.required).allFeatures()->includes(operation) endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CallOperationAction-_generalization.0" general="CallAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CallOperationAction-operation" name="operation" type="Operation" association="A_operation_callOperationAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CallOperationAction-operation-_ownedComment.0" body="The Operation being invoked.">
<annotatedElement xmi:idref="CallOperationAction-operation"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="CallOperationAction-target" name="target" aggregation="composite" type="InputPin" association="A_target_callOperationAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallOperationAction-target-_ownedComment.0" body="The InputPin that provides the target object to which the Operation call request is sent.">
<annotatedElement xmi:idref="CallOperationAction-target"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="CallOperationAction-outputParameters" name="outputParameters" isQuery="true" bodyCondition="CallOperationAction-outputParameters-spec">
<redefinedOperation xmi:idref="CallAction-outputParameters"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallOperationAction-outputParameters-_ownedComment.0" body="Return the inout, out and return ownedParameters of the Operation being called.">
<annotatedElement xmi:idref="CallOperationAction-outputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallOperationAction-outputParameters-spec" name="spec">
<constrainedElement xmi:idref="CallOperationAction-outputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallOperationAction-outputParameters-spec-_specification">
<body>result = (operation.outputParameters())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="CallOperationAction-outputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallOperationAction-outputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallOperationAction-outputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="CallOperationAction-inputParameters" name="inputParameters" isQuery="true" bodyCondition="CallOperationAction-inputParameters-spec">
<redefinedOperation xmi:idref="CallAction-inputParameters"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CallOperationAction-inputParameters-_ownedComment.0" body="Return the in and inout ownedParameters of the Operation being called.">
<annotatedElement xmi:idref="CallOperationAction-inputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CallOperationAction-inputParameters-spec" name="spec">
<constrainedElement xmi:idref="CallOperationAction-inputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CallOperationAction-inputParameters-spec-_specification">
<body>result = (operation.inputParameters())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="CallOperationAction-inputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CallOperationAction-inputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CallOperationAction-inputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Clause" name="Clause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-_ownedComment.0" body="A Clause is an Element that represents a single branch of a ConditionalNode, including a test and a body section. The body section is executed only if (but not necessarily if) the test section evaluates to true.">
<annotatedElement xmi:idref="Clause"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Clause-body_output_pins" name="body_output_pins">
<constrainedElement xmi:idref="Clause"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-body_output_pins-_ownedComment.0" body="The bodyOutput Pins are OutputPins on Actions in the body of the Clause.">
<annotatedElement xmi:idref="Clause-body_output_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Clause-body_output_pins-_specification">
<body>_'body'.oclAsType(Action).allActions().output->includesAll(bodyOutput)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Clause-decider_output" name="decider_output">
<constrainedElement xmi:idref="Clause"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-decider_output-_ownedComment.0" body="The decider Pin must be on an Action in the test section of the Clause and must be of type Boolean with multiplicity 1..1.">
<annotatedElement xmi:idref="Clause-decider_output"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Clause-decider_output-_specification">
<body>test.oclAsType(Action).allActions().output->includes(decider) and decider.type = Boolean and decider.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Clause-test_and_body" name="test_and_body">
<constrainedElement xmi:idref="Clause"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-test_and_body-_ownedComment.0" body="The test and body parts of a ConditionalNode must be disjoint with each other.">
<annotatedElement xmi:idref="Clause-test_and_body"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Clause-test_and_body-_specification">
<body>test->intersection(_'body')->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Clause-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Clause-body" name="body" type="ExecutableNode" association="A_body_clause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-body-_ownedComment.0" body="The set of ExecutableNodes that are executed if the test evaluates to true and the Clause is chosen over other Clauses within the ConditionalNode that also have tests that evaluate to true.">
<annotatedElement xmi:idref="Clause-body"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Clause-body-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Clause-body-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Clause-bodyOutput" name="bodyOutput" isOrdered="true" type="OutputPin" association="A_bodyOutput_clause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-bodyOutput-_ownedComment.0" body="The OutputPins on Actions within the body section whose values are moved to the result OutputPins of the containing ConditionalNode after execution of the body.">
<annotatedElement xmi:idref="Clause-bodyOutput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Clause-bodyOutput-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Clause-bodyOutput-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Clause-decider" name="decider" type="OutputPin" association="A_decider_clause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-decider-_ownedComment.0" body="An OutputPin on an Action in the test section whose Boolean value determines the result of the test.">
<annotatedElement xmi:idref="Clause-decider"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Clause-predecessorClause" name="predecessorClause" type="Clause" association="A_predecessorClause_successorClause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-predecessorClause-_ownedComment.0" body="A set of Clauses whose tests must all evaluate to false before this Clause can evaluate its test.">
<annotatedElement xmi:idref="Clause-predecessorClause"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Clause-predecessorClause-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Clause-predecessorClause-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Clause-successorClause" name="successorClause" type="Clause" association="A_predecessorClause_successorClause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-successorClause-_ownedComment.0" body="A set of Clauses that may not evaluate their tests unless the test for this Clause evaluates to false.">
<annotatedElement xmi:idref="Clause-successorClause"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="Clause-successorClause-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Clause-successorClause-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="Clause-test" name="test" type="ExecutableNode" association="A_test_clause">
<ownedComment xmi:type="uml:Comment" xmi:id="Clause-test-_ownedComment.0" body="The set of ExecutableNodes that are executed in order to provide a test result for the Clause.">
<annotatedElement xmi:idref="Clause-test"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="Clause-test-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ClearAssociationAction" name="ClearAssociationAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ClearAssociationAction-_ownedComment.0" body="A ClearAssociationAction is an Action that destroys all links of an Association in which a particular object participates.">
<annotatedElement xmi:idref="ClearAssociationAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClearAssociationAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ClearAssociationAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClearAssociationAction-multiplicity-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1.">
<annotatedElement xmi:idref="ClearAssociationAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClearAssociationAction-multiplicity-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClearAssociationAction-same_type" name="same_type">
<constrainedElement xmi:idref="ClearAssociationAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClearAssociationAction-same_type-_ownedComment.0" body="The type of the InputPin must conform to the type of at least one of the memberEnds of the association.">
<annotatedElement xmi:idref="ClearAssociationAction-same_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClearAssociationAction-same_type-_specification">
<body>association.memberEnd->exists(self.object.type.conformsTo(type))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ClearAssociationAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ClearAssociationAction-association" name="association" type="Association" association="A_association_clearAssociationAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ClearAssociationAction-association-_ownedComment.0" body="The Association to be cleared.">
<annotatedElement xmi:idref="ClearAssociationAction-association"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ClearAssociationAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_clearAssociationAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClearAssociationAction-object-_ownedComment.0" body="The InputPin that gives the object whose participation in the Association is to be cleared.">
<annotatedElement xmi:idref="ClearAssociationAction-object"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ClearStructuralFeatureAction" name="ClearStructuralFeatureAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ClearStructuralFeatureAction-_ownedComment.0" body="A ClearStructuralFeatureAction is a StructuralFeatureAction that removes all values of a StructuralFeature.">
<annotatedElement xmi:idref="ClearStructuralFeatureAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClearStructuralFeatureAction-type_of_result" name="type_of_result">
<constrainedElement xmi:idref="ClearStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClearStructuralFeatureAction-type_of_result-_ownedComment.0" body="The type of the result OutputPin is the same as the type of the inherited object InputPin.">
<annotatedElement xmi:idref="ClearStructuralFeatureAction-type_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClearStructuralFeatureAction-type_of_result-_specification">
<body>result<>null implies result.type = object.type</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ClearStructuralFeatureAction-multiplicity_of_result" name="multiplicity_of_result">
<constrainedElement xmi:idref="ClearStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClearStructuralFeatureAction-multiplicity_of_result-_ownedComment.0" body="The multiplicity of the result OutputPin must be 1..1.">
<annotatedElement xmi:idref="ClearStructuralFeatureAction-multiplicity_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ClearStructuralFeatureAction-multiplicity_of_result-_specification">
<body>result<>null implies result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ClearStructuralFeatureAction-_generalization.0" general="StructuralFeatureAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ClearStructuralFeatureAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_clearStructuralFeatureAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ClearStructuralFeatureAction-result-_ownedComment.0" body="The OutputPin on which is put the input object as modified by the ClearStructuralFeatureAction.">
<annotatedElement xmi:idref="ClearStructuralFeatureAction-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ClearStructuralFeatureAction-result-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ClearVariableAction" name="ClearVariableAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ClearVariableAction-_ownedComment.0" body="A ClearVariableAction is a VariableAction that removes all values of a Variable.">
<annotatedElement xmi:idref="ClearVariableAction"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ClearVariableAction-_generalization.0" general="VariableAction"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ConditionalNode" name="ConditionalNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-_ownedComment.0" body="A ConditionalNode is a StructuredActivityNode that chooses one among some number of alternative collections of ExecutableNodes to execute.">
<annotatedElement xmi:idref="ConditionalNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-result_no_incoming" name="result_no_incoming">
<constrainedElement xmi:idref="ConditionalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-result_no_incoming-_ownedComment.0" body="The result OutputPins have no incoming edges.">
<annotatedElement xmi:idref="ConditionalNode-result_no_incoming"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-result_no_incoming-_specification">
<body>result.incoming->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-no_input_pins" name="no_input_pins">
<constrainedElement xmi:idref="ConditionalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-no_input_pins-_ownedComment.0" body="A ConditionalNode has no InputPins.">
<annotatedElement xmi:idref="ConditionalNode-no_input_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-no_input_pins-_specification">
<body>input->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-one_clause_with_executable_node" name="one_clause_with_executable_node">
<constrainedElement xmi:idref="ConditionalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-one_clause_with_executable_node-_ownedComment.0" body="No ExecutableNode in the ConditionNode may appear in the test or body part of more than one clause of a ConditionalNode.">
<annotatedElement xmi:idref="ConditionalNode-one_clause_with_executable_node"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-one_clause_with_executable_node-_specification">
<body>node->select(oclIsKindOf(ExecutableNode)).oclAsType(ExecutableNode)->forAll(n | self.clause->select(test->union(_'body')->includes(n))->size()=1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-matching_output_pins" name="matching_output_pins">
<constrainedElement xmi:idref="ConditionalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-matching_output_pins-_ownedComment.0" body="Each clause of a ConditionalNode must have the same number of bodyOutput pins as the ConditionalNode has result OutputPins, and each clause bodyOutput Pin must be compatible with the corresponding result OutputPin (by positional order) in type, multiplicity, ordering, and uniqueness.">
<annotatedElement xmi:idref="ConditionalNode-matching_output_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-matching_output_pins-_specification">
<body>clause->forAll( bodyOutput->size()=self.result->size() and Sequence{1..self.result->size()}->forAll(i | bodyOutput->at(i).type.conformsTo(result->at(i).type) and bodyOutput->at(i).isOrdered = result->at(i).isOrdered and bodyOutput->at(i).isUnique = result->at(i).isUnique and bodyOutput->at(i).compatibleWith(result->at(i))))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-executable_nodes" name="executable_nodes">
<constrainedElement xmi:idref="ConditionalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-executable_nodes-_ownedComment.0" body="The union of the ExecutableNodes in the test and body parts of all clauses must be the same as the subset of nodes contained in the ConditionalNode (considered as a StructuredActivityNode) that are ExecutableNodes.">
<annotatedElement xmi:idref="ConditionalNode-executable_nodes"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-executable_nodes-_specification">
<body>clause.test->union(clause._'body') = node->select(oclIsKindOf(ExecutableNode)).oclAsType(ExecutableNode)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-clause_no_predecessor" name="clause_no_predecessor">
<constrainedElement xmi:idref="ConditionalNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-clause_no_predecessor-_ownedComment.0" body="No two clauses within a ConditionalNode may be predecessorClauses of each other, either directly or indirectly.">
<annotatedElement xmi:idref="ConditionalNode-clause_no_predecessor"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-clause_no_predecessor-_specification">
<body>clause->closure(predecessorClause)->intersection(clause)->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ConditionalNode-_generalization.0" general="StructuredActivityNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConditionalNode-clause" name="clause" aggregation="composite" type="Clause" association="A_clause_conditionalNode">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-clause-_ownedComment.0" body="The set of Clauses composing the ConditionalNode.">
<annotatedElement xmi:idref="ConditionalNode-clause"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConditionalNode-clause-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConditionalNode-isAssured" name="isAssured">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-isAssured-_ownedComment.0" body="If true, the modeler asserts that the test for at least one Clause of the ConditionalNode will succeed.">
<annotatedElement xmi:idref="ConditionalNode-isAssured"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ConditionalNode-isAssured-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConditionalNode-isDeterminate" name="isDeterminate">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-isDeterminate-_ownedComment.0" body="If true, the modeler asserts that the test for at most one Clause of the ConditionalNode will succeed.">
<annotatedElement xmi:idref="ConditionalNode-isDeterminate"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ConditionalNode-isDeterminate-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ConditionalNode-result" name="result" isOrdered="true" aggregation="composite" type="OutputPin" association="A_result_conditionalNode">
<redefinedProperty xmi:idref="StructuredActivityNode-structuredNodeOutput"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-result-_ownedComment.0" body="The OutputPins that onto which are moved values from the bodyOutputs of the Clause selected for execution.">
<annotatedElement xmi:idref="ConditionalNode-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConditionalNode-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConditionalNode-result-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ConditionalNode-allActions" name="allActions" isQuery="true" bodyCondition="ConditionalNode-allActions-spec">
<redefinedOperation xmi:idref="Action-allActions"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ConditionalNode-allActions-_ownedComment.0" body="Return only this ConditionalNode. This prevents Actions within the ConditionalNode from having their OutputPins used as bodyOutputs or decider Pins in containing LoopNodes or ConditionalNodes.">
<annotatedElement xmi:idref="ConditionalNode-allActions"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ConditionalNode-allActions-spec" name="spec">
<constrainedElement xmi:idref="ConditionalNode-allActions"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ConditionalNode-allActions-spec-_specification">
<body>result = (self->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ConditionalNode-allActions-result" name="result" direction="return" type="Action">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ConditionalNode-allActions-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ConditionalNode-allActions-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CreateLinkAction" name="CreateLinkAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkAction-_ownedComment.0" body="A CreateLinkAction is a WriteLinkAction for creating links.">
<annotatedElement xmi:idref="CreateLinkAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateLinkAction-association_not_abstract" name="association_not_abstract">
<constrainedElement xmi:idref="CreateLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkAction-association_not_abstract-_ownedComment.0" body="The Association cannot be an abstract Classifier.">
<annotatedElement xmi:idref="CreateLinkAction-association_not_abstract"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateLinkAction-association_not_abstract-_specification">
<body>not self.association().isAbstract</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CreateLinkAction-_generalization.0" general="WriteLinkAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CreateLinkAction-endData" name="endData" aggregation="composite" type="LinkEndCreationData" association="A_endData_createLinkAction">
<redefinedProperty xmi:idref="LinkAction-endData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkAction-endData-_ownedComment.0" body="The LinkEndData that specifies the values to be placed on the Association ends for the new link.">
<annotatedElement xmi:idref="CreateLinkAction-endData"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="CreateLinkAction-endData-_lowerValue" value="2"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="CreateLinkAction-endData-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CreateLinkObjectAction" name="CreateLinkObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkObjectAction-_ownedComment.0" body="A CreateLinkObjectAction is a CreateLinkAction for creating link objects (AssociationClasse instances).">
<annotatedElement xmi:idref="CreateLinkObjectAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateLinkObjectAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="CreateLinkObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkObjectAction-multiplicity-_ownedComment.0" body="The multiplicity of the OutputPin is 1..1.">
<annotatedElement xmi:idref="CreateLinkObjectAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateLinkObjectAction-multiplicity-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateLinkObjectAction-type_of_result" name="type_of_result">
<constrainedElement xmi:idref="CreateLinkObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkObjectAction-type_of_result-_ownedComment.0" body="The type of the result OutputPin must be the same as the Association of the CreateLinkObjectAction.">
<annotatedElement xmi:idref="CreateLinkObjectAction-type_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateLinkObjectAction-type_of_result-_specification">
<body>result.type = association()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateLinkObjectAction-association_class" name="association_class">
<constrainedElement xmi:idref="CreateLinkObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkObjectAction-association_class-_ownedComment.0" body="The Association must be an AssociationClass.">
<annotatedElement xmi:idref="CreateLinkObjectAction-association_class"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateLinkObjectAction-association_class-_specification">
<body>self.association().oclIsKindOf(AssociationClass)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CreateLinkObjectAction-_generalization.0" general="CreateLinkAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CreateLinkObjectAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_createLinkObjectAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateLinkObjectAction-result-_ownedComment.0" body="The output pin on which the newly created link object is placed.">
<annotatedElement xmi:idref="CreateLinkObjectAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="CreateObjectAction" name="CreateObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-_ownedComment.0" body="A CreateObjectAction is an Action that creates an instance of the specified Classifier.">
<annotatedElement xmi:idref="CreateObjectAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateObjectAction-classifier_not_abstract" name="classifier_not_abstract">
<constrainedElement xmi:idref="CreateObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-classifier_not_abstract-_ownedComment.0" body="The classifier cannot be abstract.">
<annotatedElement xmi:idref="CreateObjectAction-classifier_not_abstract"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateObjectAction-classifier_not_abstract-_specification">
<body>not classifier.isAbstract </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateObjectAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="CreateObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-multiplicity-_ownedComment.0" body="The multiplicity of the result OutputPin is 1..1.">
<annotatedElement xmi:idref="CreateObjectAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateObjectAction-multiplicity-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateObjectAction-classifier_not_association_class" name="classifier_not_association_class">
<constrainedElement xmi:idref="CreateObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-classifier_not_association_class-_ownedComment.0" body="The classifier cannot be an AssociationClass.">
<annotatedElement xmi:idref="CreateObjectAction-classifier_not_association_class"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateObjectAction-classifier_not_association_class-_specification">
<body>not classifier.oclIsKindOf(AssociationClass)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="CreateObjectAction-same_type" name="same_type">
<constrainedElement xmi:idref="CreateObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-same_type-_ownedComment.0" body="The type of the result OutputPin must be the same as the classifier of the CreateObjectAction.">
<annotatedElement xmi:idref="CreateObjectAction-same_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="CreateObjectAction-same_type-_specification">
<body>result.type = classifier</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="CreateObjectAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="CreateObjectAction-classifier" name="classifier" type="Classifier" association="A_classifier_createObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-classifier-_ownedComment.0" body="The Classifier to be instantiated.">
<annotatedElement xmi:idref="CreateObjectAction-classifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="CreateObjectAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_createObjectAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="CreateObjectAction-result-_ownedComment.0" body="The OutputPin on which the newly created object is placed.">
<annotatedElement xmi:idref="CreateObjectAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DestroyLinkAction" name="DestroyLinkAction">
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyLinkAction-_ownedComment.0" body="A DestroyLinkAction is a WriteLinkAction that destroys links (including link objects).">
<annotatedElement xmi:idref="DestroyLinkAction"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="DestroyLinkAction-_generalization.0" general="WriteLinkAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DestroyLinkAction-endData" name="endData" aggregation="composite" type="LinkEndDestructionData" association="A_endData_destroyLinkAction">
<redefinedProperty xmi:idref="LinkAction-endData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyLinkAction-endData-_ownedComment.0" body="The LinkEndData that the values of the Association ends for the links to be destroyed.">
<annotatedElement xmi:idref="DestroyLinkAction-endData"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="DestroyLinkAction-endData-_lowerValue" value="2"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="DestroyLinkAction-endData-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="DestroyObjectAction" name="DestroyObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyObjectAction-_ownedComment.0" body="A DestroyObjectAction is an Action that destroys objects.">
<annotatedElement xmi:idref="DestroyObjectAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="DestroyObjectAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="DestroyObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyObjectAction-multiplicity-_ownedComment.0" body="The multiplicity of the targe IinputPin is 1..1.">
<annotatedElement xmi:idref="DestroyObjectAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DestroyObjectAction-multiplicity-_specification">
<body>target.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="DestroyObjectAction-no_type" name="no_type">
<constrainedElement xmi:idref="DestroyObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyObjectAction-no_type-_ownedComment.0" body="The target InputPin has no type.">
<annotatedElement xmi:idref="DestroyObjectAction-no_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="DestroyObjectAction-no_type-_specification">
<body>target.type= null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="DestroyObjectAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="DestroyObjectAction-isDestroyLinks" name="isDestroyLinks">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyObjectAction-isDestroyLinks-_ownedComment.0" body="Specifies whether links in which the object participates are destroyed along with the object.">
<annotatedElement xmi:idref="DestroyObjectAction-isDestroyLinks"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="DestroyObjectAction-isDestroyLinks-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DestroyObjectAction-isDestroyOwnedObjects" name="isDestroyOwnedObjects">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyObjectAction-isDestroyOwnedObjects-_ownedComment.0" body="Specifies whether objects owned by the object (via composition) are destroyed along with the object.">
<annotatedElement xmi:idref="DestroyObjectAction-isDestroyOwnedObjects"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="DestroyObjectAction-isDestroyOwnedObjects-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="DestroyObjectAction-target" name="target" aggregation="composite" type="InputPin" association="A_target_destroyObjectAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="DestroyObjectAction-target-_ownedComment.0" body="The InputPin providing the object to be destroyed.">
<annotatedElement xmi:idref="DestroyObjectAction-target"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExpansionNode" name="ExpansionNode">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionNode-_ownedComment.0" body="An ExpansionNode is an ObjectNode used to indicate a collection input or output for an ExpansionRegion. A collection input of an ExpansionRegion contains a collection that is broken into its individual elements inside the region, whose content is executed once per element. A collection output of an ExpansionRegion combines individual elements produced by the execution of the region into a collection for use outside the region.">
<annotatedElement xmi:idref="ExpansionNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ExpansionNode-region_as_input_or_output" name="region_as_input_or_output">
<constrainedElement xmi:idref="ExpansionNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionNode-region_as_input_or_output-_ownedComment.0" body="One of regionAsInput or regionAsOutput must be non-empty, but not both.">
<annotatedElement xmi:idref="ExpansionNode-region_as_input_or_output"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ExpansionNode-region_as_input_or_output-_specification">
<body>regionAsInput->notEmpty() xor regionAsOutput->notEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ExpansionNode-_generalization.0" general="ObjectNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExpansionNode-regionAsInput" name="regionAsInput" type="ExpansionRegion" association="A_inputElement_regionAsInput">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionNode-regionAsInput-_ownedComment.0" body="The ExpansionRegion for which the ExpansionNode is an input.">
<annotatedElement xmi:idref="ExpansionNode-regionAsInput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ExpansionNode-regionAsInput-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExpansionNode-regionAsOutput" name="regionAsOutput" type="ExpansionRegion" association="A_outputElement_regionAsOutput">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionNode-regionAsOutput-_ownedComment.0" body="The ExpansionRegion for which the ExpansionNode is an output.">
<annotatedElement xmi:idref="ExpansionNode-regionAsOutput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ExpansionNode-regionAsOutput-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ExpansionRegion" name="ExpansionRegion">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionRegion-_ownedComment.0" body="An ExpansionRegion is a StructuredActivityNode that executes its content multiple times corresponding to elements of input collection(s).">
<annotatedElement xmi:idref="ExpansionRegion"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="ExpansionRegion-_generalization.0" general="StructuredActivityNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExpansionRegion-inputElement" name="inputElement" type="ExpansionNode" association="A_inputElement_regionAsInput">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionRegion-inputElement-_ownedComment.0" body="The ExpansionNodes that hold the input collections for the ExpansionRegion.">
<annotatedElement xmi:idref="ExpansionRegion-inputElement"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ExpansionRegion-inputElement-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExpansionRegion-mode" name="mode" type="ExpansionKind">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionRegion-mode-_ownedComment.0" body="The mode in which the ExpansionRegion executes its contents. If parallel, executions are concurrent. If iterative, executions are sequential. If stream, a stream of values flows into a single execution.">
<annotatedElement xmi:idref="ExpansionRegion-mode"/>
</ownedComment>
<defaultValue xmi:type="uml:InstanceValue" xmi:id="ExpansionRegion-mode-_defaultValue" type="ExpansionKind" instance="ExpansionKind-iterative"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ExpansionRegion-outputElement" name="outputElement" type="ExpansionNode" association="A_outputElement_regionAsOutput">
<ownedComment xmi:type="uml:Comment" xmi:id="ExpansionRegion-outputElement-_ownedComment.0" body="The ExpansionNodes that form the output collections of the ExpansionRegion.">
<annotatedElement xmi:idref="ExpansionRegion-outputElement"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ExpansionRegion-outputElement-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ExpansionRegion-outputElement-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InputPin" name="InputPin">
<ownedComment xmi:type="uml:Comment" xmi:id="InputPin-_ownedComment.0" body="An InputPin is a Pin that holds input values to be consumed by an Action.">
<annotatedElement xmi:idref="InputPin"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="InputPin-outgoing_edges_structured_only" name="outgoing_edges_structured_only">
<constrainedElement xmi:idref="InputPin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InputPin-outgoing_edges_structured_only-_ownedComment.0" body="An InputPin may have outgoing ActivityEdges only when it is owned by a StructuredActivityNode, and these edges must target a node contained (directly or indirectly) in the owning StructuredActivityNode.">
<annotatedElement xmi:idref="InputPin-outgoing_edges_structured_only"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="InputPin-outgoing_edges_structured_only-_specification">
<body>outgoing->notEmpty() implies action<>null and action.oclIsKindOf(StructuredActivityNode) and action.oclAsType(StructuredActivityNode).allOwnedNodes()->includesAll(outgoing.target)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="InputPin-_generalization.0" general="Pin"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="InvocationAction" name="InvocationAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="InvocationAction-_ownedComment.0" body="InvocationAction is an abstract class for the various actions that request Behavior invocation. ">
<annotatedElement xmi:idref="InvocationAction"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="InvocationAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="InvocationAction-argument" name="argument" isOrdered="true" aggregation="composite" type="InputPin" association="A_argument_invocationAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="InvocationAction-argument-_ownedComment.0" body="The InputPins that provide the argument values passed in the invocation request.">
<annotatedElement xmi:idref="InvocationAction-argument"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InvocationAction-argument-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="InvocationAction-argument-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="InvocationAction-onPort" name="onPort" type="Port" association="A_onPort_invocationAction">
<ownedComment xmi:type="uml:Comment" xmi:id="InvocationAction-onPort-_ownedComment.0" body="For CallOperationActions, SendSignalActions, and SendObjectActions, an optional Port of the target object through which the invocation request is sent.">
<annotatedElement xmi:idref="InvocationAction-onPort"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="InvocationAction-onPort-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LinkAction" name="LinkAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-_ownedComment.0" body="LinkAction is an abstract class for all Actions that identify the links to be acted on using LinkEndData.">
<annotatedElement xmi:idref="LinkAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkAction-same_pins" name="same_pins">
<constrainedElement xmi:idref="LinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-same_pins-_ownedComment.0" body="The inputValue InputPins is the same as the union of all the InputPins referenced by the endData.">
<annotatedElement xmi:idref="LinkAction-same_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkAction-same_pins-_specification">
<body>inputValue->asBag()=endData.allPins()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkAction-same_association" name="same_association">
<constrainedElement xmi:idref="LinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-same_association-_ownedComment.0" body="The ends of the endData must all be from the same Association and include all and only the memberEnds of that association.">
<annotatedElement xmi:idref="LinkAction-same_association"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkAction-same_association-_specification">
<body>endData.end = self.association().memberEnd->asBag()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkAction-not_static" name="not_static">
<constrainedElement xmi:idref="LinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-not_static-_ownedComment.0" body="The ends of the endData must not be static.">
<annotatedElement xmi:idref="LinkAction-not_static"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkAction-not_static-_specification">
<body>endData->forAll(not end.isStatic)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="LinkAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkAction-endData" name="endData" aggregation="composite" type="LinkEndData" association="A_endData_linkAction">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-endData-_ownedComment.0" body="The LinkEndData identifying the values on the ends of the links acting on by this LinkAction.">
<annotatedElement xmi:idref="LinkAction-endData"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkAction-endData-_lowerValue" value="2"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LinkAction-endData-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkAction-inputValue" name="inputValue" aggregation="composite" type="InputPin" association="A_inputValue_linkAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-inputValue-_ownedComment.0" body="InputPins used by the LinkEndData of the LinkAction.">
<annotatedElement xmi:idref="LinkAction-inputValue"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LinkAction-inputValue-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LinkAction-association" name="association" isQuery="true" bodyCondition="LinkAction-association-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkAction-association-_ownedComment.0" body="Returns the Association acted on by this LinkAction.">
<annotatedElement xmi:idref="LinkAction-association"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkAction-association-spec" name="spec">
<constrainedElement xmi:idref="LinkAction-association"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkAction-association-spec-_specification">
<body>result = (endData->asSequence()->first().end.association)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LinkAction-association-result" name="result" direction="return" type="Association"/>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LinkEndCreationData" name="LinkEndCreationData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndCreationData-_ownedComment.0" body="LinkEndCreationData is LinkEndData used to provide values for one end of a link to be created by a CreateLinkAction.">
<annotatedElement xmi:idref="LinkEndCreationData"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndCreationData-insertAt_pin" name="insertAt_pin">
<constrainedElement xmi:idref="LinkEndCreationData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndCreationData-insertAt_pin-_ownedComment.0" body="LinkEndCreationData for ordered Association ends must have a single insertAt InputPin for the insertion point with type UnlimitedNatural and multiplicity of 1..1, if isReplaceAll=false, and must have no InputPin for the insertion point when the association ends are unordered.">
<annotatedElement xmi:idref="LinkEndCreationData-insertAt_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndCreationData-insertAt_pin-_specification">
<body>if not end.isOrdered then insertAt = null else not isReplaceAll=false implies insertAt <> null and insertAt->forAll(type=UnlimitedNatural and is(1,1)) endif </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="LinkEndCreationData-_generalization.0" general="LinkEndData"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndCreationData-insertAt" name="insertAt" type="InputPin" association="A_insertAt_linkEndCreationData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndCreationData-insertAt-_ownedComment.0" body="For ordered Association ends, the InputPin that provides the position where the new link should be inserted or where an existing link should be moved to. The type of the insertAt InputPin is UnlimitedNatural, but the input cannot be zero. It is omitted for Association ends that are not ordered.">
<annotatedElement xmi:idref="LinkEndCreationData-insertAt"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndCreationData-insertAt-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndCreationData-isReplaceAll" name="isReplaceAll">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndCreationData-isReplaceAll-_ownedComment.0" body="Specifies whether the existing links emanating from the object on this end should be destroyed before creating a new link.">
<annotatedElement xmi:idref="LinkEndCreationData-isReplaceAll"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="LinkEndCreationData-isReplaceAll-_defaultValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LinkEndCreationData-allPins" name="allPins" isQuery="true" bodyCondition="LinkEndCreationData-allPins-spec">
<redefinedOperation xmi:idref="LinkEndData-allPins"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndCreationData-allPins-_ownedComment.0" body="Adds the insertAt InputPin (if any) to the set of all Pins.">
<annotatedElement xmi:idref="LinkEndCreationData-allPins"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndCreationData-allPins-spec" name="spec">
<constrainedElement xmi:idref="LinkEndCreationData-allPins"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndCreationData-allPins-spec-_specification">
<body>result = (self.LinkEndData::allPins()->including(insertAt))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LinkEndCreationData-allPins-result" isUnique="false" name="result" direction="return" type="InputPin">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndCreationData-allPins-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LinkEndCreationData-allPins-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LinkEndData" name="LinkEndData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-_ownedComment.0" body="LinkEndData is an Element that identifies on end of a link to be read or written by a LinkAction. As a link (that is not a link object) cannot be passed as a runtime value to or from an Action, it is instead identified by its end objects and qualifier values, if any. A LinkEndData instance provides these values for a single Association end.">
<annotatedElement xmi:idref="LinkEndData"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndData-same_type" name="same_type">
<constrainedElement xmi:idref="LinkEndData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-same_type-_ownedComment.0" body="The type of the value InputPin conforms to the type of the Association end.">
<annotatedElement xmi:idref="LinkEndData-same_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndData-same_type-_specification">
<body>value<>null implies value.type.conformsTo(end.type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndData-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="LinkEndData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-multiplicity-_ownedComment.0" body="The multiplicity of the value InputPin must be 1..1.">
<annotatedElement xmi:idref="LinkEndData-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndData-multiplicity-_specification">
<body>value<>null implies value.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndData-end_object_input_pin" name="end_object_input_pin">
<constrainedElement xmi:idref="LinkEndData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-end_object_input_pin-_ownedComment.0" body="The value InputPin is not also the qualifier value InputPin.">
<annotatedElement xmi:idref="LinkEndData-end_object_input_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndData-end_object_input_pin-_specification">
<body>value->excludesAll(qualifier.value)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndData-property_is_association_end" name="property_is_association_end">
<constrainedElement xmi:idref="LinkEndData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-property_is_association_end-_ownedComment.0" body="The Property must be an Association memberEnd.">
<annotatedElement xmi:idref="LinkEndData-property_is_association_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndData-property_is_association_end-_specification">
<body>end.association <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndData-qualifiers" name="qualifiers">
<constrainedElement xmi:idref="LinkEndData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-qualifiers-_ownedComment.0" body="The qualifiers must be qualifiers of the Association end.">
<annotatedElement xmi:idref="LinkEndData-qualifiers"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndData-qualifiers-_specification">
<body>end.qualifier->includesAll(qualifier.qualifier)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="LinkEndData-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndData-end" name="end" type="Property" association="A_end_linkEndData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-end-_ownedComment.0" body="The Association end for which this LinkEndData specifies values.">
<annotatedElement xmi:idref="LinkEndData-end"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndData-qualifier" name="qualifier" aggregation="composite" type="QualifierValue" association="A_qualifier_linkEndData">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-qualifier-_ownedComment.0" body="A set of QualifierValues used to provide values for the qualifiers of the end.">
<annotatedElement xmi:idref="LinkEndData-qualifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndData-qualifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LinkEndData-qualifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndData-value" name="value" type="InputPin" association="A_value_linkEndData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-value-_ownedComment.0" body="The InputPin that provides the specified value for the given end. This InputPin is omitted if the LinkEndData specifies the "open" end for a ReadLinkAction.">
<annotatedElement xmi:idref="LinkEndData-value"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndData-value-_lowerValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LinkEndData-allPins" name="allPins" isQuery="true" bodyCondition="LinkEndData-allPins-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndData-allPins-_ownedComment.0" body="Returns all the InputPins referenced by this LinkEndData. By default this includes the value and qualifier InputPins, but subclasses may override the operation to add other InputPins.">
<annotatedElement xmi:idref="LinkEndData-allPins"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndData-allPins-spec" name="spec">
<constrainedElement xmi:idref="LinkEndData-allPins"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndData-allPins-spec-_specification">
<body>result = (value->asBag()->union(qualifier.value))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LinkEndData-allPins-result" isUnique="false" name="result" direction="return" type="InputPin">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndData-allPins-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LinkEndData-allPins-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LinkEndDestructionData" name="LinkEndDestructionData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndDestructionData-_ownedComment.0" body="LinkEndDestructionData is LinkEndData used to provide values for one end of a link to be destroyed by a DestroyLinkAction.">
<annotatedElement xmi:idref="LinkEndDestructionData"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndDestructionData-destroyAt_pin" name="destroyAt_pin">
<constrainedElement xmi:idref="LinkEndDestructionData"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndDestructionData-destroyAt_pin-_ownedComment.0" body="LinkEndDestructionData for ordered, nonunique Association ends must have a single destroyAt InputPin if isDestroyDuplicates is false, which must be of type UnlimitedNatural and have a multiplicity of 1..1. Otherwise, the action has no destroyAt input pin.">
<annotatedElement xmi:idref="LinkEndDestructionData-destroyAt_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndDestructionData-destroyAt_pin-_specification">
<body>if not end.isOrdered or end.isUnique or isDestroyDuplicates then destroyAt = null else destroyAt <> null and destroyAt->forAll(type=UnlimitedNatural and is(1,1)) endif </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="LinkEndDestructionData-_generalization.0" general="LinkEndData"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndDestructionData-destroyAt" name="destroyAt" type="InputPin" association="A_destroyAt_linkEndDestructionData">
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndDestructionData-destroyAt-_ownedComment.0" body="The InputPin that provides the position of an existing link to be destroyed in an ordered, nonunique Association end. The type of the destroyAt InputPin is UnlimitedNatural, but the value cannot be zero or unlimited.">
<annotatedElement xmi:idref="LinkEndDestructionData-destroyAt"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndDestructionData-destroyAt-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LinkEndDestructionData-isDestroyDuplicates" name="isDestroyDuplicates">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndDestructionData-isDestroyDuplicates-_ownedComment.0" body="Specifies whether to destroy duplicates of the value in nonunique Association ends.">
<annotatedElement xmi:idref="LinkEndDestructionData-isDestroyDuplicates"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="LinkEndDestructionData-isDestroyDuplicates-_defaultValue"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LinkEndDestructionData-allPins" name="allPins" isQuery="true" bodyCondition="LinkEndDestructionData-allPins-spec">
<redefinedOperation xmi:idref="LinkEndData-allPins"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LinkEndDestructionData-allPins-_ownedComment.0" body="Adds the destroyAt InputPin (if any) to the set of all Pins.">
<annotatedElement xmi:idref="LinkEndDestructionData-allPins"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LinkEndDestructionData-allPins-spec" name="spec">
<constrainedElement xmi:idref="LinkEndDestructionData-allPins"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LinkEndDestructionData-allPins-spec-_specification">
<body>result = (self.LinkEndData::allPins()->including(destroyAt))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LinkEndDestructionData-allPins-result" isUnique="false" name="result" direction="return" type="InputPin">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LinkEndDestructionData-allPins-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LinkEndDestructionData-allPins-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="LoopNode" name="LoopNode">
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-_ownedComment.0" body="A LoopNode is a StructuredActivityNode that represents an iterative loop with setup, test, and body sections.">
<annotatedElement xmi:idref="LoopNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-result_no_incoming" name="result_no_incoming">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-result_no_incoming-_ownedComment.0" body="The result OutputPins have no incoming edges.">
<annotatedElement xmi:idref="LoopNode-result_no_incoming"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-result_no_incoming-_specification">
<body>result.incoming->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-input_edges" name="input_edges">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-input_edges-_ownedComment.0" body="The loopVariableInputs must not have outgoing edges.">
<annotatedElement xmi:idref="LoopNode-input_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-input_edges-_specification">
<body>loopVariableInput.outgoing->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-executable_nodes" name="executable_nodes">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-executable_nodes-_ownedComment.0" body="The union of the ExecutableNodes in the setupPart, test and bodyPart of a LoopNode must be the same as the subset of nodes contained in the LoopNode (considered as a StructuredActivityNode) that are ExecutableNodes.">
<annotatedElement xmi:idref="LoopNode-executable_nodes"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-executable_nodes-_specification">
<body>setupPart->union(test)->union(bodyPart)=node->select(oclIsKindOf(ExecutableNode)).oclAsType(ExecutableNode)->asSet()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-body_output_pins" name="body_output_pins">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-body_output_pins-_ownedComment.0" body="The bodyOutput pins are OutputPins on Actions in the body of the LoopNode.">
<annotatedElement xmi:idref="LoopNode-body_output_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-body_output_pins-_specification">
<body>bodyPart.oclAsType(Action).allActions().output->includesAll(bodyOutput)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-setup_test_and_body" name="setup_test_and_body">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-setup_test_and_body-_ownedComment.0" body="The test and body parts of a ConditionalNode must be disjoint with each other.">
<annotatedElement xmi:idref="LoopNode-setup_test_and_body"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-setup_test_and_body-_specification">
<body>setupPart->intersection(test)->isEmpty() and setupPart->intersection(bodyPart)->isEmpty() and test->intersection(bodyPart)->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-matching_output_pins" name="matching_output_pins">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-matching_output_pins-_ownedComment.0" body="A LoopNode must have the same number of bodyOutput Pins as loopVariables, and each bodyOutput Pin must be compatible with the corresponding loopVariable (by positional order) in type, multiplicity, ordering and uniqueness.">
<annotatedElement xmi:idref="LoopNode-matching_output_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-matching_output_pins-_specification">
<body>bodyOutput->size()=loopVariable->size() and Sequence{1..loopVariable->size()}->forAll(i | bodyOutput->at(i).type.conformsTo(loopVariable->at(i).type) and bodyOutput->at(i).isOrdered = loopVariable->at(i).isOrdered and bodyOutput->at(i).isUnique = loopVariable->at(i).isUnique and loopVariable->at(i).includesMultiplicity(bodyOutput->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-matching_loop_variables" name="matching_loop_variables">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-matching_loop_variables-_ownedComment.0" body="A LoopNode must have the same number of loopVariableInputs and loopVariables, and they must match in type, uniqueness and multiplicity.">
<annotatedElement xmi:idref="LoopNode-matching_loop_variables"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-matching_loop_variables-_specification">
<body>loopVariableInput->size()=loopVariable->size() and loopVariableInput.type=loopVariable.type and loopVariableInput.isUnique=loopVariable.isUnique and loopVariableInput.lower=loopVariable.lower and loopVariableInput.upper=loopVariable.upper</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-matching_result_pins" name="matching_result_pins">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-matching_result_pins-_ownedComment.0" body="A LoopNode must have the same number of result OutputPins and loopVariables, and they must match in type, uniqueness and multiplicity.">
<annotatedElement xmi:idref="LoopNode-matching_result_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-matching_result_pins-_specification">
<body>result->size()=loopVariable->size() and result.type=loopVariable.type and result.isUnique=loopVariable.isUnique and result.lower=loopVariable.lower and result.upper=loopVariable.upper</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-loop_variable_outgoing" name="loop_variable_outgoing">
<constrainedElement xmi:idref="LoopNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-loop_variable_outgoing-_ownedComment.0" body="All ActivityEdges outgoing from loopVariable OutputPins must have targets within the LoopNode.">
<annotatedElement xmi:idref="LoopNode-loop_variable_outgoing"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-loop_variable_outgoing-_specification">
<body>allOwnedNodes()->includesAll(loopVariable.outgoing.target)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="LoopNode-_generalization.0" general="StructuredActivityNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-bodyOutput" name="bodyOutput" isOrdered="true" type="OutputPin" association="A_bodyOutput_loopNode">
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-bodyOutput-_ownedComment.0" body="The OutputPins on Actions within the bodyPart, the values of which are moved to the loopVariable OutputPins after the completion of each execution of the bodyPart, before the next iteration of the loop begins or before the loop exits.">
<annotatedElement xmi:idref="LoopNode-bodyOutput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-bodyOutput-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-bodyOutput-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-bodyPart" name="bodyPart" type="ExecutableNode" association="A_bodyPart_loopNode">
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-bodyPart-_ownedComment.0" body="The set of ExecutableNodes that perform the repetitive computations of the loop. The bodyPart is executed as long as the test section produces a true value.">
<annotatedElement xmi:idref="LoopNode-bodyPart"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-bodyPart-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-bodyPart-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-decider" name="decider" type="OutputPin" association="A_decider_loopNode">
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-decider-_ownedComment.0" body="An OutputPin on an Action in the test section whose Boolean value determines whether to continue executing the loop bodyPart.">
<annotatedElement xmi:idref="LoopNode-decider"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-isTestedFirst" name="isTestedFirst">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-isTestedFirst-_ownedComment.0" body="If true, the test is performed before the first execution of the bodyPart. If false, the bodyPart is executed once before the test is performed.">
<annotatedElement xmi:idref="LoopNode-isTestedFirst"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="LoopNode-isTestedFirst-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-loopVariable" name="loopVariable" isOrdered="true" aggregation="composite" type="OutputPin" association="A_loopVariable_loopNode">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-loopVariable-_ownedComment.0" body="A list of OutputPins that hold the values of the loop variables during an execution of the loop. When the test fails, the values are moved to the result OutputPins of the loop.">
<annotatedElement xmi:idref="LoopNode-loopVariable"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-loopVariable-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-loopVariable-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-loopVariableInput" name="loopVariableInput" isOrdered="true" aggregation="composite" type="InputPin" association="A_loopVariableInput_loopNode">
<redefinedProperty xmi:idref="StructuredActivityNode-structuredNodeInput"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-loopVariableInput-_ownedComment.0" body="A list of InputPins whose values are moved into the loopVariable Pins before the first iteration of the loop.">
<annotatedElement xmi:idref="LoopNode-loopVariableInput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-loopVariableInput-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-loopVariableInput-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-result" name="result" isOrdered="true" aggregation="composite" type="OutputPin" association="A_result_loopNode">
<redefinedProperty xmi:idref="StructuredActivityNode-structuredNodeOutput"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-result-_ownedComment.0" body="A list of OutputPins that receive the loopVariable values after the last iteration of the loop and constitute the output of the LoopNode.">
<annotatedElement xmi:idref="LoopNode-result"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-result-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-setupPart" name="setupPart" type="ExecutableNode" association="A_setupPart_loopNode">
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-setupPart-_ownedComment.0" body="The set of ExecutableNodes executed before the first iteration of the loop, in order to initialize values or perform other setup computations.">
<annotatedElement xmi:idref="LoopNode-setupPart"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-setupPart-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-setupPart-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="LoopNode-test" name="test" type="ExecutableNode" association="A_test_loopNode">
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-test-_ownedComment.0" body="The set of ExecutableNodes executed in order to provide the test result for the loop.">
<annotatedElement xmi:idref="LoopNode-test"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-test-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="LoopNode-allActions" name="allActions" isQuery="true" bodyCondition="LoopNode-allActions-spec">
<redefinedOperation xmi:idref="Action-allActions"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-allActions-_ownedComment.0" body="Return only this LoopNode. This prevents Actions within the LoopNode from having their OutputPins used as bodyOutputs or decider Pins in containing LoopNodes or ConditionalNodes.">
<annotatedElement xmi:idref="LoopNode-allActions"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-allActions-spec" name="spec">
<constrainedElement xmi:idref="LoopNode-allActions"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-allActions-spec-_specification">
<body>result = (self->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LoopNode-allActions-result" name="result" direction="return" type="Action">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-allActions-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-allActions-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="LoopNode-sourceNodes" name="sourceNodes" isQuery="true" bodyCondition="LoopNode-sourceNodes-spec">
<redefinedOperation xmi:idref="StructuredActivityNode-sourceNodes"/>
<ownedComment xmi:type="uml:Comment" xmi:id="LoopNode-sourceNodes-_ownedComment.0" body="Return the loopVariable OutputPins in addition to other source nodes for the LoopNode as a StructuredActivityNode.">
<annotatedElement xmi:idref="LoopNode-sourceNodes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="LoopNode-sourceNodes-spec" name="spec">
<constrainedElement xmi:idref="LoopNode-sourceNodes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="LoopNode-sourceNodes-spec-_specification">
<body>result = (self.StructuredActivityNode::sourceNodes()->union(loopVariable))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="LoopNode-sourceNodes-result" name="result" direction="return" type="ActivityNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="LoopNode-sourceNodes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="LoopNode-sourceNodes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="OpaqueAction" name="OpaqueAction">
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueAction-_ownedComment.0" body="An OpaqueAction is an Action whose functionality is not specified within UML.">
<annotatedElement xmi:idref="OpaqueAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OpaqueAction-language_body_size" name="language_body_size">
<constrainedElement xmi:idref="OpaqueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueAction-language_body_size-_ownedComment.0" body="If the language attribute is not empty, then the size of the body and language lists must be the same.">
<annotatedElement xmi:idref="OpaqueAction-language_body_size"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OpaqueAction-language_body_size-_specification">
<body>language->notEmpty() implies (_'body'->size() = language->size())</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="OpaqueAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueAction-body" name="body" isOrdered="true" isUnique="false">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueAction-body-_ownedComment.0" body="Provides a textual specification of the functionality of the Action, in one or more languages other than UML.">
<annotatedElement xmi:idref="OpaqueAction-body"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueAction-body-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueAction-body-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueAction-inputValue" name="inputValue" aggregation="composite" type="InputPin" association="A_inputValue_opaqueAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueAction-inputValue-_ownedComment.0" body="The InputPins providing inputs to the OpaqueAction.">
<annotatedElement xmi:idref="OpaqueAction-inputValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueAction-inputValue-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueAction-inputValue-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueAction-language" name="language" isOrdered="true">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueAction-language-_ownedComment.0" body="If provided, a specification of the language used for each of the body Strings.">
<annotatedElement xmi:idref="OpaqueAction-language"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueAction-language-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueAction-language-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="OpaqueAction-outputValue" name="outputValue" aggregation="composite" type="OutputPin" association="A_outputValue_opaqueAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OpaqueAction-outputValue-_ownedComment.0" body="The OutputPins on which the OpaqueAction provides outputs.">
<annotatedElement xmi:idref="OpaqueAction-outputValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="OpaqueAction-outputValue-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="OpaqueAction-outputValue-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="OutputPin" name="OutputPin">
<ownedComment xmi:type="uml:Comment" xmi:id="OutputPin-_ownedComment.0" body="An OutputPin is a Pin that holds output values produced by an Action.">
<annotatedElement xmi:idref="OutputPin"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="OutputPin-incoming_edges_structured_only" name="incoming_edges_structured_only">
<constrainedElement xmi:idref="OutputPin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="OutputPin-incoming_edges_structured_only-_ownedComment.0" body="An OutputPin may have incoming ActivityEdges only when it is owned by a StructuredActivityNode, and these edges must have sources contained (directly or indirectly) in the owning StructuredActivityNode.">
<annotatedElement xmi:idref="OutputPin-incoming_edges_structured_only"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="OutputPin-incoming_edges_structured_only-_specification">
<body>incoming->notEmpty() implies action<>null and action.oclIsKindOf(StructuredActivityNode) and action.oclAsType(StructuredActivityNode).allOwnedNodes()->includesAll(incoming.source)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="OutputPin-_generalization.0" general="Pin"/>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="Pin" name="Pin" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="Pin-_ownedComment.0" body="A Pin is an ObjectNode and MultiplicityElement that provides input values to an Action or accepts output values from an Action.">
<annotatedElement xmi:idref="Pin"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pin-control_pins" name="control_pins">
<constrainedElement xmi:idref="Pin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pin-control_pins-_ownedComment.0" body="A control Pin has a control type.">
<annotatedElement xmi:idref="Pin-control_pins"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pin-control_pins-_specification">
<body>isControl implies isControlType</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="Pin-not_unique" name="not_unique">
<constrainedElement xmi:idref="Pin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pin-not_unique-_ownedComment.0" body="Pin multiplicity is not unique.">
<annotatedElement xmi:idref="Pin-not_unique"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="Pin-not_unique-_specification">
<body>not isUnique</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="Pin-_generalization.1" general="ObjectNode"/>
<generalization xmi:type="uml:Generalization" xmi:id="Pin-_generalization.0" general="MultiplicityElement"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="Pin-isControl" name="isControl">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="Pin-isControl-_ownedComment.0" body="Indicates whether the Pin provides data to the Action or just controls how the Action executes.">
<annotatedElement xmi:idref="Pin-isControl"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="Pin-isControl-_defaultValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="QualifierValue" name="QualifierValue">
<ownedComment xmi:type="uml:Comment" xmi:id="QualifierValue-_ownedComment.0" body="A QualifierValue is an Element that is used as part of LinkEndData to provide the value for a single qualifier of the end given by the LinkEndData.">
<annotatedElement xmi:idref="QualifierValue"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="QualifierValue-multiplicity_of_qualifier" name="multiplicity_of_qualifier">
<constrainedElement xmi:idref="QualifierValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="QualifierValue-multiplicity_of_qualifier-_ownedComment.0" body="The multiplicity of the value InputPin is 1..1.">
<annotatedElement xmi:idref="QualifierValue-multiplicity_of_qualifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="QualifierValue-multiplicity_of_qualifier-_specification">
<body>value.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="QualifierValue-type_of_qualifier" name="type_of_qualifier">
<constrainedElement xmi:idref="QualifierValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="QualifierValue-type_of_qualifier-_ownedComment.0" body="The type of the value InputPin conforms to the type of the qualifier Property.">
<annotatedElement xmi:idref="QualifierValue-type_of_qualifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="QualifierValue-type_of_qualifier-_specification">
<body>value.type.conformsTo(qualifier.type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="QualifierValue-qualifier_attribute" name="qualifier_attribute">
<constrainedElement xmi:idref="QualifierValue"/>
<ownedComment xmi:type="uml:Comment" xmi:id="QualifierValue-qualifier_attribute-_ownedComment.0" body="The qualifier must be a qualifier of the Association end of the linkEndData that owns this QualifierValue.">
<annotatedElement xmi:idref="QualifierValue-qualifier_attribute"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="QualifierValue-qualifier_attribute-_specification">
<body>linkEndData.end.qualifier->includes(qualifier)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="QualifierValue-_generalization.0" general="Element"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="QualifierValue-qualifier" name="qualifier" type="Property" association="A_qualifier_qualifierValue">
<ownedComment xmi:type="uml:Comment" xmi:id="QualifierValue-qualifier-_ownedComment.0" body="The qualifier Property for which the value is to be specified.">
<annotatedElement xmi:idref="QualifierValue-qualifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="QualifierValue-value" name="value" type="InputPin" association="A_value_qualifierValue">
<ownedComment xmi:type="uml:Comment" xmi:id="QualifierValue-value-_ownedComment.0" body="The InputPin from which the specified value for the qualifier is taken.">
<annotatedElement xmi:idref="QualifierValue-value"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="RaiseExceptionAction" name="RaiseExceptionAction">
<ownedComment xmi:type="uml:Comment" xmi:id="RaiseExceptionAction-_ownedComment.0" body="A RaiseExceptionAction is an Action that causes an exception to occur. The input value becomes the exception object.">
<annotatedElement xmi:idref="RaiseExceptionAction"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="RaiseExceptionAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="RaiseExceptionAction-exception" name="exception" aggregation="composite" type="InputPin" association="A_exception_raiseExceptionAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RaiseExceptionAction-exception-_ownedComment.0" body="An InputPin whose value becomes the exception object.">
<annotatedElement xmi:idref="RaiseExceptionAction-exception"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadExtentAction" name="ReadExtentAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadExtentAction-_ownedComment.0" body="A ReadExtentAction is an Action that retrieves the current instances of a Classifier.">
<annotatedElement xmi:idref="ReadExtentAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadExtentAction-type_is_classifier" name="type_is_classifier">
<constrainedElement xmi:idref="ReadExtentAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadExtentAction-type_is_classifier-_ownedComment.0" body="The type of the result OutputPin is the classifier.">
<annotatedElement xmi:idref="ReadExtentAction-type_is_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadExtentAction-type_is_classifier-_specification">
<body>result.type = classifier</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadExtentAction-multiplicity_of_result" name="multiplicity_of_result">
<constrainedElement xmi:idref="ReadExtentAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadExtentAction-multiplicity_of_result-_ownedComment.0" body="The multiplicity of the result OutputPin is 0..*.">
<annotatedElement xmi:idref="ReadExtentAction-multiplicity_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadExtentAction-multiplicity_of_result-_specification">
<body>result.is(0,*)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadExtentAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadExtentAction-classifier" name="classifier" type="Classifier" association="A_classifier_readExtentAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadExtentAction-classifier-_ownedComment.0" body="The Classifier whose instances are to be retrieved.">
<annotatedElement xmi:idref="ReadExtentAction-classifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadExtentAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readExtentAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadExtentAction-result-_ownedComment.0" body="The OutputPin on which the Classifier instances are placed.">
<annotatedElement xmi:idref="ReadExtentAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadIsClassifiedObjectAction" name="ReadIsClassifiedObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-_ownedComment.0" body="A ReadIsClassifiedObjectAction is an Action that determines whether an object is classified by a given Classifier.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadIsClassifiedObjectAction-no_type" name="no_type">
<constrainedElement xmi:idref="ReadIsClassifiedObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-no_type-_ownedComment.0" body="The object InputPin has no type.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-no_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-no_type-_specification">
<body>object.type = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_output" name="multiplicity_of_output">
<constrainedElement xmi:idref="ReadIsClassifiedObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_output-_ownedComment.0" body="The multiplicity of the result OutputPin is 1..1.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-multiplicity_of_output"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_output-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadIsClassifiedObjectAction-boolean_result" name="boolean_result">
<constrainedElement xmi:idref="ReadIsClassifiedObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-boolean_result-_ownedComment.0" body="The type of the result OutputPin is Boolean.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-boolean_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-boolean_result-_specification">
<body>result.type = Boolean</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_input" name="multiplicity_of_input">
<constrainedElement xmi:idref="ReadIsClassifiedObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_input-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-multiplicity_of_input"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_input-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadIsClassifiedObjectAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadIsClassifiedObjectAction-classifier" name="classifier" type="Classifier" association="A_classifier_readIsClassifiedObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-classifier-_ownedComment.0" body="The Classifier against which the classification of the input object is tested.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-classifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadIsClassifiedObjectAction-isDirect" name="isDirect">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-isDirect-_ownedComment.0" body="Indicates whether the input object must be directly classified by the given Classifier or whether it may also be an instance of a specialization of the given Classifier.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-isDirect"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ReadIsClassifiedObjectAction-isDirect-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadIsClassifiedObjectAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_readIsClassifiedObjectAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-object-_ownedComment.0" body="The InputPin that holds the object whose classification is to be tested.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadIsClassifiedObjectAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readIsClassifiedObjectAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadIsClassifiedObjectAction-result-_ownedComment.0" body="The OutputPin that holds the Boolean result of the test.">
<annotatedElement xmi:idref="ReadIsClassifiedObjectAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadLinkAction" name="ReadLinkAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-_ownedComment.0" body="A ReadLinkAction is a LinkAction that navigates across an Association to retrieve the objects on one end.">
<annotatedElement xmi:idref="ReadLinkAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkAction-type_and_ordering" name="type_and_ordering">
<constrainedElement xmi:idref="ReadLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-type_and_ordering-_ownedComment.0" body="The type and ordering of the result OutputPin are same as the type and ordering of the open Association end.">
<annotatedElement xmi:idref="ReadLinkAction-type_and_ordering"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkAction-type_and_ordering-_specification">
<body>self.openEnd()->forAll(type=result.type and isOrdered=result.isOrdered) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkAction-compatible_multiplicity" name="compatible_multiplicity">
<constrainedElement xmi:idref="ReadLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-compatible_multiplicity-_ownedComment.0" body="The multiplicity of the open Association end must be compatible with the multiplicity of the result OutputPin.">
<annotatedElement xmi:idref="ReadLinkAction-compatible_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkAction-compatible_multiplicity-_specification">
<body>self.openEnd()->first().compatibleWith(result) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkAction-visibility" name="visibility">
<constrainedElement xmi:idref="ReadLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-visibility-_ownedComment.0" body="Visibility of the open end must allow access from the object performing the action.">
<annotatedElement xmi:idref="ReadLinkAction-visibility"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkAction-visibility-_specification">
<body>let openEnd : Property = self.openEnd()->first() in openEnd.visibility = VisibilityKind::public or endData->exists(oed | oed.end<>openEnd and (_'context' = oed.end.type or (openEnd.visibility = VisibilityKind::protected and _'context'.conformsTo(oed.end.type.oclAsType(Classifier))))) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkAction-one_open_end" name="one_open_end">
<constrainedElement xmi:idref="ReadLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-one_open_end-_ownedComment.0" body="Exactly one linkEndData specification (corresponding to the "open" end) must not have an value InputPin.">
<annotatedElement xmi:idref="ReadLinkAction-one_open_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkAction-one_open_end-_specification">
<body>self.openEnd()->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkAction-navigable_open_end" name="navigable_open_end">
<constrainedElement xmi:idref="ReadLinkAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-navigable_open_end-_ownedComment.0" body="The open end must be navigable.">
<annotatedElement xmi:idref="ReadLinkAction-navigable_open_end"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkAction-navigable_open_end-_specification">
<body>self.openEnd()->first().isNavigable() </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadLinkAction-_generalization.0" general="LinkAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readLinkAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-result-_ownedComment.0" body="The OutputPin on which the objects retrieved from the "open" end of those links whose values on other ends are given by the endData.">
<annotatedElement xmi:idref="ReadLinkAction-result"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="ReadLinkAction-openEnd" name="openEnd" isQuery="true" bodyCondition="ReadLinkAction-openEnd-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkAction-openEnd-_ownedComment.0" body="Returns the ends corresponding to endData with no value InputPin. (A well-formed ReadLinkAction is constrained to have only one of these.)">
<annotatedElement xmi:idref="ReadLinkAction-openEnd"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkAction-openEnd-spec" name="spec">
<constrainedElement xmi:idref="ReadLinkAction-openEnd"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkAction-openEnd-spec-_specification">
<body>result = (endData->select(value=null).end->asOrderedSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="ReadLinkAction-openEnd-result" isOrdered="true" name="result" direction="return" type="Property">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ReadLinkAction-openEnd-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ReadLinkAction-openEnd-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadLinkObjectEndAction" name="ReadLinkObjectEndAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-_ownedComment.0" body="A ReadLinkObjectEndAction is an Action that retrieves an end object from a link object.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-property" name="property">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-property-_ownedComment.0" body="The end Property must be an Association memberEnd.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-property"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-property-_specification">
<body>end.association <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-multiplicity_of_object" name="multiplicity_of_object">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-multiplicity_of_object-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-multiplicity_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-multiplicity_of_object-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-ends_of_association" name="ends_of_association">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-ends_of_association-_ownedComment.0" body="The ends of the association must not be static.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-ends_of_association"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-ends_of_association-_specification">
<body>end.association.memberEnd->forAll(e | not e.isStatic)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-type_of_result" name="type_of_result">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-type_of_result-_ownedComment.0" body="The type of the result OutputPin is the same as the type of the end Property.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-type_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-type_of_result-_specification">
<body>result.type = end.type</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-multiplicity_of_result" name="multiplicity_of_result">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-multiplicity_of_result-_ownedComment.0" body="The multiplicity of the result OutputPin is 1..1.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-multiplicity_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-multiplicity_of_result-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-type_of_object" name="type_of_object">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-type_of_object-_ownedComment.0" body="The type of the object InputPin is the AssociationClass that owns the end Property.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-type_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-type_of_object-_specification">
<body>object.type = end.association</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndAction-association_of_association" name="association_of_association">
<constrainedElement xmi:idref="ReadLinkObjectEndAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-association_of_association-_ownedComment.0" body="The association of the end must be an AssociationClass.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-association_of_association"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-association_of_association-_specification">
<body>end.association.oclIsKindOf(AssociationClass)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadLinkObjectEndAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkObjectEndAction-end" name="end" type="Property" association="A_end_readLinkObjectEndAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-end-_ownedComment.0" body="The Association end to be read.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-end"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkObjectEndAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_readLinkObjectEndAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-object-_ownedComment.0" body="The input pin from which the link object is obtained.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkObjectEndAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readLinkObjectEndAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndAction-result-_ownedComment.0" body="The OutputPin where the result value is placed.">
<annotatedElement xmi:idref="ReadLinkObjectEndAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadLinkObjectEndQualifierAction" name="ReadLinkObjectEndQualifierAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-_ownedComment.0" body="A ReadLinkObjectEndQualifierAction is an Action that retrieves a qualifier end value from a link object.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_object" name="multiplicity_of_object">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_object-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-multiplicity_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_object-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-type_of_object" name="type_of_object">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-type_of_object-_ownedComment.0" body="The type of the object InputPin is the AssociationClass that owns the Association end that has the given qualifier Property.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-type_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-type_of_object-_specification">
<body>object.type = qualifier.associationEnd.association</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier" name="multiplicity_of_qualifier">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier-_ownedComment.0" body="The multiplicity of the qualifier Property is 1..1.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier-_specification">
<body>qualifier.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-ends_of_association" name="ends_of_association">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-ends_of_association-_ownedComment.0" body="The ends of the Association must not be static.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-ends_of_association"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-ends_of_association-_specification">
<body>qualifier.associationEnd.association.memberEnd->forAll(e | not e.isStatic)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_result" name="multiplicity_of_result">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_result-_ownedComment.0" body="The multiplicity of the result OutputPin is 1..1.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-multiplicity_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_result-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-same_type" name="same_type">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-same_type-_ownedComment.0" body="The type of the result OutputPin is the same as the type of the qualifier Property.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-same_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-same_type-_specification">
<body>result.type = qualifier.type</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-association_of_association" name="association_of_association">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-association_of_association-_ownedComment.0" body="The association of the Association end of the qualifier Property must be an AssociationClass.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-association_of_association"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-association_of_association-_specification">
<body>qualifier.associationEnd.association.oclIsKindOf(AssociationClass)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-qualifier_attribute" name="qualifier_attribute">
<constrainedElement xmi:idref="ReadLinkObjectEndQualifierAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-qualifier_attribute-_ownedComment.0" body="The qualifier Property must be a qualifier of an Association end.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-qualifier_attribute"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-qualifier_attribute-_specification">
<body>qualifier.associationEnd <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadLinkObjectEndQualifierAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkObjectEndQualifierAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_readLinkObjectEndQualifierAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-object-_ownedComment.0" body="The InputPin from which the link object is obtained.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkObjectEndQualifierAction-qualifier" name="qualifier" type="Property" association="A_qualifier_readLinkObjectEndQualifierAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-qualifier-_ownedComment.0" body="The qualifier Property to be read.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-qualifier"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadLinkObjectEndQualifierAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readLinkObjectEndQualifierAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadLinkObjectEndQualifierAction-result-_ownedComment.0" body="The OutputPin where the result value is placed.">
<annotatedElement xmi:idref="ReadLinkObjectEndQualifierAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadSelfAction" name="ReadSelfAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadSelfAction-_ownedComment.0" body="A ReadSelfAction is an Action that retrieves the context object of the Behavior execution within which the ReadSelfAction execution is taking place.">
<annotatedElement xmi:idref="ReadSelfAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadSelfAction-contained" name="contained">
<constrainedElement xmi:idref="ReadSelfAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadSelfAction-contained-_ownedComment.0" body="A ReadSelfAction must have a context Classifier.">
<annotatedElement xmi:idref="ReadSelfAction-contained"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadSelfAction-contained-_specification">
<body>_'context' <> null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadSelfAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ReadSelfAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadSelfAction-multiplicity-_ownedComment.0" body="The multiplicity of the result OutputPin is 1..1.">
<annotatedElement xmi:idref="ReadSelfAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadSelfAction-multiplicity-_specification">
<body>result.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadSelfAction-not_static" name="not_static">
<constrainedElement xmi:idref="ReadSelfAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadSelfAction-not_static-_ownedComment.0" body="If the ReadSelfAction is contained in an Behavior that is acting as a method, then the Operation of the method must not be static.">
<annotatedElement xmi:idref="ReadSelfAction-not_static"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadSelfAction-not_static-_specification">
<body>let behavior: Behavior = self.containingBehavior() in behavior.specification<>null implies not behavior.specification.isStatic</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadSelfAction-type" name="type">
<constrainedElement xmi:idref="ReadSelfAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadSelfAction-type-_ownedComment.0" body="The type of the result OutputPin is the context Classifier.">
<annotatedElement xmi:idref="ReadSelfAction-type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadSelfAction-type-_specification">
<body>result.type = _'context'</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadSelfAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadSelfAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readSelfAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadSelfAction-result-_ownedComment.0" body="The OutputPin on which the context object is placed.">
<annotatedElement xmi:idref="ReadSelfAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadStructuralFeatureAction" name="ReadStructuralFeatureAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadStructuralFeatureAction-_ownedComment.0" body="A ReadStructuralFeatureAction is a StructuralFeatureAction that retrieves the values of a StructuralFeature.">
<annotatedElement xmi:idref="ReadStructuralFeatureAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadStructuralFeatureAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ReadStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadStructuralFeatureAction-multiplicity-_ownedComment.0" body="The multiplicity of the StructuralFeature must be compatible with the multiplicity of the result OutputPin.">
<annotatedElement xmi:idref="ReadStructuralFeatureAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadStructuralFeatureAction-multiplicity-_specification">
<body>structuralFeature.compatibleWith(result)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadStructuralFeatureAction-type_and_ordering" name="type_and_ordering">
<constrainedElement xmi:idref="ReadStructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadStructuralFeatureAction-type_and_ordering-_ownedComment.0" body="The type and ordering of the result OutputPin are the same as the type and ordering of the StructuralFeature.">
<annotatedElement xmi:idref="ReadStructuralFeatureAction-type_and_ordering"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadStructuralFeatureAction-type_and_ordering-_specification">
<body>result.type =structuralFeature.type and result.isOrdered = structuralFeature.isOrdered </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadStructuralFeatureAction-_generalization.0" general="StructuralFeatureAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadStructuralFeatureAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readStructuralFeatureAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadStructuralFeatureAction-result-_ownedComment.0" body="The OutputPin on which the result values are placed.">
<annotatedElement xmi:idref="ReadStructuralFeatureAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReadVariableAction" name="ReadVariableAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReadVariableAction-_ownedComment.0" body="A ReadVariableAction is a VariableAction that retrieves the values of a Variable.">
<annotatedElement xmi:idref="ReadVariableAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadVariableAction-type_and_ordering" name="type_and_ordering">
<constrainedElement xmi:idref="ReadVariableAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadVariableAction-type_and_ordering-_ownedComment.0" body="The type and ordering of the result OutputPin are the same as the type and ordering of the variable.">
<annotatedElement xmi:idref="ReadVariableAction-type_and_ordering"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadVariableAction-type_and_ordering-_specification">
<body>result.type =variable.type and result.isOrdered = variable.isOrdered </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReadVariableAction-compatible_multiplicity" name="compatible_multiplicity">
<constrainedElement xmi:idref="ReadVariableAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadVariableAction-compatible_multiplicity-_ownedComment.0" body="The multiplicity of the variable must be compatible with the multiplicity of the output pin.">
<annotatedElement xmi:idref="ReadVariableAction-compatible_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReadVariableAction-compatible_multiplicity-_specification">
<body>variable.compatibleWith(result)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReadVariableAction-_generalization.0" general="VariableAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReadVariableAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_readVariableAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReadVariableAction-result-_ownedComment.0" body="The OutputPin on which the result values are placed.">
<annotatedElement xmi:idref="ReadVariableAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReclassifyObjectAction" name="ReclassifyObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-_ownedComment.0" body="A ReclassifyObjectAction is an Action that changes the Classifiers that classify an object.">
<annotatedElement xmi:idref="ReclassifyObjectAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReclassifyObjectAction-input_pin" name="input_pin">
<constrainedElement xmi:idref="ReclassifyObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-input_pin-_ownedComment.0" body="The object InputPin has no type.">
<annotatedElement xmi:idref="ReclassifyObjectAction-input_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReclassifyObjectAction-input_pin-_specification">
<body>object.type = null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReclassifyObjectAction-classifier_not_abstract" name="classifier_not_abstract">
<constrainedElement xmi:idref="ReclassifyObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-classifier_not_abstract-_ownedComment.0" body="None of the newClassifiers may be abstract.">
<annotatedElement xmi:idref="ReclassifyObjectAction-classifier_not_abstract"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReclassifyObjectAction-classifier_not_abstract-_specification">
<body>not newClassifier->exists(isAbstract)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReclassifyObjectAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="ReclassifyObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-multiplicity-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1.">
<annotatedElement xmi:idref="ReclassifyObjectAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReclassifyObjectAction-multiplicity-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReclassifyObjectAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReclassifyObjectAction-isReplaceAll" name="isReplaceAll">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-isReplaceAll-_ownedComment.0" body="Specifies whether existing Classifiers should be removed before adding the new Classifiers.">
<annotatedElement xmi:idref="ReclassifyObjectAction-isReplaceAll"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ReclassifyObjectAction-isReplaceAll-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReclassifyObjectAction-newClassifier" name="newClassifier" type="Classifier" association="A_newClassifier_reclassifyObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-newClassifier-_ownedComment.0" body="A set of Classifiers to be added to the Classifiers of the given object.">
<annotatedElement xmi:idref="ReclassifyObjectAction-newClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ReclassifyObjectAction-newClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ReclassifyObjectAction-newClassifier-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReclassifyObjectAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_reclassifyObjectAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-object-_ownedComment.0" body="The InputPin that holds the object to be reclassified.">
<annotatedElement xmi:idref="ReclassifyObjectAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReclassifyObjectAction-oldClassifier" name="oldClassifier" type="Classifier" association="A_oldClassifier_reclassifyObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReclassifyObjectAction-oldClassifier-_ownedComment.0" body="A set of Classifiers to be removed from the Classifiers of the given object.">
<annotatedElement xmi:idref="ReclassifyObjectAction-oldClassifier"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ReclassifyObjectAction-oldClassifier-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ReclassifyObjectAction-oldClassifier-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReduceAction" name="ReduceAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-_ownedComment.0" body="A ReduceAction is an Action that reduces a collection to a single value by repeatedly combining the elements of the collection using a reducer Behavior.">
<annotatedElement xmi:idref="ReduceAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReduceAction-reducer_inputs_output" name="reducer_inputs_output">
<constrainedElement xmi:idref="ReduceAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-reducer_inputs_output-_ownedComment.0" body="The reducer Behavior must have two input ownedParameters and one output ownedParameter, where the type of the output Parameter and the type of elements of the input collection conform to the types of the input Parameters.">
<annotatedElement xmi:idref="ReduceAction-reducer_inputs_output"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReduceAction-reducer_inputs_output-_specification">
<body>let inputs: OrderedSet(Parameter) = reducer.inputParameters() in let outputs: OrderedSet(Parameter) = reducer.outputParameters() in inputs->size()=2 and outputs->size()=1 and inputs.type->forAll(t | outputs.type->forAll(conformsTo(t)) and -- Note that the following only checks the case when the collection is via multiple tokens. collection.upperBound()>1 implies collection.type.conformsTo(t))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReduceAction-input_type_is_collection" name="input_type_is_collection">
<constrainedElement xmi:idref="ReduceAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-input_type_is_collection-_ownedComment.0" body="The type of the collection InputPin must be a collection.">
<annotatedElement xmi:idref="ReduceAction-input_type_is_collection"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReduceAction-input_type_is_collection-_specification"/>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReduceAction-output_types_are_compatible" name="output_types_are_compatible">
<constrainedElement xmi:idref="ReduceAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-output_types_are_compatible-_ownedComment.0" body="The type of the output of the reducer Behavior must conform to the type of the result OutputPin.">
<annotatedElement xmi:idref="ReduceAction-output_types_are_compatible"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReduceAction-output_types_are_compatible-_specification">
<body>reducer.outputParameters().type->forAll(conformsTo(result.type))</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReduceAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReduceAction-collection" name="collection" aggregation="composite" type="InputPin" association="A_collection_reduceAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-collection-_ownedComment.0" body="The InputPin that provides the collection to be reduced.">
<annotatedElement xmi:idref="ReduceAction-collection"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReduceAction-isOrdered" name="isOrdered">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-isOrdered-_ownedComment.0" body="Indicates whether the order of the input collection should determine the order in which the reducer Behavior is applied to its elements.">
<annotatedElement xmi:idref="ReduceAction-isOrdered"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="ReduceAction-isOrdered-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReduceAction-reducer" name="reducer" type="Behavior" association="A_reducer_reduceAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-reducer-_ownedComment.0" body="A Behavior that is repreatedly applied to two elements of the input collection to produce a value that is of the same type as elements of the collection.">
<annotatedElement xmi:idref="ReduceAction-reducer"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReduceAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_reduceAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReduceAction-result-_ownedComment.0" body="The output pin on which the result value is placed.">
<annotatedElement xmi:idref="ReduceAction-result"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="RemoveStructuralFeatureValueAction" name="RemoveStructuralFeatureValueAction">
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveStructuralFeatureValueAction-_ownedComment.0" body="A RemoveStructuralFeatureValueAction is a WriteStructuralFeatureAction that removes values from a StructuralFeature.">
<annotatedElement xmi:idref="RemoveStructuralFeatureValueAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RemoveStructuralFeatureValueAction-removeAt_and_value" name="removeAt_and_value">
<constrainedElement xmi:idref="RemoveStructuralFeatureValueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveStructuralFeatureValueAction-removeAt_and_value-_ownedComment.0" body="RemoveStructuralFeatureValueActions removing a value from ordered, non-unique StructuralFeatures must have a single removeAt InputPin and no value InputPin, if isRemoveDuplicates is false. The removeAt InputPin must be of type Unlimited Natural with multiplicity 1..1. Otherwise, the Action has a value InputPin and no removeAt InputPin.">
<annotatedElement xmi:idref="RemoveStructuralFeatureValueAction-removeAt_and_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RemoveStructuralFeatureValueAction-removeAt_and_value-_specification">
<body>if structuralFeature.isOrdered and not structuralFeature.isUnique and not isRemoveDuplicates then value = null and removeAt <> null and removeAt.type = UnlimitedNatural and removeAt.is(1,1) else removeAt = null and value <> null endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="RemoveStructuralFeatureValueAction-_generalization.0" general="WriteStructuralFeatureAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="RemoveStructuralFeatureValueAction-isRemoveDuplicates" name="isRemoveDuplicates">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveStructuralFeatureValueAction-isRemoveDuplicates-_ownedComment.0" body="Specifies whether to remove duplicates of the value in nonunique StructuralFeatures.">
<annotatedElement xmi:idref="RemoveStructuralFeatureValueAction-isRemoveDuplicates"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="RemoveStructuralFeatureValueAction-isRemoveDuplicates-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="RemoveStructuralFeatureValueAction-removeAt" name="removeAt" aggregation="composite" type="InputPin" association="A_removeAt_removeStructuralFeatureValueAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveStructuralFeatureValueAction-removeAt-_ownedComment.0" body="An InputPin that provides the position of an existing value to remove in ordered, nonunique structural features. The type of the removeAt InputPin is UnlimitedNatural, but the value cannot be zero or unlimited.">
<annotatedElement xmi:idref="RemoveStructuralFeatureValueAction-removeAt"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RemoveStructuralFeatureValueAction-removeAt-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="RemoveVariableValueAction" name="RemoveVariableValueAction">
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveVariableValueAction-_ownedComment.0" body="A RemoveVariableValueAction is a WriteVariableAction that removes values from a Variables.">
<annotatedElement xmi:idref="RemoveVariableValueAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="RemoveVariableValueAction-removeAt_and_value" name="removeAt_and_value">
<constrainedElement xmi:idref="RemoveVariableValueAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveVariableValueAction-removeAt_and_value-_ownedComment.0" body="ReadVariableActions removing a value from ordered, non-unique Variables must have a single removeAt InputPin and no value InputPin, if isRemoveDuplicates is false. The removeAt InputPin must be of type Unlimited Natural with multiplicity 1..1. Otherwise, the Action has a value InputPin and no removeAt InputPin.">
<annotatedElement xmi:idref="RemoveVariableValueAction-removeAt_and_value"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="RemoveVariableValueAction-removeAt_and_value-_specification">
<body>if variable.isOrdered and not variable.isUnique and not isRemoveDuplicates then value = null and removeAt <> null and removeAt.type = UnlimitedNatural and removeAt.is(1,1) else removeAt = null and value <> null endif</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="RemoveVariableValueAction-_generalization.0" general="WriteVariableAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="RemoveVariableValueAction-isRemoveDuplicates" name="isRemoveDuplicates">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveVariableValueAction-isRemoveDuplicates-_ownedComment.0" body="Specifies whether to remove duplicates of the value in nonunique Variables.">
<annotatedElement xmi:idref="RemoveVariableValueAction-isRemoveDuplicates"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="RemoveVariableValueAction-isRemoveDuplicates-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="RemoveVariableValueAction-removeAt" name="removeAt" aggregation="composite" type="InputPin" association="A_removeAt_removeVariableValueAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="RemoveVariableValueAction-removeAt-_ownedComment.0" body="An InputPin that provides the position of an existing value to remove in ordered, nonunique Variables. The type of the removeAt InputPin is UnlimitedNatural, but the value cannot be zero or unlimited.">
<annotatedElement xmi:idref="RemoveVariableValueAction-removeAt"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="RemoveVariableValueAction-removeAt-_lowerValue"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ReplyAction" name="ReplyAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReplyAction-_ownedComment.0" body="A ReplyAction is an Action that accepts a set of reply values and a value containing return information produced by a previous AcceptCallAction. The ReplyAction returns the values to the caller of the previous call, completing execution of the call.">
<annotatedElement xmi:idref="ReplyAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReplyAction-pins_match_parameter" name="pins_match_parameter">
<constrainedElement xmi:idref="ReplyAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReplyAction-pins_match_parameter-_ownedComment.0" body="The replyValue InputPins must match the output (return, out, and inout) parameters of the operation of the event of the replyToCall Trigger in number, type, ordering, and multiplicity.">
<annotatedElement xmi:idref="ReplyAction-pins_match_parameter"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReplyAction-pins_match_parameter-_specification">
<body>let parameter:OrderedSet(Parameter) = replyToCall.event.oclAsType(CallEvent).operation.outputParameters() in replyValue->size()=parameter->size() and Sequence{1..replyValue->size()}->forAll(i | replyValue->at(i).type.conformsTo(parameter->at(i).type) and replyValue->at(i).isOrdered=parameter->at(i).isOrdered and replyValue->at(i).compatibleWith(parameter->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ReplyAction-event_on_reply_to_call_trigger" name="event_on_reply_to_call_trigger">
<constrainedElement xmi:idref="ReplyAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReplyAction-event_on_reply_to_call_trigger-_ownedComment.0" body="The event of the replyToCall Trigger must be a CallEvent.">
<annotatedElement xmi:idref="ReplyAction-event_on_reply_to_call_trigger"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ReplyAction-event_on_reply_to_call_trigger-_specification">
<body>replyToCall.event.oclIsKindOf(CallEvent)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ReplyAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReplyAction-replyToCall" name="replyToCall" type="Trigger" association="A_replyToCall_replyAction">
<ownedComment xmi:type="uml:Comment" xmi:id="ReplyAction-replyToCall-_ownedComment.0" body="The Trigger specifying the Operation whose call is being replied to.">
<annotatedElement xmi:idref="ReplyAction-replyToCall"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReplyAction-replyValue" name="replyValue" isOrdered="true" aggregation="composite" type="InputPin" association="A_replyValue_replyAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReplyAction-replyValue-_ownedComment.0" body="A list of InputPins providing the values for the output (inout, out, and return) Parameters of the Operation. These values are returned to the caller.">
<annotatedElement xmi:idref="ReplyAction-replyValue"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="ReplyAction-replyValue-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="ReplyAction-replyValue-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="ReplyAction-returnInformation" name="returnInformation" aggregation="composite" type="InputPin" association="A_returnInformation_replyAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ReplyAction-returnInformation-_ownedComment.0" body="An InputPin that holds the return information value produced by an earlier AcceptCallAction.">
<annotatedElement xmi:idref="ReplyAction-returnInformation"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="SendObjectAction" name="SendObjectAction">
<ownedComment xmi:type="uml:Comment" xmi:id="SendObjectAction-_ownedComment.0" body="A SendObjectAction is an InvocationAction that transmits an input object to the target object, which is handled as a request message by the target object. The requestor continues execution immediately after the object is sent out and cannot receive reply values.">
<annotatedElement xmi:idref="SendObjectAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="SendObjectAction-type_target_pin" name="type_target_pin">
<constrainedElement xmi:idref="SendObjectAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendObjectAction-type_target_pin-_ownedComment.0" body="If onPort is not empty, the Port given by onPort must be an owned or inherited feature of the type of the target InputPin.">
<annotatedElement xmi:idref="SendObjectAction-type_target_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="SendObjectAction-type_target_pin-_specification">
<body>onPort<>null implies target.type.oclAsType(Classifier).allFeatures()->includes(onPort)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="SendObjectAction-_generalization.0" general="InvocationAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="SendObjectAction-request" name="request" aggregation="composite" type="InputPin" association="A_request_sendObjectAction">
<redefinedProperty xmi:idref="InvocationAction-argument"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendObjectAction-request-_ownedComment.0" body="The request object, which is transmitted to the target object. The object may be copied in transmission, so identity might not be preserved.">
<annotatedElement xmi:idref="SendObjectAction-request"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="SendObjectAction-target" name="target" aggregation="composite" type="InputPin" association="A_target_sendObjectAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendObjectAction-target-_ownedComment.0" body="The target object to which the object is sent.">
<annotatedElement xmi:idref="SendObjectAction-target"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="SendSignalAction" name="SendSignalAction">
<ownedComment xmi:type="uml:Comment" xmi:id="SendSignalAction-_ownedComment.0" body="A SendSignalAction is an InvocationAction that creates a Signal instance and transmits it to the target object. Values from the argument InputPins are used to provide values for the attributes of the Signal. The requestor continues execution immediately after the Signal instance is sent out and cannot receive reply values.">
<annotatedElement xmi:idref="SendSignalAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="SendSignalAction-type_ordering_multiplicity" name="type_ordering_multiplicity">
<constrainedElement xmi:idref="SendSignalAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendSignalAction-type_ordering_multiplicity-_ownedComment.0" body="The type, ordering, and multiplicity of an argument InputPin must be the same as the corresponding attribute of the signal.">
<annotatedElement xmi:idref="SendSignalAction-type_ordering_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="SendSignalAction-type_ordering_multiplicity-_specification">
<body>let attribute: OrderedSet(Property) = signal.allAttributes() in Sequence{1..argument->size()}->forAll(i | argument->at(i).type.conformsTo(attribute->at(i).type) and argument->at(i).isOrdered = attribute->at(i).isOrdered and argument->at(i).compatibleWith(attribute->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="SendSignalAction-number_order" name="number_order">
<constrainedElement xmi:idref="SendSignalAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendSignalAction-number_order-_ownedComment.0" body="The number and order of argument InputPins must be the same as the number and order of attributes of the signal.">
<annotatedElement xmi:idref="SendSignalAction-number_order"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="SendSignalAction-number_order-_specification">
<body>argument->size()=signal.allAttributes()->size()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="SendSignalAction-type_target_pin" name="type_target_pin">
<constrainedElement xmi:idref="SendSignalAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendSignalAction-type_target_pin-_ownedComment.0" body="If onPort is not empty, the Port given by onPort must be an owned or inherited feature of the type of the target InputPin.">
<annotatedElement xmi:idref="SendSignalAction-type_target_pin"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="SendSignalAction-type_target_pin-_specification">
<body>not onPort->isEmpty() implies target.type.oclAsType(Classifier).allFeatures()->includes(onPort) </body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="SendSignalAction-_generalization.0" general="InvocationAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="SendSignalAction-signal" name="signal" type="Signal" association="A_signal_sendSignalAction">
<ownedComment xmi:type="uml:Comment" xmi:id="SendSignalAction-signal-_ownedComment.0" body="The Signal whose instance is transmitted to the target.">
<annotatedElement xmi:idref="SendSignalAction-signal"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="SendSignalAction-target" name="target" aggregation="composite" type="InputPin" association="A_target_sendSignalAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SendSignalAction-target-_ownedComment.0" body="The InputPin that provides the target object to which the Signal instance is sent.">
<annotatedElement xmi:idref="SendSignalAction-target"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="SequenceNode" name="SequenceNode">
<ownedComment xmi:type="uml:Comment" xmi:id="SequenceNode-_ownedComment.0" body="A SequenceNode is a StructuredActivityNode that executes a sequence of ExecutableNodes in order.">
<annotatedElement xmi:idref="SequenceNode"/>
</ownedComment>
<generalization xmi:type="uml:Generalization" xmi:id="SequenceNode-_generalization.0" general="StructuredActivityNode"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="SequenceNode-executableNode" name="executableNode" isOrdered="true" aggregation="composite" type="ExecutableNode" association="A_executableNode_sequenceNode">
<redefinedProperty xmi:idref="StructuredActivityNode-node"/>
<ownedComment xmi:type="uml:Comment" xmi:id="SequenceNode-executableNode-_ownedComment.0" body="The ordered set of ExecutableNodes to be sequenced.">
<annotatedElement xmi:idref="SequenceNode-executableNode"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="SequenceNode-executableNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SequenceNode-executableNode-_upperValue" value="*"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StartClassifierBehaviorAction" name="StartClassifierBehaviorAction">
<ownedComment xmi:type="uml:Comment" xmi:id="StartClassifierBehaviorAction-_ownedComment.0" body="A StartClassifierBehaviorAction is an Action that starts the classifierBehavior of the input object.">
<annotatedElement xmi:idref="StartClassifierBehaviorAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartClassifierBehaviorAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="StartClassifierBehaviorAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartClassifierBehaviorAction-multiplicity-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1">
<annotatedElement xmi:idref="StartClassifierBehaviorAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartClassifierBehaviorAction-multiplicity-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartClassifierBehaviorAction-type_has_classifier" name="type_has_classifier">
<constrainedElement xmi:idref="StartClassifierBehaviorAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartClassifierBehaviorAction-type_has_classifier-_ownedComment.0" body="If the InputPin has a type, then the type or one of its ancestors must have a classifierBehavior.">
<annotatedElement xmi:idref="StartClassifierBehaviorAction-type_has_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartClassifierBehaviorAction-type_has_classifier-_specification">
<body>object.type->notEmpty() implies (object.type.oclIsKindOf(BehavioredClassifier) and object.type.oclAsType(BehavioredClassifier).classifierBehavior<>null)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="StartClassifierBehaviorAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StartClassifierBehaviorAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_startClassifierBehaviorAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartClassifierBehaviorAction-object-_ownedComment.0" body="The InputPin that holds the object whose classifierBehavior is to be started.">
<annotatedElement xmi:idref="StartClassifierBehaviorAction-object"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StartObjectBehaviorAction" name="StartObjectBehaviorAction">
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-_ownedComment.0" body="A StartObjectBehaviorAction is an InvocationAction that starts the execution either of a directly instantiated Behavior or of the classifierBehavior of an object. Argument values may be supplied for the input Parameters of the Behavior. If the Behavior is invoked synchronously, then output values may be obtained for output Parameters.">
<annotatedElement xmi:idref="StartObjectBehaviorAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartObjectBehaviorAction-multiplicity_of_object" name="multiplicity_of_object">
<constrainedElement xmi:idref="StartObjectBehaviorAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-multiplicity_of_object-_ownedComment.0" body="The multiplicity of the object InputPin must be 1..1.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-multiplicity_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartObjectBehaviorAction-multiplicity_of_object-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartObjectBehaviorAction-type_of_object" name="type_of_object">
<constrainedElement xmi:idref="StartObjectBehaviorAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-type_of_object-_ownedComment.0" body="The type of the object InputPin must be either a Behavior or a BehavioredClassifier with a classifierBehavior.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-type_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartObjectBehaviorAction-type_of_object-_specification">
<body>self.behavior()<>null</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartObjectBehaviorAction-no_onport" name="no_onport">
<constrainedElement xmi:idref="StartObjectBehaviorAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-no_onport-_ownedComment.0" body="A StartObjectBehaviorAction may not specify onPort.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-no_onport"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartObjectBehaviorAction-no_onport-_specification">
<body>onPort->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="StartObjectBehaviorAction-_generalization.0" general="CallAction"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StartObjectBehaviorAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_startObjectBehaviorAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-object-_ownedComment.0" body="An InputPin that holds the object that is either a Behavior to be started or has a classifierBehavior to be started.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="StartObjectBehaviorAction-outputParameters" name="outputParameters" isQuery="true" bodyCondition="StartObjectBehaviorAction-outputParameters-spec">
<redefinedOperation xmi:idref="CallAction-outputParameters"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-outputParameters-_ownedComment.0" body="Return the inout, out and return ownedParameters of the Behavior being called.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-outputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartObjectBehaviorAction-outputParameters-spec" name="spec">
<constrainedElement xmi:idref="StartObjectBehaviorAction-outputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartObjectBehaviorAction-outputParameters-spec-_specification">
<body>result = (self.behavior().outputParameters())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StartObjectBehaviorAction-outputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StartObjectBehaviorAction-outputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StartObjectBehaviorAction-outputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StartObjectBehaviorAction-inputParameters" name="inputParameters" isQuery="true" bodyCondition="StartObjectBehaviorAction-inputParameters-spec">
<redefinedOperation xmi:idref="CallAction-inputParameters"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-inputParameters-_ownedComment.0" body="Return the in and inout ownedParameters of the Behavior being called.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-inputParameters"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartObjectBehaviorAction-inputParameters-spec" name="spec">
<constrainedElement xmi:idref="StartObjectBehaviorAction-inputParameters"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartObjectBehaviorAction-inputParameters-spec-_specification">
<body>result = (self.behavior().inputParameters())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StartObjectBehaviorAction-inputParameters-result" isOrdered="true" name="result" direction="return" type="Parameter">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StartObjectBehaviorAction-inputParameters-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StartObjectBehaviorAction-inputParameters-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StartObjectBehaviorAction-behavior" name="behavior" isQuery="true" bodyCondition="StartObjectBehaviorAction-behavior-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StartObjectBehaviorAction-behavior-_ownedComment.0" body="If the type of the object InputPin is a Behavior, then that Behavior. Otherwise, if the type of the object InputPin is a BehavioredClassifier, then the classifierBehavior of that BehavioredClassifier.">
<annotatedElement xmi:idref="StartObjectBehaviorAction-behavior"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StartObjectBehaviorAction-behavior-spec" name="spec">
<constrainedElement xmi:idref="StartObjectBehaviorAction-behavior"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StartObjectBehaviorAction-behavior-spec-_specification">
<body>result = (if object.type.oclIsKindOf(Behavior) then object.type.oclAsType(Behavior) else if object.type.oclIsKindOf(BehavioredClassifier) then object.type.oclAsType(BehavioredClassifier).classifierBehavior else null endif endif)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StartObjectBehaviorAction-behavior-result" name="result" direction="return" type="Behavior">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StartObjectBehaviorAction-behavior-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StructuralFeatureAction" name="StructuralFeatureAction" isAbstract="true">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-_ownedComment.0" body="StructuralFeatureAction is an abstract class for all Actions that operate on StructuralFeatures.">
<annotatedElement xmi:idref="StructuralFeatureAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuralFeatureAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="StructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-multiplicity-_ownedComment.0" body="The multiplicity of the object InputPin must be 1..1.">
<annotatedElement xmi:idref="StructuralFeatureAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuralFeatureAction-multiplicity-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuralFeatureAction-object_type" name="object_type">
<constrainedElement xmi:idref="StructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-object_type-_ownedComment.0" body="The structuralFeature must either be an owned or inherited feature of the type of the object InputPin, or it must be an owned end of a binary Association whose opposite end had as a type to which the type of the object InputPin conforms.">
<annotatedElement xmi:idref="StructuralFeatureAction-object_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuralFeatureAction-object_type-_specification">
<body>object.type.oclAsType(Classifier).allFeatures()->includes(structuralFeature) or object.type.conformsTo(structuralFeature.oclAsType(Property).opposite.type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuralFeatureAction-visibility" name="visibility">
<constrainedElement xmi:idref="StructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-visibility-_ownedComment.0" body="The visibility of the structuralFeature must allow access from the object performing the ReadStructuralFeatureAction.">
<annotatedElement xmi:idref="StructuralFeatureAction-visibility"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuralFeatureAction-visibility-_specification">
<body>structuralFeature.visibility = VisibilityKind::public or _'context'.allFeatures()->includes(structuralFeature) or structuralFeature.visibility=VisibilityKind::protected and _'context'.conformsTo(structuralFeature.oclAsType(Property).opposite.type.oclAsType(Classifier)) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuralFeatureAction-not_static" name="not_static">
<constrainedElement xmi:idref="StructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-not_static-_ownedComment.0" body="The structuralFeature must not be static.">
<annotatedElement xmi:idref="StructuralFeatureAction-not_static"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuralFeatureAction-not_static-_specification">
<body>not structuralFeature.isStatic</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuralFeatureAction-one_featuring_classifier" name="one_featuring_classifier">
<constrainedElement xmi:idref="StructuralFeatureAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-one_featuring_classifier-_ownedComment.0" body="The structuralFeature must have exactly one featuringClassifier.">
<annotatedElement xmi:idref="StructuralFeatureAction-one_featuring_classifier"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuralFeatureAction-one_featuring_classifier-_specification">
<body>structuralFeature.featuringClassifier->size() = 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="StructuralFeatureAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuralFeatureAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_structuralFeatureAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-object-_ownedComment.0" body="The InputPin from which the object whose StructuralFeature is to be read or written is obtained.">
<annotatedElement xmi:idref="StructuralFeatureAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuralFeatureAction-structuralFeature" name="structuralFeature" type="StructuralFeature" association="A_structuralFeature_structuralFeatureAction">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuralFeatureAction-structuralFeature-_ownedComment.0" body="The StructuralFeature to be read or written.">
<annotatedElement xmi:idref="StructuralFeatureAction-structuralFeature"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="StructuredActivityNode" name="StructuredActivityNode">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-_ownedComment.0" body="A StructuredActivityNode is an Action that is also an ActivityGroup and whose behavior is specified by the ActivityNodes and ActivityEdges it so contains. Unlike other kinds of ActivityGroup, a StructuredActivityNode owns the ActivityNodes and ActivityEdges it contains, and so a node or edge can only be directly contained in one StructuredActivityNode, though StructuredActivityNodes may be nested.">
<annotatedElement xmi:idref="StructuredActivityNode"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-output_pin_edges" name="output_pin_edges">
<constrainedElement xmi:idref="StructuredActivityNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-output_pin_edges-_ownedComment.0" body="The outgoing ActivityEdges of the OutputPins of a StructuredActivityNode must have targets that are not within the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-output_pin_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-output_pin_edges-_specification">
<body>output.outgoing.target->excludesAll(allOwnedNodes()-input)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-edges" name="edges">
<constrainedElement xmi:idref="StructuredActivityNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-edges-_ownedComment.0" body="The edges of a StructuredActivityNode are all the ActivityEdges with source and target ActivityNodes contained directly or indirectly within the StructuredActivityNode and at least one of the source or target not contained in any more deeply nested StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-edges-_specification">
<body>edge=self.sourceNodes().outgoing->intersection(self.allOwnedNodes().incoming)-> union(self.targetNodes().incoming->intersection(self.allOwnedNodes().outgoing))->asSet()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-input_pin_edges" name="input_pin_edges">
<constrainedElement xmi:idref="StructuredActivityNode"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-input_pin_edges-_ownedComment.0" body="The incoming ActivityEdges of an InputPin of a StructuredActivityNode must have sources that are not within the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-input_pin_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-input_pin_edges-_specification">
<body>input.incoming.source->excludesAll(allOwnedNodes()-output)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="StructuredActivityNode-_generalization.0" general="Namespace"/>
<generalization xmi:type="uml:Generalization" xmi:id="StructuredActivityNode-_generalization.2" general="ActivityGroup"/>
<generalization xmi:type="uml:Generalization" xmi:id="StructuredActivityNode-_generalization.1" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-activity" name="activity" type="Activity" association="A_structuredNode_activity">
<redefinedProperty xmi:idref="ActivityGroup-inActivity"/>
<redefinedProperty xmi:idref="ActivityNode-activity"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-activity-_ownedComment.0" body="The Activity immediately containing the StructuredActivityNode, if it is not contained in another StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-activity"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-activity-_lowerValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-edge" name="edge" aggregation="composite" type="ActivityEdge" association="A_edge_inStructuredNode">
<subsettedProperty xmi:idref="ActivityGroup-containedEdge"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-edge-_ownedComment.0" body="The ActivityEdges immediately contained in the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-edge"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-edge-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-edge-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-mustIsolate" name="mustIsolate">
<type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-mustIsolate-_ownedComment.0" body="If true, then any object used by an Action within the StructuredActivityNode cannot be accessed by any Action outside the node until the StructuredActivityNode as a whole completes. Any concurrent Actions that would result in accessing such objects are required to have their execution deferred until the completion of the StructuredActivityNode. ">
<annotatedElement xmi:idref="StructuredActivityNode-mustIsolate"/>
</ownedComment>
<defaultValue xmi:type="uml:LiteralBoolean" xmi:id="StructuredActivityNode-mustIsolate-_defaultValue"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-node" name="node" aggregation="composite" type="ActivityNode" association="A_node_inStructuredNode">
<subsettedProperty xmi:idref="ActivityGroup-containedNode"/>
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-node-_ownedComment.0" body="The ActivityNodes immediately contained in the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-node"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-node-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-node-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-structuredNodeInput" name="structuredNodeInput" aggregation="composite" type="InputPin" association="A_structuredNodeInput_structuredActivityNode">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-structuredNodeInput-_ownedComment.0" body="The InputPins owned by the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-structuredNodeInput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-structuredNodeInput-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-structuredNodeInput-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-structuredNodeOutput" name="structuredNodeOutput" aggregation="composite" type="OutputPin" association="A_structuredNodeOutput_structuredActivityNode">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-structuredNodeOutput-_ownedComment.0" body="The OutputPins owned by the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-structuredNodeOutput"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-structuredNodeOutput-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-structuredNodeOutput-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="StructuredActivityNode-variable" name="variable" aggregation="composite" type="Variable" association="A_variable_scope">
<subsettedProperty xmi:idref="Namespace-ownedMember"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-variable-_ownedComment.0" body="The Variables defined in the scope of the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-variable"/>
</ownedComment>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-variable-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-variable-_upperValue" value="*"/>
</ownedAttribute>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredActivityNode-allActions" name="allActions" isQuery="true" bodyCondition="StructuredActivityNode-allActions-spec">
<redefinedOperation xmi:idref="Action-allActions"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-allActions-_ownedComment.0" body="Returns this StructuredActivityNode and all Actions contained in it.">
<annotatedElement xmi:idref="StructuredActivityNode-allActions"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-allActions-spec" name="spec">
<constrainedElement xmi:idref="StructuredActivityNode-allActions"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-allActions-spec-_specification">
<body>result = (node->select(oclIsKindOf(Action)).oclAsType(Action).allActions()->including(self)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredActivityNode-allActions-result" name="result" direction="return" type="Action">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-allActions-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-allActions-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredActivityNode-allOwnedNodes" name="allOwnedNodes" isQuery="true" bodyCondition="StructuredActivityNode-allOwnedNodes-spec">
<redefinedOperation xmi:idref="Action-allOwnedNodes"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-allOwnedNodes-_ownedComment.0" body="Returns all the ActivityNodes contained directly or indirectly within this StructuredActivityNode, in addition to the Pins of the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-allOwnedNodes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-allOwnedNodes-spec" name="spec">
<constrainedElement xmi:idref="StructuredActivityNode-allOwnedNodes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-allOwnedNodes-spec-_specification">
<body>result = (self.Action::allOwnedNodes()->union(node)->union(node->select(oclIsKindOf(Action)).oclAsType(Action).allOwnedNodes())->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredActivityNode-allOwnedNodes-result" name="result" direction="return" type="ActivityNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-allOwnedNodes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-allOwnedNodes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredActivityNode-sourceNodes" name="sourceNodes" isQuery="true" bodyCondition="StructuredActivityNode-sourceNodes-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-sourceNodes-_ownedComment.0" body="Return those ActivityNodes contained immediately within the StructuredActivityNode that may act as sources of edges owned by the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-sourceNodes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-sourceNodes-spec" name="spec">
<constrainedElement xmi:idref="StructuredActivityNode-sourceNodes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-sourceNodes-spec-_specification">
<body>result = (node->union(input.oclAsType(ActivityNode)->asSet())-> union(node->select(oclIsKindOf(Action)).oclAsType(Action).output)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredActivityNode-sourceNodes-result" name="result" direction="return" type="ActivityNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-sourceNodes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-sourceNodes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredActivityNode-targetNodes" name="targetNodes" isQuery="true" bodyCondition="StructuredActivityNode-targetNodes-spec">
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-targetNodes-_ownedComment.0" body="Return those ActivityNodes contained immediately within the StructuredActivityNode that may act as targets of edges owned by the StructuredActivityNode.">
<annotatedElement xmi:idref="StructuredActivityNode-targetNodes"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-targetNodes-spec" name="spec">
<constrainedElement xmi:idref="StructuredActivityNode-targetNodes"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-targetNodes-spec-_specification">
<body>result = (node->union(output.oclAsType(ActivityNode)->asSet())-> union(node->select(oclIsKindOf(Action)).oclAsType(Action).input)->asSet())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredActivityNode-targetNodes-result" name="result" direction="return" type="ActivityNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-targetNodes-result-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="StructuredActivityNode-targetNodes-result-_upperValue" value="*"/>
</ownedParameter>
</ownedOperation>
<ownedOperation xmi:type="uml:Operation" xmi:id="StructuredActivityNode-containingActivity" name="containingActivity" isQuery="true" bodyCondition="StructuredActivityNode-containingActivity-spec">
<redefinedOperation xmi:idref="ActivityGroup-containingActivity"/>
<redefinedOperation xmi:idref="ActivityNode-containingActivity"/>
<ownedComment xmi:type="uml:Comment" xmi:id="StructuredActivityNode-containingActivity-_ownedComment.0" body="The Activity that directly or indirectly contains this StructuredActivityNode (considered as an Action).">
<annotatedElement xmi:idref="StructuredActivityNode-containingActivity"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="StructuredActivityNode-containingActivity-spec" name="spec">
<constrainedElement xmi:idref="StructuredActivityNode-containingActivity"/>
<specification xmi:type="uml:OpaqueExpression" xmi:id="StructuredActivityNode-containingActivity-spec-_specification">
<body>result = (self.Action::containingActivity())</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedParameter xmi:type="uml:Parameter" xmi:id="StructuredActivityNode-containingActivity-result" name="result" direction="return" type="Activity">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="StructuredActivityNode-containingActivity-result-_lowerValue"/>
</ownedParameter>
</ownedOperation>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="TestIdentityAction" name="TestIdentityAction">
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-_ownedComment.0" body="A TestIdentityAction is an Action that tests if two values are identical objects.">
<annotatedElement xmi:idref="TestIdentityAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="TestIdentityAction-multiplicity" name="multiplicity">
<constrainedElement xmi:idref="TestIdentityAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-multiplicity-_ownedComment.0" body="The multiplicity of the InputPins is 1..1.">
<annotatedElement xmi:idref="TestIdentityAction-multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TestIdentityAction-multiplicity-_specification">
<body>first.is(1,1) and second.is(1,1) </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="TestIdentityAction-no_type" name="no_type">
<constrainedElement xmi:idref="TestIdentityAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-no_type-_ownedComment.0" body="The InputPins have no type.">
<annotatedElement xmi:idref="TestIdentityAction-no_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TestIdentityAction-no_type-_specification">
<body>first.type= null and second.type = null </body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="TestIdentityAction-result_is_boolean" name="result_is_boolean">
<constrainedElement xmi:idref="TestIdentityAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-result_is_boolean-_ownedComment.0" body="The type of the result OutputPin is Boolean. ">
<annotatedElement xmi:idref="TestIdentityAction-result_is_boolean"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="TestIdentityAction-result_is_boolean-_specification">
<body>result.type=Boolean</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="TestIdentityAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="TestIdentityAction-first" name="first" aggregation="composite" type="InputPin" association="A_first_testIdentityAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-first-_ownedComment.0" body="The InputPin on which the first input object is placed.">
<annotatedElement xmi:idref="TestIdentityAction-first"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TestIdentityAction-result" name="result" aggregation="composite" type="OutputPin" association="A_result_testIdentityAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-result-_ownedComment.0" body="The OutputPin whose Boolean value indicates whether the two input objects are identical.">
<annotatedElement xmi:idref="TestIdentityAction-result"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="TestIdentityAction-second" name="second" aggregation="composite" type="InputPin" association="A_second_testIdentityAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="TestIdentityAction-second-_ownedComment.0" body="The OutputPin on which the second input object is placed.">
<annotatedElement xmi:idref="TestIdentityAction-second"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="UnmarshallAction" name="UnmarshallAction">
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-_ownedComment.0" body="An UnmarshallAction is an Action that retrieves the values of the StructuralFeatures of an object and places them on OutputPins. ">
<annotatedElement xmi:idref="UnmarshallAction"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="UnmarshallAction-structural_feature" name="structural_feature">
<constrainedElement xmi:idref="UnmarshallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-structural_feature-_ownedComment.0" body="The unmarshallType must have at least one StructuralFeature.">
<annotatedElement xmi:idref="UnmarshallAction-structural_feature"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UnmarshallAction-structural_feature-_specification">
<body>unmarshallType.allAttributes()->size() >= 1</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UnmarshallAction-number_of_result" name="number_of_result">
<constrainedElement xmi:idref="UnmarshallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-number_of_result-_ownedComment.0" body="The number of result outputPins must be the same as the number of attributes of the unmarshallType.">
<annotatedElement xmi:idref="UnmarshallAction-number_of_result"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UnmarshallAction-number_of_result-_specification">
<body>unmarshallType.allAttributes()->size() = result->size()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UnmarshallAction-type_ordering_and_multiplicity" name="type_ordering_and_multiplicity">
<constrainedElement xmi:idref="UnmarshallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-type_ordering_and_multiplicity-_ownedComment.0" body="The type, ordering and multiplicity of each attribute of the unmarshallType must be compatible with the type, ordering and multiplicity of the corresponding result OutputPin.">
<annotatedElement xmi:idref="UnmarshallAction-type_ordering_and_multiplicity"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UnmarshallAction-type_ordering_and_multiplicity-_specification">
<body>let attribute:OrderedSet(Property) = unmarshallType.allAttributes() in Sequence{1..result->size()}->forAll(i | attribute->at(i).type.conformsTo(result->at(i).type) and attribute->at(i).isOrdered=result->at(i).isOrdered and attribute->at(i).compatibleWith(result->at(i)))</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UnmarshallAction-multiplicity_of_object" name="multiplicity_of_object">
<constrainedElement xmi:idref="UnmarshallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-multiplicity_of_object-_ownedComment.0" body="The multiplicity of the object InputPin is 1..1">
<annotatedElement xmi:idref="UnmarshallAction-multiplicity_of_object"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UnmarshallAction-multiplicity_of_object-_specification">
<body>object.is(1,1)</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="UnmarshallAction-object_type" name="object_type">
<constrainedElement xmi:idref="UnmarshallAction"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-object_type-_ownedComment.0" body="The type of the object InputPin conform to the unmarshallType.">
<annotatedElement xmi:idref="UnmarshallAction-object_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="UnmarshallAction-object_type-_specification">
<body>object.type.conformsTo(unmarshallType)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="UnmarshallAction-_generalization.0" general="Action"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="UnmarshallAction-object" name="object" aggregation="composite" type="InputPin" association="A_object_unmarshallAction">
<subsettedProperty xmi:idref="Action-input"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-object-_ownedComment.0" body="The InputPin that gives the object to be unmarshalled.">
<annotatedElement xmi:idref="UnmarshallAction-object"/>
</ownedComment>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="UnmarshallAction-result" name="result" isOrdered="true" aggregation="composite" type="OutputPin" association="A_result_unmarshallAction">
<subsettedProperty xmi:idref="Action-output"/>
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-result-_ownedComment.0" body="The OutputPins on which are placed the values of the StructuralFeatures of the input object.">
<annotatedElement xmi:idref="UnmarshallAction-result"/>
</ownedComment>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="UnmarshallAction-result-_upperValue" value="*"/>
</ownedAttribute>
<ownedAttribute xmi:type="uml:Property" xmi:id="UnmarshallAction-unmarshallType" name="unmarshallType" type="Classifier" association="A_unmarshallType_unmarshallAction">
<ownedComment xmi:type="uml:Comment" xmi:id="UnmarshallAction-unmarshallType-_ownedComment.0" body="The type of the object to be unmarshalled.">
<annotatedElement xmi:idref="UnmarshallAction-unmarshallType"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Class" xmi:id="ValuePin" name="ValuePin">
<ownedComment xmi:type="uml:Comment" xmi:id="ValuePin-_ownedComment.0" body="A ValuePin is an InputPin that provides a value by evaluating a ValueSpecification.">
<annotatedElement xmi:idref="ValuePin"/>
</ownedComment>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValuePin-no_incoming_edges" name="no_incoming_edges">
<constrainedElement xmi:idref="ValuePin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValuePin-no_incoming_edges-_ownedComment.0" body="A ValuePin may have no incoming ActivityEdges.">
<annotatedElement xmi:idref="ValuePin-no_incoming_edges"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValuePin-no_incoming_edges-_specification">
<body>incoming->isEmpty()</body>
<language>OCL</language>
</specification>
</ownedRule>
<ownedRule xmi:type="uml:Constraint" xmi:id="ValuePin-compatible_type" name="compatible_type">
<constrainedElement xmi:idref="ValuePin"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValuePin-compatible_type-_ownedComment.0" body="The type of the value ValueSpecification must conform to the type of the ValuePin.">
<annotatedElement xmi:idref="ValuePin-compatible_type"/>
</ownedComment>
<specification xmi:type="uml:OpaqueExpression" xmi:id="ValuePin-compatible_type-_specification">
<body>value.type.conformsTo(type)</body>
<language>OCL</language>
</specification>
</ownedRule>
<generalization xmi:type="uml:Generalization" xmi:id="ValuePin-_generalization.0" general="InputPin"/>
<ownedAttribute xmi:type="uml:Property" xmi:id="ValuePin-value" name="value" aggregation="composite" type="ValueSpecification" association="A_value_valuePin">
<subsettedProperty xmi:idref="Element-ownedElement"/>
<ownedComment xmi:type="uml:Comment" xmi:id="ValuePin-value-_ownedComment.0" body="The ValueSpecification that is evaluated to obtain the value that the ValuePin will provide.">
<annotatedElement xmi:idref="ValuePin-value"/>
</ownedComment>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_valuePin" name="A_value_valuePin">
<memberEnd xmi:idref="ValuePin-value"/>
<memberEnd xmi:idref="A_value_valuePin-valuePin"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_valuePin-valuePin" name="valuePin" type="ValuePin" association="A_value_valuePin">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_valuePin-valuePin-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_unmarshallAction" name="A_result_unmarshallAction">
<memberEnd xmi:idref="UnmarshallAction-result"/>
<memberEnd xmi:idref="A_result_unmarshallAction-unmarshallAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_unmarshallAction-unmarshallAction" name="unmarshallAction" type="UnmarshallAction" association="A_result_unmarshallAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_unmarshallAction-unmarshallAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_unmarshallType_unmarshallAction" name="A_unmarshallType_unmarshallAction">
<memberEnd xmi:idref="UnmarshallAction-unmarshallType"/>
<memberEnd xmi:idref="A_unmarshallType_unmarshallAction-unmarshallAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_unmarshallType_unmarshallAction-unmarshallAction" name="unmarshallAction" type="UnmarshallAction" association="A_unmarshallType_unmarshallAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_unmarshallType_unmarshallAction-unmarshallAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_unmarshallType_unmarshallAction-unmarshallAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_unmarshallAction" name="A_object_unmarshallAction">
<memberEnd xmi:idref="UnmarshallAction-object"/>
<memberEnd xmi:idref="A_object_unmarshallAction-unmarshallAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_unmarshallAction-unmarshallAction" name="unmarshallAction" type="UnmarshallAction" association="A_object_unmarshallAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_unmarshallAction-unmarshallAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_first_testIdentityAction" name="A_first_testIdentityAction">
<memberEnd xmi:idref="TestIdentityAction-first"/>
<memberEnd xmi:idref="A_first_testIdentityAction-testIdentityAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_first_testIdentityAction-testIdentityAction" name="testIdentityAction" type="TestIdentityAction" association="A_first_testIdentityAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_first_testIdentityAction-testIdentityAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_second_testIdentityAction" name="A_second_testIdentityAction">
<memberEnd xmi:idref="TestIdentityAction-second"/>
<memberEnd xmi:idref="A_second_testIdentityAction-testIdentityAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_second_testIdentityAction-testIdentityAction" name="testIdentityAction" type="TestIdentityAction" association="A_second_testIdentityAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_second_testIdentityAction-testIdentityAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_testIdentityAction" name="A_result_testIdentityAction">
<memberEnd xmi:idref="TestIdentityAction-result"/>
<memberEnd xmi:idref="A_result_testIdentityAction-testIdentityAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_testIdentityAction-testIdentityAction" name="testIdentityAction" type="TestIdentityAction" association="A_result_testIdentityAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_testIdentityAction-testIdentityAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_structuredNodeOutput_structuredActivityNode" name="A_structuredNodeOutput_structuredActivityNode">
<memberEnd xmi:idref="StructuredActivityNode-structuredNodeOutput"/>
<memberEnd xmi:idref="A_structuredNodeOutput_structuredActivityNode-structuredActivityNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_structuredNodeOutput_structuredActivityNode-structuredActivityNode" name="structuredActivityNode" type="StructuredActivityNode" association="A_structuredNodeOutput_structuredActivityNode">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_structuredNodeOutput_structuredActivityNode-structuredActivityNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_structuredNodeInput_structuredActivityNode" name="A_structuredNodeInput_structuredActivityNode">
<memberEnd xmi:idref="StructuredActivityNode-structuredNodeInput"/>
<memberEnd xmi:idref="A_structuredNodeInput_structuredActivityNode-structuredActivityNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_structuredNodeInput_structuredActivityNode-structuredActivityNode" name="structuredActivityNode" type="StructuredActivityNode" association="A_structuredNodeInput_structuredActivityNode">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_structuredNodeInput_structuredActivityNode-structuredActivityNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_edge_inStructuredNode" name="A_edge_inStructuredNode">
<memberEnd xmi:idref="StructuredActivityNode-edge"/>
<memberEnd xmi:idref="ActivityEdge-inStructuredNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_node_inStructuredNode" name="A_node_inStructuredNode">
<memberEnd xmi:idref="StructuredActivityNode-node"/>
<memberEnd xmi:idref="ActivityNode-inStructuredNode"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_variable_scope" name="A_variable_scope">
<memberEnd xmi:idref="StructuredActivityNode-variable"/>
<memberEnd xmi:idref="Variable-scope"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_structuralFeatureAction" name="A_object_structuralFeatureAction">
<memberEnd xmi:idref="StructuralFeatureAction-object"/>
<memberEnd xmi:idref="A_object_structuralFeatureAction-structuralFeatureAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_structuralFeatureAction-structuralFeatureAction" name="structuralFeatureAction" type="StructuralFeatureAction" association="A_object_structuralFeatureAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_structuralFeatureAction-structuralFeatureAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_structuralFeature_structuralFeatureAction" name="A_structuralFeature_structuralFeatureAction">
<memberEnd xmi:idref="StructuralFeatureAction-structuralFeature"/>
<memberEnd xmi:idref="A_structuralFeature_structuralFeatureAction-structuralFeatureAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_structuralFeature_structuralFeatureAction-structuralFeatureAction" name="structuralFeatureAction" type="StructuralFeatureAction" association="A_structuralFeature_structuralFeatureAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_structuralFeature_structuralFeatureAction-structuralFeatureAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_structuralFeature_structuralFeatureAction-structuralFeatureAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_startObjectBehaviorAction" name="A_object_startObjectBehaviorAction">
<memberEnd xmi:idref="StartObjectBehaviorAction-object"/>
<memberEnd xmi:idref="A_object_startObjectBehaviorAction-startObjectBehaviorAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_startObjectBehaviorAction-startObjectBehaviorAction" name="startObjectBehaviorAction" type="StartObjectBehaviorAction" association="A_object_startObjectBehaviorAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_startObjectBehaviorAction-startObjectBehaviorAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_startClassifierBehaviorAction" name="A_object_startClassifierBehaviorAction">
<memberEnd xmi:idref="StartClassifierBehaviorAction-object"/>
<memberEnd xmi:idref="A_object_startClassifierBehaviorAction-startClassifierBehaviorAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_startClassifierBehaviorAction-startClassifierBehaviorAction" name="startClassifierBehaviorAction" type="StartClassifierBehaviorAction" association="A_object_startClassifierBehaviorAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_startClassifierBehaviorAction-startClassifierBehaviorAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_executableNode_sequenceNode" name="A_executableNode_sequenceNode">
<memberEnd xmi:idref="SequenceNode-executableNode"/>
<memberEnd xmi:idref="A_executableNode_sequenceNode-sequenceNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_executableNode_sequenceNode-sequenceNode" name="sequenceNode" type="SequenceNode" association="A_executableNode_sequenceNode">
<subsettedProperty xmi:idref="ActivityNode-inStructuredNode"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_executableNode_sequenceNode-sequenceNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_signal_sendSignalAction" name="A_signal_sendSignalAction">
<memberEnd xmi:idref="SendSignalAction-signal"/>
<memberEnd xmi:idref="A_signal_sendSignalAction-sendSignalAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_signal_sendSignalAction-sendSignalAction" name="sendSignalAction" type="SendSignalAction" association="A_signal_sendSignalAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_signal_sendSignalAction-sendSignalAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_signal_sendSignalAction-sendSignalAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_target_sendSignalAction" name="A_target_sendSignalAction">
<memberEnd xmi:idref="SendSignalAction-target"/>
<memberEnd xmi:idref="A_target_sendSignalAction-sendSignalAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_target_sendSignalAction-sendSignalAction" name="sendSignalAction" type="SendSignalAction" association="A_target_sendSignalAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_target_sendSignalAction-sendSignalAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_request_sendObjectAction" name="A_request_sendObjectAction">
<memberEnd xmi:idref="SendObjectAction-request"/>
<memberEnd xmi:idref="A_request_sendObjectAction-sendObjectAction"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_request_sendObjectAction-_generalization.0" general="A_argument_invocationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_request_sendObjectAction-sendObjectAction" name="sendObjectAction" type="SendObjectAction" association="A_request_sendObjectAction">
<redefinedProperty xmi:idref="A_argument_invocationAction-invocationAction"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_request_sendObjectAction-sendObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_target_sendObjectAction" name="A_target_sendObjectAction">
<memberEnd xmi:idref="SendObjectAction-target"/>
<memberEnd xmi:idref="A_target_sendObjectAction-sendObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_target_sendObjectAction-sendObjectAction" name="sendObjectAction" type="SendObjectAction" association="A_target_sendObjectAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_target_sendObjectAction-sendObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_returnInformation_replyAction" name="A_returnInformation_replyAction">
<memberEnd xmi:idref="ReplyAction-returnInformation"/>
<memberEnd xmi:idref="A_returnInformation_replyAction-replyAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_returnInformation_replyAction-replyAction" name="replyAction" type="ReplyAction" association="A_returnInformation_replyAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_returnInformation_replyAction-replyAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_replyToCall_replyAction" name="A_replyToCall_replyAction">
<memberEnd xmi:idref="ReplyAction-replyToCall"/>
<memberEnd xmi:idref="A_replyToCall_replyAction-replyAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_replyToCall_replyAction-replyAction" name="replyAction" type="ReplyAction" association="A_replyToCall_replyAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_replyToCall_replyAction-replyAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_replyValue_replyAction" name="A_replyValue_replyAction">
<memberEnd xmi:idref="ReplyAction-replyValue"/>
<memberEnd xmi:idref="A_replyValue_replyAction-replyAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_replyValue_replyAction-replyAction" name="replyAction" type="ReplyAction" association="A_replyValue_replyAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_replyValue_replyAction-replyAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_removeAt_removeVariableValueAction" name="A_removeAt_removeVariableValueAction">
<memberEnd xmi:idref="RemoveVariableValueAction-removeAt"/>
<memberEnd xmi:idref="A_removeAt_removeVariableValueAction-removeVariableValueAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_removeAt_removeVariableValueAction-removeVariableValueAction" name="removeVariableValueAction" type="RemoveVariableValueAction" association="A_removeAt_removeVariableValueAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_removeAt_removeVariableValueAction-removeVariableValueAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_removeAt_removeStructuralFeatureValueAction" name="A_removeAt_removeStructuralFeatureValueAction">
<memberEnd xmi:idref="RemoveStructuralFeatureValueAction-removeAt"/>
<memberEnd xmi:idref="A_removeAt_removeStructuralFeatureValueAction-removeStructuralFeatureValueAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_removeAt_removeStructuralFeatureValueAction-removeStructuralFeatureValueAction" name="removeStructuralFeatureValueAction" type="RemoveStructuralFeatureValueAction" association="A_removeAt_removeStructuralFeatureValueAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_removeAt_removeStructuralFeatureValueAction-removeStructuralFeatureValueAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_collection_reduceAction" name="A_collection_reduceAction">
<memberEnd xmi:idref="ReduceAction-collection"/>
<memberEnd xmi:idref="A_collection_reduceAction-reduceAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_collection_reduceAction-reduceAction" name="reduceAction" type="ReduceAction" association="A_collection_reduceAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_collection_reduceAction-reduceAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_reducer_reduceAction" name="A_reducer_reduceAction">
<memberEnd xmi:idref="ReduceAction-reducer"/>
<memberEnd xmi:idref="A_reducer_reduceAction-reduceAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_reducer_reduceAction-reduceAction" name="reduceAction" type="ReduceAction" association="A_reducer_reduceAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_reducer_reduceAction-reduceAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_reducer_reduceAction-reduceAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_reduceAction" name="A_result_reduceAction">
<memberEnd xmi:idref="ReduceAction-result"/>
<memberEnd xmi:idref="A_result_reduceAction-reduceAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_reduceAction-reduceAction" name="reduceAction" type="ReduceAction" association="A_result_reduceAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_reduceAction-reduceAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_reclassifyObjectAction" name="A_object_reclassifyObjectAction">
<memberEnd xmi:idref="ReclassifyObjectAction-object"/>
<memberEnd xmi:idref="A_object_reclassifyObjectAction-reclassifyObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_reclassifyObjectAction-reclassifyObjectAction" name="reclassifyObjectAction" type="ReclassifyObjectAction" association="A_object_reclassifyObjectAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_reclassifyObjectAction-reclassifyObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_newClassifier_reclassifyObjectAction" name="A_newClassifier_reclassifyObjectAction">
<memberEnd xmi:idref="ReclassifyObjectAction-newClassifier"/>
<memberEnd xmi:idref="A_newClassifier_reclassifyObjectAction-reclassifyObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_newClassifier_reclassifyObjectAction-reclassifyObjectAction" name="reclassifyObjectAction" type="ReclassifyObjectAction" association="A_newClassifier_reclassifyObjectAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_newClassifier_reclassifyObjectAction-reclassifyObjectAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_newClassifier_reclassifyObjectAction-reclassifyObjectAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_oldClassifier_reclassifyObjectAction" name="A_oldClassifier_reclassifyObjectAction">
<memberEnd xmi:idref="ReclassifyObjectAction-oldClassifier"/>
<memberEnd xmi:idref="A_oldClassifier_reclassifyObjectAction-reclassifyObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_oldClassifier_reclassifyObjectAction-reclassifyObjectAction" name="reclassifyObjectAction" type="ReclassifyObjectAction" association="A_oldClassifier_reclassifyObjectAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_oldClassifier_reclassifyObjectAction-reclassifyObjectAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_oldClassifier_reclassifyObjectAction-reclassifyObjectAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readVariableAction" name="A_result_readVariableAction">
<memberEnd xmi:idref="ReadVariableAction-result"/>
<memberEnd xmi:idref="A_result_readVariableAction-readVariableAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readVariableAction-readVariableAction" name="readVariableAction" type="ReadVariableAction" association="A_result_readVariableAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readVariableAction-readVariableAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readStructuralFeatureAction" name="A_result_readStructuralFeatureAction">
<memberEnd xmi:idref="ReadStructuralFeatureAction-result"/>
<memberEnd xmi:idref="A_result_readStructuralFeatureAction-readStructuralFeatureAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readStructuralFeatureAction-readStructuralFeatureAction" name="readStructuralFeatureAction" type="ReadStructuralFeatureAction" association="A_result_readStructuralFeatureAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readStructuralFeatureAction-readStructuralFeatureAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readSelfAction" name="A_result_readSelfAction">
<memberEnd xmi:idref="ReadSelfAction-result"/>
<memberEnd xmi:idref="A_result_readSelfAction-readSelfAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readSelfAction-readSelfAction" name="readSelfAction" type="ReadSelfAction" association="A_result_readSelfAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readSelfAction-readSelfAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_qualifier_readLinkObjectEndQualifierAction" name="A_qualifier_readLinkObjectEndQualifierAction">
<memberEnd xmi:idref="ReadLinkObjectEndQualifierAction-qualifier"/>
<memberEnd xmi:idref="A_qualifier_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_qualifier_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction" name="readLinkObjectEndQualifierAction" type="ReadLinkObjectEndQualifierAction" association="A_qualifier_readLinkObjectEndQualifierAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_qualifier_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_readLinkObjectEndQualifierAction" name="A_object_readLinkObjectEndQualifierAction">
<memberEnd xmi:idref="ReadLinkObjectEndQualifierAction-object"/>
<memberEnd xmi:idref="A_object_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction" name="readLinkObjectEndQualifierAction" type="ReadLinkObjectEndQualifierAction" association="A_object_readLinkObjectEndQualifierAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readLinkObjectEndQualifierAction" name="A_result_readLinkObjectEndQualifierAction">
<memberEnd xmi:idref="ReadLinkObjectEndQualifierAction-result"/>
<memberEnd xmi:idref="A_result_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction" name="readLinkObjectEndQualifierAction" type="ReadLinkObjectEndQualifierAction" association="A_result_readLinkObjectEndQualifierAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readLinkObjectEndQualifierAction-readLinkObjectEndQualifierAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_readLinkObjectEndAction" name="A_object_readLinkObjectEndAction">
<memberEnd xmi:idref="ReadLinkObjectEndAction-object"/>
<memberEnd xmi:idref="A_object_readLinkObjectEndAction-readLinkObjectEndAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_readLinkObjectEndAction-readLinkObjectEndAction" name="readLinkObjectEndAction" type="ReadLinkObjectEndAction" association="A_object_readLinkObjectEndAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_readLinkObjectEndAction-readLinkObjectEndAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_end_readLinkObjectEndAction" name="A_end_readLinkObjectEndAction">
<memberEnd xmi:idref="ReadLinkObjectEndAction-end"/>
<memberEnd xmi:idref="A_end_readLinkObjectEndAction-readLinkObjectEndAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_end_readLinkObjectEndAction-readLinkObjectEndAction" name="readLinkObjectEndAction" type="ReadLinkObjectEndAction" association="A_end_readLinkObjectEndAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_end_readLinkObjectEndAction-readLinkObjectEndAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readLinkObjectEndAction" name="A_result_readLinkObjectEndAction">
<memberEnd xmi:idref="ReadLinkObjectEndAction-result"/>
<memberEnd xmi:idref="A_result_readLinkObjectEndAction-readLinkObjectEndAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readLinkObjectEndAction-readLinkObjectEndAction" name="readLinkObjectEndAction" type="ReadLinkObjectEndAction" association="A_result_readLinkObjectEndAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readLinkObjectEndAction-readLinkObjectEndAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readLinkAction" name="A_result_readLinkAction">
<memberEnd xmi:idref="ReadLinkAction-result"/>
<memberEnd xmi:idref="A_result_readLinkAction-readLinkAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readLinkAction-readLinkAction" name="readLinkAction" type="ReadLinkAction" association="A_result_readLinkAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readLinkAction-readLinkAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifier_readIsClassifiedObjectAction" name="A_classifier_readIsClassifiedObjectAction">
<memberEnd xmi:idref="ReadIsClassifiedObjectAction-classifier"/>
<memberEnd xmi:idref="A_classifier_readIsClassifiedObjectAction-readIsClassifiedObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_classifier_readIsClassifiedObjectAction-readIsClassifiedObjectAction" name="readIsClassifiedObjectAction" type="ReadIsClassifiedObjectAction" association="A_classifier_readIsClassifiedObjectAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_classifier_readIsClassifiedObjectAction-readIsClassifiedObjectAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_classifier_readIsClassifiedObjectAction-readIsClassifiedObjectAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readIsClassifiedObjectAction" name="A_result_readIsClassifiedObjectAction">
<memberEnd xmi:idref="ReadIsClassifiedObjectAction-result"/>
<memberEnd xmi:idref="A_result_readIsClassifiedObjectAction-readIsClassifiedObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readIsClassifiedObjectAction-readIsClassifiedObjectAction" name="readIsClassifiedObjectAction" type="ReadIsClassifiedObjectAction" association="A_result_readIsClassifiedObjectAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readIsClassifiedObjectAction-readIsClassifiedObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_readIsClassifiedObjectAction" name="A_object_readIsClassifiedObjectAction">
<memberEnd xmi:idref="ReadIsClassifiedObjectAction-object"/>
<memberEnd xmi:idref="A_object_readIsClassifiedObjectAction-readIsClassifiedObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_readIsClassifiedObjectAction-readIsClassifiedObjectAction" name="readIsClassifiedObjectAction" type="ReadIsClassifiedObjectAction" association="A_object_readIsClassifiedObjectAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_readIsClassifiedObjectAction-readIsClassifiedObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_readExtentAction" name="A_result_readExtentAction">
<memberEnd xmi:idref="ReadExtentAction-result"/>
<memberEnd xmi:idref="A_result_readExtentAction-readExtentAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_readExtentAction-readExtentAction" name="readExtentAction" type="ReadExtentAction" association="A_result_readExtentAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_readExtentAction-readExtentAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifier_readExtentAction" name="A_classifier_readExtentAction">
<memberEnd xmi:idref="ReadExtentAction-classifier"/>
<memberEnd xmi:idref="A_classifier_readExtentAction-readExtentAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_classifier_readExtentAction-readExtentAction" name="readExtentAction" type="ReadExtentAction" association="A_classifier_readExtentAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_classifier_readExtentAction-readExtentAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_exception_raiseExceptionAction" name="A_exception_raiseExceptionAction">
<memberEnd xmi:idref="RaiseExceptionAction-exception"/>
<memberEnd xmi:idref="A_exception_raiseExceptionAction-raiseExceptionAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_exception_raiseExceptionAction-raiseExceptionAction" name="raiseExceptionAction" type="RaiseExceptionAction" association="A_exception_raiseExceptionAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_exception_raiseExceptionAction-raiseExceptionAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_qualifier_qualifierValue" name="A_qualifier_qualifierValue">
<memberEnd xmi:idref="QualifierValue-qualifier"/>
<memberEnd xmi:idref="A_qualifier_qualifierValue-qualifierValue"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_qualifier_qualifierValue-qualifierValue" name="qualifierValue" type="QualifierValue" association="A_qualifier_qualifierValue">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_qualifier_qualifierValue-qualifierValue-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_qualifier_qualifierValue-qualifierValue-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_qualifierValue" name="A_value_qualifierValue">
<memberEnd xmi:idref="QualifierValue-value"/>
<memberEnd xmi:idref="A_value_qualifierValue-qualifierValue"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_qualifierValue-qualifierValue" name="qualifierValue" type="QualifierValue" association="A_value_qualifierValue">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_qualifierValue-qualifierValue-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_outputValue_opaqueAction" name="A_outputValue_opaqueAction">
<memberEnd xmi:idref="OpaqueAction-outputValue"/>
<memberEnd xmi:idref="A_outputValue_opaqueAction-opaqueAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_outputValue_opaqueAction-opaqueAction" name="opaqueAction" type="OpaqueAction" association="A_outputValue_opaqueAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_outputValue_opaqueAction-opaqueAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inputValue_opaqueAction" name="A_inputValue_opaqueAction">
<memberEnd xmi:idref="OpaqueAction-inputValue"/>
<memberEnd xmi:idref="A_inputValue_opaqueAction-opaqueAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_inputValue_opaqueAction-opaqueAction" name="opaqueAction" type="OpaqueAction" association="A_inputValue_opaqueAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_inputValue_opaqueAction-opaqueAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_setupPart_loopNode" name="A_setupPart_loopNode">
<memberEnd xmi:idref="LoopNode-setupPart"/>
<memberEnd xmi:idref="A_setupPart_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_setupPart_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_setupPart_loopNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_setupPart_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_bodyPart_loopNode" name="A_bodyPart_loopNode">
<memberEnd xmi:idref="LoopNode-bodyPart"/>
<memberEnd xmi:idref="A_bodyPart_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_bodyPart_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_bodyPart_loopNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_bodyPart_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_loopVariable_loopNode" name="A_loopVariable_loopNode">
<memberEnd xmi:idref="LoopNode-loopVariable"/>
<memberEnd xmi:idref="A_loopVariable_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_loopVariable_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_loopVariable_loopNode">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_loopVariable_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_loopNode" name="A_result_loopNode">
<memberEnd xmi:idref="LoopNode-result"/>
<memberEnd xmi:idref="A_result_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_result_loopNode">
<subsettedProperty xmi:idref="A_structuredNodeOutput_structuredActivityNode-structuredActivityNode"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_bodyOutput_loopNode" name="A_bodyOutput_loopNode">
<memberEnd xmi:idref="LoopNode-bodyOutput"/>
<memberEnd xmi:idref="A_bodyOutput_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_bodyOutput_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_bodyOutput_loopNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_bodyOutput_loopNode-loopNode-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_bodyOutput_loopNode-loopNode-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_loopVariableInput_loopNode" name="A_loopVariableInput_loopNode">
<memberEnd xmi:idref="LoopNode-loopVariableInput"/>
<memberEnd xmi:idref="A_loopVariableInput_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_loopVariableInput_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_loopVariableInput_loopNode">
<subsettedProperty xmi:idref="A_structuredNodeInput_structuredActivityNode-structuredActivityNode"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_loopVariableInput_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_test_loopNode" name="A_test_loopNode">
<memberEnd xmi:idref="LoopNode-test"/>
<memberEnd xmi:idref="A_test_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_test_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_test_loopNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_test_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_decider_loopNode" name="A_decider_loopNode">
<memberEnd xmi:idref="LoopNode-decider"/>
<memberEnd xmi:idref="A_decider_loopNode-loopNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_decider_loopNode-loopNode" name="loopNode" type="LoopNode" association="A_decider_loopNode">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_decider_loopNode-loopNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_destroyAt_linkEndDestructionData" name="A_destroyAt_linkEndDestructionData">
<memberEnd xmi:idref="LinkEndDestructionData-destroyAt"/>
<memberEnd xmi:idref="A_destroyAt_linkEndDestructionData-linkEndDestructionData"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_destroyAt_linkEndDestructionData-linkEndDestructionData" name="linkEndDestructionData" type="LinkEndDestructionData" association="A_destroyAt_linkEndDestructionData">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_destroyAt_linkEndDestructionData-linkEndDestructionData-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_linkEndData" name="A_value_linkEndData">
<memberEnd xmi:idref="LinkEndData-value"/>
<memberEnd xmi:idref="A_value_linkEndData-linkEndData"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_linkEndData-linkEndData" name="linkEndData" type="LinkEndData" association="A_value_linkEndData">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_linkEndData-linkEndData-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_end_linkEndData" name="A_end_linkEndData">
<memberEnd xmi:idref="LinkEndData-end"/>
<memberEnd xmi:idref="A_end_linkEndData-linkEndData"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_end_linkEndData-linkEndData" name="linkEndData" type="LinkEndData" association="A_end_linkEndData">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_end_linkEndData-linkEndData-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_end_linkEndData-linkEndData-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_qualifier_linkEndData" name="A_qualifier_linkEndData">
<memberEnd xmi:idref="LinkEndData-qualifier"/>
<memberEnd xmi:idref="A_qualifier_linkEndData-linkEndData"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_qualifier_linkEndData-linkEndData" name="linkEndData" type="LinkEndData" association="A_qualifier_linkEndData">
<subsettedProperty xmi:idref="Element-owner"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_insertAt_linkEndCreationData" name="A_insertAt_linkEndCreationData">
<memberEnd xmi:idref="LinkEndCreationData-insertAt"/>
<memberEnd xmi:idref="A_insertAt_linkEndCreationData-linkEndCreationData"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_insertAt_linkEndCreationData-linkEndCreationData" name="linkEndCreationData" type="LinkEndCreationData" association="A_insertAt_linkEndCreationData">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_insertAt_linkEndCreationData-linkEndCreationData-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inputValue_linkAction" name="A_inputValue_linkAction">
<memberEnd xmi:idref="LinkAction-inputValue"/>
<memberEnd xmi:idref="A_inputValue_linkAction-linkAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_inputValue_linkAction-linkAction" name="linkAction" type="LinkAction" association="A_inputValue_linkAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_inputValue_linkAction-linkAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_endData_linkAction" name="A_endData_linkAction">
<memberEnd xmi:idref="LinkAction-endData"/>
<memberEnd xmi:idref="A_endData_linkAction-linkAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_endData_linkAction-linkAction" name="linkAction" type="LinkAction" association="A_endData_linkAction">
<subsettedProperty xmi:idref="Element-owner"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_argument_invocationAction" name="A_argument_invocationAction">
<memberEnd xmi:idref="InvocationAction-argument"/>
<memberEnd xmi:idref="A_argument_invocationAction-invocationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_argument_invocationAction-invocationAction" name="invocationAction" type="InvocationAction" association="A_argument_invocationAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_argument_invocationAction-invocationAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_onPort_invocationAction" name="A_onPort_invocationAction">
<memberEnd xmi:idref="InvocationAction-onPort"/>
<memberEnd xmi:idref="A_onPort_invocationAction-invocationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_onPort_invocationAction-invocationAction" name="invocationAction" type="InvocationAction" association="A_onPort_invocationAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_onPort_invocationAction-invocationAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_onPort_invocationAction-invocationAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_inputElement_regionAsInput" name="A_inputElement_regionAsInput">
<memberEnd xmi:idref="ExpansionRegion-inputElement"/>
<memberEnd xmi:idref="ExpansionNode-regionAsInput"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_outputElement_regionAsOutput" name="A_outputElement_regionAsOutput">
<memberEnd xmi:idref="ExpansionRegion-outputElement"/>
<memberEnd xmi:idref="ExpansionNode-regionAsOutput"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_target_destroyObjectAction" name="A_target_destroyObjectAction">
<memberEnd xmi:idref="DestroyObjectAction-target"/>
<memberEnd xmi:idref="A_target_destroyObjectAction-destroyObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_target_destroyObjectAction-destroyObjectAction" name="destroyObjectAction" type="DestroyObjectAction" association="A_target_destroyObjectAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_target_destroyObjectAction-destroyObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_endData_destroyLinkAction" name="A_endData_destroyLinkAction">
<memberEnd xmi:idref="DestroyLinkAction-endData"/>
<memberEnd xmi:idref="A_endData_destroyLinkAction-destroyLinkAction"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_endData_destroyLinkAction-_generalization.0" general="A_endData_linkAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_endData_destroyLinkAction-destroyLinkAction" name="destroyLinkAction" type="DestroyLinkAction" association="A_endData_destroyLinkAction">
<redefinedProperty xmi:idref="A_endData_linkAction-linkAction"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_classifier_createObjectAction" name="A_classifier_createObjectAction">
<memberEnd xmi:idref="CreateObjectAction-classifier"/>
<memberEnd xmi:idref="A_classifier_createObjectAction-createObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_classifier_createObjectAction-createObjectAction" name="createObjectAction" type="CreateObjectAction" association="A_classifier_createObjectAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_classifier_createObjectAction-createObjectAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_classifier_createObjectAction-createObjectAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_createObjectAction" name="A_result_createObjectAction">
<memberEnd xmi:idref="CreateObjectAction-result"/>
<memberEnd xmi:idref="A_result_createObjectAction-createObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_createObjectAction-createObjectAction" name="createObjectAction" type="CreateObjectAction" association="A_result_createObjectAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_createObjectAction-createObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_createLinkObjectAction" name="A_result_createLinkObjectAction">
<memberEnd xmi:idref="CreateLinkObjectAction-result"/>
<memberEnd xmi:idref="A_result_createLinkObjectAction-createLinkObjectAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_createLinkObjectAction-createLinkObjectAction" name="createLinkObjectAction" type="CreateLinkObjectAction" association="A_result_createLinkObjectAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_createLinkObjectAction-createLinkObjectAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_endData_createLinkAction" name="A_endData_createLinkAction">
<memberEnd xmi:idref="CreateLinkAction-endData"/>
<memberEnd xmi:idref="A_endData_createLinkAction-createLinkAction"/>
<generalization xmi:type="uml:Generalization" xmi:id="A_endData_createLinkAction-_generalization.0" general="A_endData_linkAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_endData_createLinkAction-createLinkAction" name="createLinkAction" type="CreateLinkAction" association="A_endData_createLinkAction">
<redefinedProperty xmi:idref="A_endData_linkAction-linkAction"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_clause_conditionalNode" name="A_clause_conditionalNode">
<memberEnd xmi:idref="ConditionalNode-clause"/>
<memberEnd xmi:idref="A_clause_conditionalNode-conditionalNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_clause_conditionalNode-conditionalNode" name="conditionalNode" type="ConditionalNode" association="A_clause_conditionalNode">
<subsettedProperty xmi:idref="Element-owner"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_conditionalNode" name="A_result_conditionalNode">
<memberEnd xmi:idref="ConditionalNode-result"/>
<memberEnd xmi:idref="A_result_conditionalNode-conditionalNode"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_conditionalNode-conditionalNode" name="conditionalNode" type="ConditionalNode" association="A_result_conditionalNode">
<subsettedProperty xmi:idref="A_structuredNodeOutput_structuredActivityNode-structuredActivityNode"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_conditionalNode-conditionalNode-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_clearStructuralFeatureAction" name="A_result_clearStructuralFeatureAction">
<memberEnd xmi:idref="ClearStructuralFeatureAction-result"/>
<memberEnd xmi:idref="A_result_clearStructuralFeatureAction-clearStructuralFeatureAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_clearStructuralFeatureAction-clearStructuralFeatureAction" name="clearStructuralFeatureAction" type="ClearStructuralFeatureAction" association="A_result_clearStructuralFeatureAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_clearStructuralFeatureAction-clearStructuralFeatureAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_object_clearAssociationAction" name="A_object_clearAssociationAction">
<memberEnd xmi:idref="ClearAssociationAction-object"/>
<memberEnd xmi:idref="A_object_clearAssociationAction-clearAssociationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_object_clearAssociationAction-clearAssociationAction" name="clearAssociationAction" type="ClearAssociationAction" association="A_object_clearAssociationAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_object_clearAssociationAction-clearAssociationAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_association_clearAssociationAction" name="A_association_clearAssociationAction">
<memberEnd xmi:idref="ClearAssociationAction-association"/>
<memberEnd xmi:idref="A_association_clearAssociationAction-clearAssociationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_association_clearAssociationAction-clearAssociationAction" name="clearAssociationAction" type="ClearAssociationAction" association="A_association_clearAssociationAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_association_clearAssociationAction-clearAssociationAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_decider_clause" name="A_decider_clause">
<memberEnd xmi:idref="Clause-decider"/>
<memberEnd xmi:idref="A_decider_clause-clause"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_decider_clause-clause" name="clause" type="Clause" association="A_decider_clause">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_decider_clause-clause-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_bodyOutput_clause" name="A_bodyOutput_clause">
<memberEnd xmi:idref="Clause-bodyOutput"/>
<memberEnd xmi:idref="A_bodyOutput_clause-clause"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_bodyOutput_clause-clause" name="clause" type="Clause" association="A_bodyOutput_clause">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_bodyOutput_clause-clause-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_bodyOutput_clause-clause-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_test_clause" name="A_test_clause">
<memberEnd xmi:idref="Clause-test"/>
<memberEnd xmi:idref="A_test_clause-clause"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_test_clause-clause" name="clause" type="Clause" association="A_test_clause">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_test_clause-clause-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_body_clause" name="A_body_clause">
<memberEnd xmi:idref="Clause-body"/>
<memberEnd xmi:idref="A_body_clause-clause"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_body_clause-clause" name="clause" type="Clause" association="A_body_clause">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_body_clause-clause-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_predecessorClause_successorClause" name="A_predecessorClause_successorClause">
<memberEnd xmi:idref="Clause-predecessorClause"/>
<memberEnd xmi:idref="Clause-successorClause"/>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_target_callOperationAction" name="A_target_callOperationAction">
<memberEnd xmi:idref="CallOperationAction-target"/>
<memberEnd xmi:idref="A_target_callOperationAction-callOperationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_target_callOperationAction-callOperationAction" name="callOperationAction" type="CallOperationAction" association="A_target_callOperationAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_target_callOperationAction-callOperationAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_operation_callOperationAction" name="A_operation_callOperationAction">
<memberEnd xmi:idref="CallOperationAction-operation"/>
<memberEnd xmi:idref="A_operation_callOperationAction-callOperationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_operation_callOperationAction-callOperationAction" name="callOperationAction" type="CallOperationAction" association="A_operation_callOperationAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_operation_callOperationAction-callOperationAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_operation_callOperationAction-callOperationAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_behavior_callBehaviorAction" name="A_behavior_callBehaviorAction">
<memberEnd xmi:idref="CallBehaviorAction-behavior"/>
<memberEnd xmi:idref="A_behavior_callBehaviorAction-callBehaviorAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_behavior_callBehaviorAction-callBehaviorAction" name="callBehaviorAction" type="CallBehaviorAction" association="A_behavior_callBehaviorAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_behavior_callBehaviorAction-callBehaviorAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_behavior_callBehaviorAction-callBehaviorAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_callAction" name="A_result_callAction">
<memberEnd xmi:idref="CallAction-result"/>
<memberEnd xmi:idref="A_result_callAction-callAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_callAction-callAction" name="callAction" type="CallAction" association="A_result_callAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_callAction-callAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_signal_broadcastSignalAction" name="A_signal_broadcastSignalAction">
<memberEnd xmi:idref="BroadcastSignalAction-signal"/>
<memberEnd xmi:idref="A_signal_broadcastSignalAction-broadcastSignalAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_signal_broadcastSignalAction-broadcastSignalAction" name="broadcastSignalAction" type="BroadcastSignalAction" association="A_signal_broadcastSignalAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_signal_broadcastSignalAction-broadcastSignalAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_signal_broadcastSignalAction-broadcastSignalAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_insertAt_addVariableValueAction" name="A_insertAt_addVariableValueAction">
<memberEnd xmi:idref="AddVariableValueAction-insertAt"/>
<memberEnd xmi:idref="A_insertAt_addVariableValueAction-addVariableValueAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_insertAt_addVariableValueAction-addVariableValueAction" name="addVariableValueAction" type="AddVariableValueAction" association="A_insertAt_addVariableValueAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_insertAt_addVariableValueAction-addVariableValueAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_insertAt_addStructuralFeatureValueAction" name="A_insertAt_addStructuralFeatureValueAction">
<memberEnd xmi:idref="AddStructuralFeatureValueAction-insertAt"/>
<memberEnd xmi:idref="A_insertAt_addStructuralFeatureValueAction-addStructuralFeatureValueAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_insertAt_addStructuralFeatureValueAction-addStructuralFeatureValueAction" name="addStructuralFeatureValueAction" type="AddStructuralFeatureValueAction" association="A_insertAt_addStructuralFeatureValueAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_insertAt_addStructuralFeatureValueAction-addStructuralFeatureValueAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_fromAction_actionInputPin" name="A_fromAction_actionInputPin">
<memberEnd xmi:idref="ActionInputPin-fromAction"/>
<memberEnd xmi:idref="A_fromAction_actionInputPin-actionInputPin"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_fromAction_actionInputPin-actionInputPin" name="actionInputPin" type="ActionInputPin" association="A_fromAction_actionInputPin">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_fromAction_actionInputPin-actionInputPin-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_output_action" name="A_output_action" isDerived="true">
<memberEnd xmi:idref="Action-output"/>
<memberEnd xmi:idref="A_output_action-action"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_output_action-action" name="action" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Action" association="A_output_action">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_output_action-action-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_context_action" name="A_context_action" isDerived="true">
<memberEnd xmi:idref="Action-context"/>
<memberEnd xmi:idref="A_context_action-action"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_context_action-action" name="action" type="Action" association="A_context_action">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_context_action-action-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_context_action-action-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_input_action" name="A_input_action" isDerived="true">
<memberEnd xmi:idref="Action-input"/>
<memberEnd xmi:idref="A_input_action-action"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_input_action-action" name="action" isReadOnly="true" isDerived="true" isDerivedUnion="true" type="Action" association="A_input_action">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_input_action-action-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_localPrecondition_action" name="A_localPrecondition_action">
<memberEnd xmi:idref="Action-localPrecondition"/>
<memberEnd xmi:idref="A_localPrecondition_action-action"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_localPrecondition_action-action" name="action" type="Action" association="A_localPrecondition_action">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_localPrecondition_action-action-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_localPostcondition_action" name="A_localPostcondition_action">
<memberEnd xmi:idref="Action-localPostcondition"/>
<memberEnd xmi:idref="A_localPostcondition_action-action"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_localPostcondition_action-action" name="action" type="Action" association="A_localPostcondition_action">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_localPostcondition_action-action-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_trigger_acceptEventAction" name="A_trigger_acceptEventAction">
<memberEnd xmi:idref="AcceptEventAction-trigger"/>
<memberEnd xmi:idref="A_trigger_acceptEventAction-acceptEventAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_trigger_acceptEventAction-acceptEventAction" name="acceptEventAction" type="AcceptEventAction" association="A_trigger_acceptEventAction">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_trigger_acceptEventAction-acceptEventAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_acceptEventAction" name="A_result_acceptEventAction">
<memberEnd xmi:idref="AcceptEventAction-result"/>
<memberEnd xmi:idref="A_result_acceptEventAction-acceptEventAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_acceptEventAction-acceptEventAction" name="acceptEventAction" type="AcceptEventAction" association="A_result_acceptEventAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_acceptEventAction-acceptEventAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_returnInformation_acceptCallAction" name="A_returnInformation_acceptCallAction">
<memberEnd xmi:idref="AcceptCallAction-returnInformation"/>
<memberEnd xmi:idref="A_returnInformation_acceptCallAction-acceptCallAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_returnInformation_acceptCallAction-acceptCallAction" name="acceptCallAction" type="AcceptCallAction" association="A_returnInformation_acceptCallAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_returnInformation_acceptCallAction-acceptCallAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_writeVariableAction" name="A_value_writeVariableAction">
<memberEnd xmi:idref="WriteVariableAction-value"/>
<memberEnd xmi:idref="A_value_writeVariableAction-writeVariableAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_writeVariableAction-writeVariableAction" name="writeVariableAction" type="WriteVariableAction" association="A_value_writeVariableAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_writeVariableAction-writeVariableAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_writeStructuralFeatureAction" name="A_result_writeStructuralFeatureAction">
<memberEnd xmi:idref="WriteStructuralFeatureAction-result"/>
<memberEnd xmi:idref="A_result_writeStructuralFeatureAction-writeStructuralFeatureAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_writeStructuralFeatureAction-writeStructuralFeatureAction" name="writeStructuralFeatureAction" type="WriteStructuralFeatureAction" association="A_result_writeStructuralFeatureAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_writeStructuralFeatureAction-writeStructuralFeatureAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_writeStructuralFeatureAction" name="A_value_writeStructuralFeatureAction">
<memberEnd xmi:idref="WriteStructuralFeatureAction-value"/>
<memberEnd xmi:idref="A_value_writeStructuralFeatureAction-writeStructuralFeatureAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_writeStructuralFeatureAction-writeStructuralFeatureAction" name="writeStructuralFeatureAction" type="WriteStructuralFeatureAction" association="A_value_writeStructuralFeatureAction">
<subsettedProperty xmi:idref="A_input_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_writeStructuralFeatureAction-writeStructuralFeatureAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_variable_variableAction" name="A_variable_variableAction">
<memberEnd xmi:idref="VariableAction-variable"/>
<memberEnd xmi:idref="A_variable_variableAction-variableAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_variable_variableAction-variableAction" name="variableAction" type="VariableAction" association="A_variable_variableAction">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_variable_variableAction-variableAction-_lowerValue"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="A_variable_variableAction-variableAction-_upperValue" value="*"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_result_valueSpecificationAction" name="A_result_valueSpecificationAction">
<memberEnd xmi:idref="ValueSpecificationAction-result"/>
<memberEnd xmi:idref="A_result_valueSpecificationAction-valueSpecificationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_result_valueSpecificationAction-valueSpecificationAction" name="valueSpecificationAction" type="ValueSpecificationAction" association="A_result_valueSpecificationAction">
<subsettedProperty xmi:idref="A_output_action-action"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_result_valueSpecificationAction-valueSpecificationAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="A_value_valueSpecificationAction" name="A_value_valueSpecificationAction">
<memberEnd xmi:idref="ValueSpecificationAction-value"/>
<memberEnd xmi:idref="A_value_valueSpecificationAction-valueSpecificationAction"/>
<ownedEnd xmi:type="uml:Property" xmi:id="A_value_valueSpecificationAction-valueSpecificationAction" name="valueSpecificationAction" type="ValueSpecificationAction" association="A_value_valueSpecificationAction">
<subsettedProperty xmi:idref="Element-owner"/>
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="A_value_valueSpecificationAction-valueSpecificationAction-_lowerValue"/>
</ownedEnd>
</packagedElement>
</packagedElement>
</uml:Package>
<mofext:Tag xmi:id="UML_mofTag0" xmi:type="mofext:Tag" name="org.omg.xmi.nsPrefix" element="UML"/>
</xmi:XMI>