Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

File Field Substitution Macros

This table lists each of the file field substitution macros.

Field substitution macros are named according to Camel casing. Macros that represent checkboxes return a value of T if the box is selected. Otherwise the value is empty.

Macro Name

Description

See also

fileExtension

The file type extension of the file being generated.

 

 

fileName

The name of the file being generated.

 

 

fileNameImpl

The filename of the implementation file for this generation, if applicable.

 

 

fileHeaders

Code Gen dialog: Headers.

 

 

fileImports

Code Gen dialog: Imports. For supported languages this also includes dependencies derived from associations.

 

 

filePath

The full path of the file being generated.

 

 

filePathImpl

The full path of the implementation file for this generation, if applicable.