...
首页> 外文期刊>Electronic Communications of the EASST >Refactoring of Model Transformations
【24h】

Refactoring of Model Transformations

机译:模型转换的重构

获取原文
   

获取外文期刊封面封底 >>

       

摘要

Model-to-model transformations between visual languages are often defined by typed, attributed graph transformation systems. Here, the source and target languages of the model transformation are given by type graphs (or meta models),and the relation between source and target model elements is captured by graph transformation rules. On the other hand, refactoring is a technique to improve the structure of a model in order to make it easier to comprehend, more maintainableand amenable to change. Refactoring can be defined by graph transformation rules, too. In the context of model transformation, problems arise when models of the source language of a model transformation become subject to refactoring. It may well be the case that after the refactoring, the model transformation rules are no longer applicable because the refactoring induced structural changes in the models. In this paper, we consider a graph-transformation-based evolution of model transformationswhich adapts the model transformation rules to the refactored models.In the main result, we show that under suitable assumptions, the evolution leads to an adapted model transformation which is compatible with refactoring of the source and target models. In a small case study, we apply our techniques to a well-knownmodel transformation from statecharts to Petri nets.
机译:视觉语言之间的模型到模型的转换通常由类型化的,属性图转换系统定义。这里,模型转换的源语言和目标语言由类型图(或元模型)给出,源和目标模型元素之间的关系由图转换规则捕获。另一方面,重构是一种改善模型结构以使其更易于理解,更易于维护且易于更改的技术。重构也可以通过图变换规则来定义。在模型转换的上下文中,当模型转换的源语言的模型要进行重构时会出现问题。很有可能在重构之后,模型转换规则不再适用,因为重构导致了模型中的结构变化。在本文中,我们考虑了基于图变换的模型变换演化,该模型变换使模型变换规则适应重构模型。在主要结果中,我们表明,在适当的假设下,演化导致了与模型兼容的自适应模型变换。源模型和目标模型的重构。在一个小案例研究中,我们将我们的技术应用于从状态图到Petri网的著名模型转换。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号