public class ResponseRating extends Response
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the answer to the rating question.
|
void |
keepBusinessObject()
Get and keep business object.
|
void |
releaseBusinessObject()
Release business object.
|
void |
setValue(int answer)
Sets the answer to the rating question.
|
deleteEssayResponse, deleteIntextResponse, getErrorMessage, getErrorMessage, getEssayResponse, getFreeText, getIntextResponse, getQuestionNo, getRespondentId, getResponseDate, hasBusinessObject, isPersisted, isValid, isValid, setEssayResponse, setFreeText, setIntextResponse
public void setValue(int answer) throws java.lang.IllegalArgumentException, SurveySystemException
intValue
is a rating
option position, from 1 to rating level. 0 is used for N/A (if applicable)intValue
- Response to rating question.java.lang.IllegalArgumentException
- If the answer is invalidSurveySystemException
- If an error occurs in the system.public int getValue() throws SurveySystemException
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
Built on September 5 2019