Prev | Next |
Java Options - Model
If you intend to generate Java code from your model, you can configure the model-specific code generation options using the 'Java Specifications' page of the 'Manage Project Options' dialog to:
- Specify the default file extension
- Specify a default 'Get' prefix
- Specify a default 'Set' prefix
- Set the StateMachine Engineering options
- Specify the Collection Class definitions for Association connectors
- Define additional Collection Classes - to define custom Collection Classes, which can be simple substitutions (such as CArray<#TYPE#>) or a mix of other strings and substitutions (such as Cmap<CString,LPCTSTR,#TYPE#*,#TYPE#*>); these Collection Classes are defined by default:
- HashSet<#TYPE#>;Map<String,#TYPE#>;
Access
Ribbon |
Configure > Model > Options > Source Code Engineering > Java |
Options
Option |
Action |
See also |
---|---|---|
Options for the current model |
In the value fields, specify the options that affect all users of the current model; the:
|
|
StateMachine Engineering |
In the value fields, use the drop-down arrows to set the options to True or False; these options apply to generating code from StateMachine models in the current model only:
|
Legacy State Machine |
Collection Classes |
Click on this button to open the 'Collection Classes for Association Roles' dialog, through which you specify the Collection Class definitions for Association connectors. |
Collection Classes |
Notes
Learn more