On the Precise Meaning of OCL Constraints

  • Authors:
  • Rolf Hennicker;Heinrich Hußmann;Michel Bidoit

  • Affiliations:
  • -;-;-

  • Venue:
  • Object Modeling with the OCL, The Rationale behind the Object Constraint Language
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

When OCL is applied in concrete examples, many questions arise about the precise meaning of OCL constraints. The same kind of difficulties appears when automatic support tools for OCL are designed. These questions are due to the lack of a precise semantics of OCL constraints in the context of a UML model. The aim of this paper is to contribute to a clarification of several issues, like interpretation of invariants and pre- and postconditions, treatment of undefined values, inheritance of constraints, transformation rules for OCL constraints and computation of proof obligations. Our study is based on a formal, abstract semantics of OCL.