Previous Topic: Sample Context

Next Topic: Macros Pane

Templates Pane

The Templates Pane displays the templates found in the forward engineering template file that are available for editing, which includes in-place editing of the template name. When you double-click a template, you add the template content to the Template Source pane. The Templates Pane includes the following six template categories:

Create Templates

Contain the syntax Create <Class Name> where <Class Name> is the metadata name for the object.

Template Example: Create Entity

Alter Templates

Contain the syntax Alter <Class Name> for <Purpose> where <Class Name> is the metadata name for the object, and <Purpose> is a short description of the type of alteration.

Template Example: Alter Attribute

Drop Templates

Contain the syntax Drop <Class Name> where <Class Name> is the metadata name for the object.

Template Example: Drop Attribute

Insert Templates

Contain the syntax Insert for <Purpose> where <Purpose> is a short description of the type of insertion.

Template Example: Insert Columns For Data Preservation

Clause Templates

Allow a reusable piece of source code to be in a standalone template that is invoked from other templates. They contain the syntax Clause: <Purpose> where <Purpose> is a short description of the use for the clause.

Template Example: Clause: Specify Owner

Miscellaneous Templates

Represent a category of templates that do not conform to any of the naming schemes (Create, Alter, Drop, Insert, or Clause).

Template Example: Generate Entity

Note: For more information about metadata object class names, see the CA ERwin Data Modeler Metamodel Reference Guide.

More information:

Open a Template

Create a New Template

Customize a Template File

Customize a Template File During Schema Generation

Delete a Template