IBM Support

How does the Scope setting work in a Table View in IBM Rational Rhapsody

Question & Answer


Question

Why does a Table View show Rhapsody elements which are not contained in the selected scope?

Cause

You set a table scope to a specific package, but the table view lists also Rhapsody elements which are located outside of the selected scope.

Answer

The package you select in Table View -> Scope is only the initial package for the General Attribute table column. It does not limit the search scope for connected elements.
(It cannot be compared to the scope functionality for code generation.)

For example:
You have package_0 which contains class_0, and you have package_1 in parallel to package_0 which contains class_1.

There is a dependency from class_0 to class_1. The Table View scope is set to package_0.
In the Table View you see 1 line: class_0, and in the Depends On column you see class_1.
The dependency lists class_1 independent on the scope selection.

This is the correct behaviour. You do not get an additional class_1 in the General Attribute column in line 2.

Especially for context pattern tables, the scope setting is valid for the first element of the pattern chain only, and all connected elements are searched in the entire model.

[{"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;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4;8.1.5;8.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21999397