How to Generate ODL from UML (Instant Generator Guide)?
Instant generator is the process of producing source code from class model. Designers or software architects can build a high level domain class model, then pass to programmer to perform more lower-level system or application modeling and eventually generate source code from implementation model. This chain makes building software faster and cheaper. In this chapter, we will go through the instant generation of ODL. To generate code by instant generator:
- Select Tools > Code > Instant Generator from the toolbar.
- In the Instant Generator window, select ODL as the Language.
- Fill in the Output Path, which is the directory where you want the code to generate to.
- Select the classes to generate code. In the Diagrams tab, you can select the diagrams to generate code for classes in the selected diagrams. Alternatively, open the Model Elements tab and select the classes to generate code.
Selecting classes to generate code
- Optionally configure the generator options. Read the section below for a description of options.
- Click Generate to generate code.
Overview of Instant Generator
|Overview of instant generator window
|Description of instant generator window
On the Instant Generator window you can configure some of the common code options at the right of window. You can also configure the advanced options for more detailed settings by clicking the Advanced Options... button.
|Advanced Options window
Below is a description of available options.
|A description of advanced options|
The following resources may help you to learn more about the topic discussed in this page.
|4. Instant Generator for PHP source code||Table of Contents||6. Instant Generator for ActionScript source code|