UML Tutorial:  Association, Aggregation, Composition, Dependency, Generalization, and Realization
Articles Blog

UML Tutorial: Association, Aggregation, Composition, Dependency, Generalization, and Realization

October 11, 2019


What are the most important relationships in a UML class diagram? What are the different types of association relationships? What is a dependency relationship in UML? What is the difference between Generalization & Realization? Which UML Class relationships are tightly coupled? Which UML Class relationships are loosely coupled? What is a Binary Association? What is the difference between a bidirectional and a unidirectional association? What is a Self Association? What is an N-ary Association? What is Aggregation? What is Composition? What is the difference between Composition and Association? What is a Dependency UML Relationship? What is a Generalization UML Relationship? What is Subtyping Polymorphism? What is a UML Realization Relationship?

Only registered users can comment.

  1. You my man, are awesome! By the way, how could you differentiate between a Unary association that looks like: Employee—>Worker & an inheritance relationship that looks like this: Employee—>Worker ?

  2. Not sure how the "Employment" class fit in in your N-ary association example, since you only linked "Company,Worker,Contract".

  3. How can a room exists without walls? Walls are part of a room, but belong to a room or house. Try to take one wall out. I dare you!!!

  4. For composition, I think a better example would have been a house having rooms which are part of a house. You destroy the house and you are destroying the room(s) as well.

  5. When it comes to theory it is a great tutorial and for that you get big thumb up and I have subscribed. however… No real life examples and a lack of energy while talking are I would suggest to change in order that your tutorials become even better.

Leave a Reply

Your email address will not be published. Required fields are marked *