首页> 外文会议>International Conference on Model-Driven Engineering and Software Development >A New Approach for Reflection of Code Modifications to Model in Synchronization of Architecture Design Model and Code
【24h】

A New Approach for Reflection of Code Modifications to Model in Synchronization of Architecture Design Model and Code

机译:建筑设计模型与代码同步模型代码修改的新方法

获取原文

摘要

Model-Driven Engineering (MDE) increases the abstraction level, thus facilitates the design of complex systems. It is possible to create an executable system from a model enriched with detailed behavior specifications. But the graphical modeling of some system aspects is likely less efficient compared to writing code in a programming language. For method signatures, textual editing includes a few lines of text, whereas modeling requires the separate addition of methods along with their parameters. Therefore, we propose to develop systems by combining the strength of graphical modeling with programming languages by allowing a developer to make changes in either notation and synchronize the result with the other one, respectively. Synchronization between model and code is already supported by existing tools, but often restricted to structural elements that have a 1-1 mapping. The synchronization of additional modeling aspects from the code, notably component based modeling in UML and behavior in form of state-machines, is not supported by the state-of-the-art. In order to enable this synchronization, it is important to reduce the abstraction gap and assure a 1-1 mapping if possible. Our proposition is to perform the synchronization with an extended programming language that provides additional language elements for some UML elements, notably those that do not already exist in object-oriented programming languages. This extension uses built-in language facilities, in case of C++ templates and preprocessor macros, and a design pattern that adds a shadow implementation.
机译:模型驱动工程(MDE)增加了抽象水平,从而促进了复杂系统的设计。可以从丰富具有详细行为规范的模型创建可执行系统。但与编程语言编写代码相比,某些系统方面的图形建模可能较低。对于方法签名,文本编辑包括几行文本,而建模需要单独添加方法以及它们的参数。因此,我们通过允许开发人员将图形建模的强度与编程语言相结合,允许开发人员在要任一符号中进行更改并分别与另一个同步结果同步结果来开发系统。模型和代码之间的同步已由现有工具支持,但通常仅限于具有1-1映射的结构元素。从代码中的附加建模方面的同步,特别是基于UML的组件的模型和状态机的行为,最先进状态不支持状态。为了实现此同步,重要的是减少抽象间隙并确保如果可能的话,请确保1-1映射。我们的命题是使用扩展编程语言进行同步,该语言为某些UML元素提供额外的语言元素,特别是那些尚未存在于面向对象的编程语言的语言。此扩展使用内置语言设施,以防C ++模板和预处理器宏,以及添加影子实现的设计模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号