How to define subclasses and constraints on them

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.

How can I do that?

thanks,
xristina

Hi xristina,

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.

Hope this helps.

Best regards,
Jick
Generic-Connector.png

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?

thanks,
xristina

Hi xristina,

I regret that we are not supporting generalization set right now. I have passed your request onto our team for further studies. Thanks for your post.

Best regards,
Jick