User-defined Code Templates can be imported and exported as Reference Data (see Import and Export Reference Data in the Enterprise Architect User Guide). The templates defined for each language appear in a list of tables with the language name suffixed with _Code_Templates.