Generating a prototype from a UML model of system requirements

  • Xiaoshan Li*
  • , Zhiming Liu
  • , Jifeng He
  • , Quan Long
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

8 Scopus citations

Abstract

We present a method for automatically generating a prototype from a UML model of system requirements that consists of a use-case model and a conceptual class model. The method is based on a formalization of UML in which a use case is formally specified by a pair of pre and post conditions in the context of a conceptual class model. To generate a prototype, we translate the pre and post conditions of a use case into a sequence of executable atomic actions. These actions are to create or delete an object, update an object, establish or remove a link between two objects with respect to an association. Such a prototype can be used to validate requirements and check system invariants. An automated prototype generator is developed in Java, and a simple library system is used as an example to illustrate the feasibility of the method.

Original languageEnglish
Pages (from-to)255-265
Number of pages11
JournalLecture Notes in Computer Science
Volume3347
DOIs
StatePublished - 2004
Externally publishedYes

Keywords

  • Code generation
  • Formal specification
  • Prototype
  • Requirements analysis

Fingerprint

Dive into the research topics of 'Generating a prototype from a UML model of system requirements'. Together they form a unique fingerprint.

Cite this