IBM Support

How to show inherited attributes within a class diagram.

Question & Answer


Question

How do I show inherited attributes within a class diagram for Rational Rhapsody?

Cause

By default, only attributes declared in a class are shown.

Answer

1) Open a class diagram within your model.

2) Create a Class object.

3) Right click on the class, and navigate to 'Display Options'. Navigate to the 'Compartments' tab.

4) Under Compartment, select 'Attribute' from the drop-down menu.

5) Within the 'Show' section, check the 'Inherited' checkbox. Then select the 'All' Radio button to have it display by default. Select 'OK' to close this window.

6) Right click on the class, and select 'Make/Restore Default'. Make sure the checkbox for 'Display Options' has been selected, and choose whether you want this to be the standard for the Diagram, Package, or Project, by selecting the relevant radio button.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.1.5","Edition":"Rational Rhapsody Developer","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21990265