The Unified Modeling Language user guide
The Unified Modeling Language user guide
The object constraint language: precise modeling with UML
The object constraint language: precise modeling with UML
The Handbook of Mathematics and Computational Science
The Handbook of Mathematics and Computational Science
Hi-index | 0.00 |
Design inconsistencies are either implemented as faults in a system or, if caught by the programmer, provide ambiguous rules on which the programmer must base a system decision. Any tool, which can isolate inconsistencies during the design process, may have value. This paper presents an algorithm for checking the consistency of minimum cardinalities in a Unified Modeling Language (UML) class diagram by dividing the diagram into subgraphs. A cardinality is inconsistent if it can have differing values within the same subgraph. A class diagram is more likely to contain this type of fault if it contains a circuit. While UML class diagrams do not require that cardinalities be expressly identified, it is possible to use this algorithm on all types of UML relations, including those with some standard constraints, and perform consistency checking on the implied minimum cardinalities.