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.Logger
LOG
-
Constructor Summary
Constructors Constructor Description TildaFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
genBatchWrite(java.io.PrintWriter Out, GeneratorSession G, Object O)
void
genClassEnd(java.io.PrintWriter Out, GeneratorSession G)
void
genClassStart(java.io.PrintWriter Out, GeneratorSession G, Object O)
void
genEnumerationSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)
void
genFileStart(java.io.PrintWriter Out, Object O)
void
genMappingSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)
void
genMethodCreate(java.io.PrintWriter Out, GeneratorSession G, Object O, java.util.List<Column> CreateColumns, java.util.List<Column> DefaultColumns)
void
genMethodInit(java.io.PrintWriter Out, GeneratorSession G, Object O)
void
genMethodLookupByPrimaryKey(java.io.PrintWriter Out, GeneratorSession G, PrimaryKey PK, long LookupId)
void
genMethodLookupByUniqueIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, long LookupId)
void
genMethodLookupByUniqueQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)
void
genMethodLookupParent(java.io.PrintWriter Out, GeneratorSession G, ForeignKey FK)
void
genMethodLookupWhereIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, int LookupId)
void
genMethodLookupWhereQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)
protected static void
genMethodToCSV(java.io.PrintWriter Out, GeneratorSession G, OutputMap J)
protected static void
genMethodToJSON(java.io.PrintWriter Out, GeneratorSession G, OutputMap J)
protected static void
genMethodToNVP(java.io.PrintWriter Out, GeneratorSession G, OutputMap J)
void
genMethodToOutput(java.io.PrintWriter Out, GeneratorSession G, OutputMap OM)
void
genQueryHelper(java.io.PrintWriter Out, GeneratorSession G, Object O)
java.lang.String
getFileName(Base O)
-
-
-
Method Detail
-
getFileName
public java.lang.String getFileName(Base O)
- Specified by:
getFileName
in interfaceCodeGenBase
- Returns:
-
genFileStart
public void genFileStart(java.io.PrintWriter Out, Object O) throws java.lang.Exception
- Specified by:
genFileStart
in interfaceCodeGenTildaFactory
- Throws:
java.lang.Exception
-
genClassStart
public void genClassStart(java.io.PrintWriter Out, GeneratorSession G, Object O) throws java.lang.Exception
- Specified by:
genClassStart
in 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:
genMethodCreate
in interfaceCodeGenTildaFactory
- Throws:
java.lang.Exception
-
genMethodInit
public void genMethodInit(java.io.PrintWriter Out, GeneratorSession G, Object O)
- Specified by:
genMethodInit
in interfaceCodeGenTildaFactory
-
genMethodLookupByPrimaryKey
public void genMethodLookupByPrimaryKey(java.io.PrintWriter Out, GeneratorSession G, PrimaryKey PK, long LookupId)
- Specified by:
genMethodLookupByPrimaryKey
in interfaceCodeGenTildaFactory
-
genMethodLookupByUniqueIndex
public void genMethodLookupByUniqueIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, long LookupId)
- Specified by:
genMethodLookupByUniqueIndex
in interfaceCodeGenTildaFactory
-
genMethodLookupWhereIndex
public void genMethodLookupWhereIndex(java.io.PrintWriter Out, GeneratorSession G, Index I, int LookupId)
- Specified by:
genMethodLookupWhereIndex
in interfaceCodeGenTildaFactory
-
genMethodLookupWhereQuery
public void genMethodLookupWhereQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)
- Specified by:
genMethodLookupWhereQuery
in interfaceCodeGenTildaFactory
-
genMethodLookupByUniqueQuery
public void genMethodLookupByUniqueQuery(java.io.PrintWriter Out, GeneratorSession G, SubWhereClause SWC, int LookupId)
- Specified by:
genMethodLookupByUniqueQuery
in interfaceCodeGenTildaFactory
-
genMethodLookupParent
public void genMethodLookupParent(java.io.PrintWriter Out, GeneratorSession G, ForeignKey FK)
- Specified by:
genMethodLookupParent
in interfaceCodeGenTildaFactory
-
genQueryHelper
public void genQueryHelper(java.io.PrintWriter Out, GeneratorSession G, Object O)
- Specified by:
genQueryHelper
in interfaceCodeGenTildaFactory
-
genMappingSupport
public void genMappingSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)
- Specified by:
genMappingSupport
in interfaceCodeGenTildaFactory
-
genEnumerationSupport
public void genEnumerationSupport(java.io.PrintWriter Out, GeneratorSession G, Object O)
- Specified by:
genEnumerationSupport
in interfaceCodeGenTildaFactory
-
genClassEnd
public void genClassEnd(java.io.PrintWriter Out, GeneratorSession G) throws java.lang.Exception
- Specified by:
genClassEnd
in interfaceCodeGenBase
- Throws:
java.lang.Exception
-
genBatchWrite
public void genBatchWrite(java.io.PrintWriter Out, GeneratorSession G, Object O) throws java.lang.Exception
- Specified by:
genBatchWrite
in interfaceCodeGenTildaFactory
- Throws:
java.lang.Exception
-
genMethodToOutput
public void genMethodToOutput(java.io.PrintWriter Out, GeneratorSession G, OutputMap OM) throws java.lang.Exception
- Specified by:
genMethodToOutput
in 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
-
-