Index Example

Introduction

This example demonstrates formulating and executing index queries used to find attribute and reference information for eObjects from open and closed models. It also demonstrates the usage of various options used to create the index context for the queries.

References

Please refer to the overview Indexing And Searching Models for reviewing the code samples within this example.

Installation

To install this example open the examples wizard: File > New > Example. Then select Index under the RMP (Rational Modeling Platform) > Domain Modeling Layer Plug-ins category.

Index Example Wizard

Description

The index example once installed provides a top-level menu that allows one to configure index queries and execute them based on selections made in the workbench. The example will provide results in a console view.

Menu

Index Menu

Console

Index Console

Usage

Refer to this example if you need:

  1. To index your models
  2. To formulate and execute index queries


Legal notices