Redesign of UML class diagrams: a formal approach

被引:5
|
作者
Kosiuczenko, Piotr [1 ]
机构
[1] Univ Leicester, Dept Comp Sci, Leicester LE1 7RH, Leics, England
来源
SOFTWARE AND SYSTEMS MODELING | 2009年 / 8卷 / 02期
关键词
UML; OCL; Formal methods; Refactoring; Requirements tracing; OCL;
D O I
10.1007/s10270-007-0068-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 defined 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.
引用
收藏
页码:165 / 183
页数:19
相关论文
共 50 条
  • [31] Generating operation specifications from UML class diagrams: A model transformation approach
    Albert, Manoli
    Cabot, Jordi
    Gomez, Cristina
    Pelechano, Vicente
    [J]. DATA & KNOWLEDGE ENGINEERING, 2011, 70 (04) : 365 - 389
  • [32] A Query-based Approach for Verifying UML Class Diagrams with OCL Invariants
    Wu, Hao
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2022, 21 (03):
  • [33] Supporting collaborative modelling in UML class diagrams
    Cortiana Neto, Raul Antonio
    Farias, Kleinner
    Bischoff, Vinicius
    Goncales, Lucian Jose
    [J]. REVISTA BRASILEIRA DE COMPUTACAO APLICADA, 2019, 11 (03): : 39 - 46
  • [34] Caesar automatic layout of UML class diagrams
    Gutwenger, C
    Jünger, M
    Klein, K
    Kupke, J
    Leipert, S
    Mutzel, P
    [J]. GRAPH DRAWING, 2002, 2265 : 461 - 462
  • [35] On the use of association redefinition in UML class diagrams
    Costal, Dolors
    Gomez, Cristina
    [J]. CONCEPTUAL MODELING - ER 2006, PROCEEDINGS, 2006, 4215 : 513 - +
  • [36] Refactoring OCL annotated UML class diagrams
    Markovic, Slavisa
    Baar, Thomas
    [J]. SOFTWARE AND SYSTEMS MODELING, 2008, 7 (01): : 25 - 47
  • [37] Refactoring OCL annotated UML class diagrams
    Markovic, SA
    Baar, T
    [J]. MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3713 : 280 - 294
  • [38] Guidelines on the aesthetic quality of UML class diagrams
    Eichelberger, Holger
    Schmid, Klaus
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (12) : 1686 - 1698
  • [39] Expressing UML class diagrams properties with OCL
    Gogolla, M
    Richters, M
    [J]. OBJECT MODELING WITH THE OCL: THE RATIONALE BEHIND THE OBJECT CONSTRAINT LANGUAGE, 2002, 2263 : 85 - 114
  • [40] Reasoning on UML class diagrams with OCL constraints
    Queralt, Anna
    Teniente, Ernest
    [J]. CONCEPTUAL MODELING - ER 2006, PROCEEDINGS, 2006, 4215 : 497 - +