TY - GEN
T1 - Generic model refactorings
AU - Moha, Naouel
AU - Mahé, Vincent
AU - Barais, Olivier
AU - Jézéquel, Jean Marc
PY - 2009
Y1 - 2009
N2 - 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).
AB - 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).
KW - Adaptation
KW - Aspect Weaving
KW - Genericity
KW - Model Typing
KW - Refactoring
UR - https://www.scopus.com/pages/publications/77249173444
U2 - 10.1007/978-3-642-04425-0_50
DO - 10.1007/978-3-642-04425-0_50
M3 - Contribution to conference proceedings
AN - SCOPUS:77249173444
SN - 3642044247
SN - 9783642044243
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 628
EP - 643
BT - Model Driven Engineering Languages and Systems - 12th International Conference, MODELS 2009, Proceedings
T2 - 12th International Conference on Model Driven Engineering Languages and Systems, MODELS 2009
Y2 - 4 October 2009 through 9 October 2009
ER -