-
Notifications
You must be signed in to change notification settings - Fork 98
/
plugin.xml
1107 lines (1092 loc) · 60.7 KB
/
plugin.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<!--
Copyright (c) 2006, 2022 THALES GLOBAL SERVICES.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0
SPDX-License-Identifier: EPL-2.0
Contributors:
Thales - initial API and implementation
-->
<plugin>
<extension point="org.eclipse.emf.validation.constraintProviders">
<constraintProvider>
<package namespaceUri="http://www.polarsys.org/capella/core/fa/7.0.0">
</package>
<constraints categories="capella.category/design/completeness">
<constraint class="org.polarsys.capella.core.data.fa.validation.function.MDCHK_Function_ActivityAllocation" id="DCOM_11" isEnabledByDefault="true" lang="Java" mode="Batch" name="DCOM_11 - Activity Allocation Consistency" severity="ERROR" statusCode="1">
<message>
The non-leaf Operational Activity "{0}" is allocated the Operational Entity or role "{1}".
</message>
<description>
This rule checks the activity allocations consistency.
</description>
<target class="AbstractFunction">
</target>
</constraint><constraint class="org.polarsys.capella.core.data.fa.validation.function.LFCompAllocationLeastwise" id="DCOM_03" isEnabledByDefault="true" lang="java" mode="Batch" name="DCOM_03 - Terminating Function and ControlNode Allocation" severity="WARNING" statusCode="1">
<message>
The leaf "{0}"({1}) is not allocated by any Component.
</message>
<target class="AbstractFunction">
</target>
<description>
This rule ensures that a leaf Function and ControlNode should be allocated by a Component.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.FunctionalExchange_exchangeItemsOnFunctionPorts"
id="DCOM_13"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="DCOM_13 - Exchange items allocation on Function Ports check"
severity="WARNING"
statusCode="1">
<message>
{0} (Function Exchange) conveys some Exchange Items which are not allocated to its source ({1}) and/or its target port ({2}).
</message>
<target
class="FunctionalExchange">
</target>
<description>
This rule generates a warning if the Function Exchange conveys some Exchange Items which are not allocated to its source ({1}) and/or its target port ({2}).
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.FunctionalExchange_Delegation"
id="DCOM_20"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="DCOM_20 - Functional Exchange delegation check"
severity="ERROR"
statusCode="1">
<message>
{0}
</message>
<target
class="FunctionalExchange">
</target>
<description>
This rule generates a warning if the the source or target of an Interaction/Functional Exchange is not allocated on a leaf function.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.DCOM_21_UnusedExchangeItems"
id="DCOM_21"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="DCOM_21 - Unused function port Exchange Items"
severity="WARNING"
statusCode="1">
<message>
"{0}" ({1}) conveys "{2}" ({3}) which is not allocated to any associated Functional Exchange.
</message>
<target
class="FunctionPort">
</target>
<description>
This rule generates a warning if a Function Port conveys an Exchange Item which is not allocated to any connected Functional Exchange.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.DCOM_22_UnsynchronizedExchangeItems"
id="DCOM_22"
isEnabledByDefault="false"
lang="java"
mode="Batch"
name="DCOM_22 - Unsynchronized Function Port Exchange Items"
severity="WARNING"
statusCode="1">
<message>
"{0}" ({1}) and all its connected Functional Exchanges do not have the exact same Exchange Items.
</message>
<target
class="FunctionPort">
</target>
<description>
This rule generates a warning if a Function Port and all its connected Functional Exchanges do not have the exact same Exchange Items.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.FunctionalExchange_loopsOnSameFunction"
id="DCOM_23"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="DCOM_23 - Loops on same function check"
severity="ERROR"
statusCode="1">
<message>
{0} {1} loops on same {2} {3}.
</message>
<target
class="FunctionalExchange">
</target>
<description>
This rule generates an error if there are loops identified on the same Function or Operational Activity.
</description>
</constraint>
</constraints>
<constraints categories="capella.category/design/consistency">
</constraints>
<constraints categories="capella.category/transition/justification/generic">
<constraint class="org.polarsys.capella.core.data.fa.validation.componentPort.MDCHK_ComponentPort_Realization_1" id="TJ_G_01" isEnabledByDefault="true" lang="Java" mode="Batch" name="TJ_G_01 - Component Port Realization " severity="WARNING" statusCode="1">
<message>
{0} (Component Port) is not realized by any other Component Port.
</message>
<description>
This rule checks that an Component Port is realized by at least one Component Port.
</description>
<target class="ComponentPort">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.connection.MDCHK_Connection_Realization_1" id="TJ_G_02" isEnabledByDefault="true" lang="Java" mode="Batch" name="TJ_G_02 - ComponentExchange realization" severity="WARNING" statusCode="1">
<message>
{0} (Component Exchange) in {1} is not realized by any other Component Exchange in {2}.
</message>
<description>
This rule checks that a Component Exchange is realized by at least one Component Exchange
</description>
<target class="ComponentExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.MDCHK_FunctionalExchange_Realization_1"
id="TJ_G_03"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="TJ_G_03 - Functional Exchange Realization "
severity="WARNING"
statusCode="1">
<message>
{0} (Functional Exchange) in {1} is not realized by any other Functional Exchange in {2}.
</message>
<description>
This rule checks that a Functional Exchange is realized by at least one Functional Exchange.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.Functional_Exchange_Transitioned"
id="TJ_G_04"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="TJ_G_04 - Functional Exchange Transitioned"
severity="WARNING"
statusCode="1">
<message>
{0} (Functional Exchange) is defined between {1} and {2}, but there is no exchange defined between the corresponding source and target elements in the previous phase.
</message>
<description>
This rule checks that a Functional Exchange is transitioned from the upper Level.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
</constraints>
<constraints categories="capella.category/design/well-formedness/dataflows">
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.AbstractFunction_LeafFunctionKind"
id="DWF_DF_12"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DF_12 - A duplicate, a gather, a route, a select or a split function must be a leaf function"
severity="ERROR"
statusCode="1">
<message>
{0} ({1}) must be a leaf function.
</message>
<target
class="AbstractFunction">
</target>
<description>
This rule check that a duplicate, a gather, a route, a select or a split function must be a leaf function.
</description>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionalChainInvolvement.FunctionalChainInvolvementLink_ExchangeItems"
id="DWF_DF_14"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DF_14 - Functional chain involvement allocated exchange items"
severity="ERROR"
statusCode="1">
<message>
{0} (FunctionalChainInvolvement) allocates {1}(ExchangeItem) which {2} not allocated by involved functional exchange.
</message>
<description>
This rule ensures that a functional chain involvement does not allocate exchange items which are not allocated by involved functional exchange.
</description>
<target class="FunctionalChainInvolvement">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.AbstractFunction_OneIncoming"
id="DWF_DF_01"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DF_01 - A duplicate or a split function must have only one incoming exchange"
severity="ERROR"
statusCode="1">
<message>
{0} ({1}) must only have one incoming {2}.
</message>
<target
class="AbstractFunction">
</target>
<description>
This rule checks that a duplicate or a split function have only one incoming exchange.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.AbstractFunction_OneOutgoing"
id="DWF_DF_02"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DF_02 - A gather function must have only one outgoing exchange"
severity="ERROR"
statusCode="1">
<message>
{0} ({1}) must have only one outgoing {2}.
</message>
<target
class="AbstractFunction">
</target>
<description>
This rule checks that a gather function must have only one outgoing exchange.
</description>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionalChain.MDCHK_FunctionalChain_Involvements_1" id="DWF_DF_03" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DF_03 - Functional chain check" severity="WARNING" statusCode="1">
<message>
{0} (FunctionalChain) {1}
</message>
<description>
This rule checks that a FunctionalChain is valid.
</description>
<target class="FunctionalChain">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionalChainInvolvement.MDCHK_FunctionalChainInvolvement_Involved_1" id="DWF_DF_04" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DF_04 - Functional chain involvement check 1" severity="WARNING" statusCode="1">
<message>
({0}) is not well formed. Involved element shall be set to {1}.
</message>
<description>
This rule checks that a Functional Chain Involvement only involves an Abstract Function, a Functional Exchange or a Functional Chain.
</description>
<target class="FunctionalChainInvolvement">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionalChain.FunctionalChainFunctionActiveInState" id="DWF_DF_05" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DF_05 - Functional chain involved functions active in state" severity="WARNING" statusCode="1">
<message>
{0} ({1}) contains at least one State/Mode which is not available in one of the functions involved in this {1}.
</message>
<description>
This check ensures that all the functions involved in FunctionalChain are also active in modes and states as FunctionChain.
</description>
<target class="FunctionalChain">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionalExchange.FunctionalExchange_Location" id="DWF_DF_06" isEnabledByDefault="false" lang="Java" mode="Batch" name="DWF_DF_06 - Functional Exchange location check" severity="WARNING" statusCode="1">
<message>
The Functional Exchange "{0}" is not located in "{1}", the common ancestor between its source/target elements.
</message>
<description>
This rule ensures that Functional Exchange is located in the common ancestor between its source/target elements.
</description>
<target class="FunctionalExchange">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.sequenceLink.SequenceLinksBetweenNodesWithNoConnectingFE"
id="DWF_DF_15"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_15 - SequenceLinks between the referenced Involvement Functions/OperationalActivities have no Involvement Links referencing them"
severity="WARNING" statusCode="1">
<message>
(SequenceLink) between the referenced {0}({1}) and {2}({3}) has no Involvement Links referencing them.
</message>
<description>
This check ensures that SequenceLinks between the referenced Involvement Functions have Involvement Links referencing them.
</description>
<target class="SequenceLink">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.sequenceLink.SequenceLinkHasEmptyCondition"
id="DWF_DF_16"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_16 - SequenceLink has empty condition"
severity="WARNING" statusCode="1">
<message>
(SequenceLink) between {0}({1}) and {2}({3}) has empty condition.
</message>
<description>
This rule checks if there is an empty condition on the SequenceLink.
</description>
<target class="SequenceLink">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.sequenceLink.SequenceLinkBetweenAdjacentControlNodesWithoutFCIFunction"
id="DWF_DF_17"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_17 - SequenceLink between two adjacent Control Nodes without a FunctionalChainInvolvementFunction"
severity="WARNING" statusCode="1">
<message>
(SequenceLink) between two adjacent ControlNodes without a FunctionalChainInvolvementFunction.
</message>
<description>
This rule checks if there is a Sequence Link between two adjacent ControlNodes without a FunctionalChainInvolvementFunction.
</description>
<target class="SequenceLink">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.sequenceLink.SequenceLinkWithNoAssociatedLinks"
id="DWF_DF_18"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_18 - SequenceLink with no associated FunctionalChainInvolvementLinks"
severity="WARNING" statusCode="1">
<message>
(SequenceLink) between {0}({1}) and {2}({3}) has no associated FunctionalChainInvolvementLinks.
</message>
<description>
This rule checks if a SequenceLink has associated FunctionalChainInvolvementLinks.
</description>
<target class="SequenceLink">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.sequenceLink.SequenceLinkWithInconsistentAssociatedLinks"
id="DWF_DF_19"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_19 - SequenceLink with inconsistent associated FunctionalChainInvolvementLinks"
severity="ERROR" statusCode="1">
<message>
{0}
</message>
<description>
This rule checks if a SequenceLink has inconsistent associated FunctionalChainInvolvementLinks.
</description>
<target class="SequenceLink">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.sequenceLink.SequenceLinkOppositeDirectionToFE"
id="DWF_DF_20"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_20 - SequenceLink between the referenced Involvement Functions/OperationalActivities is in opposite direction to Involvement Links referencing them"
severity="ERROR" statusCode="1">
<message>
{0}
</message>
<description>
This rule checks if a SequenceLink between the referenced Involvement Functions/OperationalActivities is in opposite direction to a Involvement Links referencing them.
</description>
<target class="SequenceLink">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.controlNode.ControlNodeInconsistentOperations"
id="DWF_DF_21"
isEnabledByDefault="true" lang="Java" mode="Batch"
name="DWF_DF_21 - Control Nodes inconsistent operations"
severity="WARNING" statusCode="1">
<message>
({0}) {1}.
</message>
<description>
This rule checks the ControlNode construction inconsistencies. A ControlNode is valid if it has one IN and two OUT links or two IN and one OUT link.
</description>
<target class="ControlNode">
</target>
</constraint>
</constraints>
<constraints categories="capella.category/design/coverage">
<constraint class="org.polarsys.capella.core.data.fa.validation.componentPort.MDCHK_ComponentPort_Connections" id="DCOV_09" isEnabledByDefault="true" lang="java" mode="Batch" name="DCOV_09 - Component port Component Exchanges check" severity="WARNING" statusCode="1">
<message>
{0} (Component Port) is neither used by any Component Exchange nor providing/requiring any Interface.
</message>
<target class="ComponentPort">
</target>
<description>
This rule generates a warning if there is neither Component Exchanges using the target Component Port nor providing/requiring any Interface.
</description>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionPort.MDCHK_FunctionPort_functionalExchange" id="DCOV_10" isEnabledByDefault="true" lang="java" mode="Batch" name="DCOV_10 - Function port exchanges check" severity="WARNING" statusCode="1">
<message>
{0} (Function Port) is not used by any functional exchange
</message>
<target class="FunctionPort">
</target>
<description>
This rule generates a warning if there is no functional exchange using the target Input/Output Function Port
</description>
</constraint>
</constraints>
<constraints categories="capella.category/integrity">
<constraint class="org.polarsys.capella.core.data.fa.validation.function.MDCHK_Function_FunctionRealization" id="I_12" isEnabledByDefault="true" lang="Java" mode="Batch" name="I_12 - Function Realization" severity="ERROR" statusCode="1">
<message>
Realization consistency error for {0}.
</message>
<description>
This test checks the realization consistency between functions.
</description>
<target class="AbstractFunction">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalChainInvolvement.MDCHK_FunctionalChainInvolvement_NextAndPrevious_1"
id="I_27"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="I_27 - Functional chain involvement check 3"
severity="WARNING"
statusCode="1">
<message>
{0} (Functional Chain Involvement) has an empty next and/or previous involvement.
</message>
<description>
This rule checks that a Functional Chain Involvement has a valid next and/or previous involvement (not empty)
</description>
<target
class="FunctionalChainInvolvement">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.MDCHK_FunctionalExchange_FunctionalExchangeRealization"
id="I_14"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="I_14 - Functional Exchange Realization"
severity="ERROR"
statusCode="1">
<message>
Realization consistency error for {0}.
</message>
<description>
This rule checks the realization consistency between functional exchanges.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.MDCHK_FunctionalExchange_ConnectionFunctionalExchangeAllocation"
id="I_15"
lang="Java"
mode="Batch"
name="I_15 - Component Exchange Functional Exchange Realization"
severity="ERROR"
statusCode="1">
<message>
Realization consistency error for {0}.
</message>
<description>
This rule checks the realization consistency between Functional Exchanges and Component Exchange.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.componentPort.MDCHK_ComponentPort_Orientation"
id="I_20"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="I_20 - ComponentExchange port orientation"
severity="WARNING"
statusCode="1">
<message>
{0}
</message>
<target
class="ComponentExchange">
</target>
<description>
This rule cheks that source and target port orientations of a ComponentExchange are consistent, i.e.
- A source port cannot have orientation'IN'
- A target port cannot have orientation 'OUT'
In Case the ComponentExchange is of kind DELEGATION
- "source port/target Port" can only have orientation 'IN/IN' or 'OUT/OUT'
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.I_35_FunctionalExchangeNameConsistency"
id="I_35"
isEnabledByDefault="false"
lang="Java"
mode="Batch"
name="I_35 - Related functional exchanges must have identical names"
severity="WARNING"
statusCode="1">
<message>
{0} (Functional Exchange) should have identical names
</message>
<description>
This rule checks that Functional Exchanges connected to the same source and/or target port have identical names.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
</constraints>
<constraints categories="capella.category/design/well-formedness/components">
<constraint class="org.polarsys.capella.core.data.fa.validation.function.MDCHK_Function_ComponentFunctionAllocation" id="DWF_DC_11" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DC_11 - Component Functional Allocation" severity="ERROR" statusCode="1">
<message>
Function allocation level consistency error for {0}.
</message>
<description>
This rule checks the allocation level consistency between functions and components to avoid allocations of system functions in logical architecture.
</description>
<target class="AbstractFunction">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.connection.DelegationOutOfPlace"
id="DWF_DC_28"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DC_28 - Delegation out of place check"
severity="ERROR"
statusCode="1">
<message>
{0}
</message>
<description>
This rule check that Component Exchange of kind Delegation if not out of place and useless.
It also make sure if Delegation source and target are not null.
</description>
<target
class="ComponentExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.componentPort.ComponentPortOnNodePC"
id="DWF_DC_31"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DC_31 - ComponentPort on NodePC"
severity="ERROR"
statusCode="1">
<message>
{0}
</message>
<description>
This rule ensures that ComponentPort is not contained in NodePC.
NodePC=Physical Component of nature NODE
</description>
<target
class="ComponentPort">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.connection.ComponentExchagneWithmOutPortOnNodePC"
id="DWF_DC_32"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DC_32 - Component Exchange with out port on NodePC"
severity="ERROR"
statusCode="1">
<message>
{0}
</message>
<description>
This rule ensures that ComponentExchange with out port sourceEnd or target end is not NodePC.
NodePC=Physical Component of nature NODE
</description>
<target
class="ComponentExchange">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.function.MDCHK_Function_ComponentAllocationUnicity" id="DWF_DC_12" isEnabledByDefault="true" lang="java" mode="Batch" name="DWF_DC_12 - Function Allocation Unicity" severity="ERROR" statusCode="1">
<message>
Non-unicity of function allocation for {0}
</message>
<description>
This rule checks that a function is allocated to only one component (including Actor)
</description>
<target class="AbstractFunction">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.connection.MDCHK_Connection_FunctionalExchangeAllocation" id="DWF_DC_13" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DC_13 - Component Exchange Functional Exchanges Realization " severity="ERROR" statusCode="1">
<message>
{0} ({1}) which is at level {2} should not realize {3} ({4}) which is at level {5}.
</message>
<description>
This rule checks that the Functional Exchanges allocated to a Component Exchange come from the same level.
</description>
<target class="ComponentExchange">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.componentPort.MDCHK_ComponentPort_PortAllocation" id="DWF_DC_14" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DC_14 - Component Port Allocation" severity="ERROR" statusCode="1">
<message>
Allocation consistency error for {0} (Component Port).
</message>
<description>
This rule checks Ports Allocations consistency.
</description>
<target class="ComponentPort">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.function.MDCHK_Function_FunctionAllocationConstency" id="DWF_DC_15" isEnabledByDefault="true" lang="Java" mode="Batch" name="DWF_DC_15 - Function Allocation Consistency" severity="ERROR" statusCode="1">
<message>
Leaf Function Allocation Consistency error for {0}.
</message>
<description>
This rule checks that only leaf functions are allocated.
</description>
<target class="AbstractFunction">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.connection.DirectComponentExchanges" id="DWF_DC_16" isEnabledByDefault="false" lang="Java" mode="Batch" name="DWF_DC_16 - Component Exchange encapsulation problem check" severity="WARNING" statusCode="1">
<message>
{0} (Component Exchange) causes an encapsulation problem.
</message>
<description>
This rule raises a warning if a Component Exchange is linked between two internal components. These components can be directly connected, only if the ports are delegated throughout the owning components which are connected by another Component Exchange.
</description>
<target class="ComponentExchange">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.connection.ComponentExchange_Location" id="DWF_DC_18" isEnabledByDefault="false" lang="Java" mode="Batch" name="DWF_DC_18 - Component Exchange location check" severity="WARNING" statusCode="1">
<message>
The Component Exchange "{0}" is not located in "{1}", the common ancestor between its source/target elements "{1}".
</message>
<description>
This rule ensures that Component Exchange is located in the common ancestor between its source/target elements.
</description>
<target class="ComponentExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.DWF_DC_27_FunctionalExchangeComponentExchangeAllocationUnicity"
id="DWF_DC_27"
isEnabledByDefault="false"
lang="Java"
mode="Batch"
name="DWF_DC_27 - Functional Exchange Component Exchange Allocation Unicity"
severity="ERROR"
statusCode="1">
<message>
Non-unicity of component exchange allocation for {0}
</message>
<description>
This rule checks that a functional exchange is allocated to only one component exchange.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.connection.ComponentExchangeFEAllocation"
id="DWF_DC_29"
isEnabledByDefault="false"
lang="Java"
mode="Batch"
name="DWF_DC_29 - Component Exchange Functional Exchange consistency"
severity="WARNING"
statusCode="1">
<message>
{0}
</message>
<target
class="ComponentExchange">
</target>
<description>
This rule ensures that Component Exchange allocates valid functional exchanges (regarding ports directions).
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.MDCHK_Function_StateAllocation"
id="DWF_DC_35"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DC_35 - Function is not available in at least one Mode/State allocated to a functional chain in which the function is involved"
severity="WARNING"
statusCode="1">
<message>
{0} (Function) is not available in at least one Mode/State allocated to a functional chain in which the {1} is involved.
</message>
<target
class="AbstractFunction">
</target>
<description>
Check that the function is available in all the Mode/State allocated to a functional chain in which the function is involved.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.connection.ComponentExchange_UnsetKind"
id="DWF_DC_43"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="DWF_DC_43 - Component Exchange has an UNSET Kind"
severity="WARNING"
statusCode="1">
<message>
{0} (ComponentExchange) has an UNSET kind.
</message>
<target
class="ComponentExchange">
</target>
<description>
Check if the Component Exchange has an UNSET kind.
</description>
</constraint>
</constraints>
<constraints categories="capella.category/transition/consistency/dataflows">
<constraint class="org.polarsys.capella.core.data.fa.validation.connection.CN01_Connection_RealizingBound" id="TC_DF_01" isEnabledByDefault="true" lang="Java" mode="Batch" name="TC_DF_01 - Component Exchange realization consistency" severity="WARNING" statusCode="1">
<message>
{0} (Component Exchange) realizes a ComponentExchange from a previous level. Bounds of this Component Exchange should be consistent with definition from previous phase.
A bound ComponentPort should realize the bound ComponentPort of the realized Component Exchange or be a delegated port of a realizing port.
</message>
<description>
This rule checks that a Component Exchange realizing a Component Exchange from a previous level has bounds consistent with realized Component Exchange bounds.
</description>
<target class="ComponentExchange">
</target>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionPort.FP01_FunctionPort_RealizingPorts" id="TC_DF_02" isEnabledByDefault="true" lang="java" mode="Batch" name="TC_DF_02 - Function port refinement check" severity="WARNING" statusCode="1">
<message>
{0} (Function Port) isn't defined in a function or a sub-function realizing the function containing the port which has been realized.
</message>
<target class="FunctionPort">
</target>
<description>
This rule generates a warning if a port isn't defined in a function or a sub-function realizing the function
containing the port which has been realized.
A warning can be raised if you have performed a drag and drop of the port to another function but this function is
not a sub-function of the function containing the port which has been realized and there is no traceability
link from the current function and the function containing the port which has been realized.
You should add manually a traceability link from the parent function of the realized port and the function
containing the port which has been realized.
</description>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.functionalChainInvolvement.FCI01_FunctionalChainInvolvement_RealizingFunction" id="TC_DF_03" isEnabledByDefault="true" lang="java" mode="Batch" name="TC_DF_03 - Functional chain involvement refinement check" severity="WARNING" statusCode="1">
<message>
A FunctionalChainInvolvement with a tracability link to another FunctionalChainInvolvement involving a function
should involves a function or a sub-function realizing the involved function of the FunctionalChainInvolvement which has been realized.
</message>
<target class="FunctionalChainInvolvement">
</target>
<description>
This rule generates a warning if a FunctionalChainInvolvement doesn't involves a function or a sub-function of the function which is involved by the FunctionalChainInvolvement which has been realized.
</description>
</constraint>
<constraint class="org.polarsys.capella.core.data.fa.validation.connection.ME01G_Connection" id="TC_DF_04" isEnabledByDefault="true" lang="Java" mode="Batch" name="TC_DF_04 - Component Exchange conveyed information check" severity="WARNING" statusCode="1">
<message>
The {1} (ExchangeItem) is defined into {2} level and realized into the {3} level. {0} Component Exchange conveys {1} ExchangeItem
instead of conveying realized ExchangeItem.
</message>
<description>
This rule checks that a Component Exchange conveying ExchangeItems doesn't convey an ExchangeItem from a previous level whereas it
is realized in the same level than the Component Exchange. Component Exchange should convey the realized ExchangeItem.
A warning can be raised if you have performed a transition of the Component Exchange before performing a transition of the conveyed ExchangeItem.
You should perform another transition of the Component Exchange from the lower level to use the realized ExchangeItem.
</description>
<target class="ComponentExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.FunctionalExchange_RealizingPortsConsistency"
id="TC_DF_05"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="TC_DF_05 - Functional exchange bounds refinement consistency check"
severity="WARNING"
statusCode="1">
<message>
Both bounds of Functional Exchange should realize bounds of the realized FunctionalExchange.
</message>
<target
class="FunctionalExchange">
</target>
<description>
This rule generates a warning if a bound of the FunctionalExchange doesn't realize a bound of the realized FunctionalExchange.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.FE01_FunctionalExchange_RealizingPorts"
id="TC_DF_06"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="TC_DF_06 - Functional exchange bounds refinement check"
severity="WARNING"
statusCode="1">
<message>
A bound of {0} (FunctionalExchange) isn't defined in a function or a sub-function realizing the function containing the bound of the realized FunctionalExchange.
</message>
<target
class="FunctionalExchange">
</target>
<description>
This rule generates a warning if a bound of FunctionalExchange isn't defined in a function or a sub-function
of the function containing the bound which has been realized.
A warning can be raised if you have performed a drag and drop of the bound to another function but this function
is not a sub-function realizing the function containing the bound which has been realized and there is no
traceability link from the current function and the function containing the bound which has been realized.
You should add manually a traceability link from the parent function of the realized bound and the
function containing the bound which has been realized.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionalExchange.ME01G_FunctionalExchange"
id="TC_DF_07"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="TC_DF_07 - Functional exchange conveyed exchange items check"
severity="WARNING"
statusCode="1">
<message>
The {1} (ExchangeItem) is defined into {2} level and realized into the {3} level. {0} FunctionalExchange is linked to {1}
ExchangeItem instead of be linked to realized ExchangeItem.
</message>
<description>
This rule checks that a FunctionalExchange isn't linked to an ExchangeItem from a previous level whereas it is realized in the same level than the FunctionalExchange. FunctionalExchange should be linked to the realized ExchangeItem.
A warning can be raised if you have performed a transition of the FunctionalExchange before performing a transition of the linked ExchangeItem.
You should perform another transition of the FunctionalExchange from the lower level to use the realized ExchangeItem.
</description>
<target
class="FunctionalExchange">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.AbstractFunction_TransitionFunctionKind"
id="TC_DF_08"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="TC_DF_08 - Function Kind consistency"
severity="WARNING"
statusCode="1">
<message>
{0} ({1}) doesn't have same kind than realized Function {2} ({3}).
</message>
<description>
This rule checks that a Function realizing a Function from a previous level has same kind.
</description>
<target
class="AbstractFunction">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.function.AbstractFunction_ConditionField"
id="TC_DF_09"
isEnabledByDefault="true"
lang="Java"
mode="Batch"
name="TC_DF_09 - Function kind condition consistency"
severity="WARNING"
statusCode="1">
<message>
{0}
</message>
<description>
The rule ensure that Funtion of kind ROUTE and SELECT can only have Condition set.
</description>
<target
class="AbstractFunction">
</target>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.FP02_FunctionPort_RealizingPorts"
id="TC_DF_10"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="TC_DF_10 - Function port realization check"
severity="WARNING"
statusCode="1">
<message>
{0} (Function Port) shall be realized by a lower level function port.
</message>
<target
class="FunctionPort">
</target>
<description>
This rule generates a warning if a function port is not realized by a lower level function port.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.FP03_FunctionPort_RealizedPorts"
id="TC_DF_11"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="TC_DF_11 - Function port realization check"
severity="WARNING"
statusCode="1">
<message>
{0} (Function Port) on {1} (Function) shall realize {2} (Function Port) on {3} (Function)
</message>
<target
class="FunctionPort">
</target>
<description>
This rule checks that considering a Function F1 containing this Function Port P1 that carries an Exchange Item E1.
If E1 is carried by another Function Port P2 contained by a Function F2 and F2 is realized by F1, then a warning is generated if P2 is not realized by P1.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.FP03_FunctionPort_RealizingPorts"
id="TC_DF_12"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="TC_DF_12 - Function port realization check"
severity="WARNING"
statusCode="1">
<message>
{0} (Function Port) on {1} (Function) shall be realized by {2} (Function Port) on {3} (Function)
</message>
<target
class="FunctionPort">
</target>
<description>
This rule checks that considering a Function F1 containing this Function Port P1 that carries an Exchange Item E1.
If E1 is carried by another Function Port P2 contained by a Function F2 and F2 realizes F1, then a warning is generated if P2 doesn't realize P1.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.FP04_FunctionPort_AllocatedEI"
id="TC_DF_13"
isEnabledByDefault="true"
lang="java"
mode="Batch"
name="TC_DF_13 - Function port allocated exchange items check"
severity="WARNING"
statusCode="1">
<message>
All exchange items allocated by {0} (FunctionPort) shall be allocated by one of its realizing function ports
</message>
<target
class="FunctionPort">
</target>
<description>
This rule verifies that all exchange items allocated by a function port are allocated by one of its realizing function ports.
</description>
</constraint>
<constraint
class="org.polarsys.capella.core.data.fa.validation.functionPort.FP05_FunctionPort_OwningFunction"
id="TC_DF_14"