TROPIC Mapping Operators

Structural heterogeneities between di erent metamodels occur due to the fact that semantically equivalent concepts can be expressed by di fferent metamodeling concepts, e.g., explicitly by classes or only by attributes. Based on the TROPIC framework we are developing a first set of reusable transformation patterns called Mapping Operators of MOPs for short to overcome these structural heterogeneities. As a first prototype we used to AMW Framework to test our MOPs. Thereby the operational semantics fo the MOPs was derived using ATL Higher Order Transformations.

 

HOT

 

Class Diagram 2 ER Model example

Mapping Example

The ClassDiagram shown on the left side, only provides unidirectional references to represent relationships, thus bidirectionality needs to be modeled by a pair of opposite references. In contrast to that, the ERDiagram explicitly represents bidirectionality, allowing to express relationships in more detail, e.g., using roles. In order to resolve this and other structural heterogeneities, an AMW prototype is implemented, which allows to specify a mapping model between the involved metamodels, using predifined MOPs.

AMW

 


You can download a simple mapping model, using two Ecore based Metamodel, a simple ClassDiagram and an ERDiagram model.