|
||||||||
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.ResponseDropdown
public class ResponseDropdown
Represents a response to the dropdown question.
Response to a dropdown question is an array of String
s with
selected values.
Method Summary | |
---|---|
void |
clearSelectedValue()
Clear the selected values |
void |
deleteSelectedValue(java.lang.String value)
Deletes the chosen item. |
java.util.ArrayList |
getSelectedValues()
Gets the selected values. |
void |
keepBusinessObject()
Get and keep business object. |
void |
releaseBusinessObject()
Release business object. |
void |
setSelectedValue(java.lang.String value)
Sets the chosen item (if more than one - set one by one) |
Methods inherited from class com.objectplanet.survey.plugin.api.Response |
---|
deleteEssayResponse, deleteIntextResponse, getErrorMessage, getErrorMessage, getEssayResponse, getFreeText, getIntextResponse, getQuestionNo, getRespondentId, getResponseDate, hasBusinessObject, isPersisted, isValid, isValid, setEssayResponse, setFreeText, setIntextResponse |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setSelectedValue(java.lang.String value) throws SurveySystemException
value
- The new item value
SurveySystemException
- If an error occurs in the system.public java.util.ArrayList getSelectedValues() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public void clearSelectedValue() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public void deleteSelectedValue(java.lang.String value) throws SurveySystemException
value
- The item value.
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 |