Evaluating the Multi-variant Model Transformation of UML Class Diagrams to Java']Java Models

被引:0
|
作者
Greiner, Sandra [1 ]
Westfechtel, Bernhard [1 ]
机构
[1] Univ Bayreuth, Appl Comp Sci 1, D-95440 Bayreuth, Germany
关键词
Model-driven software engineering; Software product line engineering; Multi-variant model transformations; Annotative approach; FOUNDATION;
D O I
10.1007/978-3-030-37873-8_12
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
When the two disciplines, software product line engineering (SPLE) and model-driven software engineering (MDSE), come together multi-variant model transformations (MVMTs) are almost indispensable tool support. Variability annotations are boolean expressions used in annotative SPL engineering (SPLE) for expressing in which products model elements are visible. Developing the SPL in a model-driven way requires various model representations, e.g., Java models for generating the source code. Although model transformations are the key essence of MDSE and can be used to generate these representations from already existing (model) artifacts, they suffer from not being able to handle the variability annotations automatically. Thus, the developer is forced to annotate target models manually contradicting the goal of both disciplines, MDSE and SPLE, to increase productivity. Recently, approaches have been proposed to solve the problem using, e.g., traces, to propagate annotations without changing the transformation itself. In this paper we utilize a generic framework allowing to evaluate whether the target model of arbitrary (reuse-based) MVMTs was annotated correctly. In particular, for two different product lines we illuminate the transformation of UML class diagrams to Java models from which we finally can generate source code. On the one hand, we examine the quality of different post-processing annotation propagation strategies, on the other hand, the scalability of the framework itself.
引用
收藏
页码:275 / 297
页数:23
相关论文
共 50 条
  • [1] UML collaboration diagrams and their transformation to Java']Java
    Engels, G
    Hücking, R
    Sauer, S
    Wagner, A
    [J]. UML'99 - THE UNIFIED MODELING LANGUAGE: BEYOND THE STANDARD, 1999, 1723 : 473 - 488
  • [2] Generating Multi-Variant Java']Java Source Code Using Generic Aspects
    Greiner, Sandra
    Westfechtel, Bernhard
    [J]. PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2018, : 36 - 47
  • [3] Empirically evaluating OCL and Java']Java for specifying constraints on UML models
    Yue, Tao
    Ali, Shaukat
    [J]. SOFTWARE AND SYSTEMS MODELING, 2016, 15 (03): : 757 - 781
  • [4] Generation of java code from UML sequence and class diagrams
    Kluisritrakul, Preyanoot
    Limpiyakorn, Yachai
    [J]. Lecture Notes in Electrical Engineering, 2016, 376 : 1117 - 1125
  • [5] Transformation of UML Class Diagram to Internal Java']Java Domain-Specific Language
    Buzdin, Dmitry
    Nikiforova, Oksana
    [J]. APPLIED COMPUTER SYSTEMS, 2012, 13 (01) : 61 - 67
  • [6] An Approach to Testing Java']Java Implementation against Its UML Class Model
    Chavez, Hector M.
    Shen, Wuwei
    France, Robert B.
    Mechling, Benjamin A.
    [J]. MODEL-DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, 2013, 8107 : 220 - 236
  • [7] Design of rules for transforming UML sequence diagrams into Java']Java code
    Thongmak, M
    Muenchaisri, P
    [J]. APSEC 2002: NINTH ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE, 2002, : 485 - 494
  • [8] Empirically evaluating OCL and Java for specifying constraints on UML models
    Tao Yue
    Shaukat Ali
    [J]. Software & Systems Modeling, 2016, 15 : 757 - 781
  • [9] An Approach to Checking Consistency between UML Class Model and Its Java']Java Implementation
    Chavez, Hector M.
    Shen, Wuwei
    France, Robert B.
    Mechling, Benjamin A.
    Li, Guangyuan
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (04) : 322 - 344
  • [10] A framework to translate UML class generalization into Java']Java code
    Sánchez, P
    Letelier, P
    Pastor, JA
    Ortega, JA
    [J]. OBJECT-ORIENTED INFORMATION SYSTEMS, PROCEEDINGS, 2002, 2425 : 173 - 185