Affiliation:
1. Universidad Autónoma de Madrid (Spain)
2. McGill University (Canada)
Abstract
Models are the central assets in model-driven engineering (MDE), as they are actively used in all phases of software development. Models are built using metamodel-based languages, and so objects in models are typed by a metamodel class. This typing is static, established at creation time, and cannot be changed later. Therefore, objects in MDE are
closed
and fixed with respect to the class they conform to, the fields they have, and the well-formedness constraints they must comply with. This hampers many MDE activities, like the reuse of model-related artefacts such as transformations, the opportunistic or dynamic combination of metamodels, or the dynamic reconfiguration of models.
To alleviate this rigidity, we propose making model objects
open
so that they can acquire or drop so-called
facets
. These contribute with a type, fields and constraints to the objects holding them. Facets are defined by regular metamodels, hence being a lightweight extension of standard metamodelling. Facet metamodels may declare usage
interfaces
, as well as
laws
that govern the assignment of facets to objects (or classes).
This article describes our proposal, reporting on a theory, analysis techniques, and an implementation. The benefits of the approach are validated on the basis of five case studies dealing with annotation models, transformation reuse, multi-view modelling, multi-level modelling, and language product lines.
Funder
R8D programme of the Madrid Region
Spanish Ministry of Science
Publisher
Association for Computing Machinery (ACM)
Reference111 articles.
1. Complex attribute manipulation in TGGs with constraint-based programming techniques;Anjorin Anthony;Electr. Commun. Eur. Assoc. Softw. Sci. Technol.,2012
2. Lecture Notes in Informatics;Atkinson Colin
3. The Essence of Multilevel Metamodeling
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Flexible Modelling: a Systematic Literature Review.;The Journal of Object Technology;2024
2. Systematic Component-Oriented Language Reuse;2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems Companion (MODELS-C);2023-10-01
3. Composition operators for modeling languages: A literature review;Journal of Computer Languages;2023-08
4. FIDDLR: streamlining reuse with concern-specific modelling languages;Proceedings of the 14th ACM SIGPLAN International Conference on Software Language Engineering;2021-10-17