|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsurveylib.model.question.Question
org.jsurveylib.model.question.FreeTextQuestion
public abstract class FreeTextQuestion
FOR INTERNAL USE ONLY.
Method Summary | |
---|---|
java.lang.String |
getAnswer()
The answer of this question. |
boolean |
isAnswered()
Return true if an answer has been set for this question |
void |
setAnswer(java.lang.String value)
Sets the answer of this question. |
Methods inherited from class org.jsurveylib.model.question.Question |
---|
addAnswerListener, addEnableListener, addValidationListener, addVisibilityListener, fireAnswerChanged, fireAnswerChanged, getCurrentValidationMessage, getId, getLabel, getOnAnswerChanged, isAnswerable, isEnabled, isMandatory, isValid, isVisible, populateTemplate, removeAnswerListener, removeEnableListener, removeValidationListener, removeVisibilityListener, setEnabled, setLabel, setLabel, setMandatory, setOnAnswerChanged, setValid, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jsurveylib.model.Visitable |
---|
accept |
Method Detail |
---|
public boolean isAnswered()
isAnswered
in class Question
public void setAnswer(java.lang.String value)
Question
setAnswer
in class Question
value
- The answer or "" if there is no answer. This should never return null.public java.lang.String getAnswer()
Question
getAnswer
in class Question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |