qartal
qartal

Reputation: 2064

Ordered Bag in UML

When a UML Class diagram association takes <orderedSet> annotation, it seems it means there is an order (yet unknown) between the elements at the end of the association. For example:

A ---> <orderedSet> B

means that for each a:A, its associated set of elements from B are ordered (e.g., a --> <b1,b2,b5>)

My Question: How is it possible to define the end of an association to be ordered Bag (multi-Set) in UML? ( in above example context, I am looking for the possibility of a --> <b1,b2,b1,b5>).

Thanks

Upvotes: 1

Views: 4487

Answers (1)

xmojmr
xmojmr

Reputation: 8145

enter image description here

See also:

Upvotes: 4

Related Questions