Rational DOORS RT Interface : Working with the RT Interface : Exporting Rational Statemate Data to Rational DOORS : Configuring Filtering by Attribute

Configuring Filtering by Attribute

Filtering by attribute is extremely useful, if you need to export limited sets of data to a specific module.

For example, if you need to export a module of elements with an attribute type security classification and a value of unclassified, you can set up a filter in the RT Interface to export any element with that particular attribute value to a specific Rational DOORS module.

To configure Statemate to filter by attributes:

1.
From the Statemate main window, click or select Tools > RT Interface > DOORS I/F.
Note:
When you select DOORS I/F, a warning splash screen displays, which can be ignored. Click OK to delete the splash screen.
2.
3.
In the Operation Scope area, select Charts or Files. Then, select All in WA or WAB Selection Only. If you choose WAB Selection Only, select the elements you want to include in the operation.
4.
Note:

There are a series of buttons in the Chart Type window, to the right of the element types, with three dots in them. These are the attribute filters.

The button furthest to the right relates to attributes associated with a chart.

The buttons inside the Chart Type boxes relate to attributes associated with the graphical elements on a chart.

5.
Click the Attribute Filter button associated with the element you wish to export. The Attribute Filter window opens.
6.
7.
Enter the attribute value associated with the attribute type you wish to filter on the right side of the window (use the exact case of the attribute value).
Note:
If more than one attribute is to be used as the basis for a filter, the Use All Attributes or the Use Any Attributes button in the Attribute Filter window is extremely useful.

These buttons do the following:

Use All Attributes - An element to be exported must have all the attributes mentioned in the filter set to the values defined (an AND operation).
Use Any Attributes - An element to be exported can have any of the attributes mentioned in the filter set to the values defined (an OR operation).
Note:

The following figure shows how to use a general filter to export only an activity chart with a Security Classification of Confidential to the DOORS module Activity_charts.

.

The following figure shows how to use the AND/OR filter to export only activity charts with a Security Classification of Confidential and a Functional Area of Three to the DOORS module Activity_charts.

Note:
Because the graphical element Activities has been set to export, another filter can be applied to it. In this instance, all the graphical activity elements with either a Security Classification of Confidential or Top Secret are exported.
8.
Click OK to save the settings.