Software & Systems Modeling

, Volume 13, Issue 2, pp 789–806 | Cite as

Adapting transformations to metamodel changes via external transformation composition

  • Kelly Garcés
  • Juan M. Vara
  • Frédéric Jouault
  • Esperanza Marcos
Theme Section Paper

Abstract

Evolution is inherent to software systemsbecause of the rapid improvement of technologies and business logic. As a software development paradigm, model driven engineering (MDE) is also affected by this problem. More concretely, being metamodels the cornerstone of MDE, their evolution impacts the rest of software artefacts involved in a development process, i.e., models and transformations. The influence over models has been tackled and partially solved in previous works. This paper focuses on the impact over transformations. We propose an approach to adapt transformations by means of external transformation composition. That is, we chain impacted transformations to particular adaptation transformations which deal with either refactoring/destruction changes or construction changes. Our approach semi-automatically generates such transformations by using the AtlanMod matching language, a DSL to define model matching strategies. To provide with a proof of concept for our proposal, we adapt transformations written in terms of object-relational database metamodels when such metamodels evolve in time.

Keywords

Model-driven engineering  Metamodel evolution Transformation adaptation 

References

  1. 1.
    Mens, T., Wermelinger, M., Ducasse, S., Demeyer, S., Hirschfeld, R., Jazayeri, M.: Challenges in software evolution. In: Proceedings of the Eighth International Workshop on Principles of Software Evolution, IEEE Computer Society, pp. 13–22 Washington, DC, USA (2005)Google Scholar
  2. 2.
    Bézivin, J.: In search of a basic principle for model driven engineering. UPGRADE Eur. J. Inf. Prof. 5(2), 21–24 (2004)Google Scholar
  3. 3.
    Wachsmuth, G.: Metamodel adaptation and model co-adaptation. In: Proceedings of the 21st European Conference on Object-Oriented Programming, ECOOP. Lecture Notes in Computer Science, vol. 4609, pp. 600–624. Springer, Germany (2007)Google Scholar
  4. 4.
    Cicchetti, A., Ruscio, D.D., Eramo, R., Pierantonio, A.: Automating co-evolution in Model-Driven Engineering. In: Proceedings of the 12th International IEEE Enterprise Distributed Object Computing Conference, EDOC: Munich. Germany, IEEE Computer Society, pp. 222–231 (2008)Google Scholar
  5. 5.
    Kolovos, D.S., Di Ruscio, D., Pierantonio, A., Paige, R.F.: Different models for model matching: An analysis of approaches to support model differencing. In: Proceedings of the: ICSE Workshop on Comparison and Versioning of Software Models. CVSM ’09. Vancouver, BC, Canada, IEEE Computer Society, pp. 1–6 (2009)Google Scholar
  6. 6.
    Garcés, K., Jouault, F., Cointe, P., Bézivin, J.: Managing Model Adaptation by Precise Detection of Metamodel Changes. In: Proceedings of the 5th European Conference on Model Driven Architecture-Foundations and Applications, ECMDA-FA ’09, Enschede, The Netherlands, Springer (2009)Google Scholar
  7. 7.
    Garcés, K., Jouault, F., Cointe, P., Bézivin, J.: Adaptation of models to evolving metamodels. INRIA-Laboratoire d’Informatique de Nantes Atlantique CNRS, Technical report (2008)Google Scholar
  8. 8.
    Mens, T., Van Gorp, P.: A taxonomy of model transformation. Electr. Notes Theor. Comput. Sci. 152, 125–142 (2006)CrossRefGoogle Scholar
  9. 9.
    Tisi, M., Jouault, F., Fraternali, P., Ceri, S., Bézivin, J.: On the use of higher-order model transformations. In: Proceedings of the 5th European Conference on Model Driven Architecture-Foundations and Applications. ECMDA-FA09. pp. 18–33, Springer, Heidelberg (2009)Google Scholar
  10. 10.
    Rivera, J.E., Ruiz-Gonzalez, D., Lopez-Romero, F., Bautista, J.M., Vallecillo, A.: Orchestrating ATL model transformations. In: Proceedings, Preliminary (ed.) of 1st International Workshop of Model Transformation with ATL: MtATL 2009, pp. 34–46. France, Nantes (2009)Google Scholar
  11. 11.
    Heidenreich, F., Kopcsek, J., Assmann, U.: Safe composition of transformations. In: Proceedings of the Third international conference on Theory and practice of model transformations. ICMT’10, pp. 108–122, Springer, Heidelberg (2010)Google Scholar
  12. 12.
    Jouault, F., Allilaire, F., Bzivin, J., Kurtev, I.: ATL: a model transformation tool. Sci. Comput. Programm. 72(1–2), 31–39 (2008)CrossRefMATHGoogle Scholar
  13. 13.
    Vara, J.M.: M2DAT: a Technical Solution for Model-Driven Development of Web Information Systems. PhD thesis, ETSII, University Rey Juan Carlos, Madrid, Spain (November 2009)Google Scholar
  14. 14.
    ISO/IEC: 9075–2:2003 standard, information technology-database languages (2003)Google Scholar
  15. 15.
    Oracle Corporation: Oracle database 10g. release 2 (10.2). www.oracle.com (2008)
  16. 16.
    Herrmannsdoerfer, M., Vermolen, S., Wachsmuth, G.: An extensive catalog of operators for the coupled evolution of metamodels and models. In: 3rd International Conference on Software Language, Engineering (SLE) (2010)Google Scholar
  17. 17.
    Garcés, K.: Adaptation and evaluation of generic model matching strategies. PhD thesis, Université de Nantes (2010)Google Scholar
  18. 18.
    Feuerlicht, G., Pokorn, J., Richta, K.: Object-relational database design: Can your application benefit from SQL:2003? In: Information Systems Development. pp. 1–13, Springer US (2009)Google Scholar
  19. 19.
    Kleppe, A.: First european workshop on composition of model transformations-CMT 2006. Centre for Telematics and Information Technology University of Twente, Technical report (2006)Google Scholar
  20. 20.
    Etien, A., Muller, A., Legrand, T., Blanc, X.: Combining independent model transformations. In: Proceedings of the: ACM Symposium on Applied Computing. SAC ’10. New York, NY, USA, ACM, pp. 2237–2243 (2010)Google Scholar
  21. 21.
    Bézivin, J., Büttner, F., Gogolla, M., Jouault, F., Kurtev, I., Lindow, A.: Model Transformations? Transformation Models! In: Proceedings of the 9th International Conference on Model Driven Engineering Languages and Systems. MoDELS, pp. 440–453 (2006)Google Scholar
  22. 22.
    Jouault, F.: Contribution to the study of model transformation languages. PhD thesis, Université de Nantes (2006)Google Scholar
  23. 23.
    Didonet del Fabro, M.: Metadata management using model weaving and model transformation. PhD thesis, Université de Nantes (2007)Google Scholar
  24. 24.
    Didonet Del Fabro, M., Valduriez, P.: Towards the efficient development of model transformations using model weaving and matching transformations. Software Syst. Modeling 8(3), 305–324 (2009)CrossRefGoogle Scholar
  25. 25.
    Jouault, F.: Loosely coupled traceability for ATL. In: Proceedings of the Traceability Workshop of the First European Conference on Model Driven Architecture-Foundations and Applications(ECMDA-FA 2005), pp. 29–37, Nuremberg, Germany (2005)Google Scholar
  26. 26.
    Meyers, B., Vangheluwe, H.: A framework for evolution of modelling languages. Sci. Comput. Progr. 76(12), 1223–1246 (2011)CrossRefGoogle Scholar
  27. 27.
    Levendovszky, T., Balasubramanian, D., Narayanan, A., Karsai, G.: A novel approach to semi-automated evolution of dsml model transformation. In: SLE. (2009), pp. 23–41Google Scholar
  28. 28.
    Garcia, J., Diaz, O.: Adaptation of transformations to metamodel changes. In: Proceedings of the 7th Workshop in Model-Driven Software Development. JISBD Workshops (2010), pp. 1–9Google Scholar
  29. 29.
    Vignaga, A., Jouault, F., Bastarrica, M.C., Brunelière, H.: Typing in model management. In: Proceedings of the 2nd International Conference on Theory and Practice of Model Transformations. ICMT ’09. pp. 197–212, Springer, Heidelberg (2009)Google Scholar
  30. 30.
    Cicchetti, A., Ruscio, D., Pierantonio, A.: Managing dependent changes in coupled evolution. In: Proceedings of the 2nd International Conference on Theory and Practice of Model Transformations. ICMT ’09. pp. 35–51, Springer (2009)Google Scholar
  31. 31.
    Di Ruscio, D., Laemmel, R., Pierantonio, A.: Automated co-evolution of GMF editor models. In Malloy, B., Staab, S., van den Brand, M., eds.: 3rd International Conference on Software Language Engineering (SLE 2010). Number 6563 in LNCS. pp. 143–162, Springer, Heidelberg (2010)Google Scholar
  32. 32.
    Herrmannsdoerfer, M., Benz, S., Juergens, E.: Automatability of coupled evolution of Metamodels and Models in Practice. In: 11th International Conference on Model-Driven Engineering Languages and Systems, MODELS. pp. 645–659, Springer, Heidelberg (2008)Google Scholar
  33. 33.
    Rose, L., Herrmannsdoerfer, M., Williams, J., Kolovos, D., Garcés, K., Piage, R., Polack, F.: A comparison of model migration tools. In: Models 2010. (2010) to appearGoogle Scholar
  34. 34.
    Herrmannsdoerfer, M., Benz, S., Jürgens, E.: COPE - automating coupled evolution of metamodels and models. In Drossopoulou, S., ed.: ECOOP. Lecture Notes in Computer Science, vol. 5653, pp. 52–76, Springer (2009)Google Scholar
  35. 35.
    Hussey, K., Paternostro, M.: Tutorial on advanced features of EMF. In: EclipseCon, http://www.eclipsecon.org/2006/Sub.do?id=171 (Retrieved June 2010)
  36. 36.
    Rose, L., Kolovos, D., Paige, R., Polack, F.: Model migration with Epsilon Flock. ICMT, In (2010)Google Scholar
  37. 37.
    Xiong, Y., Song, H., Hu, Z., Takeichi, M.: Supporting parallel updates with bidirectional model transformations. In: Proceedings of the 2nd International Conference on Theory and Practice of Model Transformations. ICMT ’09, pp. 213–228, Springer, Heidelberg (2009)Google Scholar
  38. 38.
    Cicchetti, A., Ruscio, D.D., Eramo, R., Pierantonio, A.: JTL: a bidirectional and change propagating transformation language. In: van den Brand, M., Malloy, B., Staab, S. (eds): Proceedings of the 3rd International Conference on Software Language Engineering, SLE 2010, Springer (2010)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Kelly Garcés
    • 1
  • Juan M. Vara
    • 2
  • Frédéric Jouault
    • 3
  • Esperanza Marcos
    • 2
  1. 1.AtlanMod, ASCOLA, INRIA-EMNNantesFrance
  2. 2.Kybele Research GroupRey Juan Carlos UniversityMadridSpain
  3. 3.AtlanModINRIA-EMNNantesFrance

Personalised recommendations