cmu.survey.objects
Class DataStorageStub
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
protected java.lang.String table
where
protected java.lang.String where
DataStorageStub
public DataStorageStub(SurveyDataCache dataCache)
- Parameters:
dataCache
-
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.