Book a Demo

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

Prev Next

Display Inherited Attributes

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


Context Menu

Right-click element on diagram | Compartment Visibility

Keyboard Shortcuts


Enable Display of Inherited Attributes

In the 'Show Element Compartments' panel, select the 'Inherited Attributes' checkbox.

You can also override an inherited attribute's initial value, selecting the 'Features | Override Attribute Initializers' option to display the 'Override Attribute Initializers' dialog.

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



See also


Click on the drop-down arrow and select the variable name.


Click on the drop-down arrow and select the appropriate operator.


Type a new initial value.


Type in any comments or notes concerning the variable.


Click on this button to save the variable and close the dialog.


A UML Class diagram showing inherited attributes in a class hierarchy.

Learn more