Generating class contracts from UML protocol statemachines

  • Ivan Porres
  • , Irum Rauf

Research output: Chapter in Book/Report/Conference proceedingsConference proceedingpeer-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 publicationProceedings of the 6th International Workshop - MoDeVVa - Model-Driven Engineering, Verification and Validation
DOIs
Publication statusPublished - 2009
Externally publishedYes
Event6th International Workshop on MoDeVVa - Model-Driven Engineering, Verification and Validation - Denver, CO, United States
Duration: 5 Oct 20095 Oct 2009

Publication series

NameACM International Conference Proceeding Series
Volume413

Conference

Conference6th International Workshop on MoDeVVa - Model-Driven Engineering, Verification and Validation
Country/TerritoryUnited States
CityDenver, CO
Period5/10/095/10/09

Fingerprint

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

Cite this