Administer > RTSM > RTSM Modeling > Introduction > Topology Query Language > Add/Edit Relationship Dialog Box

Add/Edit Relationship Dialog Box

This dialog box enables you to define the connection between two query nodes in a TQL query.

To access

To access in Enrichment Manager, Impact Analysis Manager, and the Modeling Studio, do one of the following:

  • Right-click the required query node in the editing pane in Enrichment Manager, Impact Analysis Manager, or the Modeling Studio and select Add Relationship.

  • Click the Create Relationship button and draw a line between the required query nodes. The Select Relationship Type dialog box opens. Select Regular Relationship.

Note If you are using Enrichment Manager, select Query mode at the top of the editing pane to display the Add Relationship option.

To access in Adapter Management in DFM:

  1. Select an adapter in the Resources pane.

  2. In the Adapter Definition tab, click the Edit Input Query button to the right of the Input Query box to open the Input Query Editor.

  3. Right-click the required query node and select Add Relationship.

Important information This option does not appear when two selected query nodes (or a single selected query node) do not have a valid relationship between them.
Relevant tasks
See also

User interface elements are described below (unlabeled elements are shown in angle brackets):

UI Element (A-Z) Description
Expand All. Expands all the folders in the relationship tree.
Collapse All. Collapses all the folders in the relationship tree.
Tree View

Tree View. Enables you to select the display format of the relationship tree. The following options are available:

  • by Display label

  • by Class name

  • by Legacy class name

<Relationship tree> Select the relationship that defines the connection between two query nodes.
Relationship Direction The direction of the relationship that indicates which query node is dependent on the other.
Relationship Name The name of the relationship.
Relationship Restrictions

Select an option to define how to handle relationships between identical query nodes or self-relationships in the query results. A self-relationship is a relationship that leads from a query node to itself.

Note This list appears only when you select one query node or two identical query nodes.

  • Allow All Relationships. All relationships appear in the query results.

  • Allow Self Relationships only. Only self-relationships (a relationship that leads to itself) appear in the query results.

  • Allow Non Self Relationships only. Self-relationships do not appear in the query results.