Type-Safe symmetric composition of metamodels using templates

  • Authors:
  • Henning Berg;Birger Møller-Pedersen

  • Affiliations:
  • Department of Informatics, Faculty of Mathematics and Natural Sciences, University of Oslo, Norway;Department of Informatics, Faculty of Mathematics and Natural Sciences, University of Oslo, Norway

  • Venue:
  • SAM'12 Proceedings of the 7th international conference on System Analysis and Modeling: theory and practice
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Composition of models is a key operation in model-driven engineering where it is used for, e.g., elaborating models with additional concepts, acquiring a holistic system view, or making model variants. However, there are few state-of-the-art composition mechanisms that support type-safe symmetric composition of metamodels and their behavioural semantics. This hampers the flexible customisation and reuse of metamodels in model-driven engineering approaches. This paper presents a new mechanism for composing metamodels by defining metamodels as reusable templates. Composition of metamodels is achieved using template instantiations that allow customising the metamodel classes as part of the composition process. The work includes a prototypical metamodel composition tool that supports the ideas presented. The result is an approach for composing metamodels in a type-safe manner, where name conflict resolution, composition of behavioural semantics and reuse of tools are supported.