Consistency of UML class diagrams with hierarchy constraints

Mira Balaban, Azzam Maraee

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

UML class diagrams are probably the most important, well-established, UML model. They play an essential role in the analysis and design of complex systems, UML class diagrams allow the specification of constraints such as cardinality constraints, class hierarchy constraints and inter-association constraints. Constraints extend the expressivity of class diagrams, but enable the specification of unsatisfiable class diagrams, i.e., class diagrams that have no finite non-empty instance world. Nowadays, UML case tools still do not check satisfiability of class diagrams, and implementation languages still do not enforce design level constraints. But the expectation is that in the future, and in particular with the prevalence of the Model Driven Engineering approach, all information in a design model will be effective in its successive models. In this paper, we present an algorithm for testing the satisfiability of UML class diagrams that include class hierarchies with "disjoint/over- lapping" and "complete/incomplete" constraints. The algorithm is based on a reduction to a previous algorithm of Lenzerini and Nobili that was applied only to ER-diagrams without class hierarchies. Our algorithm is simple and feasible since it adds in the worst case only a linear amount of entities to the original diagram. It improves over previous elaboration of the Lenzerini and Nobili method that require the addition of an exponential number of new entities to the original diagram. An implementation of our method within a UML case tool is currently under development.

Original languageEnglish
Title of host publicationNext Generation Information Technologies and Systems - 6th International Conference, NGITS 2006, Proceedings
PublisherSpringer Verlag
Pages71-82
Number of pages12
ISBN (Print)3540354727, 9783540354727
DOIs
StatePublished - 1 Jan 2006
Event6th International Conference on Next Generation Information Technologies and Systems, NGITS 2006 - Kibbutz Shefayim, Israel
Duration: 4 Jul 20066 Jul 2006

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4032 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference6th International Conference on Next Generation Information Technologies and Systems, NGITS 2006
Country/TerritoryIsrael
CityKibbutz Shefayim
Period4/07/066/07/06

Keywords

  • Cardinality constraints
  • Class hierarchy constraints
  • Finite satisfiability
  • UML class diagram

Fingerprint

Dive into the research topics of 'Consistency of UML class diagrams with hierarchy constraints'. Together they form a unique fingerprint.

Cite this