think in uml-关系

1.关联关系association

image

在一段时间内将多个类的实例连接在一起

某个对象在一段时间内一直”知道”另一个对象的存在

2.依赖关系dependency

image

一个对象的修改会导致另一个对象的修改

与关联关系相比,依赖关系除了”知道”其他对象存在,还会使用其他对象的属性或方法

依赖是一种特殊的关联关系

3.扩展关系extends

image

特别用于用例模型中

4.包含关系include

image

特别用于用例模型中

5.实现关系realize

image

特别用于用例模型中

6.精化关系refine

image

特别用于用例模型中

7.泛化关系generalization

image

可用于建模过程中的任意一个阶段

8.聚合关系aggregation

image

用于类图

9.组合关系composition

image

用于类图

原文地址:https://www.cnblogs.com/atuo/p/4616158.html