Generating a Prototype from UML Model of System Requirements

TitleGenerating a Prototype from UML Model of System Requirements
Publication TypeTechnical Report
AuthorsL. Xiaoshan, Z. Liu, H. Jifeng, and L. Quan
Call Number307
Year of Publication2004
Date Published09/2004
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.

AttachmentSize
report307.pdf218.36 KB