Transformation techniques for OCL constraints

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 techniqu...

Full description

Bibliographic Details
Authors: Cabot Sagrera, Jordi; Teniente López, Ernest|||0000-0001-8890-9638
Format: Report
Publication date:2006
Country:España
Institution:Universitat Politècnica de Catalunya (UPC)
Repository:UPCommons. Portal del coneixement obert de la UPC
Language:English
OAI Identifier:oai:upcommons.upc.edu:2117/86164
Online Access:https://hdl.handle.net/2117/86164
Access Level:Open access
Keyword:OCL
Integrity constraints
Transformation
Àrees temàtiques de la UPC::Informàtica::Programació
Description
Summary: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.