摘要:
1.A dependency exists between two elements if changes to the definition of one element (the supplier) may cause changes to the other (the client). With classes, dependencies exist for various reasons: One class sends a message to another; one class has another as part of its data; one class mentions
阅读全文
posted @ 2012-09-15 14:00
bitbit
阅读(420)
推荐(0)
编辑
摘要:
UML关系(泛化,实现,依赖,关联(聚合,组合))UML的构造快包含3种:(1) 事物(4种):结构事物,行为事物,分组事物,注释事物(2) 关系(4种):泛化关系,实现关系,依赖关系,关联关系(3) 图(10种):用例图,类图,对象图,包图,组件图,部署图,状态图,活动图,序列图,协作图事物是对模型中最具代表性的成分的抽象;关系把事物结合在一起;图聚集了相关的事物。(2) 关系(4种)UML中类与类,类与接口,接口与接口这间的关系有:泛化(generalization)关系,关联(association)关系(关联,聚合,合成),依赖(dependency)关系,实现(realization
阅读全文
posted @ 2012-09-15 12:30
bitbit
阅读(229)
推荐(0)
编辑