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

被引:0
|
作者
Pham, Van Cam [1 ]
Radermacher, Ansgar [1 ]
Gerard, Sebastien [1 ]
机构
[1] CEA, LIST, Lab Model Driven Engn Embedded Syst, PC 174, F-91191 Gif Sur Yvette, France
关键词
UML State Machine; Code Generation; Change Reflection; Programmers; Software Architects; C plus; !text type='Java']Java[!/text] Annotation Processing; Programming Language; Component-based Design; Source Code Organization; Incremental Reverse;
D O I
10.5220/0006610904960503
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:496 / 503
页数:8
相关论文
共 50 条
  • [1] Bidirectional Mapping between Architecture Model and Code for Synchronization
    Van Cam Pham
    Radermacher, Ansgar
    Gerard, Sebastien
    Li, Shuai
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA 2017), 2017, : 239 - 242
  • [2] Linking Design Model with Code
    Eckert, Candice
    Cham, Brian
    Li, Pengyi
    Sun, Jing
    Dobbie, Gillian
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2016, 26 (9-10) : 1473 - 1491
  • [3] Semi-Automatic transformation of sequential code to distributed code using Model Driven Architecture approach
    Karimi, Siamak Najjar
    Parsa, Saeed
    2009 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS, PROCEEDINGS, 2009, : 708 - 714
  • [4] A Model-Driven Architecture Approach to Accelerate Software Code Generation
    Bhadra, Mayuri
    Lopera, Daniela Sanchez
    Kunzelmann, Robert
    Ecker, Wolfgang
    2024 7TH INTERNATIONAL CONFERENCE ON SOFTWARE AND SYSTEM ENGINEERING, ICOSSE 2024, 2024, : 23 - 30
  • [5] The new fib Model Code
    Walraven, Joost
    STRUCTURAL CONCRETE, 2009, 10 (01) : 45 - 47
  • [6] Metamodel code generation for a model driven architecture
    Mitterdorfer, S
    Teiniker, E
    Kreiner, C
    Kovács, Z
    Weiss, R
    COMPUTERS AND THEIR APPLICATIONS, 2004, : 109 - 112
  • [7] A new approach to combine models and code in model driven development
    Sarstedt, S
    Kohlmeyer, J
    Raschke, A
    Schneiderhan, M
    SERP '05: Proceedings of the 2005 International Conference on Software Engineering Research and Practice, Vols 1 and 2, 2005, : 396 - 400
  • [8] A joint design method of frame synchronization code and LDPC code
    Tian, Runlu
    Gong, Kexian
    Sun, Peng
    Wang, Zhongyong
    Ren, Mengke
    2020 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE COMMUNICATION AND NETWORK SECURITY (CSCNS2020), 2021, 336
  • [9] LOAD MODEL FOR BRIDGE DESIGN CODE
    NOWAK, AS
    CANADIAN JOURNAL OF CIVIL ENGINEERING, 1994, 21 (01) : 36 - 49
  • [10] DETAILING OF MEMBERS BY NEW MODEL CODE
    Bellova, Maria
    FIB SYMPOSIUM PRAGUE 2011: CONCRETE ENGINEERING FOR EXCELLENCE AND EFFICIENCY, VOLS 1 AND 2, 2011, : 235 - 238