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

Descripción completa

Detalles Bibliográficos
Autores: Cabot, Jordi, Teniente López, Ernest
Tipo de recurso: artículo
Estado:Versión aceptada para publicación
Fecha de publicación:2007
País:España
Institución:Universitat Oberta de Catalunya (UOC)
Repositorio:O2, repositorio institucional de la UOC
OAI Identifier:oai:openaccess.uoc.edu:10609/109824
Acceso en línea:https://hdl.handle.net/10609/109824
Access Level:acceso abierto
Palabra clave:OCL
integrity constraints
transformation
restriccions d'integritat
transformació
restricciones de integridad
transformación
UML (Computer science)
UML (Informàtica)
UML (Informática)
Descripción
Sumario: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.