Generalization

StarUML

Generalization

Top  Previous  Next

Semantics

Generalization is the taxonomic relationship between a more general element (the parent) and a more specific element (the child) that is fully consistent with the first element and that adds additional information. It is used for classes, packages, usecases, and other elements.

Procedure for creating generalization

In order to create generalization,

1.Click [Toolbox] -> [Class] -> [Generalization] button.

ch05_2306

2.Drag from child element and drop to parent element in the [main window].

ch05_2307

3.Then a new generalization is created.

ch05_2308

Procedure for creating multiple children classes at once.

In order to create multiple children classes inheriting selected class at once, use shortcut creation syntax.

1.Double-click to popup quick dialog. At the quick dialog, enter name of class inheriting selected class after "<=" string  and separate names with ",".

ch05_2309

2.The children classes are created below selected class and arranged automatically.

ch05_2310

Procedure for creating multiple parent classes at once

In order to create multiple parent classes of selected class at once, use shortcut creation syntax.

1.Double-click to popup quick dialog. At the quick dialog, enter name of parent classes of  selected class after "=>" string  and separate names with ",".

ch05_2311

2.The parent classes are created above selected class and arranged automatically.

ch05_2312