Package com.blockchyp.client.dto
Class SurveyQuestionResponse
java.lang.Object
com.blockchyp.client.dto.SurveyQuestionResponse
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a survey question response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(SurveyQuestion value) Adds a the full result set responsive to the original request.getError()Gets the error, if an error occurred.Gets a narrative description of the transaction result.Gets the full result set responsive to the original request.booleanGets whether or not the request succeeded.voidSets the error, if an error occurred.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetResults(Collection<SurveyQuestion> value) Sets the full result set responsive to the original request.voidsetSuccess(boolean value) Sets whether or not the request succeeded.
-
Constructor Details
-
SurveyQuestionResponse
public SurveyQuestionResponse()
-
-
Method Details
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setResults
Sets the full result set responsive to the original request.- Parameters:
value- the full result set responsive to the original request.
-
getResults
Gets the full result set responsive to the original request.- Returns:
- the full result set responsive to the original request.
-
addResult
Adds a the full result set responsive to the original request.- Parameters:
value- the full result set responsive to the original request.
-