-
Notifications
You must be signed in to change notification settings - Fork 85
/
ValidationRules.html
623 lines (623 loc) · 17.8 KB
/
ValidationRules.html
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
<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>ValidationRules</title>
<link type="text/css" rel="stylesheet" href="PLUGINS_ROOT/org.polarsys.capella.doc/html/styles.css"/>
</head>
<body>
<h1 id="Design_.3E_Well-formedness_.3E_Components">Design > Well-formedness > Components</h1>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_01 - Partitions cycles check </td>
</tr>
<tr>
<td colspan="2">This validation rule ensures that a partition of an element cannot have a partition typed by this element. Thus it avoids"partitions cycles".</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_02 - Role Allocation </td>
</tr>
<tr>
<td colspan="2">This rule checks the role allocations consistency between roles and entities.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_03 - Physical Path Involved Links check </td>
</tr>
<tr>
<td colspan="2">This rule checks that a PhysicalPath is valid.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_04 - Check multiple deployment </td>
</tr>
<tr>
<td colspan="2">This rule depends on the Preference option "Multiple deployment allowed". If this option is set to false, the rule checks that a Behavior Physical Component is not deployed on more than one Node Physical Component.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_05 - Part type accessibility check </td>
</tr>
<tr>
<td colspan="2">This rule ensures that a part is typed by an accessible Component.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_06 - Component Parts type level check </td>
</tr>
<tr>
<td colspan="2">This rule ensures that each parts of a component have the same level (i.e context, logical, physical,...) that the component itself.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_07 - Part typed by an Abstract Type </td>
</tr>
<tr>
<td colspan="2">This rule checks that a Part is typed by an abstract type.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_08 - Part typed </td>
</tr>
<tr>
<td colspan="2">This rule ensures that a part has always a type.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_09 - Component allocated functions types check </td>
</tr>
<tr>
<td colspan="2">This rule checks that a Component allocates only leaf Functions of its own level.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_11 - Component Functional Allocation </td>
</tr>
<tr>
<td colspan="2">This rule checks the allocation level consistency between functions and components to avoid allocations of system functions in logical architecture.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_12 - Function Allocation Unicity </td>
</tr>
<tr>
<td colspan="2">This rule checks that a function is allocated to only one component (including Actor)</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_13 - Component Exchange Functional Exchanges Realization </td>
</tr>
<tr>
<td colspan="2">This rule checks that the Functional Exchanges allocated to a Component Exchange come from the same level.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_14 - Component Port Allocation </td>
</tr>
<tr>
<td colspan="2">This rule checks Ports Allocations consistency.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_15 - Function Allocation Consistency </td>
</tr>
<tr>
<td colspan="2">This rule checks that only leaf functions are allocated.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_16 - Component Exchange encapsulation problem check </td>
</tr>
<tr>
<td colspan="2">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.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_17 - Component self generalization not allowed </td>
</tr>
<tr>
<td colspan="2">This rule ensures that a Component cannot generalize itself.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_18 - Component Exchange location check </td>
</tr>
<tr>
<td colspan="2">This rule ensures that Component Exchange is located in the common ancestor between its source/target elements.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_19 - Physical Link location check </td>
</tr>
<tr>
<td colspan="2">This rule ensures that Physical Link is located in the common ancestor between its source/target elements.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_20 - Physical Component Function Allocation check </td>
</tr>
<tr>
<td colspan="2">This rule ensures that Physical Component of nature NODE does not allocate any Function.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_21 - PhysicalComponent check deployment/containment of Sub-PhysicalComponents </td>
</tr>
<tr>
<td colspan="2">This rule ensures that PC is correctly deploying/containing other child PC.
<p>Node Components (actor or not) can contain Node and deploy Node or Behavior.
Behavior Components (actor or not) can contain Behavior and deploy behavior.
NodePC=Physical Component of nature NODE
BehaviourPC=Physical Component of nature BEHAVIOUR</p>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_22 - PhysicalComponent check deployment/containment in Parent-PhysicalComponent </td>
</tr>
<tr>
<td colspan="2">This rule ensures that PC is correctly deployed/contained in parent PC.
<p>NODE PC cannot be deployed/contained by a BEHAVIOUR PC
BEHAVIOUR PC cannot be contained by a NODE PC</p>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_24 - Physical Path involvement check involved element </td>
</tr>
<tr>
<td colspan="2">This rule checks that a Physical Path Involvement only involves an Part, a Physical Link or a Physical Path.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_26 - Root Physical Component Ports Check </td>
</tr>
<tr>
<td colspan="2">This rule ensures that the Root Physical Component has no physical ports.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_27 - Functional Exchange Component Exchange Allocation Unicity </td>
</tr>
<tr>
<td colspan="2">This rule checks that a functional exchange is allocated to only one component exchange.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_28 - Delegation out of place check </td>
</tr>
<tr>
<td colspan="2">This rule check that Component Exchange of kind Delegation if not out of place and useless.
<p>It also make sure if Delegation source and target are not null.</p>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_29 - Component Exchange Functional Exchange consistency </td>
</tr>
<tr>
<td colspan="2">This rule ensures that Component Exchange allocates valid functional exchanges (regarding ports directions).</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_30 - PhysicalPort on BehaviourPC </td>
</tr>
<tr>
<td colspan="2">This rule ensures that PhysicalPort is not contained in BehaviourPC.
<p>BehaviourPC=Physical Component of nature BEHAVIOUR</p>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_31 - ComponentPort on NodePC </td>
</tr>
<tr>
<td colspan="2">This rule ensures that ComponentPort is not contained in NodePC.
<p>NodePC=Physical Component of nature NODE</p>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_32 - Component Exchange with out port on NodePC </td>
</tr>
<tr>
<td colspan="2">This rule ensures that ComponentExchange with out port sourceEnd or target end is not NodePC.
<p>NodePC=Physical Component of nature NODE</p>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_33 - PhysicalPath allocated CE </td>
</tr>
<tr>
<td colspan="2">This rule checks that a PhysicalPath should allocated component exchage between its path.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_34 - PhysicalComponent of nature UNSET </td>
</tr>
<tr>
<td colspan="2">This rule ensures that a Physical Component is not of nature UNSET, with the exceptions below, in which UNSET is allowed:
<pre> 1. Only root Actors (inside structure) can be nature UNSET
2. The root Physical Component can be nature UNSET
</pre>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_35 - Function is not available in at least one Mode/State allocated to a functional chain in which the function is involved </td>
</tr>
<tr>
<td colspan="2">Check that the function is available in all the Mode/State allocated to a functional chain in which the function is involved.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_36 - Component or Actor compositions checks </td>
</tr>
<tr>
<td colspan="2">This rule checks Component or Actor composition following the rules below:
<pre> 1. Component or Actor with the 'is Human' flag set on true cannot have sub Components, sub Actors, also no contained Parts or managing sub-packages.
2. An Operational Actor cannot be decomposed.
</pre>
</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_37 - This rule checks that only one System Component is allowed at SystemAnalysis level </td>
</tr>
<tr>
<td colspan="2">This rule checks that only one System Component is allowed at SystemAnalysis level (cannot have parts inside a System nor component type)</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_38 - This rule checks that only a Root Component exists at System/Logical/Physical level </td>
</tr>
<tr>
<td colspan="2">This rule checks that only a Root Component exists at an Architectural level. Zero or more than one Root Components are not allowed.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_39 - PhysicalSystem should be of nature UNSET </td>
</tr>
<tr>
<td colspan="2">This rule ensures that the PhysicalSystem Component is of nature UNSET.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_40 - This rule checks that an Operational Entity is not HUMAN </td>
</tr>
<tr>
<td colspan="2">This rule checks that an Operational Entity is not HUMAN.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_41 - This rule checks that an Operational Actor is HUMAN </td>
</tr>
<tr>
<td colspan="2">This rule checks that an Operational Actor is HUMAN.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_42 - Component with parts </td>
</tr>
<tr>
<td colspan="2">This rule ensures that a component is always referenced by at least one part.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_43 - Component Exchange has an UNSET Kind </td>
</tr>
<tr>
<td colspan="2">Check if the Component Exchange has an UNSET kind.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="WARNING" alt="WARNING" border="0" src="../../../../Images/warning.gif"/>
</th>
<td>DWF_DC_44 - Physical Component NODE/BEHAVIOUR is contained and deployed inside the same parent Component </td>
</tr>
<tr>
<td colspan="2">This rule ensures that a Physical Component of nature NODE or BEHAVIOUR is not contained and deployed inside the same parent Component.</td>
</tr>
</table>
<p>
<br/>
</p>
<table class="VALIDATION-RULE">
<tr>
<th>
<img title="ERROR" alt="ERROR" border="0" src="../../../../Images/error.gif"/>
</th>
<td>DWF_DC_45 - Non-unicity of Component Exchange allocation </td>
</tr>
<tr>
<td colspan="2">This rules checks that a Component Exchange is allocated to only one Physical Link</td>
</tr>
</table>
</body>
</html>