|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectplanet.survey.plugin.api.Response | +--com.objectplanet.survey.plugin.api.ResponseNumeric
Represents a response to the numeric question.
Method Summary | |
java.lang.String |
getValue(int numericType)
Gets the answer to the numeric question. |
void |
keepBusinessObject()
Get and keep business object. |
void |
releaseBusinessObject()
Release business object. |
void |
setValue(java.lang.String value)
Sets the answer for the numeric question. |
Methods inherited from class com.objectplanet.survey.plugin.api.Response |
deleteEssayResponse, getErrorMessage, getErrorMessage, getEssayResponse, getFreeText, getQuestionNo, getRespondentId, hasBusinessObject, isPersisted, isValid, isValid, setEssayResponse, setFreeText |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setValue(java.lang.String value) throws SurveySystemException
value
- The answer
SurveySystemException
- If an error occurs in the system.public java.lang.String getValue(int numericType) throws SurveySystemException
numericType
- Numeric type. One of the types defined in QuestionNumeric
SurveySystemException
- If an error occurs in the system.public void keepBusinessObject() throws SurveySystemException
keepBusinessObject
in class Response
SurveySystemException
- If an error occurs in the system.public void releaseBusinessObject()
releaseBusinessObject
in class Response
|
Copyright © ObjectPlanet Inc. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |