Automatic Link Population

In the mapping sample in Population Mapping Files, we saw what is needed to explicitly map a populated link. A mapped target entity must be present for each TQL link element, such as the one shown below:

Using the Generic Adapter automatic link population mechanism, we no longer need to map the TQL link elements with mapping sections such as the one shown above. The framework will generate a link CI instance of the type specified in the TQL with empty properties. This operation will be performed for all the links in the population TQL query.

The sample mapping results in a link CI of type composition being created that has as link ends (end1 and end2) the Node and Running Software CI instances.

You should use Manual Link Population if the link you are populating requires:

  • Dynamic link type (using the type attribute)
  • Link properties