Generating alternative representations for OCL integrity constraints

Integrity constraints (ICs) play a key role in the definition of conceptual schemas. In the UML, ICs are usually specified as invariants written in the OCL language. However, due to the high expressiveness of the OCL, the designer has different syntactic alternatives to express each IC. In the conte...

ver descrição completa

Detalhes bibliográficos
Autores: Cabot, Jordi, Teniente López, Ernest|||0000-0001-8890-9638
Tipo de documento: relatório científico
Data de publicação:2005
País:España
Recursos:Universitat Politècnica de Catalunya (UPC)
Repositório:UPCommons. Portal del coneixement obert de la UPC
Idioma:inglês
OAI Identifier:oai:upcommons.upc.edu:2117/84189
Acesso em linha:https://hdl.handle.net/2117/84189
Access Level:Acceso aberto
Palavra-chave:Integrity constraints
Conceptual schemas
UML
OCL
Àrees temàtiques de la UPC::Informàtica::Sistemes d'informació
Descrição
Resumo:Integrity constraints (ICs) play a key role in the definition of conceptual schemas. In the UML, ICs are usually specified as invariants written in the OCL language. However, due to the high expressiveness of the OCL, the designer has different syntactic alternatives to express each IC. In the context of the MDA, the choice of a particular definition has a direct effect on the efficiency of the automatically generated implementation. The method presented in this paper assists the designer during the definition of ICs by means of generating equivalent alternatives for the initially defined constraints. Our method can also be applied to help in the detection of equivalent (redundant) constraints and as a tool to facilitate the learning of the OCL.