The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Interfaces



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


aggregation relationship

Posted by saqer on October 30, 2001 at 10:20 AM

> paraphrased from UML Distilled:

> Aggregation is the "part-whole" relationship.

> Composition is a stronger form of aggregation: the "part" can only be contained by one "whole", and when the "whole" is deleted, all the parts are deleted. In aggregation, the part may live independently from their containing object.

> I can't say I particularly like the words chosen to make this distinction. Nor am I sure why the distinction is important enough to make us all confused as to which is which.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us