With help of the Mapping Editor, you can define the following mappings:
Direct mapping of attributes | Attributes from the source and target classes having the same type can be mapped directly by drawing a relation between them. |
---|---|
Literals | Attributes from the target structure can be provided with a literal value. |
Mapping with operations | 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 | 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. |