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

Hamie, A. (2002) Towards verifying Java realizations of OCL-constrained design models using JML In: Proceedings of 6th IASTED International COnference on Software Engineering and Applications (SEA'2002), Nov 2002, Cambridge, MA, USA.

[img]
Preview
Text
SEA02.pdf - Accepted Version

Download (53kB) | Preview

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.

Item Type: Contribution to conference proceedings in the public domain ( Full Paper)
Additional Information: © 2002 MIT Press
Uncontrolled Keywords: Realization Relation, Verification, OCL, JML, Java
Subjects: G000 Computing and Mathematical Sciences
Faculties: Faculty of Science and Engineering > School of Computing, Engineering and Mathematics > Visual Modelling
Depositing User: Helen Webb
Date Deposited: 26 Nov 2007
Last Modified: 21 May 2014 11:01
URI: http://eprints.brighton.ac.uk/id/eprint/2218

Actions (login required)

View Item View Item

Downloads

Downloads per month over past year