public abstract class ForEachEntityGenerator extends Generator
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ForEachEntityGenerator() |
ForEachEntityGenerator(boolean includeAbstract) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Model model,
MolgenisOptions options) |
protected void |
generate(Model model,
MolgenisOptions options,
boolean generateTests) |
String |
getType()
Calculate class name from its own name.
|
boolean |
isHandwritten()
Whether this generator should generate to the handwritten folder insteadof generated folder
|
boolean |
isIncludeAbstract() |
void |
setHandwritten(boolean handwritten)
Whether this generator should generate to the handwritten folder insteadof generated folder
|
void |
setIncludeAbstract(boolean includeAbstract) |
Boolean |
skipSystem()
Skip system entities.
|
createTemplate, createTemplateArguments, generate, getDescription, getDocumentationPath, getExtension, getHandWrittenPath, getProjectPath, getSourcePath, getWebserverPathpublic ForEachEntityGenerator()
public ForEachEntityGenerator(boolean includeAbstract)
public void generate(Model model, MolgenisOptions options) throws Exception
protected void generate(Model model, MolgenisOptions options, boolean generateTests) throws Exception
Exceptionpublic String getType()
public Boolean skipSystem()
public boolean isHandwritten()
public void setHandwritten(boolean handwritten)
public boolean isIncludeAbstract()
public void setIncludeAbstract(boolean includeAbstract)
Copyright © 2015. All Rights Reserved.