Yes. You can apply an 'exclusive OR' constraint between the two relationships. That would allow (1 or more Y) OR (1 or more Z). On phone so can't look up ref at the moment, will look later. Google is also your friend.
As an aside: a rel can't be 'composite (1:1)' and allow more than 1 (Y or Z). It would have to be 1:Many in both cases.
Hth.
- Scott.
Hello - Say entity X has a composite (1:1) relationship with entity Y and also with entity Z. However, entity X should be allowed to have more than 1 Y and more than 1 Z. Just not more than 1 unique combination of Y and Z.
Entity Y and Z are unrelated so there's no opportunity to combine Y and Z together into a YZ entity. So does UML have a proper way to represent this relationship?
--
--
You received this message because you are subscribed to the Google
Groups "UML Forum" group.
Public website: www.umlforum.com
To post to this group, send email to umlf...@googlegroups.com
To unsubscribe from this group, send email to
umlforum+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/umlforum?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "UML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to umlforum+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.