Transformation techniques for OCL constraints

  • Authors:
  • J. Cabot;E. Teniente

  • Affiliations:
  • Estudis dInformàtica i Multimèdia, Universitat Oberta de Catalunya, Rambla del Poblenou, 156, E08018 Barcelona, Spain;Dept. Llenguatges i Sistemes Informàtics, Universitat Politècnica de Catalunya, Campus Nord, Ed. Omega, 132, E08034 Barcelona, Spain

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Constraints play a key role in the definition of conceptual schemas. In the UML, constraints are usually specified by means of invariants written in the OCL. However, due to the high expressiveness of the OCL, the designer has different syntactic alternatives to express each constraint. The techniques presented in this paper assist the designer during the definition of the constraints by means of generating equivalent alternatives for the initially defined ones. Moreover, in the context of the MDA, transformations between these different alternatives are required as part of the PIM-to-PIM, PIM-to-PSM or PIM-to-code transformations of the original conceptual schema.