Generalization

A Generalization relationship in UML represents an inheritance relationship between Classes, where one Class (the subclass or child class) inherits properties and behaviors from another Class (the superclass or parent class). In Modeldraw, you can easily create and manage Generalization relationships to model inheritance hierarchies in your system.

A Generalization

Understanding Generalization

Generalization embodies the "is-a" relationship:

  • The subclass "is a" more specific version of the superclass

  • The subclass inherits attributes and methods from the superclass

  • The subclass can add its own attributes and methods or override inherited ones

Creating a Generalization

To create a Generalization in Modeldraw:

  1. Select the Generalization tool from the toolbox

  2. Click on the subclass (child)

  3. Move above and click the superclass (parent)

The arrowhead will automatically point towards the superclass.

Last updated