uml 类图常见关系

Wiki中给出UML的定义,旨在可视化系统设计。

The Unified Modeling Language (UML) is a general-purpose, developmental, modeling language in the field of software engineering, that is intended to provide a standard way to visualize the design of a system.

在面向对象编程中,UML用于绘制需求分析时的用例图(功能模型),系统设计时的类图(对象模型),系统实现时的时序图,状态图(动态模型)等。