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 条
  • [21] A machine model for aspect-oriented programming
    Haupt, Michael
    Schippers, Hans
    ECOOP 2007 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2007, 4609 : 501 - +
  • [22] A model for developing component-based and aspect-oriented systems
    Pessemier, Nicolas
    Seinturier, Lionel
    Coupaye, Thierry
    Duchien, Laurence
    SOFTWARE COMPOSITION, 2006, 4089 : 259 - 274
  • [23] MOOGLE: a metamodel-based model search engine
    Lucredio, Daniel
    Fortes, Renata P. de M.
    Whittle, Jon
    SOFTWARE AND SYSTEMS MODELING, 2012, 11 (02): : 183 - 208
  • [24] Context-Based Aspect-Oriented Requirement Engineering Model
    Idate, Sonali R.
    Rao, T. Srinivasa
    Mali, Dipak J.
    ENGINEERING TECHNOLOGY & APPLIED SCIENCE RESEARCH, 2023, 13 (02) : 10460 - 10465
  • [25] A component-based and aspect-oriented model for software evolution
    Pessemier, Nicolas
    Seinturier, Lionel
    Duchien, Laurence
    Coupaye, Thierry
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2008, 31 (1-2) : 94 - 105
  • [26] Applying Metamodel-based Tooling to Object-oriented Code
    Klare, Heiko
    Saglam, Timur
    Burger, Erik
    Reussner, Ralf
    MODELSWARD: PROCEEDINGS OF THE 7TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2019, 2019, : 217 - 228
  • [27] MOOGLE: a metamodel-based model search engine
    Daniel Lucrédio
    Renata P. de M. Fortes
    Jon Whittle
    Software & Systems Modeling, 2012, 11 : 183 - 208
  • [28] Aspect-oriented model-driven skeleton code generation: A graph-based transformation approach
    Bennett, Jeannette
    Cooper, Kendra
    Dai, Lirong
    SCIENCE OF COMPUTER PROGRAMMING, 2010, 75 (08) : 689 - 725
  • [29] A metamodel-based transformation between UMEL and Object-Z
    Kim, SK
    Carrington, D
    Duke, R
    IEEE SYMPOSIA ON HUMAN-CENTRIC COMPUTING LANGUAGES AND ENVIRONMENTS, PROCEEDINGS, 2001, : 112 - 119
  • [30] A compilation and optimization model for aspect-oriented programs
    Masuhara, H
    Kiczales, G
    Dutchyn, C
    COMPILER CONSTRUCTION, PROCEEDINGS, 2003, 2622 : 46 - 60