Software process and project management (fifth Zhou)

Source: Internet
Author: User

Collaboration Diagram (The tasks assigned to the project in the fifth week)

First, the role of collaboration diagram

Collaborative diagram is a graphical way of describing the organizational interaction between objects in a given context, and it can be analyzed from the definition to: The message transfer between objects to reflect the specific use of the logical expression of context, a use of context logic may be part of a case or a control flow Its interactive association shows the spatial organization structure of object interaction, shows the relationship between objects, and does not pay attention to order; It shows the operation implementation of a class, which can describe the parameters, variables, and return values used in the class operation. When the behavior of a system is expressed, the message number corresponds to the structure of nested calls in the program and the signal passing process.

Sequence diagrams are commonly used to represent scenarios, and collaboration diagrams are used for detailed design of the process.

Second, the composition of the collaboration diagram

Collaboration diagrams consist of objects, messages, chains, and so on.

Object: An instance of the class. The role of an object represents the part of an object or group of objects that is played in the process of accomplishing the goal. objects are direct or indirect instances of the class to which the role belongs, and in a collaboration diagram, an object of a class may act as multiple roles.

Object name: Class name

Message: The message is used to describe the system dynamic behavior, which is the operation of sending information from one object to another or several objects, or invoking another object by one object. Consists of three parts: sender, receiver, activity.

The message is indicated by a tagged arrow, which is attached to the chain. The chain connects the sender and the receiver, and the arrow points to the receiver. Each message includes a sequence number and the name of the message, where the sequence number identifies the order in which the message is related. The name of the message can be a method that contains the name, parameter table, and return value.

Chain: Represents an isolated connection between two or more objects, an instance of an association. In the collaboration diagram, the associated role is a temporal relationship between the specific context, and the instance of the relationship role is also a chain. A chain is represented as one or more connected lines or arcs.

III. collaboration diagram I drew in the project

Software process and project management (fifth Zhou)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.