An algebraic specification of generic OCL queries within the eclipse modeling framework

  • Authors:
  • Artur Boronat;Joaquín Oriente;Abel Gómez;Isidro Ramos;José Á. Carsí

  • Affiliations:
  • Department of Information Systems and Computation, Technical University of Valencia, Valencia, Spain;Department of Information Systems and Computation, Technical University of Valencia, Valencia, Spain;Department of Information Systems and Computation, Technical University of Valencia, Valencia, Spain;Department of Information Systems and Computation, Technical University of Valencia, Valencia, Spain;Department of Information Systems and Computation, Technical University of Valencia, Valencia, Spain

  • Venue:
  • ECMDA-FA'06 Proceedings of the Second European conference on Model Driven Architecture: foundations and Applications
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

In the Model-Driven Architecture initiative, software artefacts are represented by means of models that can be manipulated. Such manipulations can be performed by means of transformations and queries. The standard Query/Views/Transformations and the standard language OCL are becoming suitable languages for these purposes. This paper presents an algebraic specification of the operational semantics of part of the OCL 2.0 standard, focusing on queries. This algebraic specification of OCL can be used within the Eclipse Modeling Framework to represent models in an algebraic setting and to perform queries or transformations over software artefacts that can be represented as models: model instances, models, metamodels, etc. In addition, a prototype for executing such OCL queries and invariants over EMF models is presented. This prototype provides a compiler of the OCL standard language that targets an algebraic specification of OCL, which runs on the term rewriting system Maude.