Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Display Inherited Attributes

When displaying a Class with attributes in a diagram, you can also show the inherited attributes from all parents in the elements type hierarchy (ancestors).

Access     Right-Click element (on diagram) context menu | Feature Visibility (Ctrl + Shift + Y)

Topics

Topic

Detail

See also

Override Attribute Initializers

Note that for elements that have attributes you can also override an inherited attribute's initial value, using the element context menu option Advanced | Override Attribute Initializers to display the Override Attribute Initializers dialog.

In this dialog, select the variable name and enter a new initial value.

If required, type a note in the Note field.

When you display inherited attributes, Enterprise Architect merges the list of attributes from all ancestors and merges the attribute initializers, so that the final child Class displays the correct attribute set and initial values.

 

 

Example

Attributes-Inherited

Learn more