Aggregation means one object is the owner of another object. Composition means one object is contained in another object . The direction of a relation is a requirement in both Composition and Aggregation.
What is the difference between aggregation and composition?
Aggregation means one object is the owner of another object. Composition means one object is contained in another object . The direction of a relation is a requirement in both Composition and Aggregation.