uml

http://www.cnblogs.com/duanxz/archive/2012/06/13/2547801.html

dependency  ———> 局部变量、方法的参数或者对静态方法的调用(都是在方法上)

association —> 成员变量 表现为“拥有关系”

aggregation 空心菱形表示 has-a 

composition 实心菱形 同生同死 contains-a

generalization  extends 实心箭头和虚线

realisation implements 空心箭头和虚线

关系所表现的强弱程度   组合>聚合>关联>依赖




原文地址:https://www.cnblogs.com/anjuncc/p/5322332.html