|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javaWebGen.data.DAO
org.javaWebGen.util.CodeGenerator
org.javaWebGen.data.util.GenerateDAO
public class GenerateDAO
Generated DAO objects from the database config
| Field Summary | |
|---|---|
static java.lang.String |
VERSION
|
| Fields inherited from class org.javaWebGen.util.CodeGenerator |
|---|
TS |
| Fields inherited from class org.javaWebGen.data.DAO |
|---|
TOO_MANY_ROWS, TOO_MANY_ROWS_WARNING |
| Constructor Summary | |
|---|---|
GenerateDAO()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
buldClass()
build class based on template |
protected java.lang.String |
buldSubClass()
build class based on template |
protected void |
execute()
|
void |
init()
run init code ie stuff to setup templates |
static void |
main(java.lang.String[] args)
main |
void |
useage()
print instruction on how to object from the command line to sysout |
| Methods inherited from class org.javaWebGen.util.CodeGenerator |
|---|
getClassText, getColNames, getColTypes, getFileName, getFilePath, getPrimaryKeys, getPrimaryKeyTypes, getPrimayParmCast, getTableName, getTemplate, getVars, mapData, processFile, setCmdParms, setTableName |
| Methods inherited from class org.javaWebGen.data.DAO |
|---|
close, getColumnClass, getConnection, getDataManager, getNextValue, getNextValue, getResultSet, query, query, query, query, runQuery, runQuery, runQuery, runQuery, setColumn, update, update, update, update, updateDataBean, updateDataBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERSION
| Constructor Detail |
|---|
public GenerateDAO()
| Method Detail |
|---|
public void init()
CodeGenerator
init in class CodeGenerator
protected java.lang.String buldClass()
throws java.lang.Exception
java.lang.Exception
protected java.lang.String buldSubClass()
throws java.lang.Exception
java.lang.Exception
protected void execute()
throws UtilException
execute in class CodeGeneratorUtilExceptionpublic static void main(java.lang.String[] args)
public void useage()
CodeGenerator
useage in class CodeGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||