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 sourceMapping destination
Transformation-source nodeTransformation-destination node
Simple content#1#2Complex content#1Attribute#1#3
Simple content#1#2Y--Y
Complex content#1------
Attribute#1#3Y--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 sourceMapping destination
Transformation-source nodeFunction
String--basedNumber--basedBits groupNode--basedControl--basedOther
ConcatenateAcquire substringAcquire string lengthCheck stringTrim nodeConvert number formatPerform node operationRound nodeSum up nodesNegation operationLogical operationShift operationAcquire node countAcquire node nameCheck nodeLoop nodeChoose nodeSet constantCustomReplace valueRadix conversion#1
Simple content#2#3YYYYYYYYYYYYYYYYY--YYY
Complex content#2------------------------YYYY----------
Attribute#2#4YYYYYYYYYYYYYYY--Y--YYY
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 sourceMapping destination
FunctionTransformation-destination node
Simple content#1#2Complex content#1Attribute#1#3
String--basedConcatenateY--Y
Acquire substringY--Y
Acquire string lengthY--Y
Check stringY--Y
Trim nodeY--Y
Number--basedConvert number formatY--Y
Perform node operationY--Y
Round nodeY--Y
Sum up nodesY--Y
Bit groupNOT operationY--Y
Logical operationY--Y
Shift operationY--Y
Node--basedAcquire node countY--Y
Acquire node nameY--Y
Check nodeY--Y
Control--basedLoop nodeYY--
Choose nodeYYY
OtherSet constantYYY
CustomY--Y
Replace valueY--Y
Radix conversion#4Y--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#1Mapping destination
FunctionFunction
String--basedNumber--basedBit group
ConcatenateAcquire substringAcquire string lengthCheck stringTrim nodeConvert number formatPerform node operationRound nodeSum up nodesNegation operationLogical operationShift operation
String--basedConcatenateYYYYYYYY--YYY
Acquire substringYYYYYYYY--YYY
Acquire string lengthYYYYYYYY--------
Check stringYYYYYYYY--------
Trim nodeYYYYYYYY--YYY
Number--basedConvert number formatYYYYYYYY--------
Perform node operationYYYYYYYY--------
Round nodeYYYYYYYY--------
Sum up nodesYYYYYYYY--------
Bit groupNOT operationYYYYY--------YYY
Logical operationYYYYY--------YYY
Shift operationYYYYY--------YYY
Node--basedAcquire node countYYYYYYYY--------
Acquire node nameYYYYYYYY--------
Check nodeYYYYYYYY--------
Control--basedLoop node------------------------
Choose node------------------------
OtherReplace valueYYYYYYYY--YYY
Radix conversion (output basic number: binary number)YYYYY--------------
Radix conversion (output basic number: decimal)YYYYYYYY--------
Radix conversion (output basic number: hexadecimal)YYYYY--------YYY
Custom (character string type)YYYYYYYY--YYY
Custom (node list type)------------------------
Set constantYYYYYYYY--Y#2Y#2Y#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 sourceMapping destination
FunctionFunction
Node--basedControl--basedOther
Acquire node countAcquire node nameCheck nodeLoop node#2Choose node#3Replace valueRadix 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--basedConcatenate--------YYYYYYY--
Acquire substring--------YYYYYYY--
Acquire string length--------YY--Y--YY--
Check string--------YY------YY--
Trim node--------YYYYYYY--
Number--basedConvert number format--------YY------YY--
Perform node operation--------YY--Y--YY--
Round node--------YY--Y--YY--
Sum up nodes--------YY--Y--YY--
Bit groupNOT operation--------YY----YYY--
Logical operation--------YY----YYY--
Shift operation--------YY----YYY--
Node--basedAcquire node count--------YY--Y--YY--
Acquire node name--------YY------YY--
Check node--------YY------YY--
Control--basedLoop node--------Y--------------
Choose node------------------------
OtherReplace value--------YYYYYYY--
Radix conversion (output basic number: binary number)--------YYY----YY--
Radix conversion (output basic number: decimal)--------YY--Y--YY--
Radix conversion (output basic number: hexadecimal)--------YY----YYY--
Custom (character string type)--------YYYYYYY--
Custom (node list type)--------Y#5----------Y--
Set constant--------YYYY#6Y#7Y#6Y--
(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.