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) |
Modifier and Type | Method and Description |
---|---|
protected GenerateTableDaoClasses.TableConfig |
createTableConfig(JdbcTable table) |
void |
generate(String catalog,
String schemaPattern,
String tableNamePattern,
String... types) |
Class<?> |
getEntitySuperClass() |
PrintWriter |
getPrintWriter() |
boolean |
isMakeIdentifiersSingular() |
boolean |
isWriteToFile() |
GenerateTableDaoClasses |
setEntitySuperClass(Class<?> entitySuperClass) |
GenerateTableDaoClasses |
setMakeIdentifiersSingular(boolean makeIdentifiersSingular) |
GenerateTableDaoClasses |
setPrintWriter(PrintWriter printWriter) |
GenerateTableDaoClasses |
setWriteToFile(boolean writeToFile) |
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 void generate(String catalog, String schemaPattern, String tableNamePattern, String... types)
protected GenerateTableDaoClasses.TableConfig createTableConfig(JdbcTable table)
public PrintWriter getPrintWriter()
public GenerateTableDaoClasses setPrintWriter(PrintWriter printWriter)
public boolean isWriteToFile()
public GenerateTableDaoClasses setWriteToFile(boolean writeToFile)
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.