Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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

  • All references to EObjects are references to a copy of the original EObject. This allows to represent immutable mapping. To reidentify corresponding EObjects TransformationTreeExtensions provides search functions and matching functionality.
  • Models in TransformationTrees may be transient. This indicates that all references to EObjects in all Elements of the transient model are removed. Thus these models can't be source of a new appended transformation and can not be associated with it's original model. The main propose of this feature is to improve scalability of TransformationTrees by removing unnecessary references to internal model, but preserve traversing functionality of the ObjectMapping.

Example

coming soon

  • No labels