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 条
  • [41] Aspect-oriented programming
    Kiczales, G
    ICSE 05: 27th International Conference on Software Engineering, Proceedings, 2005, : 730 - 730
  • [42] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES - TOOLS 33, PROCEEDINGS, 2000, : 468 - 468
  • [43] Aspect-oriented programming
    Murphy, C
    Schwanninger, C
    IEEE SOFTWARE, 2006, 23 (01) : 20 - 23
  • [44] Aspect-oriented programming
    Elrad, Tzilla
    Filman, Robert E.
    Bader, Atef
    Communications of the ACM, 2001, 44 (10) : 29 - 32
  • [45] Aspect-oriented programming
    Kiczales, G
    Lamping, J
    Mendhekar, A
    Maeda, C
    Lopes, C
    Loingtier, JM
    Irwin, J
    ECOOP'97: OBJECT-ORIENTED PROGRAMMING, 1997, 1241 : 220 - 242
  • [46] Aspect-oriented XML
    Jiang, Yan
    Wang, Guo-Ren
    Dongbei Daxue Xuebao/Journal of Northeastern University, 2006, 27 (12): : 1327 - 1330
  • [47] An integrated metamodel-based approach to software model refactoring
    Mohammed Misbhauddin
    Mohammad Alshayeb
    Software & Systems Modeling, 2019, 18 : 2013 - 2050
  • [48] Managing the evolution of aspect-oriented software with model-based pointcuts
    Kellens, Andy
    Mens, Kim
    Brichau, Johan
    Gybels, Kris
    ECOOP 2006 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2006, 4067 : 501 - 525
  • [49] Rewriting rule-based model for aspect-oriented software evolution
    Cherait, Hanene
    Bounour, Nora
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2016, 54 (04) : 266 - 278
  • [50] Use-Case Based Aspect-Oriented Architecture Description Model
    Ge Jun-wei
    Tang Rong
    Fang Yi-qiu
    2009 WRI WORLD CONGRESS ON SOFTWARE ENGINEERING, VOL 3, PROCEEDINGS, 2009, : 301 - +