Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Code Generation Options
When you generate code for your model, you can set certain options. These include:
- The default language
- Whether to generate methods for implemented interfaces
- The Unicode options for code generation
Access
Ribbon |
Configure > Model > Options > Source Code Engineering |
Configure code generation options
Option |
Action |
See also |
---|---|---|
Always synchronize with existing file (recommended) |
Select the radio button to synchronize imported code with an existing file. |
|
Replace (overwrite) existing source file |
Select the radio button to overwrite the existing source file with imported code. |
|
Component Types |
Click on this button to open the 'Import component types' dialog, to set up the importation of component types. |
Import Component Types |
Default Language for Code Generation |
Click on the drop-down arrow and select the default language for code generation. |
|
DDL Name Templates |
Click on the button to define the template names for Primary Key, Unique Constraint, Foreign Key and Foreign Key Index Name templates. |
DDL Name Templates |
Default name for associated attrib |
Type in a default name to be generated from imported attributes. |
|
Generate methods for implemented interfaces |
Select the checkbox to indicate that methods are generated for implemented interfaces. |
|
Code page for source editing |
Click on the drop-down arrow and select the appropriate Unicode character embedding format to apply. |
Notes