Download Proceedings

Transcript
Overview
Code generation mechanism design
9 Generating classes, attributes and
methods
¾ Generating associations
„ Making alterations to the mechanism
„ Summary and questions
9
Adapting the Fujaba Code Generation Mechanism
Susannah Moat
21
Generating associations
„
Overview of the generation process
„
UMLAttr and UMLMethod objects (and the contents of
the methods) are created from templates
• AssocCodeGenerator
„
„
Plan
„
„
Susannah Moat
FujabaDays 2003
The normal mechanism for generating attributes and
methods is then used
Example of the generation process using a 1-to-1
association
Brief summary of differences in generating other types
of association
Adapting the Fujaba Code Generation Mechanism
86
22