理解 Rational Rose 类图
我正在查看使用 Rational Rose 制作的 UML 类图,其中有一些我不认识的符号。
例如,在属性旁边,有一个带有锁的蓝色方块。这是否意味着它是私人的?但是操作旁边有一个带锁的紫色方块?紫色方块和蓝色方块的锁有什么区别?
我似乎无法使用谷歌找到理性玫瑰图的图例,这相当令人沮丧。
I'm looking at a UML class diagram that is made using Rational rose and there are some symbols I don't recognize.
For example, beside an attribute, there is a blue square with a lock on it. Does this mean it is private? But beside an operation there is a purple square with a lock? What is the difference between a lock with a purple square and a blue square.
I can't seem to find a legend for a rational rose diagram using using Google, this is fairly frustrating.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
本教程可能会有所帮助:Rational Rose 教程。检查幻灯片 22 和 25 中的可见性图标插图。
This tutorial might help: Rational Rose Tutorial. Check slides 22 and 25 for visibility icons illustrations.
Rational Rose 的一些图表是极其面向代码的,甚至比 UML 本身还要重要。您引用的那些图标不是标准 UML 的一部分。它们描述了不同图表元素(例如属性)在翻译成(Java)代码时应该具有的一些属性。 Rational Rose 文档应该会有所帮助。
Some of Rational Rose's diagrams are extremely code-oriented, even more so than UML itself. Those icons you are referring to are not part of the standard UML. They depict some properties that the different diagrams elements (attributes, for example) are supposed to have when translated into (Java) code. The Rational Rose documentation should help.