uCosminexus Service Platform, Basic Development Guide
6.8.4 Copying mapping definitions
This section describes a method to copy the mapping definition.
- Reference note
- When you copy the mapping definition, name same as copy source function is set in the copy destination function. If the function with same name already exists in mapping definition editor of copy destination, name to which serial number is added at the end, is set.
- Organization of this subsection
- (1) Structure matching copy mapping
- (2) Element name matching copy mapping
(1) Structure matching copy mapping
Structure matching copy mapping is the copy method that can be used when not only the element name of copy destination and copy source, but the schema structure matches. Method to copy mapping definition with structure matching copy mapping is as follows:
- In the Transformation destination schema tree viewer of the Data transformation definition screen, right click Copy contents element and select [Copy mapping]-[structure matching].
The Set copy mapping source dialog box appears.
- Click Add node.
Node chooseion dialog appears.
- Choose the element to be copied and click OK button.
The path of the selected node is added in Path. If multiple schemas exist in the transformation-source, choose multiple elements to be copied.
- Click OK button.
The mapping definition is copied.
(2) Element name matching copy mapping
Element name matching copy mapping is the copy method that can be used when element names of copy source and copy destination match. Method to copy the mapping definition with element name matching copy mapping is as follows:
- In the Transformation destination schema tree viewer of the Data transformation definition screen, right click copy contents element and select [Copy mapping]-[Element name matching].
Copy mapping range setting dialog is displayed.
- Set copy source and copy destination information.
Set copy source information in Copy mapping source and copy destination information in Copy mapping destination.
Select node to be set in each item by clicking Select node button next to the item. The selected node is displayed in each item.
- Click OK button.
Mapping definition is copied.
- Note
- In the following cases, error is displayed and mapping file is not copied.
- When mapping definition file of copy source (extension:.mdo) has not been registered
- When mapping definition file of copy source (extension:.mdo) cannot be read
- When registered mapping definition file of copy source (extension:.mdo) is blank
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.