04101 Discussion - A Taxonomy of Model Transformations

Tom Mens, Krzysztof Czarnecki, Pieter Van Gorp

TL;DR

This paper introduces a taxonomy for model transformations, aiming to help developers choose the most suitable approach for their specific needs. By categorizing transformations along key dimensions like language and abstraction level, it provides a structured way to navigate the diverse landscape of model transformation techniques.

What Problem Does This Paper Address?

Model-Driven Development (MDD) relies heavily on model transformations to automate the generation and manipulation of software models. However, the field of model transformation is vast and complex, with numerous approaches, languages, and tools available. This diversity makes it challenging for developers to select the most appropriate transformation technique for a given problem. This paper addresses this challenge by proposing a structured taxonomy to classify and understand different model transformation approaches, thereby aiding in the decision-making process.

Methods

The paper's core contribution is the development of a taxonomy for model transformations. This taxonomy is derived from discussions within a working group at the Dagstuhl Seminar on Language Engineering for Model-Driven Software Development. The authors identify and define key dimensions for classifying transformations:

  • Source and Target Artifacts: Distinguishing between program transformations (operating on code) and model transformations (operating on models), with model transformations encompassing program transformations.
  • Endogenous vs. Exogenous Transformations: This categorizes transformations based on whether the source and target models are expressed in the same language (endogenous, also called rephrasing) or different languages (exogenous, also called translation).
  • Horizontal vs. Vertical Transformations: This dimension differentiates transformations that operate at the same abstraction level (horizontal, e.g., refactoring) from those that change abstraction levels (vertical, e.g., refinement).
  • Technological Space: This considers whether transformations occur within a single technological space (e.g., MDA) or span multiple spaces, requiring bridging mechanisms.

The paper also outlines important characteristics of model transformations (e.g., automation level, complexity, preservation) and success criteria for transformation languages/tools (e.g., CRUD operations, correctness, usability). Finally, it discusses various mechanisms for model transformation, categorizing them into declarative and operational approaches.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • A Structured Approach to a Complex Field: The taxonomy provides a much-needed framework for organizing the diverse world of model transformations, making it more accessible to practitioners.
  • Orthogonality of Dimensions: The paper highlights that key classification dimensions (like endogenous/exogenous and horizontal/vertical) are orthogonal, meaning they can be combined to describe a wide range of transformation types.
  • Beyond "What" to "How": The discussion on declarative vs. operational approaches emphasizes the trade-offs between focusing on what needs to be transformed versus how the transformation should be performed.
  • Developer-Centric Criteria: The inclusion of success criteria for transformation languages and tools, such as usability and correctness, shifts the focus towards practical adoption and effectiveness.

Key Results

The primary result is the proposed taxonomy itself, which categorizes model transformations along several key dimensions. The paper illustrates these categories with examples:

  • Endogenous Horizontal: Refactoring
  • Endogenous Vertical: Formal refinement (where the language remains the same but abstraction level changes)
  • Exogenous Horizontal: Language migration
  • Exogenous Vertical: Code generation

The paper also enumerates important characteristics and success criteria for model transformations and their supporting tools, providing a checklist for developers.

Limitations and Future Work

The authors acknowledge that the taxonomy is a result of discussions and aims to be a starting point. Future work could involve further refining and validating this taxonomy with a broader community. The paper also touches upon the scalability of graph transformation approaches as an area of unknown. Additionally, the paper implicitly suggests that further research is needed to develop tools and languages that effectively support the various aspects of model transformation discussed, particularly in areas like handling incomplete models and specifying higher-order transformations.

Summary updated

Abstract

This report summarises the results of the discussions of a working group on model transformation of the Dagstuhl Seminar on Language Engineering for Model-Driven Software Development. The main contribution is a taxonomy of model transformation. This taxonomy can be used to help developers in deciding which model transformation approach is best suited to deal with a particular problem.
BibTeX
@inproceedings{mens2004discussion,
  author = {Tom Mens and Krzysztof Czarnecki and Pieter Van Gorp},
  title = {{04101 Discussion - A Taxonomy of Model Transformations}},
  booktitle = {Language Engineering for Model-Driven Software Development},
  year = {2004},
  url = {https://openreview.net/forum?id=NXHqLJJPRzu},
}
Figure