Update associations authored by Christian Zirkelbach's avatar Christian Zirkelbach
......@@ -8,10 +8,10 @@ An Association classifies a set of tuples representing links between typed insta
# Aggregation and Composition
Aggregation and Composition are subsets of associations meaning they are specific cases of association.
In both aggregation and composition object of one class "owns" object of another class. But there is a subtle difference.
In both aggregation and composition object of one class "owns" object of another class. But there is a small difference.
## Aggregation
Aggregation implies a relationship where the child can exist independently of the parent. Example: Lecture (parent) and Student (child). Delete the Lectureand the Students still exist.
Aggregation implies a relationship where the child can exist independently of the parent. Example: Lecture (parent) and Student (child). Delete the Lecture and the Students still exist.
### Example
![Aggregation Class Diagram](https://git.informatik.uni-kiel.de/ag-se/teaching-public/wikis/uml-sources/img/aggregation.png)
......
......