And when we simplify our models by introducing subsystems, we replace large sections of the sequence diagram with a single message to the subsystem.
当我们通过引入子系统来简化模型时,我们把序列图中大的段落替换成向该子系统发送一条简单的消息。
As a result, the diagram now contains an invalid message.
结果,图表现在包含了一个无效的消息。
In a sequence diagram, the sequence of messages is shown positionally: time proceeds down the page, so a message low in the diagram is sent after a message that is above it.
在一个顺序图中,消息的顺序用它们的位置来表示:按照时间顺序从上到下排列,因此排在下面的消息就在排在上面的消息之后发生。
Besides just showing message calls on the sequence diagram, the Figure 4 diagram includes return messages.
除了仅仅显示序列图上的消息调用外,图4中的图还包括返回消息。
Simply click and drag a message up or down, and other messages on the diagram will be shifted out of the way.
简单的点击并将消息移上或者移下,图表上的其他消息不会收到影响。
As you can see, you can create various types of messages between lifelines in a sequence diagram, and select an existing operation as a signature of the message.
如您所看到的,您可以在序列图中的生命线之间创建各种类型的消息,并选择现有的操作作为消息的标记。
When you double-click on a message operation signature on a sequence diagram, a list of available operations will display.
当您在序列图的消息操作签名上双击时,会出现一个可用操作的列表。
When modeling a sequence diagram, there will be times that an object will need to send a message to itself.
当序列图建模时,有时候,一个对象将会需要传递一个消息给它本身。
In addition, refactoring an operation will update the corresponding message in a Sequence diagram, even when the Sequence diagram is in a closed model.
此外,重构一个操作将会更新序列图中相应的信息,即时当这个序列图在一个被选择的模型中。
The UML diagram in Figure 2 also shows the classes used for security bindings, supporting token assertions for operation policy subject and protection assertions for the message policy subject.
图2中的uml图还展示了用于安全绑定的类,用于操作策略主题的支持标记声明,和用于消息策略主题的保护声明。
In addition, if a Sequence diagram message references an operation, and the operation is subsequently refactored, the message name will be updated automatically.
此外,如果一个序列图消息引用一个操作,那么这个操作随后就会被重构,这个消息名称就会自动被更新。
Figure 1 below illustrates a simple diagram reinforcing the message flow just discussed.
下图1演示了一个简单的图表,强化说明了下面要讨论的消息流。
Subsequent messages are then added to the diagram slightly lower then the previous message.
然后继发的消息加入图中,稍微比前面的消息低些。
If another object had been included, the diagram would be blurred in its focus and message.
如果包括了其他对象,关系图将在其重点及其要传达的信息方面就会变得模糊。
To create a lost message, drag the message to an empty area of the diagram.
如果您想要创建一个丢失的消息,那么您可以将一条消息拖拉至图表的空白区域。
To create a found message, drag the message, starting from an empty area of the diagram.
如果您想要创建一个找到的消息,那么您可以拖拉消息,从图表的空白区域拖拉一条消息。
Moving a message without changing its order within the other messages on the diagram has been simplified.
在不变更其他消息中顺序的前提下移动消息的操作得到了简化。
The first message of a sequence diagram always starts at the top and is typically located on the left side of the diagram for readability.
为了可读性,序列图的第一个消息总是从顶端开始,并且一般位于图的左边。
The semantics of the message arrows in the diagram do, however, dictate that the message may be sent only if the condition is valid.
不过,图中消息箭头的语义规定只能在条件有效时发送消息。
You can add Message Broker to a system that uses TCP/IP for transport in order to generate a more flexible architecture for communication between the components, as shown in the diagram below.
可以将MessageBroker添加到使用TCP/IP 实现传输功能的系统中,从而生成一种更灵活的组件通信架构,如下图所示。
Figure 7 shows a fragment of a sequence diagram with a guard on the message addStudent method.
图7显示序列图的一个片段,消息addstudent方法上有一个约束。
The diagram shows the JMSInput and JMSOutput nodes running in a message flow that will be hosted in a broker.
该图表显示了在将宿主于代理的消息流中运行的JMSInput和JMSOutput节点。
In this diagram, the "qualifications " message likely represents a series of messages sent to the Student object.
在本图中,“qualifications ”消息可能表示发送到Student对象的一系列消息。
Figure 6: a sequence diagram fragment showing an asynchronous message being sent to instance2.
图6:表示传递到实体2的异步消息的序列图片段。
A sequence diagram for sending a message on the client is shown below.
在客户端发送消息的顺序图如下。
The following diagram shows a typical message flow for a request-reply Web service invocation using WS-RM.
以下图表展示了使用WS - RM进行请求-回复Web服务调用的典型消息流。
Figure 2 shows an example of UML diagram: a message design model in the insurance domain (from IBM Rational Software Architect).
图2显示了UML关系图的一个示例:保险领域的消息设计模型(在IBMRational Software Architect中)。
To draw a guard on a sequence diagram in UML 1.x, you placed the guard element above the message line being guarded and in front of the message name.
UML 1. x中,为了在一个序列图上画一个约束,你把约束元件放在约束的消息线上,消息名字之前。
It is represented as a class diagram (a structural diagram) that USES the Message stereotype from the services profile.
它将使用服务概要中的Message构造型表示为类关系图(一种结构关系图)。
The example gives you a quick overview of how the unit validator works and which steps are necessary to add a message to the diagram.
范例向您提供了一个快速概述,告诉您单元确认器是如何工作,以及您需要什么步骤来向图表添加一条信息。
应用推荐