Table of Contents

Search

  1. Preface
  2. Part 1: Concepts and Models
  3. Part 2: Custom XConnect Created with a Load Template
  4. Appendix A: Resource Configuration File

Metadata Manager Custom Metadata Integration Guide

Metadata Manager Custom Metadata Integration Guide

Elements in a Lineage Association

Elements in a Lineage Association

You can add specific elements when defining a lineage association rule. You must specify the "from" element and "to" element to identify the "from" and "to" objects in the association. You can also specify a linkExpression element to define the expression that appears in the data lineage diagram when you hover over the "to" object.
You can use the following elements in a lineage association rule:
lineageAssociation
The following table describes the attributes for the lineageAssociation element:
Attributes
Description
ruleName
Required. Name of the rule defined for the specified lineage association.
from
You can add the "from" element within the association element in an association rule or add the "from" element within the lineageAssociation element in a lineage association rule. The "from" element identifies the "from" object in the association. You must also specify the "to" element.
For example, you create the following association rule:
<loadTemplate name="AS400_1" targetModel="AS400" templateSpecVersion="1.0"> <association ruleName="AS400ParentRule" name="ParentAssociation"> <from>FROM_ELEMENT</from> <to>TO_ELEMENT</to> </association>
In this example, the association rule defines associations between "from" objects and "to" objects. The "from" objects come from the FROM_ELEMENT column in the metadata source file. The "to" objects come from the TO_ELEMENT column in the metadata source file.
to
You can add the "to" element within the association element in an association rule or add the "to" element within the lineageAssociation element in a lineage association rule. The "to" element identifies the "to" object in the association. You must also specify the "from" element.
linkExpression
The linkExpression element specifies the expression text that appears in the data lineage diagram when you hover over the "to" object.
For example, you create the following lineage association rule:
<lineageAssociation ruleName="AS400ViewLinkRule"> <linkExpression>LINK_EXPRESSION</linkExpression> <from>FROM_ELEMENT</from> <to>TO_ELEMENT</to> </lineageAssociation>
In this example, the lineage association rule defines lineage associations between source objects in the FROM_ELEMENT column of the metadata source file and target objects in the TO_ELEMENT column of the metadata source file. Text in the LINK_EXPRESSION column appears in the data lineage diagram when you hover over the target objects.

0 COMMENTS

We’d like to hear from you!