Derived Features for EMF by Integrating Advanced Model Queries
Title | Derived Features for EMF by Integrating Advanced Model Queries |
Publication Type | Conference Paper |
Year of Publication | 2012 |
Authors | Ráth, I., Hegedüs, Á., and Varró, D. |
Conference Name | 8th European Conference on Modelling Foundations and Applications |
Date Published | 06/2012 |
Publisher | Springer |
Conference Location | Kgs. Lyngby, Denmark |
Keywords | derived features, IncQuery, query, Viatra |
Abstract | When designing complex domain-specific languages, meta-models are frequently enriched with derived features that correspond to attribute values or references (edges) representing computed informa-tion in the model. In the popular Eclipse Modeling Framework, these are typically implemented as imperative Java code. In the paper, we propose to integrate the EMF-IncQuery model query framework to the Ecore metamodeling infrastructure in order to facilitate the efficient and automated (re-)computation of derived attributes and references over EMF models. Such an integration allows to define derived features using an expressive graph-based model query language, and offers high performance and scalability thanks to the incremental evalu-ation technique of EMF-IncQuery. In addition, our approach offers to automate two typical associated challenges of EMF tools: (1) values of derived features are immediately recalculated upon model changes and (2) notifications are sent automatically to other EMF model elements to report changes in derived features. |
Notes | Acceptance rate: 31% |
URL | http://www.springerlink.com/content/0318w20150j07vrg/ |
DOI | 10.1007/978-3-642-31491-9_10 |