Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Prev | Next |
Data Types
Different programming languages support different inbuilt data types. It is possible for you to manage and extend this set of inbuilt data types for a standard programming language, as well as define new programming languages for use within Enterprise Architect.
Access
Ribbon |
Configure > Reference Data > Settings > Code Engineering Datatypes or Code > Configure > Options > Configure Code Engineering Data Types |
Programming Language Datatype Options
Option |
Description |
See also |
---|---|---|
Product Name |
Click on the drop-down arrow and select the name of the programming language. |
|
Add Product |
Click on this button to display a prompt for the name of a new programming language. Type the name and click on the . |
|
Datatype |
Type the language-specific name of the datatype. |
|
Common Type |
Type the common (or generic) name of the datatype; for example, the Java boolean datatype has a common datatype Boolean. |
|
New |
Click on this button to clear the fields to create a new datatype. |
|
Save |
Click on this button to save the newly created or updated datatype. |
|
Delete |
Click on this button to delete the selected datatype. You can delete your own custom data types, but you cannot delete any of the predefined data types. |
|
Defined Datatypes for Programming Languages |
Review the list of datatypes for the selected language, and click on any that you want to edit or delete. The details for the selected datatype display in the dialog fields. |
Notes
- You do not need to set the options in the 'Size' panel
- Once you have defined at least one datatype for a new language, that language name is added to the drop-down list for the 'Language' fields in the 'Programming Languages Datatypes' dialog, in the Code Template Editor, and in the 'Properties' dialog for each Class element within the model
- You can transport these data types between models, using the 'Configure > Model > Transfer > Export Reference Data' and 'Import Reference Data' ribbon options
- In the Corporate, Unified and Ultimate editions of Enterprise Architect, if security is enabled you must have 'Configure Datatypes' permission to update and delete data types