Generic Model Refactorings

Naouel Moha 1 Vincent Mahé 1 Olivier Barais 1 Jean-Marc Jézéquel 1
1 TRISKELL - Reliable and efficient component based software engineering
IRISA - Institut de Recherche en Informatique et Systèmes Aléatoires, Inria Rennes – Bretagne Atlantique
Abstract : Many modeling languages share some common concepts and principles. For example, Java, MOF, and UML share some aspects of the concepts of classes, methods, attributes, and inheritance. However, model transformations such as refactorings specified for a given language cannot be readily reused for another language because their related metamodels may be structurally different. Our aim is to enable a flexible reuse of model transformations across various metamodels. Thus, in this paper, we present an approach allowing the specification of generic model transformations, in particular refactorings, so that they can be applied to different metamodels. Our approach relies on two mechanisms: (1) an adaptation based mainly on the weaving of aspects; (2) the notion of model typing, an extension of object typing in the model-oriented context. We validated our approach by performing some experiments that consisted of specifying three well known refactorings (Encapsulate Field, Move Method, and Pull Up Method) and applying each of them onto three different metamodels (Java, MOF, and UML).
Document type :
Conference papers
Complete list of metadatas

Cited literature [25 references]  Display  Hide  Download

https://hal.inria.fr/inria-00468657
Contributor : Didier Vojtisek <>
Submitted on : Wednesday, March 31, 2010 - 12:03:49 PM
Last modification on : Friday, November 16, 2018 - 1:24:55 AM
Long-term archiving on : Friday, July 30, 2010 - 4:27:55 PM

File

Moha09c.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00468657, version 1

Citation

Naouel Moha, Vincent Mahé, Olivier Barais, Jean-Marc Jézéquel. Generic Model Refactorings. ACM/IEEE 12th International Conference on Model Driven Engineering Languages and Systems (MODELS'09), 2009, Denver, Colorado, USA, United States. ⟨inria-00468657⟩

Share

Metrics

Record views

509

Files downloads

242