Search code examples
databasedatabase-designumlclass-diagramuse-case

Where to put Aggregation and Composition symbols?


I know about Aggregation and Composition though but i am still confused when i start to implement it on the UML class diagram please can some one tell me where i need to put the symbols of Composition and Aggregation and why.

This is the image


Solution

  • You put aggregation and composition symbols on the end of the association that is adjacent to the thing that aggregates or composes.

    BTW, you appear to have typed the multiplicities into your UML tool where you should have typed the names of the association ends. There is another place to type the multiplicities for those association ends.