public class QuestionRating extends Question
ESSAY_FIELD_CHECKBOX, ESSAY_FIELD_DROPDOWN, ESSAY_FIELD_NUMERIC_DEC, ESSAY_FIELD_NUMERIC_INT, ESSAY_FIELD_TEXT, ESSAYFIELD_LENGTH, INTEXT_TYPE_CHECKBOX, INTEXT_TYPE_DROPDOWN, INTEXT_TYPE_NUMERIC_DEC, INTEXT_TYPE_NUMERIC_INT, INTEXT_TYPE_TEXT, QUESTION_DROPDOWN, QUESTION_MATRIX, QUESTION_MULTIPLE, QUESTION_NO_TYPE, QUESTION_NUMERIC, QUESTION_RATING, TAG_END, TAG_START, UPLOAD_IMAGE, UPLOAD_NONE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMaxText()
Gets the maximum text
|
java.lang.String |
getMinText()
Gets the minimum text
|
java.lang.String |
getNALabel()
Gets the label of the N/A field
|
int |
getRatingLevel()
Gets the rating level
|
int |
getRatingStartLevel()
Gets the rating start level
|
boolean |
getShowNA()
Gets the showNA attribute
|
void |
keepBusinessObject()
Get and keep business object.
|
void |
releaseBusinessObject()
Release business object.
|
void |
setMaxText(java.lang.String maxText)
Sets the maximum text
|
void |
setMinText(java.lang.String minText)
Sets the minimum text
|
void |
setNALabel(java.lang.String NALabel)
Sets the label of the N/A field
|
void |
setRatingLevel(int ratingLevel)
Sets the rating level
|
void |
setRatingStartLevel(int ratingStartLevel)
Sets the rating start level
|
void |
setShowNA(boolean showNA)
Sets the value for showNA attribute.
|
addEssayFieldCheckbox, addEssayFieldDecimal, addEssayFieldDropdown, addEssayFieldInteger, addEssayFieldText, addIntextCheckbox, addIntextDecimal, addIntextDropdown, addIntextInteger, addIntextText, deleteEssayField, deleteIntext, deleteValidator, deleteValidator, deleteValidator, deleteValidator, getAnswerRotation, getCustomId, getDisplayNo, getEssayFieldCount, getEssayFieldDropdownItems, getEssayFieldDropdownLabel, getEssayFieldDropdownSortOn, getEssayFieldSize, getEssayFieldType, getFreeTextColumns, getFreeTextLabel, getFreeTextMaxLength, getFreeTextRows, getHiddenQuestion, getIntextCount, getIntextDropdownItems, getIntextDropdownLabel, getIntextDropdownSortOn, getIntextIndex, getIntextName, getIntextSize, getIntextType, getQuestionId, getQuestionLayout, getQuestionText, getQuestionType, getTextAfter, getTextBefore, getUploadType, getValidatorErrorMessage, getValidatorErrorMessage, getValidatorErrorMessage, getValidatorErrorMessage, getValidatorParameter, getValidatorParameter, getValidatorParameter, getValidatorParameter, getWeight, hasBusinessObject, isFreeTextOn, isValidatorOn, isValidatorOn, isValidatorOn, isValidatorOn, setAnswerRotation, setDisplayNo, setFreeTextColumns, setFreeTextLabel, setFreeTextMaxLength, setFreeTextOn, setFreeTextRows, setHiddenQuestion, setQuestionLayout, setQuestionText, setTextAfter, setTextBefore, setUploadType, setValidator, setValidator, setValidator, setValidator, setWeight, updateAttribute, validate
public void setMinText(java.lang.String minText) throws LockException, RespondentsExistException, SurveySecurityException, SurveySystemException
minText
- the minimum textLockException
- Thrown if the survey is locked and can't be edited. Not yet
implemented. Use survey.isLocked()
to be sure that the survey can
be updated.RespondentsExistException
- Thrown if the survey has responses and can't be edited.
Not yet implemented. Use survey.hasRespondents()
to be sure that
the survey can be updated.SurveySecurityException
- Thrown if the user is not authorized to call this method.SurveySystemException
- If an error occurs in the system.public void setMaxText(java.lang.String maxText) throws LockException, RespondentsExistException, SurveySecurityException, SurveySystemException
maxText
- the maximum textLockException
- Thrown if the survey is locked and can't be edited. Not yet
implemented. Use survey.isLocked()
to be sure that the survey can
be updated.RespondentsExistException
- Thrown if the survey has responses and can't be edited.
Not yet implemented. Use survey.hasRespondents()
to be sure that
the survey can be updated.SurveySecurityException
- Thrown if the user is not authorized to call this method.SurveySystemException
- If an error occurs in the system.public void setRatingLevel(int ratingLevel) throws LockException, RespondentsExistException, SurveySecurityException, SurveySystemException
ratingLevel
- The rating levelLockException
- Thrown if the survey is locked and can't be edited. Not yet
implemented. Use survey.isLocked()
to be sure that the survey can
be updated.RespondentsExistException
- Thrown if the survey has responses and can't be edited.
Not yet implemented. Use survey.hasRespondents()
to be sure that
the survey can be updated.SurveySecurityException
- Thrown if the user is not authorized to call this method.SurveySystemException
- If an error occurs in the system.public void setRatingStartLevel(int ratingStartLevel) throws LockException, RespondentsExistException, SurveySecurityException, SurveySystemException
ratingStartLevel
- The rating start levelLockException
- Thrown if the survey is locked and can't be edited. Not yet
implemented. Use survey.isLocked()
to be sure that the survey can
be updated.RespondentsExistException
- Thrown if the survey has responses and can't be edited.
Not yet implemented. Use survey.hasRespondents()
to be sure that
the survey can be updated.SurveySecurityException
- Thrown if the user is not authorized to call this method.SurveySystemException
- If an error occurs in the system.public void setShowNA(boolean showNA) throws LockException, RespondentsExistException, SurveySecurityException, SurveySystemException
showNA
- true if N/A field is usedLockException
- Thrown if the survey is locked and can't be edited. Not yet
implemented. Use survey.isLocked()
to be sure that the survey can
be updated.RespondentsExistException
- Thrown if the survey has responses and can't be edited.
Not yet implemented. Use survey.hasRespondents()
to be sure that
the survey can be updated.SurveySecurityException
- Thrown if the user is not authorized to call this method.SurveySystemException
- If an error occurs in the system.public void setNALabel(java.lang.String NALabel) throws LockException, RespondentsExistException, SurveySecurityException, SurveySystemException
NALabel
- The label for the N/A fieldLockException
- Thrown if the survey is locked and can't be edited. Not yet
implemented. Use survey.isLocked()
to be sure that the survey can
be updated.RespondentsExistException
- Thrown if the survey has responses and can't be edited.
Not yet implemented. Use survey.hasRespondents()
to be sure that
the survey can be updated.SurveySecurityException
- Thrown if the user is not authorized to call this method.SurveySystemException
- If an error occurs in the system.public java.lang.String getMinText() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public java.lang.String getMaxText() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public int getRatingLevel() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public int getRatingStartLevel() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public boolean getShowNA() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public java.lang.String getNALabel() throws SurveySystemException
SurveySystemException
- If an error occurs in the system.public void keepBusinessObject() throws SurveySystemException
keepBusinessObject
in class Question
SurveySystemException
- If an error occurs in the system.public void releaseBusinessObject()
releaseBusinessObject
in class Question
Built on April 12 2018