Templates can be defined so you have the ability to cause the own generation of any resources or class files
that you define. The templates are generated with the Velocity
language which you will be able to use to reference the mapping object model. You will be able to define objects
for each project that you will be able to reference in your template.
By default, you have access to these parameters:
Snippets are individual sections of code with which the templates are comprised of. Using the snippets, you have the ability to modify the default behavior of the code generation. You also have the ability to create new templates that you can reference in templates that you create. Any snippet can be referenced by $snippet.[snippet name] in your template. For example, if a snippet named foo was created, the Velocity variable $snippet.foo can be used to paste in the snippet code. All velocity variables and functionality are available in the snippets.