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 条
  • [31] Flexible Aspect-Oriented Design Model Checking
    Shen, Wuwei
    Wong, W. Eric
    APSEC 2008:15TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2008, : 537 - +
  • [32] A model curriculum for aspect-oriented software development
    Brichau, Johan
    Chitchyan, Ruzanna
    Garcia, Alessandro
    Rashid, Awais
    Clarke, Siobhan
    D'Hondt, Ellie
    Haupt, Michael
    Joosen, Wouter
    Katz, Shmuel
    Noye, Jacques
    Suedholt, Mario
    IEEE SOFTWARE, 2006, 23 (06) : 53 - +
  • [33] Model for Dynamic Evolution of Aspect-Oriented Software
    Katic, Marija
    Fertalj, Kresimir
    2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 377 - 380
  • [34] Aspect-oriented compilers
    de Moor, O
    Peyton-Jones, S
    Van Wyk, E
    GENERATIVE AND COMPONENT-BASED SOFTWARE ENGINEERING, PROCEEDINGS, 2000, 1799 : 121 - 133
  • [35] Aspect-Oriented Coordination
    Fuentes, Lidia
    Sanchez, Pablo
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 189 : 87 - 103
  • [36] Aspect-oriented metamodelling
    Clark, T
    Evans, A
    Kent, S
    COMPUTER JOURNAL, 2003, 46 (05): : 566 - 577
  • [37] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 461 - 461
  • [38] Model checking aspect-oriented design specification
    Xu, Dianxiang
    Alsmadi, Izzat
    Xu, Weifeng
    COMPSAC 2007: THE THIRTY-FIRST ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL I, PROCEEDINGS, 2007, : 491 - +
  • [39] Aspect-oriented programming
    Bergmans, L
    Lopes, CV
    OBJECT-ORIENTED TECHNOLOGY, 1999, 1743 : 288 - 313
  • [40] Aspect-oriented metamodelling
    Clark, T. (anclark@dcs.kcl.ac.uk), 1600, Oxford University Press (46):