public class ResponseNumeric extends Response
Modifier and Type | Method and Description |
---|---|
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.
|
deleteEssayResponse, deleteIntextResponse, getErrorMessage, getErrorMessage, getEssayResponse, getFreeText, getIntextResponse, getQuestionNo, getRespondentId, getResponseDate, hasBusinessObject, isPersisted, isValid, isValid, setEssayResponse, setFreeText, setIntextResponse
public void setValue(java.lang.String value) throws SurveySystemException
value
- The answerSurveySystemException
- 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 QuestionNumericSurveySystemException
- 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
Built on January 16 2019