Generalization Properties

To view or edit a generalization's properties, double-click its diagram symbol or Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator..

The General tab contains the following properties:

Property

Description

Name/Code/Comment

Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field.

Stereotype

Extends the semantics of the object beyond the core UML definition. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file.

Parent

Specifies the parent object. Use the tools to the right of the list to create, browse for, or view the properties of the currently selected object.

Child

Specifies the child object. Click the Properties tool to the right of this box to view the properties of the currently selected object.

Visibility

Specifies the visibility of the object, how it is seen outside its enclosing namespace. You can choose between:
  • Private – only to the generalization itself

  • Protected – only to the generalization and its inherited objects

  • Package – to all objects contained within the same package

  • Public – to all objects (option by default)

Generate parent class as table

Selects the "Generate table" persistence option in the Detail tab of the parent class property sheet. If this option is not selected, the "Migrate columns" persistence option of the parent class is selected.

Generate child class as table

Selects the "Generate table" persistence option in the Detail tab of the child class property sheet. If this option is not selected, the "Migrate columns" persistence option of the child class is selected.

Specifying Attribute

Specifies a persistent attribute (with a stereotype of <<specifying>>) in the parent table. Click the New tool to create a new attribute. This attribute will only be generated if the child table is not.

Keywords

Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas.

If the generalization is created in a use case diagram, you cannot change the type of objects linked by the generalization. For example, you cannot attach the dependency coming from a use case to a class, or an interface.