Tuesday, September 22, 2015

A Tiny Cheat Sheet for Composition, Aggregation and Association

A Tiny Cheat Sheet for Composition, Aggregation and Association

 

Composition Dependent lifecycles AND Ownership

Example: Car AND Engine

 

Aggregation Independent lifecycles AND Ownership

Example: Department AND Full-Time Professors

 

Association Independent lifecycles AND No Ownership

Example: Professors AND Students

No comments:

Post a Comment