首页> 外文期刊>Software and systems modeling >Redesign of UML class diagrams: a formal approach
【24h】

Redesign of UML class diagrams: a formal approach

机译:重新设计UML类图:一种正式方法

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

摘要

Contracts provide a precise way of specifying object-oriented systems. When a class structure is modified, the corresponding contracts must be modified accordingly. This paper presents a method of transforming contracts, which allows the extension of a mapping denned on a few model elements, to-what we call-an interpretation function, and to use this function to automatically translate OCL-constraints. Interestingly, such functions preserve reasoning using propositional calculi, resolution, equations, and induction. Interpretation functions can be used to trace model elements throughout multiple redesigns of UML class diagrams in both the forward, and the backward direction. The applicability of our approach is demonstrated in several examples, including some of Fowler's refactoring patterns.
机译:合同提供了一种指定面向对象系统的精确方法。修改类结构时,必须相应地修改相应的合同。本文提出了一种转换合同的方法,该方法允许扩展定义在几个模型元素上的映射(我们称之为解释功能),并使用该功能自动翻译OCL约束。有趣的是,这些函数使用命题演算,分辨率,方程式和归纳法保留推理。解释功能可用于在UML类图的多次重新设计中沿向前和向后方向跟踪模型元素。我们的方法的适用性在几个示例中得到了证明,包括Fowler的一些重构模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号