public class ResponseMatrix extends Response
| Modifier and Type | Method and Description |
|---|---|
void |
clearCellValues()
Clear cell responses.
|
java.lang.String |
getCellValue(int columnPosition,
int rowPosition,
int cellType)
Gets the cell value
|
java.lang.String |
getErrorMessage(int columnPosition,
int rowPosition)
Gets the error message for an matrix cell.
|
boolean |
isValid(int columnPosition,
int rowPosition)
Checks if response to the matrix cell is valid.
|
void |
keepBusinessObject()
Get and keep business object.
|
void |
releaseBusinessObject()
Release business object.
|
void |
removeCellValue(int columnPosition,
int rowPosition)
Remove cell value
|
void |
setCellValue(int columnPosition,
int rowPosition,
int cellType,
java.lang.String answer)
Sets response to the matrix cell.
|
deleteEssayResponse, deleteIntextResponse, getErrorMessage, getErrorMessage, getEssayResponse, getFreeText, getIntextResponse, getQuestionNo, getRespondentId, getResponseDate, hasBusinessObject, isPersisted, isValid, isValid, setEssayResponse, setFreeText, setIntextResponsepublic void setCellValue(int columnPosition,
int rowPosition,
int cellType,
java.lang.String answer)
throws SurveySystemException,
java.lang.IllegalArgumentException
columnPosition - Matrix cell column position, starts at
0rowPosition - Matrix cell row position, starts at 0answer - The response to the matrix cellcellType - Matrix cell type. One of the defined in
QuestionMatrixjava.lang.IllegalArgumentException - If illegal positionsSurveySystemException - If an error occurs in the system.public java.lang.String getCellValue(int columnPosition,
int rowPosition,
int cellType)
throws SurveySystemException,
java.lang.IllegalArgumentException
columnPosition - Matrix cell column position, starts at
0rowPosition - Matrix cell row position, starts at 0cellType - Matrix cell type. One of the defined in
QuestionMatrixjava.lang.IllegalArgumentException - If illegal parametersSurveySystemException - If an error occurs in the system.public java.lang.String getErrorMessage(int columnPosition,
int rowPosition)
throws SurveySystemException
columnPosition - Matrix cell column position, starts at 0rowPosition - Matrix cell row position, starts at 0SurveySystemException - If any error occurs in the system.public boolean isValid(int columnPosition,
int rowPosition)
throws SurveySystemException
columnPosition - Matrix cell column position, starts at 0rowPosition - Matrix cell row position, starts at 0SurveySystemException - If any error occurs in the system.public void clearCellValues()
throws SurveySystemException
SurveySystemException - If an error occurs in the system.public void keepBusinessObject()
throws SurveySystemException
keepBusinessObject in class ResponseSurveySystemException - If an error occurs in the system.public void releaseBusinessObject()
releaseBusinessObject in class Responsepublic void removeCellValue(int columnPosition,
int rowPosition)
throws SurveySystemException,
java.lang.IllegalArgumentException
columnPosition - Matrix cell column position, starts at
0rowPosition - Matrix cell row position, starts at 0java.lang.IllegalArgumentException - If illegal positionsSurveySystemException - If an error occurs in the system.Built on July 29 2025