Forward engineering and UML: from UML static models to Eiffel code

  • Authors:
  • Liliana Favre;Liliana Martinez;Claudia Pereira

  • Affiliations:
  • INTIA, Universidad Nacional del Centro de la Pcia. de Buenos Aires, Argentina;INTIA, Universidad Nacional del Centro de la Pcia. de Buenos Aires, Argentina;INTIA, Universidad Nacional del Centro de la Pcia. de Buenos Aires, Argentina

  • Venue:
  • UML and the unified process
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

This chapter describes a reuse-based rigorous process to transform UML static models to object-oriented code. The bases of this approach are the GSBL00 algebraic language to cope with concepts of UML static models and the SpRelm model for defining structured collections of reusable components. We have defined a mapping between UML static models and GSBL00. The emphasis in this chapter is given to the last steps in the road from UML to code. EiffelTM is the language of choice in which we chose to demonstrate the feasibility of our approach. We analyze how to transform GSBL00 specifications into code. In particular, we show how to translate different kinds of UML associations to Eiffel. Also, we describe how to construct assertions from GSBL00 specifications. All of the proposed transformations can be automated; they allow traceability and can be integrated into the iterative and incremental software development processes supported by the existing UML CASE tools.