Overview on Different Mapping Possibilities With E2E Builder
|When to use||Conditions||Remarks|
You have many attributes or complex mappings with rules and conversions.
|When using script mapping, use a class diagram and put the script into the E2ESimpleMapping dependency|
|mapEqualNames||One use case could be, if the classes are given through a backend (e.g. createCustomerClass and UpdateCustomerClass which are equal but createCustomerClass has custID in addition or they are inherited from the same parent.||Be careful when using it and ask yourself: Are the attribute names of the two classes really the same and have all equal types?|
|mapping context||You want to map hierarchical objects. Mapping context automatically iterates through the hierarchy defined in the class diagram.|
Mapping Using XSLT
Another possibility is mapping using XSLT, but that needs special knowledge.