UML ROSE (2) - InterAction block diagram

zhaozj2021-02-16  90

Object Interaction block diagram How to cooperate with the object, implement the function of the case.

Two types: sequence block diagram and collaborative block diagram, the two displays the same information, but display from different angles.

(1) The relationship between the sequence block diagram and the Collaboration block diagram:

The Sequence block diagram shows the information flow in time, and is used to browse the features in the USE CASE to make the use of the Use Case each path.

Collaborative block diagram shows messages between the relationships between the objects and objects, the system designer can see that object is a bottleneck, or send

Those objects need to communicate directly. In addition, Collabortion also shows the data stream between objects (the SEQUENCE Non -...).

In ROSE, these two interactions can be interchangeable and can be synchronized.

(2) Detail Introduction

In the interaction block diagram, the points are those objects, the line is the message between the objects.

There are 5 messages synchronization options:

Simple

2. Synchronize the customer to wait for the supplier.

3. Prevent customers from sending messages to the supplier, if the supplier can't accept the message, the customer gives up this message.

4. Timeout The customer issues a message to the supplier and waits for the specified time. If the supplier cannot accept the message within the specified time, the customer

Water from this news.

5. The customer issues a message to the supplier and then the customer continues to process, and the message is not allowed to receive.

(3) Steps to generate an Interaction diagram:

1. Most details are not placed in the block diagram, which allows the user to verify that the process is correct.

2. Put many details in the interaction block diagram. Each object map in the block diagram is classified as class, and each message map of the block diagram is an operation of the class.

Model quality reports can be generated, displayed as mapping objects and messages.

转载请注明原文地址:https://www.9cbs.com/read-14928.html

New Post(0)