uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

6.4.3 Specifying the Scope of Transformation-source and Destination Nodes and Mapping Automatically

Use the Setting automatic mapping source dialog box for specifying the scope of transformation-source and destination nodes and mapping automatically. The Setting automatic mapping source dialog box automatically maps elements with a high degree of similarity in the transformation-source and destination nodes if the scope of such nodes is specified. If a mapping target does not exist in the scope and if a mapping line is already connected in the transformation-destination node adapter, mapping is not executed. For determining similarities during mapping, see 6.4.9 Determining Similarities during Automatic Mapping.

The mapping procedure using the Setting automatic mapping source dialog box is as follows:

  1. Right click the element of the transformation-destination node that is the mapping destination of the transformation-destination schema tree viewer and choose Automatic mapping.
    Choose the top element in the scope for mapping in the elements of the transformation-destination node.
    The Setting automatic mapping source dialog box appears.
  2. Click Add node.
    The Choose node dialog box appears.
  3. Specify the transformation-source node element that is the mapping source and click OK button.
    Choose the top element in the scope for mapping in the elements of the transformation-source node.
    The path name of the selected element appears in Path. For details about the path name display format, see 6.4.6 Mapping Source Display Format.
    To choose multiple elements, repeat step 3.
    Note that an error message is output in the following cases:
    • If the selected element is already selected
    • If the ascendant or descendant of the selected node is already selected
    After output of the error message, click OK, close the dialog box and then select the element again.
  4. Click OK.
    If the mapping target exists in the specified scope, the mapping line [Figure] (assigned line) is set automatically. If a mapping target does not exist in the scope and if a mapping line is already connected in the transformation-destination node adapter, mapping is not executed.
    Reference note
    You can change the color of the mapping line set. For details about how to change the color of the mapping line, see Cosminexus Service Platform Reference.
    Note
    If multiple mapping targets exist, multiple mapping lines might be created in 1 transformation-source node because the most similar target is selected. If the mapped transformation-source node is not the target or if the mapping target is to be filtered, use the Choose the automatic mapping candidate dialog box or reduce the scope for automatic mapping. For details about how to map automatically using the Choose the automatic mapping candidate dialog box, see 6.4.4 Specifying a Target from the Element of the Transformation-destination Node and Mapping Automatically.