ISBN:
9783031091452
Language:
English
Titel der Quelle:
Software engineering research, management and applications
Publ. der Quelle:
Cham : Springer International Publishing, 2022
Angaben zur Quelle:
(2022), Seite 151-168
Angaben zur Quelle:
year:2022
Angaben zur Quelle:
pages:151-168
Abstract:
Unlike traditional development techniques, Model-Driven Software Development utilizes models as the cornerstone of a software development process and the basis for automated generation of required development artifacts. Its goal is to automate transformations between models and source code. The Object Constraint Language (OCL) is a standard method for querying and validating standardized UML or Ecore models. Several toolchains implement this approach, for example the common Eclipse Modeling Framework (EMF). However, most of these solutions are based on Java or are proprietary solutions. A reason for this is that open source implementations for C++ based on an explicit standardized meta-model are still missing, which are necessary to query a model using OCL during runtime. The Model-Driven Engineering for C++ (MDE4CPP) project is an EMF-like, model-driven environment for common Eclipse Ecore and several OMG specifications like UML, fUML, or PSCS. Although already supporting the execution of UML models, the project did not support OCL so far. This paper presents the concept and implementation of OCL4CPP: an OCL parsing tool for checking, querying, and validating Ecore and UML models at run time within MDE4CPP. It describes implementation details as well as the use of the OCL parser for example applications.
DOI:
10.1007/978-3-031-09145-2_10
Permalink