cmu.survey.objects
Class DataStorageStub

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

public abstract class DataStorageStub
extends java.lang.Object
implements DataStorage


Field Summary
protected  java.lang.String table
           
protected  java.lang.String where
           
 
Constructor Summary
DataStorageStub(SurveyDataCache dataCache)
           
 
Method Summary
 LoginInfo getLoginInfo()
           
 boolean getRetrieveValuesFromDB()
           
 SurveyDataCache getSurveyDataCache()
           
 java.lang.String getTable()
           
 java.lang.String getWhere()
           
 void setLoginInfo(LoginInfo loginInfo)
           
 void setRetrieveValuesFromDB(boolean b)
           
 void setTable(java.lang.String theTable)
           
 void setWhere(java.lang.String theWhere)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cmu.survey.objects.DataStorage
getAnswerStorage, getQuestionChoicesStorage
 

Field Detail

table

protected java.lang.String table

where

protected java.lang.String where
Constructor Detail

DataStorageStub

public DataStorageStub(SurveyDataCache dataCache)
Parameters:
dataCache -
Method Detail

getRetrieveValuesFromDB

public boolean getRetrieveValuesFromDB()
Specified by:
getRetrieveValuesFromDB in interface DataStorage

setRetrieveValuesFromDB

public void setRetrieveValuesFromDB(boolean b)
Specified by:
setRetrieveValuesFromDB in interface DataStorage
Parameters:
b -

getTable

public java.lang.String getTable()
Specified by:
getTable in interface DataStorage

setTable

public void setTable(java.lang.String theTable)
Specified by:
setTable in interface DataStorage

getWhere

public java.lang.String getWhere()
Specified by:
getWhere in interface DataStorage

setWhere

public void setWhere(java.lang.String theWhere)
Specified by:
setWhere in interface DataStorage

getSurveyDataCache

public SurveyDataCache getSurveyDataCache()
Returns:

getLoginInfo

public LoginInfo getLoginInfo()
Specified by:
getLoginInfo in interface DataStorage
Returns:
Returns the loginInfo.

setLoginInfo

public void setLoginInfo(LoginInfo loginInfo)
Specified by:
setLoginInfo in interface DataStorage
Parameters:
loginInfo - The loginInfo to set.