Only certain types of UML relationships are permitted when using case data. Whether or not a relationship is supported depends upon its type, direction, the source and target classes, and whether those classes are both in the same global BOM and the same Business Data project.
Note: Bi-directional composition relationships, and uni-directional association or aggregation relationships, are not supported.
Validation errors are displayed if you try to define an invalid relationship between two classes.
Uni-directional Composition
Source Type
|
Target Type
|
Case
|
Global
|
Class (local)
|
Case
|
No
|
Yes
|
No
|
Global
|
No
|
Yes
|
No
|
Class (local)
|
Yes
|
Yes
|
Yes
|
Bi-directional Association
Source Type
|
Target Type
|
Case
|
Global
|
Class (local)
|
Case
|
Yes, provided that both of the following are true:
- The relationship is optional (multiplicity = 0..n). Mandatory associations (multiplicity = 1) are not supported.
- Both classes are in the same global BOM. Cross-BOM or cross-project associations are not supported.
|
No
|
No
|
Global
|
No
|
No
|
No
|
Class (local)
|
No
|
No
|
No
|
Bi-directional Aggregation
Source Type
|
Target Type
|
Case
|
Global
|
Class (local)
|
Case
|
Yes, provided that both of the following are true:
- The relationship is optional (multiplicity = 0..n). Mandatory associations (multiplicity = 1) are not supported.
- Both classes are in the same global BOM. Cross-BOM or cross-project aggregations are not supported.
|
No
|
No
|
Global
|
No
|
No
|
No
|
Class (local)
|
No
|
No
|
No
|
Generalization
Source Type
|
Target Type
|
Case
|
Global
|
Class (local)
|
Case
|
Yes, provided that both classes are in the same project and only the base class contains any case identifiers.
|
No
|
No
|
Global
|
No
|
Yes, provided that both classes are in the same project.
|
No
|
Class (local)
|
No
|
No
|
Yes
|
Copyright © Cloud Software Group, Inc. All rights reserved.