Towards verifying Java realizations of OCL-constrained design models using JML

Research output: Chapter in Book/Conference proceeding with ISSN or ISBNConference contribution with ISSN or ISBNpeer-review

Abstract

The Object Constraint Language OCL is a formal textual notation that could be used for placing constraints on the modelling elements that occur in UML diagrams. Constraints include invariants on classes and types, and preconditions and postconditions of operations. OCL was designed to be used in conjunctions with UML diagrams resulting in more precise object-oriented designs. The Java Modelling Language (JML) is a behavioural interface specification language designed for specifying Java classes and interfaces. This paper applies OCL for developing Java realizations of UML design models where JML is used as the assertion language. This is achieved by translating a subset of OCL assertions into JML assertions. In order to verify a Java subsystem with respect to a design subsystem with OCL constraints, an appropriate realization relation is defined and the approach is illustrated by an example.
Original languageEnglish
Title of host publicationProceedings of 6th IASTED International Conference on Software Engineering and Applications (SEA'2002)
Place of PublicationCambridge, MA, United States
PublisherMIT Press
Publication statusPublished - 2002
EventProceedings of 6th IASTED International Conference on Software Engineering and Applications (SEA'2002) - Cambridge, MA, USA
Duration: 1 Jan 2002 → …

Conference

ConferenceProceedings of 6th IASTED International Conference on Software Engineering and Applications (SEA'2002)
Period1/01/02 → …

Keywords

  • Realization Relation
  • Verification
  • OCL
  • JML
  • Java

Fingerprint

Dive into the research topics of 'Towards verifying Java realizations of OCL-constrained design models using JML'. Together they form a unique fingerprint.

Cite this