volume_mute

Aggregation Diamond Placement

publish date2026/06/09 19:47:11.215824 UTC

volume_mute

In a UML aggregation association, the diamond shape is placed next to which class, and what does it signify?

Correct Answer

Next to the whole class; it signifies that the whole is composed of the parts

Explanation

The diamond is placed next to the class that represents the whole. Aggregation signifies that one object (the whole) is composed of other objects (the parts). For example, in a Patient Record aggregation, Patient Record can be the whole (diamond on its end) and Patient and Consultation are the parts. The diamond indicates 'this class is composed of the connected classes'.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears