SciELO - Scientific Electronic Library Online

 
vol.28 issue3A tool for enabling multimodal access to WWW resources from several devicesDetermining electrical loss in electromagnetically-modelled induction motors using the finite element method author indexsubject indexarticles search
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • On index processCited by Google
  • Have no similar articlesSimilars in SciELO
  • On index processSimilars in Google

Share


Ingeniería e Investigación

Print version ISSN 0120-5609

Abstract

ZAPATA J., Carlos Mario  and  MUNETON, Andrés Felipe. Generating the body of the methods from class diagram operation semantics. Ing. Investig. [online]. 2008, vol.28, n.3, pp.58-63. ISSN 0120-5609.

Well-known CASE tools only generate the heading of the methods to automatically generate source code from UML diagrams. Some proposals partially generate the body of the methods; however they use non-standard modeling elements or hand-made source code elements. This paper proposes a process for generating the body of the methods from class diagram operations in an attempt to overcome such constraints. “Semantics of class operations” was thus defined as a way of linking class diagram operations to development platform implemented methods. These kinds of semantics use pre- and post-conditions belonging to the operations and the development platform library meta-model. This process is also exemplified by giving a case study. An UML instance of the java.sql package meta-model was created for developing the case study.

Keywords : code generation; UML, pre-condition; post-condition; development platform.

        · abstract in Spanish     · text in Spanish     · Spanish ( pdf )

 

Creative Commons License All the contents of this journal, except where otherwise noted, is licensed under a Creative Commons Attribution License