Associations - Composition and Aggregation - Composition
5 important questions on Associations - Composition and Aggregation - Composition
We use composition to indicate a .... relationship
The multiplicity at the part end can be any legal value.
What do we allow in this figure?
We allow for two Covers because one would be the Front and other the Back, as we show in Fig. 10.24.
We also use separate composition relationships instead of the more common tree-like structure as we show in Fig. 10.25.
As a composition is a kind of an association, any of the role or association adornments can appear.
However, it is common not to ??
A Book is composed of two Covers
or
A Book has two parts that are Covers
or
A Cover is a part of a Book
In these relationships, we technically can say that the AggregationKind = Composite.
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
What is the AggregationKind in a regular association?
What is the AggregationKind in a Composite relationship?
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding