Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Options - Attribute/Operations
Your use of attributes and operations can be configured in a number of ways. You can set options to:
• | Set the default name generated from imported attributes |
• | Generate methods for implemented interfaces |
• | Delete model attributes not included in the code during reverse synchronization |
• | Delete model methods not included in the code during reverse synchronization |
• | Delete code from features contained in the model during forward synchronization |
• | Delete model associations and aggregations that correspond to attributes not included in the code during reverse synchronization |
• | Define whether or not the bodies of methods are included and saved in the model when reverse engineering |
• | Create attributes in quick succession, clearing the Attributes dialog when you click on Save so that you can enter another attribute name |
You configure these options on the Attribute/Operations page of the Options dialog.
Access Tools | Options | Source Code Engineering | Attribute/Operations
Options
Field |
Usage |
See also |
---|---|---|
Attribute Specifications: Default name for associated attrib
|
Specify the default name generated from imported attributes. |
|
Attribute Specifications: On reverse synch, delete model attributes not in code
|
Set to indicate that on reverse synchronization, attributes in the model that are not included within code are automatically removed from the model.
|
|
Attribute Specifications: On reverse synch, delete model associations not in code |
Set to indicate that on reverse synchronization, associations in the model that are not included within code are automatically removed from the model.
|
|
Operation Specifications: Generate methods for implemented interface
|
Set to indicate that methods are generated for an implemented interface. |
|
Operation Specifications: On reverse synch, delete model methods not in code |
Set to indicate that on reverse synchronization, methods in the model that are not included within code are automatically removed from the model.
|
|
Operation Specifications: Include method bodies in model when reverse engineering |
Set to indicate that on reverse engineering code, method bodies in the code are included within your model.
|
|
Options: After Save, re-select edited item |
Set to indicate that after saving an attribute or operation, the Properties dialog continues to display the details of the selected feature. If deselected, indicates that the fields of the Properties dialog will clear so that you can enter another attribute or operation name and details immediately.
|
|
On forward synch, prompt to delete code features not in model |
Set to indicate that, during forward synchronization, the Synchronize Element <package name>.<element name> dialog displays, so that you can either ignore, reassign or delete features in the code that are not in the model.
|