Towards the flexible reuse of model transformations: A formal approach based on graph transformation

被引:12
作者
de Lara, Juan [1 ]
Guerra, Esther [1 ]
机构
[1] Univ Autonoma Madrid, Dept Comp Sci, E-28049 Madrid, Spain
关键词
Model-driven engineering; Graph transformation; Meta-modelling; Genericity; Reusability;
D O I
10.1016/j.jlamp.2014.08.005
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Model transformations are the heart and soul of Model-Driven Engineering (MDE). However, in order to increase the adoption of MDE by industry, techniques for developing model transformations in the large and raising the quality and productivity in their construction, like reusability, are still needed. In previous works, we developed a reutilization approach for graph transformations based on the definition of concepts, which gather the structural requirements needed by meta-models to qualify for the transformations. Reusable transformations are typed by concepts, becoming transformation templates. Transformation templates are instantiated by binding the concept to a concrete meta-model, inducing a retyping of the transformation for the given meta-model. This paper extends the approach allowing heterogeneities between the concept and the meta-model, thus increasing the reuse opportunities of transformation templates. Heterogeneities are resolved by using algebraic adapters which induce both a retyping and an adaptation of the transformation. As an alternative, the adapters can also be employed to induce an adaptation of the meta-model, and in this work we show the conditions for equivalence of both approaches to transformation reuse. (C) 2014 Elsevier Inc. All rights reserved.
引用
收藏
页码:427 / 458
页数:32
相关论文
共 39 条
[1]  
[Anonymous], 2008, HDB CATEGORICAL ALGE
[2]  
Atkinson C., 2002, ACM Transactions on Modeling and Computer Simulation, V12, P290, DOI 10.1145/643120.643123
[3]  
Balogh A., 2006, Applied Computing 2006. 21st Annual ACM Symposium on Applied Computing, P1280, DOI 10.1145/1141277.1141575
[4]  
Bambrilla M., 2012, MODEL DRIVEN SOFTWAR
[5]  
de Lara Juan, 2012, Applications of Graph Transformations with Industrial Relevance. 4th International Symposium, AGTIVE 2011. Revised Selected and Invited Papers, P35, DOI 10.1007/978-3-642-34176-2_5
[6]  
de Lara J., 2013, SOFTW SYST IN PRESS
[7]   Attributed graph transformation with node type inheritance [J].
de Lara, Juan ;
Bardohl, Roswitha ;
Ehrig, Hartmut ;
Ehrig, Karsten ;
Prange, Ulrike ;
Taentzer, Gabriele .
THEORETICAL COMPUTER SCIENCE, 2007, 376 (03) :139-163
[8]   From types to type requirements: genericity for model-driven engineering [J].
de Lara, Juan ;
Guerra, Esther .
SOFTWARE AND SYSTEMS MODELING, 2013, 12 (03) :453-474
[9]  
Diskin Z, 2012, LECT NOTES COMPUT SC, V7212, P163, DOI 10.1007/978-3-642-28872-2_12
[10]  
Dos Reis G, 2005, P 1 INT WORKSH LIB C