Advanced Search Options

The advanced search options help you to apply greater control over how your customized search operates on your model.

You can set values and checkboxes in your search definition to find specific criteria within a feature, for example, element properties. However, you can also set filters to run the search across the whole model or a specific Package, and to locate objects that have a specified value in:

·All features (for example, the value exists in an element's properties and one of its attributes' properties) or
·Any one of its features (for example, the value exists in an element's properties or any of its attributes' properties)
 

The filters for each feature operate on a database table. In the system-supplied searches, for example, filters on element properties operate on the t_element table, filters on attribute properties operate on t_attribute, and filters on method parameters operate on t_operationparams.

Access     Edit | Search in Model  ( Ctrl+Alt+A ): <select search>: editsearch > Query Builder: SearchOptions

Options

Option

Action

See also

Return matching items for the entire model

Defaults to selected, to run the search across the entire model.

The search checks every Package in the model, and returns items that match the search criteria from wherever they are located.

 

 

Return matching items for the selected Package

Click on this radio button to run the search on a specific Package that the user selects in the Project Browser.

If the user runs a search and then selects a different Package in the Project Browser, the search results do not change until they click on the Search in Model icon again; that is, to search different areas of the project:

·Click on the first required Package in the Project Browser
·Click on the Search in Model icon
·Check the result
·Click on another Package in the Project Browser
·Click on the Search in Model icon

 

 

All Tables

Click on this radio button to list objects that have a match in every feature table checked in the search.

For example, only list elements where both the element and one or more of its attributes have the same stereotype name.

 

 

At Least One Table

Defaults to selected to list objects that have a match in at least one of the feature tables checked in the search.

For example, list elements that either have the specified stereotype name, or have attributes that have the specified stereotype name.

 

 

OK

Click on this button to apply the settings and close the dialog.

 

 

Cancel

Click on this button to cancel any changes you have made and close the dialog.

 

 

Learn more