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).
To show inherited Attributes, use the Specify Feature Visibility dialog.
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. This displays the Override Attribute Initializers dialog.
In the Override Attribute Initializers dialog, select the variable name and enter a new initial value. If required, you can 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 childclass displays the correct attribute set and initial values.