2011年8月5日 星期五

Compositon and Aggregation in UML

http://en.wikipedia.org/wiki/Class_diagram

Stronger dependency
Composition > Aggregation > Association

Composition: owns a (Car owns an Engine)(UML symbol with solid diamond)
Aggregation: has a(Car Model has an Engine Model)(UML symbol with empty diamond)

UML symbols reference the wikipedia link above.

沒有留言:

張貼留言