public class GenerateQueryDaoClasses extends Object
Constructor and Description |
---|
GenerateQueryDaoClasses(JdbcConnection jdbcConnection,
File baseFolder,
String targetPackage) |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
File |
getEntityFile(String fileName) |
Class<?> |
getEntitySuperClass() |
String |
getFieldAsJavaIdentifierName(JavaCodeBuilder code,
JdbcQueryColumn column,
int index) |
List<String> |
getJavaCode() |
PrintWriter |
getPrintWriter() |
boolean |
isMakeIdentifiersSingular() |
boolean |
isWriteToFile() |
GenerateQueryDaoClasses |
setEntitySuperClass(Class<?> entitySuperClass) |
GenerateQueryDaoClasses |
setMakeIdentifiersSingular(boolean makeIdentifiersSingular) |
GenerateQueryDaoClasses |
setPrintWriter(PrintWriter printWriter) |
GenerateQueryDaoClasses |
setWriteToFile(boolean writeToFile) |
public GenerateQueryDaoClasses(JdbcConnection jdbcConnection, File baseFolder, String targetPackage)
public boolean isMakeIdentifiersSingular()
public GenerateQueryDaoClasses setMakeIdentifiersSingular(boolean makeIdentifiersSingular)
public Class<?> getEntitySuperClass()
public GenerateQueryDaoClasses setEntitySuperClass(Class<?> entitySuperClass)
public void generate()
public String getFieldAsJavaIdentifierName(JavaCodeBuilder code, JdbcQueryColumn column, int index)
public PrintWriter getPrintWriter()
public GenerateQueryDaoClasses setPrintWriter(PrintWriter printWriter)
public boolean isWriteToFile()
public GenerateQueryDaoClasses setWriteToFile(boolean writeToFile)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.