Generating class contracts from deterministic UML protocol statemachines

Research output: Chapter in Book/Report/Conference proceedingsChapterpeer-review

Abstract

We present an approach to generate behavioral class interfaces in the form of class contracts from UML 2.0 protocol state machines. A generated class contract defines a pre- and post-condition for each operation that triggers a transition in the state machine. We consider the following protocol SM elements: state and state invariants, simple transitions, compound transitions, high-level transitions, complete transitions, self transitions also deal with the case of firing priorities. The generated contracts can be used as a behavioral interface, for documentation, run-time checking and test case generation.

Original languageEnglish
Title of host publicationModels in Software Engineering - Workshops and Symposia at MODELS 2009, Reports and Revised Selected Papers
Pages172-185
Number of pages14
DOIs
Publication statusPublished - 2010
Externally publishedYes
EventWorkshops and Symposia on Models in Software Engineering, MODELS 2009 - Denver, CO, United States
Duration: 4 Oct 20099 Oct 2009

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6002 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceWorkshops and Symposia on Models in Software Engineering, MODELS 2009
Country/TerritoryUnited States
CityDenver, CO
Period4/10/099/10/09

Fingerprint

Dive into the research topics of 'Generating class contracts from deterministic UML protocol statemachines'. Together they form a unique fingerprint.

Cite this