|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.casebase.RDBCaseBaseInfo
public class RDBCaseBaseInfo
Defines the information that is required for storing a casebase in a relational database.
Constructor Summary | |
---|---|
RDBCaseBaseInfo(java.lang.String caseBaseTableName,
java.lang.String solutionTableName,
java.lang.String problemTableName,
java.lang.String inactiveContextTableName)
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 |
getCaseBaseTableName()
|
java.lang.String |
getInactiveContextTableName()
Method getInactiveContextTableName |
java.lang.String |
getProblemTableName()
defines the tablename in which the problems of all cases are stored. |
java.lang.String |
getSolutionTableName()
|
boolean |
isCaseBaseConnectionOpen()
checks if the caseBaseConnectionOpen is true/false |
void |
setCaseBaseConnectionOpen(boolean caseBaseConnectionOpen)
sets the caseBaseConnectionOpen to true/false |
void |
setCaseBaseTableName(java.lang.String caseBaseTableName)
defines the tablename in which the cases are stored. |
void |
setInactiveContextTableName(java.lang.String inactiveContextTableName)
defines the tablename in which the inactive contexts of all cases are stored. |
void |
setProblemTableName(java.lang.String problemTableName)
defines the tablename in which the problems of all cases are stored. |
void |
setSolutionTableName(java.lang.String solutionTableName)
defines the tablename in which the solutions of all cases are stored. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDBCaseBaseInfo(java.lang.String caseBaseTableName, java.lang.String solutionTableName, java.lang.String problemTableName, java.lang.String inactiveContextTableName)
caseBaseTableName
- a StringsolutionTableName
- a StringproblemTableName
- a StringinactiveContextTableNamea
- StringMethod Detail |
---|
public void setCaseBaseConnectionOpen(boolean caseBaseConnectionOpen)
caseBaseConnectionOpena
- booleanpublic boolean isCaseBaseConnectionOpen()
public void setCaseBaseTableName(java.lang.String caseBaseTableName)
caseBaseTableName
- a Stringpublic java.lang.String getCaseBaseTableName()
public void setSolutionTableName(java.lang.String solutionTableName)
solutionTableName
- a Stringpublic java.lang.String getSolutionTableName()
public void setProblemTableName(java.lang.String problemTableName)
problemTableName
- a Stringpublic java.lang.String getProblemTableName()
public void setInactiveContextTableName(java.lang.String inactiveContextTableName)
inactiveContextTableNamea
- Stringpublic java.lang.String getInactiveContextTableName()
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 |