Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added content

KTM - KIELER Transformation Mapping

 

Topics

Table of Contents
maxLevel2
minLevel2

Overview

 

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

...

It is based on an EMF-Metamodel.

 Image Added

<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 representend 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:

 

<exmaple_tree>Image Added

...

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 beween 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 proived 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