Using the Delphi code generator, you can produce Delphi source code from the information contained in a model. Code is generated from the selected classes, or from all classes that are assigned to a selected component.
The code generated for each model element is determined by that element's specification and model properties. For each class, Visual Modeler produces a corresponding Delphi class, interface, struct, or enum data type depending on the stereotype of the class.
Each relationship and property of the classes is translated into a corresponding code declaration depending on the required implementation strategy. For all user-defined methods, the code generator produces skeletal method declarations and inserts the documentation of the method in the generated source file as a code comment.
Get QRational and give it a go to see what it's all about!