Selecting PowerBuilder Generation Options

PowerBuilder is a specific language that uses its own generation options. You can generate PowerBuilder objects from the classes of an OOM using the following generation options in the PowerBuilder Generation dialog box:


You can also select the Check Model check box to verify the model before generation and stop generation if an error is found.

Using Libraries

You have to select a target or an application from the Target/Application list. The following situations occur during generation:

Generated object

Generation result

Package with specified library path (defined in an extended attribute during reverse engineering)

Generated in corresponding library from target/application library list

Package at the root of the model without library path

Generated in a new library at the same level as target/application library

Child package without library path

Generated in parent package

Object at the root of the model

Generated in the target/application library

For more information on PowerBuilder reverse engineering, see Reverse Engineering PowerBuilder.

Note: this mode is not available if you do not have PowerBuilder installed on your machine.

Using Source Files

You have to define a generation directory.

Classes Defined at the Model Level are generated as source files in the specified directory.

Classes Defined in Packages are generated as source files in sub-directories.

You will then have to import the generated objects into PowerBuilder.