首页> 外文期刊>Software and systems modeling >VPML: an approach to detect design patterns of MOF-based modeling languages
【24h】

VPML: an approach to detect design patterns of MOF-based modeling languages

机译:VPML:一种检测基于MOF建模语言的设计模式的方法

获取原文
获取原文并翻译 | 示例

摘要

A design pattern is a recurring and well-understood design fragment. In a model-driven engineering methodology, detecting occurrences of design patterns supports the activities of model comprehension and maintenance. With the recent explosion of domain-specific modeling languages, each with its own syntax and semantics, there has been a corresponding explosion in approaches to detecting design patterns that are so much tailored to those many languages that they are difficult to reuse. This makes developing generic analysis tools extremely hard. Such a generic tool is however desirable to reduce the learning curve for pattern designers as they specify patterns for different languages used to model different aspects of a system. In this paper, we propose a unified approach to detecting design patterns of MOF-based modeling languages. MOF is increasingly used to define modeling languages, including UML and BPMN. In our approach, a pattern is modeled with a Visual Pattern Modeling Language and mapped to a corresponding QVT-Relations transformation. Such a transformation runs over an input model where pattern occurrences are to be detected and reports those occurrences in a result model. The approach is prototyped on Eclipse and validated in two large case studies that involve detecting design patterns-specifically a subset of GoF patterns in a UML model and a subset of Control Flow patterns in a BPMN model. Results show that the approach is adequate for modeling complex design patterns for MOF-based modeling languages and detecting their occurrences with high accuracy and performance.
机译:设计模式是一个反复出现且易于理解的设计片段。在模型驱动的工程方法中,检测设计模式的出现可支持模型理解和维护活动。随着最近领域特定的建模语言(每种都有其自己的语法和语义)的爆炸式增长,用于检测设计模式的方法也有了相应的爆炸式发展,这些模式非常适合那些难以重用的多种语言。这使得开发通用分析工具非常困难。然而,期望这种通用工具减少模式设计者的学习曲线,因为他们为用于对系统的不同方面建模的不同语言指定了模式。在本文中,我们提出了一种统一的方法来检测基于MOF的建模语言的设计模式。 MOF越来越多地用于定义建模语言,包括UML和BPMN。在我们的方法中,使用可视模式建模语言对模式进行建模,然后将其映射到相应的QVT-Relations转换。这样的转换遍历要检测模式发生的输入模型,并在结果模型中报告这些发生。该方法是在Eclipse上原型化的,并在两个大型案例研究中得到了验证,这些案例涉及检测设计模式-具体来说是检测UML模型中的GoF模式的子集和BPMN模型中的控制流模式的子集。结果表明,该方法适用于对基于MOF的建模语言的复杂设计模式进行建模,并能以较高的准确性和性能检测它们的出现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号