cmu.survey.objects
Interface QuestionChoices

All Known Subinterfaces:
QuestionChoicesWithIDField
All Known Implementing Classes:
QuestionChoicesDefault, QuestionChoicesSQL

public interface QuestionChoices


Nested Class Summary
static class QuestionChoices.VectorPair
           
 
Method Summary
 QuestionChoices.VectorPair getPairOfChoicesAndIDs()
           
 

Method Detail

getPairOfChoicesAndIDs

QuestionChoices.VectorPair getPairOfChoicesAndIDs()
Returns:
two Vectors (each of the two vectors will have the same number of elements): vector.get(0)=vector1=is the IDs that should be saved in the database (sometimes a number, sometimes a String). vector.get(1)=vector2=a vector of Strings of the choices that the user sees (in the order they should be used) or Returns null if there was an error.