Skip to main content

Reflections on the Object Constraint Language

Hamie, Ali and Civello, Franco and Howse, John and Kent, Stuart and Mitchell, Richard (1998) Reflections on the Object Constraint Language. In: The Unified Modeling Language. «UML»’98: Beyond the Notation First International Workshop. Lecture Notes in Computer Science . Springer, Berlin, Germany, pp. 162-172. ISBN 978-3-540-66252-5. E-ISBN 978-3-540-48480-6. (doi:10.1007/978-3-540-48480-6_13) (KAR id:21643)

Language: English
Click to download this file (80kB)
[thumbnail of Reflections_on_the_Object_Constraint_Language.pdf]
This file may not be suitable for users of assistive technology.
Request an accessible format
Official URL:


The Object Constraint Language (OCL), which forms part of the UML set of modelling notations, is a precise, textual language for expressing constraints that cannot be shown diagrammatically in UML. This paper reflects on a number of aspects of the syntax and semantics of the OCL, and makes proposals for clarification or extension. Specifically, the paper suggests that: the concept of flattening collections of collections is unnecessary, state models should be connectable to class models, defining object creation should be made more convenient, OCL should be based on a 2-valued logic, set subtraction should be covered more fully, and a ''let'' feature should be introduced.

Item Type: Book section
DOI/Identification number: 10.1007/978-3-540-48480-6_13
Uncontrolled keywords: Class Diagram; State Diagram; Object Constraint Language; State Schedule; Textual Language
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Mark Wheadon
Date Deposited: 22 Aug 2009 14:18 UTC
Last Modified: 27 Nov 2023 09:27 UTC
Resource URI: (The current URI for this page, for reference purposes)
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.