uCosminexus Service Platform, Basic Development Guide
This section defines the Custom function (custom).
Comments exist in the class and arguments to be specified in Custom function. However, import of these items is not supported in the mapping by using Excel.
Define the package and class separately and set the value of "Package + class" defined in Excel, in the "Class" item on the screen of mapping definition editor.
Following table describes definition items:
Table 6-47 TableCustomObjectsDefinition item
Item name | Definition contents | Value that you can define | Additional description |
---|---|---|---|
Name | Function name | Value of NCName type | For details on the value that you can define, see "6.13.24 Objects for which you can define the same Name element in multiple rows". |
Jar | JAR file | Value of NCName having less than 100 characters | You can define only one file in the same Name.#1 |
Package | Package | Value of NCName type having less than 255 characters | You can define only one package in the same Name.#1 |
Class | Class | Value of NCName type having less than 100 characters | You can define only one class in the same Name.#1 |
Method | Method | Value of NCName type having less than 100 characters | You can define only one method in the same Name.#1 Set only method name and do not add "()" at the end. |
ReturnType | Return value type | Only "String" or "NodeList" | You can define only one return value type in the same Name.#1#2 |
Argument | Argument | Value of NCName type having less than 100 characters | You can define multiple arguments in the same Name.#3#4 |
ArgumentType | Argument type | Only "String" or "Object" | You can define multiple argument types in the same Name.#2#3#4 |
Input | Input value | See "6.12.2 Setting up the mapping definition" | You can specify multiple input values in the same Name. Set value in the list, in the defined order. |
Following figure shows the definition example:
Figure 6-88 FigureCustomObjectsDefinition example
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.