1.2.5 Data Transformation Definition Window

This subsection explains the Data Transformation Definition window for defining data transformation.

For the operation method, see 1.12 Operations in the Data transformation definition Window.

Figure 1-27 FigureData Transformation (Mapping) Definition window

[Figure]

Organization of this subsection
(1) Source schema tree viewer, mapping viewer, and target schema tree viewer
(2) Palette

(1) Source schema tree viewer, mapping viewer, and target schema tree viewer

Map nodes in the source schema tree viewer to nodes in the target schema tree viewer. In the mapping viewer, you can deploy functions selected from the palette, and connect node adapters and functions with mapping lines.

The items in the source schema tree viewer, the mapping viewer, and the target schema tree viewer are shown in the following figure and explained below.

Figure 1-28 FigureSource schema tree viewer, mapping viewer, and target schema tree viewer

[Figure]

Node
These are the schema logical names, elements, and attributes of XML schemas.
The icons displayed for nodes and their meanings are explained below.
  • Schema logical name ([Figure])
    Indicates a logical name for identifying an XML schema file.
  • Complex content ([Figure])
    Indicates a complex element that has a complex content.
  • Simple content ([Figure])
    Indicates a complex element that has both a simple element and simple content.
  • Attribute ([Figure])
    Indicates the attribute of an element.
The value inside the square brackets ([ ]) following the node indicates the occurrence count of the node. The occurrence count is displayed in the following format:
[minimum-occurrence-count:maximum-occurrence-count]
If there is no upper limit for the maximum occurrence count, an asterisk (*) is displayed.
If both the minimum occurrence count and the maximum occurrence count are 1, no occurrence count is displayed.
Node-mapping line
A line that indicates mapping between a node and a node adapter.
Node adapter
Node adapters are displayed for all nodes. Map the source node adapters to target node adapters by connecting those using mapping lines. There are two types of node adapters. One type is a mapping-target node adapter ([Figure]) and the other type is a non-mapping-target node adapter ([Figure]). For details about the mapping targets and non-mapping targets, see the description of mapping conditions in the manual Service Platform Development Guide.
Note that you cannot scroll node adapters with the scroll bar displayed in the mapping viewer. You can move the scroll bar displayed in the transformation destination schema tree viewer scroll to scroll the node adapters.

(2) Palette

From the tools on the palette, select the functions to be deployed in the mapping viewer. Also select mapping lines to connect node adapters and functions.

The items on the palette are shown in the following figure and explained below.

Figure 1-29 FigurePalette (Data Transformation Definition window)

[Figure]

Group
Functions of the same type are gathered into a group. A group is preceded by a folder icon ([Figure]). Clicking a group hides the tool list under the group. When the tool list is hidden, a list of tools is displayed.
Tool
A tool can be a function or a mapping line, for example. You can deploy the functions that you have selected in the mapping viewer, or map node adapters and functions with mapping lines.

The following table lists the groups and tools on the palette.

Table 1-7 TableGroups and tools on the palette (Data Transformation Definition window)

IconDisplay nameExplanation
[Figure]Select nodeSelects functions and mapping lines in the mapping viewer.
[Figure]MarqueeSelects the functions and mapping lines contained inside the rectangular frame.
[Figure]MappingMapping lines for connecting nodes and functions.
[Figure]Character stringGroup made up of all string-related functions.
[Figure]concatString-concatenating function.
[Figure]substrSubstring-acquiring function.
[Figure]lengthString-length-acquiring function.
[Figure]containString-checking function.
[Figure]trimNode-trimming function.
[Figure]NumberGroup made up of all number-related functions.
[Figure]formatNumber format conversion function.
[Figure]calcNode operation function.
[Figure]roundNode-rounding function.
[Figure]sumNode summing-up function.
[Figure]bitGroup made up of all bit-related functions
[Figure]notNOT operation function
[Figure]bitopLogical operation function
[Figure]shiftShift operation function
[Figure]nodeGroup made up of all node-related functions.
[Figure]nameNode name-acquiring function.
[Figure]countNode count-acquiring function.
[Figure]existNode-checking function.
[Figure]ControlGroup made up of all functions that control mapping.
[Figure]loopNode-looping function.
[Figure]chooseNode-choosing function.
[Figure]OtherGroup made up of all functions that do not belong to any other group.
[Figure]replaceChange value function.
[Figure]radixRadix conversion function
[Figure]customCustom function.
[Figure]constConstant-setting function.