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