Package tilda.generation.java8
Class TildaFactory
- java.lang.Object
-
- tilda.generation.java8.TildaFactory
-
- All Implemented Interfaces:
CodeGenBase,CodeGenTildaFactory
public class TildaFactory extends java.lang.Object implements CodeGenTildaFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.logging.log4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description TildaFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenBatchWrite(java.io.PrintWriter Out, GeneratorSession G, Object O)voidgenClassEnd(java.io.PrintWriter Out, GeneratorSession G)voidgenClassStart(java.io.PrintWriter Out, GeneratorSession G, Object O)voidgenEnumerationSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)voidgenFileStart(java.io.PrintWriter Out, Object O)voidgenMappingSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)voidgenMethodCreate(java.io.PrintWriter Out, GeneratorSession G, Object O, java.util.List<Column> CreateColumns, java.util.List<Column> DefaultColumns)voidgenMethodInit(java.io.PrintWriter Out, GeneratorSession G, Object O)voidgenMethodLookupByPrimaryKey(java.io.PrintWriter Out, GeneratorSession G, PrimaryKey PK, long LookupId)voidgenMethodLookupByUniqueIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, long LookupId)voidgenMethodLookupByUniqueQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)voidgenMethodLookupParent(java.io.PrintWriter Out, GeneratorSession G, ForeignKey FK)voidgenMethodLookupWhereIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, int LookupId)voidgenMethodLookupWhereQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)protected static voidgenMethodToCSV(java.io.PrintWriter Out, GeneratorSession G, OutputMap J)protected static voidgenMethodToJSON(java.io.PrintWriter Out, GeneratorSession G, OutputMap J)protected static voidgenMethodToNVP(java.io.PrintWriter Out, GeneratorSession G, OutputMap J)voidgenMethodToOutput(java.io.PrintWriter Out, GeneratorSession G, OutputMap OM)voidgenQueryHelper(java.io.PrintWriter Out, GeneratorSession G, Object O)java.lang.StringgetFileName(Base O)
-
-
-
Method Detail
-
getFileName
public java.lang.String getFileName(Base O)
- Specified by:
getFileNamein interfaceCodeGenBase- Returns:
-
genFileStart
public void genFileStart(java.io.PrintWriter Out, Object O) throws java.lang.Exception- Specified by:
genFileStartin interfaceCodeGenTildaFactory- Throws:
java.lang.Exception
-
genClassStart
public void genClassStart(java.io.PrintWriter Out, GeneratorSession G, Object O) throws java.lang.Exception- Specified by:
genClassStartin interfaceCodeGenBase- Throws:
java.lang.Exception
-
genMethodCreate
public void genMethodCreate(java.io.PrintWriter Out, GeneratorSession G, Object O, java.util.List<Column> CreateColumns, java.util.List<Column> DefaultColumns) throws java.lang.Exception- Specified by:
genMethodCreatein interfaceCodeGenTildaFactory- Throws:
java.lang.Exception
-
genMethodInit
public void genMethodInit(java.io.PrintWriter Out, GeneratorSession G, Object O)- Specified by:
genMethodInitin interfaceCodeGenTildaFactory
-
genMethodLookupByPrimaryKey
public void genMethodLookupByPrimaryKey(java.io.PrintWriter Out, GeneratorSession G, PrimaryKey PK, long LookupId)- Specified by:
genMethodLookupByPrimaryKeyin interfaceCodeGenTildaFactory
-
genMethodLookupByUniqueIndex
public void genMethodLookupByUniqueIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, long LookupId)- Specified by:
genMethodLookupByUniqueIndexin interfaceCodeGenTildaFactory
-
genMethodLookupWhereIndex
public void genMethodLookupWhereIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, int LookupId)- Specified by:
genMethodLookupWhereIndexin interfaceCodeGenTildaFactory
-
genMethodLookupWhereQuery
public void genMethodLookupWhereQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)- Specified by:
genMethodLookupWhereQueryin interfaceCodeGenTildaFactory
-
genMethodLookupByUniqueQuery
public void genMethodLookupByUniqueQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)- Specified by:
genMethodLookupByUniqueQueryin interfaceCodeGenTildaFactory
-
genMethodLookupParent
public void genMethodLookupParent(java.io.PrintWriter Out, GeneratorSession G, ForeignKey FK)- Specified by:
genMethodLookupParentin interfaceCodeGenTildaFactory
-
genQueryHelper
public void genQueryHelper(java.io.PrintWriter Out, GeneratorSession G, Object O)- Specified by:
genQueryHelperin interfaceCodeGenTildaFactory
-
genMappingSupport
public void genMappingSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)- Specified by:
genMappingSupportin interfaceCodeGenTildaFactory
-
genEnumerationSupport
public void genEnumerationSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)- Specified by:
genEnumerationSupportin interfaceCodeGenTildaFactory
-
genClassEnd
public void genClassEnd(java.io.PrintWriter Out, GeneratorSession G) throws java.lang.Exception- Specified by:
genClassEndin interfaceCodeGenBase- Throws:
java.lang.Exception
-
genBatchWrite
public void genBatchWrite(java.io.PrintWriter Out, GeneratorSession G, Object O) throws java.lang.Exception- Specified by:
genBatchWritein interfaceCodeGenTildaFactory- Throws:
java.lang.Exception
-
genMethodToOutput
public void genMethodToOutput(java.io.PrintWriter Out, GeneratorSession G, OutputMap OM) throws java.lang.Exception- Specified by:
genMethodToOutputin interfaceCodeGenTildaFactory- Throws:
java.lang.Exception
-
genMethodToJSON
protected static void genMethodToJSON(java.io.PrintWriter Out, GeneratorSession G, OutputMap J) throws java.lang.Exception- Throws:
java.lang.Exception
-
genMethodToCSV
protected static void genMethodToCSV(java.io.PrintWriter Out, GeneratorSession G, OutputMap J) throws java.lang.Exception- Throws:
java.lang.Exception
-
genMethodToNVP
protected static void genMethodToNVP(java.io.PrintWriter Out, GeneratorSession G, OutputMap J) throws java.lang.Exception- Throws:
java.lang.Exception
-
-