uCosminexus Service Platform, Basic Development Guide
To process the transformation-source node values and map them to the transformation-destination node, you use functions. This section explains the various functions to be used for various cases. For details about how to use a function for mapping, see 6.4.2 Processing the Transformation-source Node Values and Mapping Them to the Transformation-destination Node.
The following table lists the functions.
Table 6-3 List of functions
Classification | Function name | Explanation |
---|---|---|
String--based | Concatenate | Concatenates multiple strings. |
Acquire substring | Extracts a substring from a string. | |
Acquire string length | Assigns a string character count to a mapping destination. | |
Check string | Verifies that the specified string is contained in a string or that the string begins with the specified string, and assigns the logical value to a mapping destination. | |
Trim node | Removes the leading and trailing spaces from a string. Also replaces consecutive spaces between strings with a single space. | |
Number--based | Convert number format | Converts the number format. |
Perform node operation | Computes (+, --, *, div, or mod) numbers. | |
Round node | Rounds decimal digits (round off, round down, or round up). | |
Sum up nodes | Sums up the node numbers of multiple node sets. | |
Bit operations | NOT operation | Execute NOT operation. |
Logical operation | Executes logical operation (AND, OR, XOR). | |
Shift operation | Executes shift operation. | |
Node--based | Acquire node count | Assigns a node count to a mapping destination. |
Acquire node name | Assigns a node name to a mapping destination. | |
Check node | Verifies that the specified transformation-source node exists and assigns the logical value to a mapping destination. | |
Control--based | Loop node | Maps looping. |
Choose node | Outputs different values according to conditions. | |
Other | Set constant | Assigns a specified value to a mapping destination. |
Replace value | Converts the mapping source value based on the specification of the conversion table and assigns value to the mapping destination. | |
Radix Conversion | Executes basic transformation. | |
Custom | Invoke a Java program created by the user. |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.