public final class SimpleTemplate extends GeneratedTemplate
SimpleTemplate
class generates simple template of meta model.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SIMPLE_TEMPLATE_NAME |
ignoredInstructions, templateMetaModel, templatePrinter
Constructor and Description |
---|
SimpleTemplate(MetaModel metaModel,
TemplatePrinter printer,
java.util.Set<java.lang.String> ignoredInstructions) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
extract()
Extracts the information from model for this template.
|
boolean |
generate()
Generates the template and output it in the format of the specified printer.
|
sort
public static final java.lang.String SIMPLE_TEMPLATE_NAME
public SimpleTemplate(MetaModel metaModel, TemplatePrinter printer, java.util.Set<java.lang.String> ignoredInstructions)
public boolean generate()
GeneratedTemplate
generate
in interface BaseTemplate
generate
in class GeneratedTemplate
protected boolean extract()
GeneratedTemplate
extract
in class GeneratedTemplate