uCosminexus Service Platform, Basic Development Guide

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

6.10.2 Correspondences Between Nodes and Functions That Can Be Mapped

When mapping, you must take into consideration the correspondences among the transformation-source nodes, transformation-destination nodes, and functions that can be mapped. This section describes the mapping of mapping possible transformation source nodes, transformation destination nodes and functions.

Table 6-11 Mapping from a transformation-source node to a transformation-destination node

Mapping source Mapping destination
Transformation-source node Transformation-destination node
Simple content#1#2 Complex content#1 Attribute#1#3
Simple content#1#2 Y -- Y
Complex content#1 -- -- --
Attribute#1#3 Y -- Y

Legend:
Y: Can be mapped.
--: Cannot be mapped.

#1
For details about the simple contents, complex contents, and attributes, see the transformation-source schema tree viewer, mapping viewer, andtransformation-destination schema tree viewer in the manual Cosminexus Service Platform Reference.

#2
The any element can only be mapped with another any element.

#3
The anyAttribute attribute can only be mapped with another anyAttribute attribute.

Table 6-12 Mapping from a transformation-source node to a function

Mapping source Mapping destination
Transformation-source node Function
String--based Number--based Bits group Node--based Control--based Other
Concatenate Acquire substring Acquire string length Check string Trim node Convert number format Perform node operation Round node Sum up nodes Negation operation Logical operation Shift operation Acquire node count Acquire node name Check node Loop node Choose node Set constant Custom Replace value Radix conversion#1
Simple content#2#3 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y -- Y Y Y
Complex content#2 -- -- -- -- -- -- -- -- -- -- -- -- Y Y Y Y -- -- -- -- --
Attribute#2#4 Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y -- Y -- Y Y Y

Legend:
Y: Can be mapped.
--: Cannot be mapped.

#1
Input basic numbers are hexadecimal, decimal or binary numbers.

#2
For details about the simple contents, complex contents, and attributes, see the transformation-source schema tree viewer, mapping viewer, and transformation-destination schema tree viewer in the manual Cosminexus Service Platform Reference.

#3
You can map any element with any element or Node list type custom function. You can perform mapping by adding Node list type custom function between any element and any element. You cannot perform mapping by adding function between any element and Node list type custom function.

#4
You can perform mapping of anyAttribute attribute with anyAttribute attribute or Node list type custom function. You cannot perform mapping by adding function between anyAttribute attribute and anyAttribute attribute. Also, you cannot perform mapping by adding function between anyAttribute attribute and Node list type custom function.

Table 6-13 Mapping from a function to a transformation-destination node

Mapping source Mapping destination
Function Transformation-destination node
Simple content#1#2 Complex content#1 Attribute#1#3
String--based Concatenate Y -- Y
Acquire substring Y -- Y
Acquire string length Y -- Y
Check string Y -- Y
Trim node Y -- Y
Number--based Convert number format Y -- Y
Perform node operation Y -- Y
Round node Y -- Y
Sum up nodes Y -- Y
Bit group NOT operation Y -- Y
Logical operation Y -- Y
Shift operation Y -- Y
Node--based Acquire node count Y -- Y
Acquire node name Y -- Y
Check node Y -- Y
Control--based Loop node Y Y --
Choose node Y Y Y
Other Set constant Y Y Y
Custom Y -- Y
Replace value Y -- Y
Radix conversion#4 Y -- Y

Legend:
Y: Can be mapped.
--: Cannot be mapped.

#1
For details about the simple contents, complex contents, and attributes, see the transformation-source schema tree viewer, mapping viewer, and transformation-destination schema tree viewer in the manual Cosminexus Service Platform Reference.

#2
You can map any element with any element or Node list type custom function. You can perform mapping by adding Node list type custom function between any element and any element. You cannot perform mapping by adding function between any element and Node list type custom function.

#3
The anyAttribute attribute can only be mapped with another anyAttribute attribute. 2 anyAttribute attributes with a function entered cannot be mapped.

#4
Output basic number is hexadecimal, decimal or binary number.

Table 6-14 Mapping a function to another function (mapping destination is character string group, numeric value group and bit group)

Mapping source#1 Mapping destination
Function Function
String--based Number--based Bit group
Concatenate Acquire substring Acquire string length Check string Trim node Convert number format Perform node operation Round node Sum up nodes Negation operation Logical operation Shift operation
String--based Concatenate Y Y Y Y Y Y Y Y -- Y Y Y
Acquire substring Y Y Y Y Y Y Y Y -- Y Y Y
Acquire string length Y Y Y Y Y Y Y Y -- -- -- --
Check string Y Y Y Y Y Y Y Y -- -- -- --
Trim node Y Y Y Y Y Y Y Y -- Y Y Y
Number--based Convert number format Y Y Y Y Y Y Y Y -- -- -- --
Perform node operation Y Y Y Y Y Y Y Y -- -- -- --
Round node Y Y Y Y Y Y Y Y -- -- -- --
Sum up nodes Y Y Y Y Y Y Y Y -- -- -- --
Bit group NOT operation Y Y Y Y Y -- -- -- -- Y Y Y
Logical operation Y Y Y Y Y -- -- -- -- Y Y Y
Shift operation Y Y Y Y Y -- -- -- -- Y Y Y
Node--based Acquire node count Y Y Y Y Y Y Y Y -- -- -- --
Acquire node name Y Y Y Y Y Y Y Y -- -- -- --
Check node Y Y Y Y Y Y Y Y -- -- -- --
Control--based Loop node -- -- -- -- -- -- -- -- -- -- -- --
Choose node -- -- -- -- -- -- -- -- -- -- -- --
Other Replace value Y Y Y Y Y Y Y Y -- Y Y Y
Radix conversion (output basic number: binary number) Y Y Y Y Y -- -- -- -- -- -- --
Radix conversion (output basic number: decimal) Y Y Y Y Y Y Y Y -- -- -- --
Radix conversion (output basic number: hexadecimal) Y Y Y Y Y -- -- -- -- Y Y Y
Custom (character string type) Y Y Y Y Y Y Y Y -- Y Y Y
Custom (node list type) -- -- -- -- -- -- -- -- -- -- -- --
Set constant Y Y Y Y Y Y Y Y -- Y#2 Y#2 Y#2

Legend:
Y: Can be mapped.
--: Cannot be mapped.

#1
If you specify even a single loop node function as the mapping source function, specify the loop node function for all other mapping sources.
If you specify an item other than a loop node function for the mapping source function, specify an item other than a loop node function for all other mapping sources.

#2
In case of type other than character string type, error occurs in verification.

Table 6-15 Mapping a function to another function (mapping destination is node group, control group and others)

Mapping source Mapping destination
Function Function
Node--based Control--based Other
Acquire node count Acquire node name Check node Loop node#2 Choose node#3 Replace value Radix conversion (Input basic number :binary number) Radix conversion (input basic number :decimal) Radix conversion (input basic number :hexadecimal) Custom (character string type) Custom (node list type) Set constant#4
String--based Concatenate -- -- -- -- Y Y Y Y Y Y Y --
Acquire substring -- -- -- -- Y Y Y Y Y Y Y --
Acquire string length -- -- -- -- Y Y -- Y -- Y Y --
Check string -- -- -- -- Y Y -- -- -- Y Y --
Trim node -- -- -- -- Y Y Y Y Y Y Y --
Number--based Convert number format -- -- -- -- Y Y -- -- -- Y Y --
Perform node operation -- -- -- -- Y Y -- Y -- Y Y --
Round node -- -- -- -- Y Y -- Y -- Y Y --
Sum up nodes -- -- -- -- Y Y -- Y -- Y Y --
Bit group NOT operation -- -- -- -- Y Y -- -- Y Y Y --
Logical operation -- -- -- -- Y Y -- -- Y Y Y --
Shift operation -- -- -- -- Y Y -- -- Y Y Y --
Node--based Acquire node count -- -- -- -- Y Y -- Y -- Y Y --
Acquire node name -- -- -- -- Y Y -- -- -- Y Y --
Check node -- -- -- -- Y Y -- -- -- Y Y --
Control--based Loop node -- -- -- -- Y -- -- -- -- -- -- --
Choose node -- -- -- -- -- -- -- -- -- -- -- --
Other Replace value -- -- -- -- Y Y Y Y Y Y Y --
Radix conversion (output basic number: binary number) -- -- -- -- Y Y Y -- -- Y Y --
Radix conversion (output basic number: decimal) -- -- -- -- Y Y -- Y -- Y Y --
Radix conversion (output basic number: hexadecimal) -- -- -- -- Y Y -- -- Y Y Y --
Custom (character string type) -- -- -- -- Y Y Y Y Y Y Y --
Custom (node list type) -- -- -- -- Y#5 -- -- -- -- -- Y --
Set constant -- -- -- -- Y Y Y Y#6 Y#7 Y#6 Y --

(Legend)
Y: Mapping is possible.
--: Mapping is not possible.

#1
If you specify even 1 Repeat function in mapping source function, Specify Repeat function even for all other mapping sources.
If you specify function other than Repeat function in mapping source function, specify function other than Repeat function for other mapping sources as well.

#2
There are following restrictions in the Repeat function of output side.
Connection is not possible when input of Repeat function is linkage path itself or ancestor node and grandchild node in that Repeat function.

#3
There are following restrictions in Select function of output side.
When Repeat is already connected in input of Select function, you cannot connect function other than Repeat function in input.
When function other than Repeat function is already connected in input of Select function, you cannot connect Repeat in input.

#4
There are following restrictions to the Set constant function.
When the Set constant function has already been connected in input of transformation destination node, Concatenate function, Perform node operation function, Logical operation function, Select function, Custom function, you cannot connect the equivalent Set constant function in input.

#5
When output destination of Select function is attribute, validation error occurs.

#6
When type is other than character string type, validation error occurs.

#7
When type is other than numeric value type and character string type, validation error occurs.