Saturday, June 16, 2012

Composition


Composition is a stronger variant of the "owns a" or association relationship
composition is more specific than aggregation.
It is represented with a solid diamond shape.
Composition has a strong life cycle dependency between instances of the container class and instances of the contained class(es)
If the container is destroyed, normally every instance that it contains is destroyed as well

No comments:

Post a Comment