public class TemplateExecution extends Object
$output
var) to:
Constructor and Description |
---|
TemplateExecution() |
Modifier and Type | Method and Description |
---|---|
String |
config(String subFolder,
String fileName) |
void |
createMetaModelTakeOver(ClassNamer entityModel,
String content) |
String |
domainLocalization(String resourceName) |
String |
domainLocalization(String subFolder,
String resourceName) |
String |
dynamicAnnotation(String fullType)
Import the passed fullType and returns the corresponding annotation.
|
String |
dynamicAnnotationTakeOver(String... fullTypes)
Import the passed fullTypes and returns the corresponding annotations (one per line).
|
String |
enableDynaImports() |
String |
file(String filename) |
String |
file(String filePath,
String filename) |
String |
flow(String subFolder,
String filename) |
String |
generateIf(boolean value) |
String |
generateIf(boolean value1,
boolean value2) |
String |
generateIf(Module module) |
String |
getAbstractSpace() |
String |
getCurrentClass() |
String |
getCurrentClassWithout_() |
String |
getCurrentRootCast() |
String |
getCurrentRootCast(String generic1) |
String |
getCurrentRootCast(String generic1,
String generic2) |
String |
getCurrentRootCast(String generic1,
String generic2,
String generic3) |
String |
getCurrentRootClass() |
String |
getHeaderComment() |
String |
getHeaderComment(String prepend) |
String |
getModule() |
boolean |
isAbstract()
Whether the current class is extended by the user using take over feature ?
|
boolean |
isDynamicImportEnabled() |
String |
java(ClassNamer classNamer) |
String |
java(ClassNamer2 classNamer2) |
String |
java(ClassNamer2 classNamer2,
String javaClassName) |
String |
java(ClassNamer classNamer,
String javaClassName) |
String |
java(EnumNamer enumNamer) |
String |
java(GeneratedPackage generatedPackage,
String javaClassName) |
String |
java(String javaPackageOrFolder,
String javaClassName) |
String |
javaInTest(ClassNamer classNamer) |
String |
javaTest(ClassNamer classNamer) |
void |
javaTest(ClassNamer2 classNamer2) |
String |
javaTest(ClassNamer classNamer,
String javaClassName) |
String |
javaTest(GeneratedPackage generatedPackage,
String javaClassName) |
String |
javaTest(String javaPackageOrFolder,
String javaClassName) |
String |
localization(String resourceName) |
String |
localization(String subFolder,
String resourceName) |
void |
module(String module) |
void |
require(Attribute attribute)
Import the passed attribute type.
|
void |
require(GeneratedPackage generatedPackage,
String simpleClassName)
Import the passed simpleClassName present in the passed generatedPackage.
|
void |
require(List<PackageImport> packageImports)
Import all the packageImports.
|
void |
require(Namer namer)
Import the passed namer's fullType.
|
void |
require(Namer packageNamer,
Namer classNamer)
Import the passed classNamer's type present in the passed packageNamer's package name.
|
void |
require(String fullType)
Import the passed fullType.
|
boolean |
requireFirstTime(Attribute attribute)
Import the passed attribute type.
|
boolean |
requireFirstTime(Namer namer)
Import the passed namer's fullType.
|
boolean |
requireFirstTime(String fullType)
Import the passed fullType.
|
void |
requireMetamodel(Namer namer)
Import the passed namer's fullType corresponding metamodel (i.e. appends '_');
|
void |
requireStatic(GeneratedPackage generatedPackage,
String simpleClassName)
Import statically the passed simpleClassName present in the passed generatedPackage.
|
void |
requireStatic(String fullType)
Import statically the passed fullType.
|
String |
resource(GeneratedPackage generatedPackage,
String resourceName) |
String |
resource(String resourceName) |
String |
resource(String subFolder,
String resourceName) |
String |
resourceTest(GeneratedPackage generatedPackage,
String resourceName) |
String |
resourceTest(String resourceName) |
String |
resourceTest(String subFolder,
String resourceName) |
void |
setPreviousEngine(PreviousEngine previousEngine) |
String |
site(String filename) |
String |
site(String filePath,
String filename) |
String |
skipIf(boolean value) |
String |
skipIf(Module module) |
String |
spring(String springFilename) |
String |
spring(String subFolder,
String springFilename) |
String |
springTest(String springFilename) |
String |
sql(String sqlFilename) |
String |
sql(String subFolder,
String sqlFilename) |
String |
stopFileGeneration() |
String |
stopFileGeneration(boolean stop) |
String |
toString() |
String |
view(String filename) |
String |
view(String filePath,
String filename) |
String |
webapp(String filename) |
String |
webapp(String subFolder,
String filename) |
String |
webinf(String filename) |
String |
webinf(String filePath,
String filename) |
public String java(GeneratedPackage generatedPackage, String javaClassName)
public String java(ClassNamer classNamer)
public String java(ClassNamer classNamer, String javaClassName)
public String java(ClassNamer2 classNamer2)
public String java(ClassNamer2 classNamer2, String javaClassName)
public String javaTest(GeneratedPackage generatedPackage, String javaClassName)
public String javaTest(ClassNamer classNamer)
public String javaInTest(ClassNamer classNamer)
public String javaTest(ClassNamer classNamer, String javaClassName)
public void javaTest(ClassNamer2 classNamer2)
public String resource(GeneratedPackage generatedPackage, String resourceName)
public String resourceTest(GeneratedPackage generatedPackage, String resourceName)
public String getHeaderComment()
public void module(String module)
public String getCurrentClass()
public String getCurrentRootClass()
public String getCurrentRootCast()
public String getCurrentRootCast(String generic1, String generic2, String generic3)
public String getCurrentClassWithout_()
public boolean isAbstract()
public String getAbstractSpace()
public String enableDynaImports()
public boolean isDynamicImportEnabled()
public void require(String fullType)
public void require(Namer namer)
public void requireMetamodel(Namer namer)
public void require(GeneratedPackage generatedPackage, String simpleClassName)
public void require(Namer packageNamer, Namer classNamer)
public void require(List<PackageImport> packageImports)
public void requireStatic(String fullType)
public void requireStatic(GeneratedPackage generatedPackage, String simpleClassName)
public boolean requireFirstTime(String fullType)
public boolean requireFirstTime(Namer namer)
public void require(Attribute attribute)
public boolean requireFirstTime(Attribute attribute)
public String dynamicAnnotation(String fullType)
com.comp.MyAnno
would return @MyAno
public String dynamicAnnotationTakeOver(String... fullTypes)
public String generateIf(boolean value)
public String generateIf(boolean value1, boolean value2)
public String skipIf(boolean value)
public String stopFileGeneration(boolean stop)
public String stopFileGeneration()
public void createMetaModelTakeOver(ClassNamer entityModel, String content)
public void setPreviousEngine(PreviousEngine previousEngine)
public String getModule()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.