Evaluation of OCL for large-scale modelling: A different view of the Mondex purse

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

OCL is used to add rigour to UML/MOF models, and in particular can be used to express behavioural details (e.g., operation pre- and postconditions, class invariants) of such models. The applicability and utility of OCL can be assessed by applying it to realistic applications and by investigating its capabilities both in terms of language characteristics and tool support. With this in mind, in this paper we model functional requirements for the Mondex Smart Card Application using UML Diagrams, demonstrate how system invariants as well as operation re- and post-conditions are specified in OCL, and explore the degree to which OCL tool support can be used to create and validate these models. Moreover, we discuss how these pre- and post-conditions can be validated, in part by discussing how test cases can be selected from the OCL specifications created.

Original languageEnglish
Title of host publicationMODELS IN SOFTWARE ENGINEERING
EditorsH Giese
Place of PublicationBERLIN
PublisherSpringer
Pages194-205
Number of pages12
Volume5002 LNCS
ISBN (Print)978-3-540-69069-6
Publication statusPublished - 2008
EventWorkshop and Symposia on Models in Software Engineering - Nashville
Duration: 30 Sept 20075 Oct 2007

Conference

ConferenceWorkshop and Symposia on Models in Software Engineering
CityNashville
Period30/09/075/10/07

Cite this