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:
Contain the syntax Create <Class Name> where <Class Name> is the metadata name for the object.
Template Example: Create Entity
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
Contain the syntax Drop <Class Name> where <Class Name> is the metadata name for the object.
Template Example: Drop Attribute
Contain the syntax Insert for <Purpose> where <Purpose> is a short description of the type of insertion.
Template Example: Insert Columns For Data Preservation
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
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.
Copyright © 2013 CA.
All rights reserved.
|
|