Transform Map builder inputsAdded by IBM on August 31, 2010 | Version 1 (Original)
|This topic describes the inputs for the Transform Map builder.
This topic describes the inputs for the Transform Map builder.
- General inputs
- Data to Transform
- Source Schema
- Map Options
- Result Schema Options
- 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.
Table 4. 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 Options
Table 5. 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 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.
|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.
Table 6. 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. |
Parent topic: Transform Map builder: wpf7