public class GenerateTableDaoClasses extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GenerateTableDaoClasses.TableConfig |
Constructor and Description |
---|
GenerateTableDaoClasses(JdbcConnection jdbcConnection,
File baseFolder,
String targetPackage) |
public GenerateTableDaoClasses(JdbcConnection jdbcConnection, File baseFolder, String targetPackage)
public boolean isMakeIdentifiersSingular()
public GenerateTableDaoClasses setMakeIdentifiersSingular(boolean makeIdentifiersSingular)
public Class<?> getEntitySuperClass()
public GenerateTableDaoClasses setEntitySuperClass(Class<?> entitySuperClass)
public boolean isExcludeCatalogAnnotation()
public GenerateTableDaoClasses setExcludeCatalogAnnotation(boolean excludeCatalogAnnotation)
public boolean isExcludeSchemaAnnotation()
public GenerateTableDaoClasses setExcludeSchemaAnnotation(boolean excludeSchemaAnnotation)
public GenerateTableDaoClasses addExcludedTables(String... tables)
public boolean isSanitizeInput()
public GenerateTableDaoClasses setSanitizeInput(boolean sanitizeInput)
public boolean isIncludeTemplateMasterFormDef()
public GenerateTableDaoClasses setIncludeTemplateMasterFormDef(boolean includeTemplateMasterFormDef)
public void generate(String catalog, String schemaPattern, String tableNamePattern, String... types)
protected GenerateTableDaoClasses.TableConfig createTableConfig(JdbcTable table)
protected void addImports(JavaCodeBuilder code, boolean serializable, boolean recordSerializable, List<String> implementsList)
public PrintWriter getPrintWriter()
public GenerateTableDaoClasses setPrintWriter(PrintWriter printWriter)
public boolean isWriteToFile()
public GenerateTableDaoClasses setWriteToFile(boolean writeToFile)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.