Reply To:

If you have two class elements A and B. You can connect them with composition or aggregation relationship. (The difference between composition and aggregation is described here: )

For one-to-one relationship set the multiplicity as 1 for both roles (ends).

For one-to-many relationship set the multiplicity as 1 for one role (end) and as * for second role (end). You can edit multiplicities directly in the diagram - select a relationship and then click (or double-click) on the top (left or right) blue rectangle over the relationship line. You can type the custom value for multiplicity or you can just choose it from the drop down list.

Dusan Rodina - 19 March 2018 17:35:05

New Comment

You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url][/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]