org.javaWebGen.data.util
Class GenerateCachedTable

java.lang.Object
  extended by org.javaWebGen.data.DAO
      extended by org.javaWebGen.data.util.GenerateCachedTable

public class GenerateCachedTable
extends DAO


Field Summary
static java.lang.String VERSION
           
 
Fields inherited from class org.javaWebGen.data.DAO
TOO_MANY_ROWS, TOO_MANY_ROWS_WARNING
 
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
 

Field Detail

VERSION

public static java.lang.String VERSION
Constructor Detail

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

Method Detail

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.