Extending OCL with Map and Function Types

2Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Map and function types are of high utility in software specification and design, for example, maps can be used to represent configurations or caches, whilst function values can be used to enable genericity and reuse in a specification, and to support mechanisms such as callbacks or closures in an implementation. Map and function types have been incorporated into the leading programming languages, including Java, C++, Swift and Python. The Object Constraint Language (OCL) specification notation lacks such types, and in this paper we make a proposal for a consistent extension of OCL with map and function types, and we identify modifications to OCL semantics to include these types. We also describe how map and function types are implemented using the Eclipse AgileUML toolset.

Cite

CITATION STYLE

APA

Lano, K., & Kolahdouz-Rahimi, S. (2021). Extending OCL with Map and Function Types. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 12818 LNCS, pp. 108–123). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-030-89247-0_8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free