Reducing multiplicities in class diagrams

  • Authors:
  • Ingo Feinerer;Gernot Salzer;Tanja Sisel

  • Affiliations:
  • Institut für Informationssysteme, Technische Universität Wien, Vienna, Austria;Institut für Computersprachen, Technische Universität Wien, Vienna, Austria;Institut für Computersprachen, Technische Universität Wien, Vienna, Austria

  • Venue:
  • Proceedings of the 14th international conference on Model driven engineering languages and systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

In class diagrams, so-called multiplicities are integer ranges attached to association ends. They constrain the number of instances of the associated class that an instance may be linked to, or in an alternative reading, the number of links to instances of the associated class. In complex diagrams with several chains of associations between two classes (arising e.g. in configuration management) it may happen that the lower or upper bound of a range can never be attained because of restrictions imposed by a parallel chain. In this paper we investigate how multiplicities behave when chaining associations together, and we characterise situations where intervals can be tightened due to information from other chains. Detecting and eliminating such redundancies provides valuable feedback to the user, as redundancies may hint at some underlying misconception.