uCosminexus Service Platform, Basic Development Guide

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

6.4.8 Restricting mapping range

When creating data transformation definition file with the mapping definition editor, if XML schema (extension: xsd) has been specified in transformation destination schema, you can restrict the note to be mapped. You can use this function only when output file of transformation operation of file operation adapter is XML format.

Operation procedure is as follows:

  1. Start the mapping definition editor.
    For details on how to start the mapping definition editor, see "6.3.1(1)(b) To display from the Eclipse menu".
  2. Right click on elements (simple contents element or complex contents element) of transformation destination node handled by the Transformation destination schema viewer as records.
    Popup menu is displayed.
  3. From pop up menu, select Include grandchild node in mapping target.
    Transformation destination nodes other than the set element and its grandchild elements are disabled.
    When mapping line is connected to the transformation destination node other than the set node and its grandchild node, confirmation dialog is displayed. If you click Yes button, mapping line connected to the transformation destination node is deleted and the transformation destination node other than the set element and is grandchild element are disabled.
    For disabled transformation destination node, error does not occur during verification, even if mapping line is not connection.

Note
  • Specify the path of element to be handled as record, in the file operation adapter definition file. For details on the file operation adapter definition file, see "File operation adapter definition file" in "Service Platform Reference Guide".
  • When you re-select the root element, settings of Include grandchild node in mapping target are reset.
  • When you copy the mapping definition, status of setting Include grandchild node in mapping target is inherited to the mapping definition of copy destination.