Supported Mapping Functions
With help of the Mapping Editor, you can define the following mappings:
Direct mapping of attributes
Simple_Data_Mapping_Example
Click here to download a simple example model that shows how to implement simple mappings in Scheer PAS Designer.
Attributes from the source and target classes having the same type can be mapped directly by drawing a relation between them.
Literals
Simple_Data_Mapping_Example
Click here to download a simple example model that shows how to implement simple mappings in Scheer PAS Designer.
Attributes from the target structure can be provided with a literal value.
Mapping with operations
Simple_Data_Mapping_Example
Click here to download a simple example model that shows how to implement simple mappings in Scheer PAS Designer.
Big data structures with complex sub-types can lead to muddled mapping diagrams. You can tidy a mapping diagram by using operations that define sub-mappings for complex sub-types.
For complex mapping functionality on attribute level (e.g. type conversions or concatenation of strings) you can implement action script to mapping operations.
Array mapping
Array_Data_Mapping_Example
Click here to download a simple example model that shows how to implement array mappings in Scheer PAS Designer.
Array_Mapping_With_foreach_Example
Click here to download a simple example model that shows how to map array content for each array element to a target array in Scheer PAS Designer.
For arrays, you can map the complete source array to the target array, map array elements in a for-each loop, or expand the array and map dedicated array elements.
Refer to Array Mapping for a comprehensive documentation of all possibilities.
Related Pages: