Dynamic and generic manipulation of models: from introspection to scripting

  • Authors:
  • Christophe Tombelle;Gilles Vanwormhoudt

  • Affiliations:
  • Laboratoire d'Informatique Fondamentale de Lille, GET / Telecom Lille 1, Villeneuve d'Ascq, France;Laboratoire d'Informatique Fondamentale de Lille, GET / Telecom Lille 1, Villeneuve d'Ascq, France

  • Venue:
  • MoDELS'06 Proceedings of the 9th international conference on Model Driven Engineering Languages and Systems
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Model introspection is a powerful feature of existing modeling frameworks like Java Metadata Interface or Eclipse Modeling Framework. It allows a program to work with any model by querying its structure dynamically at runtime. Applications of model introspection are model transformation engines and generic models editor. We show that mechanisms for model introspection are complex to use. To address this problem, we propose the notion of model scripting which uses introspection to automatically and dynamically expose any kind of model to program control through a compact and high-level notation. In this paper, we present several principles for general model scripting. Scripting languages built with these principles can be used for numerous model driven activities, such as interactive model testing and rapid development of scripts to process models and metamodels.