|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.jdc.rdb.tbl.TableCacheDAO
TableCacheDAO reads data from a database reference table and caches
the results in a Hashtable for in-memory access.
| Constructor Summary | |
TableCacheDAO()
Constructs a new TableCacheDAO object. |
|
| Method Summary | |
protected Hashtable |
getCache()
Returns the database table cache. |
String |
getQualifiedName()
Returns the qualified database table name. |
String |
getSchemaName()
Returns the database schema name. |
protected String |
getString(String fieldName)
Returns the result set String value for the specified
field name. |
String |
getTableName()
Returns the database table name. |
protected void |
retrieveAll()
Retrieves all rows from the database table. |
protected abstract void |
retrieveRow()
Retrieves a row from the database table result set. |
protected void |
setSchemaName(String schemaName)
Sets the database schema name. |
protected void |
setTableName(String tableName)
Sets the database table name. |
String |
toString()
Returns a String representation. |
String |
toXML()
Returns an XML representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TableCacheDAO()
TableCacheDAO object.
| Method Detail |
protected Hashtable getCache()
public String getQualifiedName()
public String getSchemaName()
protected String getString(String fieldName)
String value for the specified
field name.
public String getTableName()
protected void retrieveAll()
protected abstract void retrieveRow()
protected void setSchemaName(String schemaName)
protected void setTableName(String tableName)
public String toXML()
public String toString()
toString in class Object
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||