Finite Satisfiability of UML Class Diagrams with Constrained Class Hierarchy

被引:31
作者
Balaban, Mira [1 ]
Maraee, Azzam [1 ]
机构
[1] Ben Gurion Univ Negev, Dept Comp Sci, IL-84105 Beer Sheva, Israel
关键词
Design; Languages; Reliability; Verification; Class hierarchy constraints; class hierarchy structure; detection and cause identification; finite satisfiability; generalization set constraints; identification graph; multiplicity constraints; solvability of linear inequality system; UML class diagram; OCL; CONSISTENCY;
D O I
10.1145/2491509.2491518
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Models lie at the heart of the emerging model-driven engineering approach. In order to guarantee precise, consistent, and correct models, there is a need for efficient powerful methods for verifying model correctness. Class diagram is the central language within UML. Its correctness problems involve issues of contradiction, namely the consistency problem, and issues of finite instantiation, namely the finite satisfiability problem. This article analyzes the problem of finite satisfiability of class diagrams with class hierarchy constraints and generalization-set constraints. The article introduces the FiniteSat algorithm for efficient detection of finite satisfiability in such class diagrams, and analyzes its limitations in terms of complex hierarchy structures. FiniteSat is strengthened in two directions. First, an algorithm for identification of the cause for a finite satisfiability problem is introduced. Second, a method for propagation of generalization-set constraints in a class diagram is introduced. The propagation method serves as a preprocessing step that improves FiniteSat performance, and helps developers in clarifying intended constraints. These algorithms are implemented in the FiniteSatUSE tool [BGU Modeling Group 2011b], as part of our ongoing effort for constructing a model-level integrated development environment [BGU Modeling Group 2010a].
引用
收藏
页码:1 / 42
页数:42
相关论文
共 78 条
  • [1] A metamodeling language supporting subset and union properties
    Alanen, Marcus
    Porres, Ivan
    [J]. SOFTWARE AND SYSTEMS MODELING, 2008, 7 (01) : 103 - 124
  • [2] On challenges of model transformation from UML to Alloy
    Anastasakis, Kyriakos
    Bordbar, Behzad
    Georg, Geri
    Ray, Indrakshi
    [J]. SOFTWARE AND SYSTEMS MODELING, 2010, 9 (01) : 69 - 86
  • [3] ANDRE P., 2000, P INT C RIG OBJ OR M
  • [4] [Anonymous], THESIS VIENNA U TECH
  • [5] [Anonymous], 1998, Theory of linear and integer programming
  • [6] [Anonymous], 2003, MDA Explained, the Model Driven Architecture: Practice and Promise
  • [7] ARTALE A., 2007, P DESCR LOG WORKSH D
  • [8] Artale A, 2010, LECT NOTES COMPUT SC, V6412, P317, DOI 10.1007/978-3-642-16373-9_23
  • [9] MEER - An EER model enhanced with structure methods
    Balaban, M
    Shoval, P
    [J]. INFORMATION SYSTEMS, 2002, 27 (04) : 245 - 275
  • [10] BALABAN M, 2008, P 21 INT WORKSH DESC