Sorted collection and map types for OCL

Kevin Charles Lano, Shekoufeh Kolahdouz Rahimi, Zishan Rahman

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

28 Downloads (Pure)

Abstract

The OCL collection types defined in the OMG v2.4 standard are a key part of the language, and corre- sponding types can now be found in most modern programming languages such as Java, C# and Python. Further aggregate types, particularly maps, have been added in revised OCL versions. In this paper we give a rationale for extending the OCL collection and map type system with intrinsically-sorted versions of these aggregate types. We show that these types have strong semantic properties and that their use can improve the efficiency of generated code.
Original languageEnglish
Title of host publicationOCL 2025, Part of the Software Technologies: Applications and Foundations (STAF) federated conferences
PublisherCEUR Workshop Proceedings
Publication statusPublished - 2025

Cite this