CLEI Electronic Journal (Jan 2002)

Automatic ObjectPascal Code Generation from Catalysis Specifications

  • João de Luís C. Moraes,
  • Antonio F. do Prado

DOI
https://doi.org/10.19153/cleiej.5.2.5
Journal volume & issue
Vol. 5, no. 2

Abstract

Read online

This paper presents a Component-based Framework Development Process, of the Cardiology Domain. The Framework, called FrameCardio, was developed in 4 steps: 1- Problem Domain Definition, 2-Components Specifications, 3-Components Internal Design and 4-Components Implementation. In the first step the framework requirements were identified, based on experiences in the development of a cardiology system with 320 classes. The main models specified in this step are the Use Cases, Actions and Collaborations Models. In the Component Specification step component external behaviors were defined with their responsibilities, operations and interfaces. The main models are the Types Model, that describes an object external behavior, regardless of implementation decisions, and the Component Interactions that details the behavior of each case used in the Sequence Diagrams. Right after, in the third step, the Specified Components are refined, considering the implementation technologies. Among the models of this step, the components Classes Diagram, Components and the Component Packages stand out. The modeling was supported by a CASE tool. Finally, in the Components Implementation step the components code was generated in the ObjectPascal language, using a Transformation System. FrameCardio was structured in layers and organized in components packages, available in the CASE tool, to be reused by the applications. In the same way as in the development of FrameCardio, the Transformation System is used to generate the ObjectPascal code of the applications. A Cardiology domain Application is presented to show Framework components reuse.

Keywords