I have two classes Person
and Department
with two associations between them
works
andmanages
,
and between these two associations there is a {subset}
(manages
associations are subset of works
association).
What should I infer about the object diagram?
- Each
Person
which is a manager has two links to his department (one forworks
and the second formanages
), or - each
Person
which is manager has only one link to his department?
By the way, besides {subset}
, {nand}
, {and}
and {xor}
, is there any other constraint notation which you can put in a class diagram?