uml 2.0 序列图:是建模同步消息时必须的回复消息 [英] uml 2.0 sequence diagram: is a reply message obligatory when modeling a synchronous message

查看:38
本文介绍了uml 2.0 序列图:是建模同步消息时必须的回复消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了一些关于 uml 序列图的文章,其中提到回复消息是可选的,但我在 2.2 uml 超结构规范中找不到任何提示来确认这一点.也许熟悉该规范的人可以回答这个问题,并给我一个提示,我可以在 uml 上层结构文档的哪一部分找到关于这个问题的明确答案.

i have found some articles on uml sequence diagrams, which mention a reply message would be optionally, but i could not find any hint to confirm this in the 2.2 uml super structure specification. maybe someone who is familiar with that spec could answer the question and give me a hint in which part of the uml superstructure documentation i could find a definitive answer on this question.

非常感谢.

托马斯

推荐答案

听起来它实际上是可选的.

Sounds like it is in fact optional.

来自 Pg.OMG v 2.2 Superstructure 上的 pdf 495(pdf 第 511 页):

如果 Message 代表一个 CallAction,通常会有一条从被调用生命线返回给调用者的回复消息在呼叫生命线将继续之前的生命线.

If the Message represents a CallAction, there will normally be a reply message from the called Lifeline back to the calling lifeline before the calling Lifeline will proceed.

再一次,他们使用文本通常暗示它根本不需要.

Here again, they use the text normally hinting that it's not required at all.

这篇关于uml 2.0 序列图:是建模同步消息时必须的回复消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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