cmu.survey.objects
Class QuestionObjectWithOtherAnswer

java.lang.Object
  extended by cmu.survey.objects.QuestionObject
      extended by cmu.survey.objects.QuestionObjectWithOtherAnswer
Direct Known Subclasses:
CheckboxQuestionObject, RadioButtonQuestionObject

public class QuestionObjectWithOtherAnswer
extends QuestionObject


Constructor Summary
QuestionObjectWithOtherAnswer(java.lang.String type)
           
 
Method Summary
 Answer getOtherAnswer()
           
 void setOtherAnswer(Answer answer)
          When this is set, a text box will be shown at the end of the question.
 
Methods inherited from class cmu.survey.objects.QuestionObject
getAnswer, getQuestionType, getTimeResponses, setAnswer, setQuestionType, setTimeResponses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionObjectWithOtherAnswer

public QuestionObjectWithOtherAnswer(java.lang.String type)
Method Detail

getOtherAnswer

public Answer getOtherAnswer()
Returns:
See Also:
setOtherAnswer

setOtherAnswer

public void setOtherAnswer(Answer answer)
When this is set, a text box will be shown at the end of the question.

Parameters:
answer -