cmu.survey.objects
Class QuestionChoicesSQLStorage

java.lang.Object
  extended by cmu.survey.objects.QuestionChoicesSQLStorage
All Implemented Interfaces:
QuestionChoicesStorage

public class QuestionChoicesSQLStorage
extends java.lang.Object
implements QuestionChoicesStorage


Constructor Summary
QuestionChoicesSQLStorage(DataStorageSQL theDataStorage)
           
 
Method Summary
 QuestionChoices getQuestionChoices()
           
 QuestionChoicesWithIDField getQuestionChoicesWithIDField(Answer answer, java.lang.String table, java.lang.Integer questionID, boolean randomizeAnswerOrder, boolean cacheRandomizeAnswerOrder)
           
 QuestionChoicesWithIDField getQuestionChoicesWithIDField(Answer answer, java.lang.String choicesField, java.lang.String choicesIDField, java.lang.String choicesTable, java.lang.String choicesWhere, boolean randomizeAnswerOrder, boolean cacheRandomizeAnswerOrder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionChoicesSQLStorage

public QuestionChoicesSQLStorage(DataStorageSQL theDataStorage)
Method Detail

getQuestionChoices

public QuestionChoices getQuestionChoices()
Specified by:
getQuestionChoices in interface QuestionChoicesStorage
Returns:

getQuestionChoicesWithIDField

public QuestionChoicesWithIDField getQuestionChoicesWithIDField(Answer answer,
                                                                java.lang.String table,
                                                                java.lang.Integer questionID,
                                                                boolean randomizeAnswerOrder,
                                                                boolean cacheRandomizeAnswerOrder)
Specified by:
getQuestionChoicesWithIDField in interface QuestionChoicesStorage

getQuestionChoicesWithIDField

public QuestionChoicesWithIDField getQuestionChoicesWithIDField(Answer answer,
                                                                java.lang.String choicesField,
                                                                java.lang.String choicesIDField,
                                                                java.lang.String choicesTable,
                                                                java.lang.String choicesWhere,
                                                                boolean randomizeAnswerOrder,
                                                                boolean cacheRandomizeAnswerOrder)
Specified by:
getQuestionChoicesWithIDField in interface QuestionChoicesStorage