cmu.survey.objects
Class AnswerSQLStorage
java.lang.Object
cmu.survey.objects.AnswerSQLStorage
- All Implemented Interfaces:
- AnswerStorage
public class AnswerSQLStorage
- extends java.lang.Object
- implements AnswerStorage
Method Summary |
DatabaseQuery |
getDatabaseQuery()
|
DataStorage |
getDataStorage()
|
Answer |
load(java.lang.String descriptor)
|
Answer |
load(java.lang.String descriptor,
HasErrorInfo errorInfo)
|
Answer |
load(java.lang.String type,
java.lang.String fieldName)
|
Answer |
load(java.lang.String type,
java.lang.String fieldName,
HasErrorInfo errorInfo)
|
Answer |
load(java.lang.String type,
java.lang.String fieldName,
java.lang.String table,
java.lang.String where)
|
Answer |
load(java.lang.String type,
java.lang.String fieldName,
java.lang.String table,
java.lang.String where,
HasErrorInfo errorInfo)
|
java.util.Vector<Answer> |
loadList(java.lang.String type,
QuestionChoices fieldName,
java.lang.String table,
java.lang.String where)
|
java.util.Vector<Answer> |
loadList(java.lang.String type,
java.lang.String fieldName,
java.lang.String table,
java.lang.String where)
|
Answer |
loadWithDefault(java.lang.String type,
java.lang.String fieldName,
java.lang.String defaultValue,
HasErrorInfo errorInfo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnswerSQLStorage
public AnswerSQLStorage(DataStorageSQL storage)
load
public Answer load(java.lang.String descriptor)
- Specified by:
load
in interface AnswerStorage
load
public Answer load(java.lang.String descriptor,
HasErrorInfo errorInfo)
- Specified by:
load
in interface AnswerStorage
load
public Answer load(java.lang.String type,
java.lang.String fieldName)
- Specified by:
load
in interface AnswerStorage
load
public Answer load(java.lang.String type,
java.lang.String fieldName,
HasErrorInfo errorInfo)
- Specified by:
load
in interface AnswerStorage
loadWithDefault
public Answer loadWithDefault(java.lang.String type,
java.lang.String fieldName,
java.lang.String defaultValue,
HasErrorInfo errorInfo)
- Specified by:
loadWithDefault
in interface AnswerStorage
load
public Answer load(java.lang.String type,
java.lang.String fieldName,
java.lang.String table,
java.lang.String where)
- Specified by:
load
in interface AnswerStorage
load
public Answer load(java.lang.String type,
java.lang.String fieldName,
java.lang.String table,
java.lang.String where,
HasErrorInfo errorInfo)
- Specified by:
load
in interface AnswerStorage
loadList
public java.util.Vector<Answer> loadList(java.lang.String type,
QuestionChoices fieldName,
java.lang.String table,
java.lang.String where)
- Specified by:
loadList
in interface AnswerStorage
loadList
public java.util.Vector<Answer> loadList(java.lang.String type,
java.lang.String fieldName,
java.lang.String table,
java.lang.String where)
- Specified by:
loadList
in interface AnswerStorage
getDatabaseQuery
public DatabaseQuery getDatabaseQuery()
getDataStorage
public DataStorage getDataStorage()