KTM - KIELER Transformation Mapping

 

Topics

This subproject provides a tracing mechanism for arbitary model-elements across multiple model transformations, based on EMF.

The main propose of KTM is to allow information transfer between abstract models and their resultant transformed models.


Transformation Tree Model

 

To offer a mapping between model-elements during multiple transformations KTM introduces a model called TransformationTree to represent these relations.

It is based on an EMF-Metamodel.

The structure of the model can be separated into two parts.

First part (upper half) is a tree of transformations. Each Model-Class is a representation of a concrete model which is transformed. So models are nodes and ModelTransformations are edges. Thus the Model representing the root-model of a tree is also the root of a concrete TransformationTree-Model.

Second part (lower half) is object mapping. Concrete models contain EObjects as their elements, which are represented by Element-Class in TransformationTree metamodel. The Elements of two models are connected with ElementTransformations-Class to model their origination relationship in corresponding model transformation.

 

An abstract example of an instance of this model:


Extensions

Two classes are provided by this project to extend functionality of the core model.

TransformationMapping (JavaDoc)

The main propose of this class is generation of a Object mapping during transformation process.

Therefor it provides different functions for incremental registering of single parent child relations between EObjects.

Furthermore, the extension allows to extract the mapping and check completeness of mapped elements against content of transformed models.

TransformationTreeExtensions (JavaDoc)

This class provides all functionalities to easily traverse and search in a TransformationTree.

Furthermore, it allows to modify trees by creating, deleting or appending new transformations and transformed models.


Implementation Details


Example

coming soon