Transform Map builder inputsAdded by IBM on June 28, 2011 | Version 1 (Original)
|This topic describes the inputs for the Transform Map builder.
This topic describes the inputs for the Transform Map builder.
- Data to Transform
- Source Schema
- Result Schema Options
- Map Options
- Result Schema Preview
- Class Generation
Table 1. General inputs
|Name||Required. Enter a name for this builder call. The WebSphere® Portlet Factory Designer displays this name in the builder call list.|
Data to Transform
Table 2. Data to Transform inputs
|Apply Transform To||Specify one of the following options to determine how the transform is to be applied to the data. |
Target Operation Results
The target operation is invoked and the transform operation is applied to the results. The data service that this builder creates has inputs that are passed through to the target operation.Target Operation Inputs
The transform operation is applied to the inputs of the data service that this builder creates. The target operation is invoked with the transformed inputs. The results of the created data service are passed through from the target operation.Variable/Reference
The data service that this builder creates has no inputs. It transforms the data provided by the variable, reference, or other data service that you indicate and returns the transformed results. The Source Data input is made available.
|Target Operation||Required. Specify the target data service to which the transform is applied. |
This input is available if the Apply Transform To input is set to either Target Operation Results or Target Operation Inputs.
|Source Data||Required. Specify either a variable, method, or a data service. |
This input is available if the Apply Transform To input is set to Variable/Reference.
Table 3. Source Schema inputs
|Source Schema||Specify an existing schema type in the WebApp. |
This input is available if the Source Data input does not define a schema type. If the Apply Transform To input is set to Target Operation Inputs, this input defines the schema type for the inputs to the data service that this builder creates.
Result Schema Options
Table 4. Result Schema Options inputs
|Result Schema Mode||Specify schema creation for the transform results. |
Have the builder generate a new schema. Use Existing Schema
Have the builder use the schema that you supply as input. None
Have the builder not use a schema for results.
|Result Schema||Required. Specify an existing schema to use for the results of the transform. |
This input is available if the Result Schema Mode input is set to Use Existing Schema.
|Fit Result Data to Schema||Set this input to modify the result data to ensure that it conforms to the data type specified in the Result Schema input. |
This input is available if the Result Schema Mode input is set to Generate Automatically or Use Existing Schema.
Table 5. Map Options inputs
|Mappings||Configure the filter with the following options.|
Specify the source path of a schema node to copy to the result. Target Path
Specify the target path for the schema node. Copy Text
Set this option to have the text of the schema node copied to the target node. Copy Attributes
Set this option to have the attributes of the schema node copied to the target node. Copy Children
Set this option to have the children of the schema node copied to the target node.
Result Schema Preview
Table 6. Result Schema Preview input
|Result Schema Preview||Use this input to preview the automatically generated result schema of the transform.|
This input is available if the Result Schema Mode input is set to Generate Automatically.
Table 7. Class Generation inputs
|Generate LJO||This button is active if all required inputs are specified. Click to generate a Java™ class with the name of the builder and having methods based on the builder inputs. |
|Class Name||Specify the name of the Java class that provides the implementation for this transform. |
Parent topic: Transform Map builder