全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 UML class diagram, sequence diagram?

又称: UML class diagram · sequence diagram

Definition 30.2 University Computer Science — Year 3 · 第 30 章 — Software Engineering: Design, Testing and Maintenance

A UML class diagram shows the classes of a design as boxes listing their attributes and operations, and the relations between them as lines: association, with its multiplicities, and dependency, drawn dashed. A sequence diagram shows one scenario as objects side by side, each with a vertical lifeline, and the messages between them as arrows in time order, from top to bottom.

The loan system’s class diagram. The service depends on the repository’s interface, not on the SQLite class; a loan belongs to one book and one reader, who may each have many loans over time.
The loan system’s class diagram. The service depends on the repository’s interface, not on the SQLite class; a loan belongs to one book and one reader, who may each have many loans over time.
The sequence diagram of “borrow a book”, in its main sequence. Solid arrows are calls, dashed arrows are returns; the two checks are R2 and R3.
The sequence diagram of “borrow a book”, in its main sequence. Solid arrows are calls, dashed arrows are returns; the two checks are R2 and R3.
在原文中阅读 →