On better understanding OCL collections or an OCL ordered set is not an OCL set

  • Authors:
  • Fabian Büttner;Martin Gogolla;Lars Hamann;Mirco Kuhlmann;Arne Lindow

  • Affiliations:
  • Computer Science Department Database Systems Group, University of Bremen, Bremen, Germany;Computer Science Department Database Systems Group, University of Bremen, Bremen, Germany;Computer Science Department Database Systems Group, University of Bremen, Bremen, Germany;Computer Science Department Database Systems Group, University of Bremen, Bremen, Germany;Computer Science Department Database Systems Group, University of Bremen, Bremen, Germany

  • Venue:
  • MODELS'09 Proceedings of the 2009 international conference on Models in Software Engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Modeling languages like UML or EMF support textual constraints written in OCL. OCL allows the developer to use various collection kinds for objects and values. OCL 1.4 knows sequences, sets, and bags, while OCL 2.0 adds ordered sets. We argue that this addition in the OCL standard was not carried out in a careful way and worsened conceptional problems that were already present previously. We discuss a new way of establishing the connection between the various collection kinds on the basis of explicitly highlighting and characterizing fundamental collection properties.