Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A generalization set is a packageable element whose instances define collections of subsets of generalization relationships. Each generalization set defines a particular set of generalization relationships that describe the way which a general classifier may be divided using specific subtypes.

Example of Movie and Audiobook generalization sets

You can format the generalization symbol properties in the Symbol Properties dialog. For more information on how to open the generalization set's Symbol Properties dialog, scroll down to read on how to open the generalization set's Symbol Properties dialog

Tip
titleMore Information

For more information about symbol representation properties, see Formatting symbols.

You can specify generalization set properties in the Generalization Set's Specification window. For more information on how to open the Generalization Set's Specification window, scroll down to read on how to open that Specification window. In the same window, you can find the description of each Generalization Set property in the description area of the Specification Window.

Tip
titleMore Information

For more information about the Specification window usage, see Specification window.

For more information about specifying property values, see Editing property values.


Note
titleNote

For a generalization set, use the name of a selected generalization set (not the relationship path) to open the Symbol Properties dialog or Specification window.



Panel
titleOn this page

Table of Contents


Panel
titleRelated Pages


Creating a new generalization set

You can create a generalization set using a generalization Specification window or a command from the generalization shortcut menu.


To create a new generalization set using the Specification window


  1. Select the generalization and open its Specification window.
  2. In the Generalization Set property value cell, clock click the Edit button Image RemovedImage Added. The Select Generalization Set dialog opens.

    Info

    For more information about working with the elements Selection dialog, see Selecting elements.


  3. Select a generalization set owner and click the Create button. If this command is unavailable, turn on the Creation Mode
  4. In the opened list, click Generalization Set. The Generalization Set Specification window opens.
  5. Type the generalization set name and set other properties you need. Click Close when you are done.
  6. The created generalization set is displayed in the model tree or list and in the Selected elements area of the Select Generalization Set dialog.
  7. Select the created generalization set and click OK. The generalization set is created and assigned for the current generalization.

Note
titleSelected Elements

In the Generalization Set property value cell, several generalization sets can be listed, but only the first generalization set name is displayed on the diagram pane near the generalization.

 

Anchor
create
create
To create a new generalization set from the generalization shortcut menu


  1. On the diagram pane, select a generalization and open its shortcut menu.
  2. In the shortcut menu, click Generalization Set. The Select Generalization Set dialog opens.
  3. If it's already there, select the generalization. Otherwise, click the Create Generalization Set button. 
  4. The Select Owner dialog opens.
  5. In the dialog, select an existing or create a new generalization set owner and click OK when you are done.
  6. The Generalization Specification window opens. Type the generalization set name and set other properties you need.
  7. Click Close when you are done.
Info
titleSeveral Generalizations

To create a generalization set for several generalizations at a time


  1. Select one generalization, then hold down the Shift key and select the other generalizations you desire.
  2. While hovering your mouse over one of the generalizations, right click to show the shortcut menu and select Generalization Set.
  3. Repeat steps 2-7 from the aforementioned set of instructions.


Assigning a generalization set for a generalization

Warning
titleAssigning a Generalization Set

Before assigning a generalization set, make sure you have at least one generalization set in your model.

 

To assign a generalization set for a generalization using the Specification window


  1. Select a generalization and open its Specification window.
  2. In the Generalization Set property value cell, click the Edit button . The Select Generalization Set dialog opens.
  3. Select the desired generalization set and click OK. The selected generalization set is displayed in the Generalization Set property value cell.

    Info

    For more information about working with the elements Selection dialog, read Selecting elements.


  4. Close the Specification window.

 

To assign a generalization set for a generalization using the shortcut menu


  1. On the diagram pane, select a generalization and open its shortcut menu
  2. Click Generalization Set. In the opened Select Generalization Set dialog, select the generalization set you need. If you do not see your desired Generalized Set then you can can create a new generalization set from the dialog. 


Tip
titleAnother Alternative to Assigning Generalization Sets

Draw or move a generalization line to a generalization set tree or to a generalization that belongs to a generalization set (see the following figure). The newly created generalization is assigned to the same generalization set.


To assign a generalization to a particular generalization set


  1. Open the Generalization Set Specification window.
  2. In the Generalization property value cell, click the Edit button . The Select Generalization dialog opens.
  3. From the list of generalizations, select all you need and click Apply.
Note

You can select generalizations that belong to other sets. Selecting such a generalization removes it from the previous set and adds it to the current one.


Opening the Generalization Set Specification window and Symbol Properties dialog


Anchor
specification
specification
To open its Specification window


Do one of the following:

  • On the diagram pane, double click on the generalization set name revealing the Generalization Set Specification window.
  • Invoking the Generalization Set Specification window from the diagram pane shortcut menu
    1. On the diagram pane, right click the generalization set name revealing its shortcut menu.
    2. Select the Specification command opening the Generalization Set Specification window.
  • Opening the Generalization Set Specification window from the Generalization Specification window.
    1. Open the Generalization Specification window by double-clicking on the Generalization arrow.
    2. In the Generalization Specification window, select the Generalization Set property cell.
    3. Select the generalization set you desire.
    4. Right-click to open the generalization set shortcut menu. Select Open Specification.
    5. The Generalization Set Specification window opens.



Anchor
symbol
symbol
To open its Symbol Properties dialog


  • On the diagram pane, select the generalization set name and from its shortcut menu, select Symbol Properties. The Symbol Properties dialog opens.



Grouping generalizations to generalization set trees

Note
titleMake Generalization Set Tree command
The Make Generalization Set Tree command is available if the general element has at least two generalizations and at least two generalizations has assigned the same generalization set.

 

To group the generalizations to the generalization set trees


  1. Select a general element on the diagram pane and invoke its shortcut menu.
  2. Click Refactor Make Generalization Set Tree