org.javaWebGen.data.util
Class GenerateCachedTable
java.lang.Object
org.javaWebGen.data.DAO
org.javaWebGen.data.util.GenerateCachedTable
public class GenerateCachedTable
- extends DAO
Field Summary |
static java.lang.String |
VERSION
|
Constructor Summary |
GenerateCachedTable(java.lang.String tableName,
java.lang.String filePath)
object will generate the DAO for a database table that will be cached in memory
and will not be updated. |
Method Summary |
protected java.lang.String |
buldClass()
|
protected void |
execute()
|
void |
init()
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
makeConstructor()
|
protected java.lang.String |
makeFindByMethod(java.lang.String[] cols,
int[] types)
generate finderMethod |
protected java.lang.String |
makeInit(java.lang.String[] cols)
|
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 |
VERSION
public static java.lang.String VERSION
GenerateCachedTable
public GenerateCachedTable(java.lang.String tableName,
java.lang.String filePath)
- object will generate the DAO for a database table that will be cached in memory
and will not be updated. Meaning a lookup table that might return multiple
rows. Generally this will be a lookup table with sys_company, and contry_code
columns
init
public void init()
makeConstructor
public java.lang.String makeConstructor()
throws java.lang.Exception
- Throws:
java.lang.Exception
makeInit
protected java.lang.String makeInit(java.lang.String[] cols)
throws java.lang.Exception
- Throws:
java.lang.Exception
makeFindByMethod
protected java.lang.String makeFindByMethod(java.lang.String[] cols,
int[] types)
throws java.lang.Exception
- generate finderMethod
- Throws:
java.lang.Exception
buldClass
protected java.lang.String buldClass()
throws java.lang.Exception
- Throws:
java.lang.Exception
execute
protected void execute()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
Copyright(C) 2003-2006 Kevin Scott - All Rights Reserved.