Generic Model Transformations: Write Once, Reuse Everywhere

Jesús Sánchez Cuadrado, Esther Guerra, Juan de Lara. Generic Model Transformations: Write Once, Reuse Everywhere. In Jordi Cabot, Eelco Visser, editors, Theory and Practice of Model Transformations, Fourth International Conference, ICMT 2011, Zurich, Switzerland, June 27-28, 2011. Proceedings. Volume 6707 of Lecture Notes in Computer Science, pages 62-77, Springer, 2011.

Abstract

Model transformation is one of the core techniques in Model Driven Engineering. Many transformation languages exist nowadays, but few offer mechanisms directed to the reuse of whole transformations or transformation fragments in different contexts.

Taking inspiration from generic programming, in this paper we define model transformation templates. These templates are not defined over meta-models, but on so-called meta-model concepts which later can be bound to specific meta-models. The binding mechanism is flexible as it permits mapping concepts and meta-models with certain kinds of structural heterogeneities. The approach is general and can be applied to any model transformation language. In this paper we report on the application of this method to ATL.