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     Settings > Code Engineering Datatypes

Programming Language Datatype Options

Field

Usage

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 OK button.

 

 

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 Export Reference Data and Import Reference Data menu options
In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Configure Datatypes permission to update and delete data types

Learn more