On code generation for derived associations

被引:0
|
作者
Dietrich, Jens [1 ]
Schenke, Bastian [2 ]
Wagner, Gerd [2 ]
机构
[1] Massey Univ, Inst Informat Sci & Technol, Te kura putaiao Hangarau Mohiotanga, Palmerston North, New Zealand
[2] Brandenburg Tech Univ Cottbus, Inst Informat, Cottbus, Germany
关键词
D O I
10.1109/ASWEC.2008.36
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
While the generation of executable code for explicit associations in UML models is well understood, it is less clear how executable code can be generated if the associations are derived. We discuss how this can be achieved for an important class of derived associations that are defined by means of derivation rules. The result is optimized and executable (as opposed to template) code. The generated code supports semantic reflection, that is, runtime access to the rules used to define the association. We relate these features to use cases from the area of business rules. We also present the Take rule compiler a Java implementation of the principles discussed.
引用
收藏
页码:347 / +
页数:2
相关论文
共 50 条
  • [1] A Metamodel and Code Generation Approach for Symmetric Unary Associations
    Gonzalez-Perez, Cesar
    Martin-Rodilla, Patricia
    2017 11TH INTERNATIONAL CONFERENCE ON RESEARCH CHALLENGES IN INFORMATION SCIENCE (RCIS), 2017, : 84 - 94
  • [2] Mapping the UML2 Semantics of Associations to a Java']Java Code Generation Model
    Gessenharter, Dominik
    MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2008, 5301 : 813 - 827
  • [3] Code generation
    Firth, Niall
    NEW SCIENTIST, 2014, 223 (2985) : 38 - 41
  • [4] GENERATING FLEXIBLE CODE FOR ASSOCIATIONS
    Goldberg, Mayer
    Wiener, Guy
    ENASE 2010: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2010, : 96 - 104
  • [5] Text to Code: Pseudo Code Generation
    Din, Altaf U.
    Adnan, Awais
    CONTEXT-AWARE SYSTEMS AND APPLICATIONS, AND NATURE OF COMPUTATION AND COMMUNICATION, 2019, 298 : 20 - 37
  • [6] Code-Centric Code Generation
    Busch, Daniel
    Smyth, Steven
    Tegeler, Tim
    Steffen, Bernhard
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: REOCAS COLLOQUIUM IN HONOR OF ROCCO DE NICOLA, PT I, ISOLA 2024, 2025, 15219 : 340 - 355
  • [7] Code Generation as a Dual Task of Code Summarization
    Wei, Bolin
    Li, Ge
    Xia, Xin
    Fu, Zhiyi
    Jin, Zhi
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 32 (NIPS 2019), 2019, 32
  • [8] Code Generation from Supervised Code Embeddings
    Hu, Han
    Chen, Qiuyuan
    Liu, Zhaoyi
    NEURAL INFORMATION PROCESSING (ICONIP 2019), PT IV, 2019, 1142 : 388 - 396
  • [9] Code generation in Scicos
    Djenidi, R
    Nikoukhah, R
    Steer, S
    MODELLING AND SIMULATION 2001, 2001, : 306 - 313
  • [10] GENERATION OF A PICTORIAL CODE
    SEYMOUR, PHK
    MEMORY & COGNITION, 1974, 2 (02) : 224 - 232