Association Relationships in UMLsection 02
Association Relationships in UMLsection 02
UML
Association
Association
• Association describes the relationship between classes where objects
of one class are connected to objects of another class.
Aggregation and Composition
Aggregation and Composition
• Aggregation and composition are two types of association. Both
aggregation and composition establish a “has-a” relationship
between objects of different classes.
• Aggregation represents a weak relationship where an object can exist
without its parent object.
• Composition indicates a strong relationship where an object cannot
exist without its parent object. It implement a “part-of” relationship
between objects
Composition
Composition
Aggregation