cmu.survey.objects
Class DataStorageSQL

java.lang.Object
  extended by cmu.survey.objects.DataStorageStub
      extended by cmu.survey.objects.DataStorageSQL
All Implemented Interfaces:
DataStorage

public class DataStorageSQL
extends DataStorageStub


Field Summary
protected  AnswerSQLStorage answerStorage
           
protected  DatabaseConnection databaseConnection
           
protected  QuestionChoicesSQLStorage questionChoicesStorage
           
 
Fields inherited from class cmu.survey.objects.DataStorageStub
table, where
 
Constructor Summary
DataStorageSQL(DatabaseConnection dbConn, SurveyDataCache dataCache)
           
 
Method Summary
 AnswerStorage getAnswerStorage()
           
 DatabaseQuery getDatabaseQuery()
           
 QuestionChoicesStorage getQuestionChoicesStorage()
           
 
Methods inherited from class cmu.survey.objects.DataStorageStub
getLoginInfo, getRetrieveValuesFromDB, getSurveyDataCache, getTable, getWhere, setLoginInfo, setRetrieveValuesFromDB, setTable, setWhere
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

databaseConnection

protected DatabaseConnection databaseConnection

answerStorage

protected AnswerSQLStorage answerStorage

questionChoicesStorage

protected QuestionChoicesSQLStorage questionChoicesStorage
Constructor Detail

DataStorageSQL

public DataStorageSQL(DatabaseConnection dbConn,
                      SurveyDataCache dataCache)
Method Detail

getDatabaseQuery

public DatabaseQuery getDatabaseQuery()

getAnswerStorage

public AnswerStorage getAnswerStorage()

getQuestionChoicesStorage

public QuestionChoicesStorage getQuestionChoicesStorage()
Returns: