当前位置: X-MOL 学术ACM Trans. Softw. Eng. Methodol. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Facet-oriented Modelling
ACM Transactions on Software Engineering and Methodology ( IF 4.4 ) Pub Date : 2021-02-11 , DOI: 10.1145/3428076
Juan De Lara 1 , Esther Guerra 1 , Jörg Kienzle 2
Affiliation  

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.

中文翻译:

面向方面的建模

模型是模型驱动工程 (MDE) 的核心资产,因为它们在软件开发的所有阶段都被积极使用。模型是使用基于元模型的语言构建的,因此模型中的对象由元模型类进行类型化。这种类型是静态的,在创建时建立,以后不能更改。因此,MDE 中的对象是关闭并且相对于它们所遵循的类、它们拥有的字段以及它们必须遵守的格式良好的约束是固定的。这阻碍了许多 MDE 活动,例如重用模型相关的人工制品,例如转换、元模型的机会主义或动态组合,或模型的动态重新配置。为了减轻这种僵化,我们建议制作模型对象打开这样他们就可以获得或放弃所谓的刻面. 它们为持有它们的对象提供类型、字段和约束。方面由常规元模型定义,因此是标准元建模的轻量级扩展。方面元模型可以声明使用接口, 也法律控制面到对象(或类)的分配。本文描述了我们的建议,报告了理论、分析技术和实现。基于处理注释模型、转换重用、多视图建模、多级建模和语言产品线的五个案例研究验证了该方法的好处。
更新日期:2021-02-11
down
wechat
bug