Metamodel-Based Model Transformation with Aspect-Oriented Constraints

被引:3
|
作者
Lengyel, Laszlo [1 ]
Levendovszky, Tihamer [1 ]
Mezei, Gergely [1 ]
Forstner, Bertalan [1 ]
Charaf, Hassan [1 ]
机构
[1] Budapest Univ Technol & Econ, Dept Automat & Appl Informat, Goldmann Gyorgy Ter 3, H-1111 Budapest, Hungary
关键词
Metamodel-Based Model Transformation Rules; Crosscutting Constraints; Aspect-Oriented Constraints; Constraint Weaving; OCL; VMTS;
D O I
10.1016/j.entcs.2005.10.020
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Model transformation means converting an input model available at the beginning of the transformation process to an output model. A widely used approach to model transformation uses graph rewriting as the underlying transformation technique. In case of diagrammatic languages, such as the Unified Modeling Language (UML), the exclusive topological matching is found to be not enough. To define precisely the transformation steps beyond the topology of the visual models, additional constraints must be specified which ensures the correctness of the attributes, or other properties to be enforced. Dealing with OCL constraints provides a solution for these unsolved issues, because topological and attribute transformation methods cannot perform and express the problems which can be addressed by constraint validation. The use of OCL as a constraint and query language in modeling is essential. We have shown that it can be applied to model transformations as well. Often, the same constraint is repetitiously applied in many different places in a transformation. It would be beneficial to describe a common constraint in a modular manner, and to designate the places where it is to be applied. This paper presents the problem of crosscutting constraints in transformation rules, and provides an aspect-oriented solution for it. Our approach makes it possible to define constraints separately from the transformation steps, and facilitates specifying their propagation assignment to graph transformation rules. To illustrate the conceptual results, a case study is also provided, which introduces (i) how our approach generates user interface handler source code for mobile platform from a resource model and a statechart diagram, and (ii) how it validates specific properties during the transformation steps using aspect-oriented constraints.
引用
收藏
页码:111 / 123
页数:13
相关论文
共 50 条
  • [11] An Aspect-Oriented Model Transformation to Weave Security using CVL
    Horcas, Jose-Miguel
    Pinto, Monica
    Fuentes, Lidia
    PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 138 - 147
  • [12] MATA: A tool for aspect-oriented modeling based on graph transformation
    Whittle, Jon
    Jayaraman, Praveen
    MODELS IN SOFTWARE ENGINEERING, 2008, 5002 : 16 - +
  • [13] KDM-AO: An Aspect-Oriented Extension of the Knowledge Discovery Metamodel
    Santos, Bruno M.
    Honda, Raphael R.
    de Camargo, Valter V.
    Durelli, Rafael S.
    2014 28TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING (SBES 2014), 2014, : 61 - +
  • [14] Evaluating the extension mechanisms of the knowledge discovery metamodel for aspect-oriented modernizations
    Santos, Bruno M.
    Landi, Andre de S.
    Santibanez, Daniel S.
    Durelli, Rafael S.
    de Camargo, Valter V.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 149 : 285 - 304
  • [15] Program transformation with reflection and aspect-oriented programming
    Chiba, Shigeru
    GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING, 2006, 4143 : 65 - 94
  • [16] Model compiler construction based on aspect-oriented mechanisms
    Ubayashi, N
    Tamai, T
    Sano, S
    Maeno, Y
    Murakami, S
    GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, PROCEEDINGS, 2005, 3676 : 109 - 124
  • [17] An approach for transformation of aspect-oriented software architecture
    Ni, Youcong
    Ye, Peng
    Du, Xin
    Xiao, Ruliang
    Yao, Zhiqiang
    Journal of Computational Information Systems, 2012, 8 (23): : 9771 - 9778
  • [18] Model reuse with metamodel-based transformations
    Levendovszky, T
    Karsai, G
    Maroti, M
    Ledeezi, A
    Charaf, H
    SOFTWARE REUSE: METHODS, TECHNIQUES, AND TOOLS, PROCEEDINGS, 2002, 2319 : 166 - 178
  • [19] An aspect-oriented model to monitor misuse
    Padayachee, K.
    Eloff, J. H. P.
    INNOVATIONS AND ADVANCED TECHNIQUES IN COMPUTER AND INFORMATION SCIENCES AND ENGINEERING, 2007, : 273 - +
  • [20] Model evolution with aspect-oriented mechanisms
    Ubayashi, N
    Tamai, T
    Sano, S
    Maeno, Y
    Murakami, S
    EIGHTH INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION, PROCEEDINGS, 2005, : 187 - 194