|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.indiana.util.db.RDBCollectionInfo
public class RDBCollectionInfo
Defines the information that is required for storing a hashmap and hashsets in a relational database.
Constructor Summary | |
---|---|
RDBCollectionInfo(java.lang.String hashMapTableName,
java.lang.String hashSetTableName)
Constructor |
Method Summary | |
---|---|
void |
createTables(JDBCDriverInfo driverInfo)
This method is used to create all the tables defined by this class in the database |
void |
deleteTables(JDBCDriverInfo driverInfo)
This method is used to drop all the tables defined by this class from the database |
void |
flushTables(JDBCDriverInfo driverInfo)
This method is used to empty all the tables in the database defined by this class |
java.lang.String |
getHashMapTableName()
Method getHashMapTableName |
java.lang.String |
getHashSetTableName()
Method getHashSetTableName |
boolean |
isHashMapTableNameSet()
Method isHashMapTableNameSet |
boolean |
isHashSetTableNameSet()
Method isHashSetTableNameSet |
void |
setHashMapTableName(java.lang.String hashMapTableName)
defines the tablename in which the hashmaps from memory are stored. |
void |
setHashMapTableNameSet(boolean hashMapTableNameSet)
Method setHashMapTableNameSet |
void |
setHashSetTableName(java.lang.String hashSetTableName)
defines the tablename in which the hashsets from memory are stored. |
void |
setHashSetTableNameSet(boolean hashSetTableNameSet)
Method setHashSetTableNameSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDBCollectionInfo(java.lang.String hashMapTableName, java.lang.String hashSetTableName)
hashMapTableName
- a StringhashSetTableName
- a StringMethod Detail |
---|
public void setHashMapTableName(java.lang.String hashMapTableName)
hashMapTableName
- a Stringpublic java.lang.String getHashMapTableName()
public void setHashSetTableName(java.lang.String hashSetTableName)
hashSetTableName
- a Stringpublic java.lang.String getHashSetTableName()
public void setHashMapTableNameSet(boolean hashMapTableNameSet)
hashMapTableNameSet
- a booleanpublic boolean isHashMapTableNameSet()
public void setHashSetTableNameSet(boolean hashSetTableNameSet)
hashSetTableNameSet
- a booleanpublic boolean isHashSetTableNameSet()
public void createTables(JDBCDriverInfo driverInfo)
createTables
in interface RDBTableInfo
driverInfo
- a JDBCDriverInfopublic void deleteTables(JDBCDriverInfo driverInfo)
deleteTables
in interface RDBTableInfo
driverInfo
- a JDBCDriverInfopublic void flushTables(JDBCDriverInfo driverInfo)
flushTables
in interface RDBTableInfo
driverInfo
- a JDBCDriverInfo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |