UML:对创建/更改其他活动的活动进行建模
假设我要构建某个组织的行为模型:特别是,我要构建一堆活动图来描述组织中发生的所有活动(例如“投标”、“订单履行”、“运输”等活动) “, ETC。)。
现在,组织中的关键活动之一是包括建立和维护所有活动本身的活动。 如果您想在建模该活动时显示对象流,您将如何将此类输入/输出描述为活动?
例如,使用来自 UML 元模型的 Activity 类实例的对象在语义上是否正确? (我正在使用的 UML 建模工具没有给我这样的选项。是因为该工具不了解还是因为我不应该将元模型中的类实例包含到我的模型中?)
Let's say I am to build a behavioral model of some organization: in particular, I am to build a bunch of activity diagrams that describe all those activities that take place in the organization (activities like "bidding", "order fulfillment", "shipping", etc.).
Now, one of the key activities in the organization is the one that includes establishing and maintaining all the activities themselves. If you wanted to show the object flows while modeling that activity, how exactly would you depict such inputs/outputs as activities?
For example, would it be semantically correct to use objects that are instances of the Activity class from UML meta-model? (The UML modeling tool that I'm using does not give me such an option. Is it because the tool is ignorant or because I am not supposed to include instances of classes from meta-model into my model?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
活动参数节点可能就是您正在寻找的。 该形状表示调用当前活动图中的操作的活动。 您可以将此形状连接到当前活动中的输入节点或输出节点。
您可以在 VS 2010 Ultimate 中创建支持此类节点的 UML 活动图。 有关详细信息,请参阅 RC 文档中的以下主题:
UML 活动图:参考(滚动到底部):http://msdn.microsoft.com/en-us/library/dd409360%28VS.100%29.aspx
欢迎在 VS 2010 架构和活动图上发布问题。 建模工具论坛,位于 http://social.msdn。 microsoft.com/Forums/en-US/vsarch/threads。
An activity parameter node might be what you're looking for. This shape represents an activity that calls actions in the current activity diagram. You connect this shape to an input node or output node in the current activity.
You can create UML activity diagrams that support this kind of node in VS 2010 Ultimate. For more info, see the following topic in the RC documentation:
UML Activity Diagrams: Reference (scroll to the bottom): http://msdn.microsoft.com/en-us/library/dd409360%28VS.100%29.aspx
Feel free to post questions in the VS 2010 Architecture & Modeling Tools forum at http://social.msdn.microsoft.com/Forums/en-US/vsarch/threads.