首页> 外文期刊>The Journal of Systems and Software >Design pattern-based model transformation supported by QVT
【24h】

Design pattern-based model transformation supported by QVT

机译:QVT支持基于设计模式的模型转换

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

摘要

A design pattern helps to improve the quality of a software system by providing a proven solution tor recurring design problems. However, the abstract and informal nature of prevailing pattern descriptions makes it difficult to use design patterns. There have been significant works on formalizing design patterns which found a base for systematic application of a design pattern. Pattern-based model transformation has emerged as an approach for incorporating pattern properties into a design model. However, the existing work mostly focuses on the solution domain of a pattern while leaving out the problem domain, structural pattern aspects with little attention to behavioral aspects, and general methodologies without concrete implementations. In this work, we present an approach for transforming an application model using both the structural and behavioral properties of a design pattern defined in terms of the problem and solution domain and its implementation using Query/View/Transformation (QVT). In the approach, we define pattern consistency for structural and behavioral pattern properties and pattern conformance for pattern applicability before transformation solution conformance after transformation. We demonstrate the approach using the Observer pattern applied to a graph application. Besides the Observer pattern, we also define transformation rules for the Visitor and Adapter patterns.
机译:设计模式通过为反复出现的设计问题提供经过验证的解决方案,有助于提高软件系统的质量。然而,流行的模式描述的抽象和非正式性质使得使用设计模式变得困难。关于形式化设计模式的大量工作为系统设计模式的应用奠定了基础。基于模式的模型转换已成为一种将模式属性合并到设计模型中的方法。但是,现有的工作主要集中在模式的解决方案领域,而忽略了问题领域,结构模式方面,很少关注行为方面,以及没有具体实现的一般方法。在这项工作中,我们提出了一种使用设计模式的结构和行为特性来转换应用程序模型的方法,该设计模式是根据问题和解决方案领域定义的,以及使用查询/视图/转换(QVT)来实现的。在该方法中,我们为结构和行为模式属性定义了模式一致性,并为转换之前的模式适用性定义了模式一致性,以适应转换后的解决方案一致性。我们演示了将观察者模式应用于图形应用程序的方法。除了“观察者”模式之外,我们还为“访客”和“适配器”模式定义了转换规则。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号