Modeldraw
  • Welcome to Modeldraw
  • Getting Started
    • Quickstart Guide
  • FAQ
  • UML Designer
    • Common Elements
      • Comment
      • Comment Link
      • Dependency
      • Realization
      • Frame
    • Class Diagrams
      • Class
      • Association
      • Generalization
      • Composition
      • Aggregation
      • Enumeration
      • Interface
      • Association Class Link
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Sequence Diagrams
      • Lifeline
      • Activation Bar
      • Synchronous Message
      • Asynchronous Message
      • Return Message
      • Found Message
      • Interaction Frame
    • Use Case Diagrams
      • Actor
      • Use Case
      • Association
      • System Boundary
      • Generalization
      • Include Relationship
      • Extend Relationship
    • State Machine Diagrams
      • State
      • Initial State
      • Final State
      • Transition
      • Superstate
      • Concurrent Boundary
      • History Pseudostate
      • History Transition
    • Package Diagrams
      • Package
    • Deployment Diagrams
      • Node
      • Communication Path
      • Deployed Artifact
      • Internet
    • Activity Diagrams
      • Initial Node
      • Activity Final
      • Action
      • Flow
      • Decision / Merge
      • Fork / Join
      • Partitions
      • Flow Final
      • Send Signal
      • Accept Signal
      • Time Signal
    • Component Diagrams
      • Component
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Communication Diagrams
      • Object
      • Link
  • Wireframes
    • Views
    • Layouts
    • Components
Powered by GitBook
On this page
  • Understanding Generalization
  • Creating a Generalization
  1. UML Designer
  2. Class Diagrams

Generalization

PreviousAssociationNextComposition

Last updated 7 months ago

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.

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.

A Generalization