Data Types

Different programming languages support different inbuilt data types. The Programming Languages Datatypes dialog enables you to extend and manage the set of inbuilt data types associated with a language as well as create new programming languages for use within Enterprise Architect.

Access:     Settings > Code Datatypes

Use to:

  • Create new programming languages to use within Enterprise Architect
  • Extend and manage inbuilt data types





See also

Product Name

Specify the name of the programming language.


Add Product

Add a new programming language to the drop-down fields for Class elements within the Enterprise Architect model and enable the new language to be made available to the Code Template Editor once at least one datatype has been added to the language.

Code Template Editor


Specify the name of the datatype; this is the language-specific name of the datatype.


Common Type

Specify the common type, the generic name of the datatype; for example, the Java boolean datatype has a common datatype Boolean.



Create a new data type.



Save the newly created datatype.



Delete the selected datatype.



  • 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
  • You can delete data types that you have defined, but you cannot delete any of the predefined data types
  • You can transport these data types between models, using the Export Reference Data and Import Reference Data options on the Project | Model Import/Export menu

Learn More: