hi,
i have defined in VP-UML a class C1 and subclasses of it C2, C3, C4, C5.
I would like to separate these subclasses in two sets and indicate constraints on these two sets like disjointness, completeness, etc.
For example: C2 is disjoint with C3, C4 is disjoint with C5.
The union of the two sets is the complete class C1.
Thank you for your post. If you want to present relationships between shapes, but the kind of relationship (e.g. disjoint) is not supported in UML, you may consider using Generic Connector. If you want to add properties to class, you may consider using tagged value, or stereotypes.
hi,
UML 2.1 supports generalization sets and the indication of the constraints disjointness, completeness (page 92).
I suppose I cannot indicate such constraints directly on a Generalization Link in VP-UML class diagrams.
Can I use the the constraint element from the toolbar?
But in this case I can connect only two generalization links with the constraint element.
Is there a way to use the same constraint over for example 4 generalization links that have the same parent?