Composition is similar to aggregation, but represents a stronger relationship than aggregation. It represents a whole-part relationship like aggregation. It implies that the parts cannot exist without whole. For example, a University consists of several departments; departments cannot exist on its own if the University ceases to exist.
In UML, the composition symbol is similar to the aggregation symbol, but the diamond at the end of the association link is filled. The diagram below depicts the composition symbol:

Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
