You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
association / aggregation / composition. Aggregation and Composition are subsets of association meaning they are specific cases of association. Association is a relationship where all objects have their own lifecycle and there is no owner.
Aggregation is a specialised form of Association where all objects have their own lifecycle_, but there is ownership and child objects can not belong to another parent object. Composition is again specialised form of Aggregation and we can call this as a “death” relationship. It is a strong type of Aggregation. Child object does not have its lifecycle and if parent object is deleted, all child objects will also be deleted.