Aggregation is a type of association that specifies a whole/part relationship between the aggregate (whole) and a component part. It differs from composition in that it does not imply ownership. In composition, when the owning object is destroyed, so are the contained objects. Following are the characteristics of aggregation:
- It does not imply ownership.
- It is an asymmetric relationship.
- It is a transitive relationship.
- It implies stronger coupling behavior (copy, delete, etc.).