Synthesis of OCL pre-conditions for graph transformation rules

  • Authors:
  • Jordi Cabot;Robert Clarisó;Esther Guerra;Juan De Lara

  • Affiliations:
  • INRIA, École des Mines de Nantes, France;Universitat Oberta de Catalunya, Spain;Universidad Carlos III de Madrid, Spain;Universidad Autónoma de Madrid, Spain

  • Venue:
  • ICMT'10 Proceedings of the Third international conference on Theory and practice of model transformations
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

Graph transformation (GT) is being increasingly used in Model Driven Engineering (MDE) to describe in-place transformations like animations and refactorings. For its practical use, rules are often complemented with OCL application conditions. The advancement of rule post-conditions into pre-conditions is a well-known problem in GT, but current techniques do not consider OCL. In this paper we provide an approach to advance post-conditions with arbitrary OCL expressions into pre-conditions. This presents benefits for the practical use of GT in MDE, as it allows: (i) to automatically derive pre-conditions from the meta-model integrity constraints, ensuring rule correctness, (ii) to derive pre-conditions from graph constraints with OCL expressions and (iii) to check applicability of rule sequences with OCL conditions.