在UML有序袋 [英] Ordered Bag in UML

查看:150
本文介绍了在UML有序袋的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个UML类图的关联需要< orderedSet> 注释,现在看来,这意味着在该协会的结束元素之间的顺序(未知) 。例如:

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

意味着每一个:A,其关联选自B元素的集合是有序的(例如, A - &GT;&LT; B1,B2,B5&GT;

我的问题:如何可以定义关联年底订购袋(多集)在UML? (在上面的例子而言,我找了的可能性 - &GT;&LT; B1,B2,B1,B5&GT; )。

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>).

感谢

推荐答案

另请参阅:

  • uml-diagrams.org: Multiplicity Element
  • Chapter 7.5.3 "Common Structure → Types and Multiplicity → Semantics → Multiplicities" in www.omg.org/spec/UML/2.5/Beta2

这篇关于在UML有序袋的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆