public class EvaluationFormSingleSelectQuestionProperties
extends java.lang.Object
implements java.io.Serializable
Information about the options in single select questions.
| Constructor and Description |
|---|
EvaluationFormSingleSelectQuestionProperties() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
EvaluationFormSingleSelectQuestionAutomation |
getAutomation()
The display mode of the single select question.
|
java.lang.String |
getDisplayAs()
The display mode of the single select question.
|
java.util.List<EvaluationFormSingleSelectQuestionOption> |
getOptions()
The answer options of the single select question.
|
int |
hashCode() |
void |
setAutomation(EvaluationFormSingleSelectQuestionAutomation automation)
The display mode of the single select question.
|
void |
setDisplayAs(EvaluationFormSingleSelectQuestionDisplayMode displayAs)
The display mode of the single select question.
|
void |
setDisplayAs(java.lang.String displayAs)
The display mode of the single select question.
|
void |
setOptions(java.util.Collection<EvaluationFormSingleSelectQuestionOption> options)
The answer options of the single select question.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationFormSingleSelectQuestionProperties |
withAutomation(EvaluationFormSingleSelectQuestionAutomation automation)
The display mode of the single select question.
|
EvaluationFormSingleSelectQuestionProperties |
withDisplayAs(EvaluationFormSingleSelectQuestionDisplayMode displayAs)
The display mode of the single select question.
|
EvaluationFormSingleSelectQuestionProperties |
withDisplayAs(java.lang.String displayAs)
The display mode of the single select question.
|
EvaluationFormSingleSelectQuestionProperties |
withOptions(java.util.Collection<EvaluationFormSingleSelectQuestionOption> options)
The answer options of the single select question.
|
EvaluationFormSingleSelectQuestionProperties |
withOptions(EvaluationFormSingleSelectQuestionOption... options)
The answer options of the single select question.
|
public EvaluationFormSingleSelectQuestionProperties()
public java.util.List<EvaluationFormSingleSelectQuestionOption> getOptions()
The answer options of the single select question.
The answer options of the single select question.
public void setOptions(java.util.Collection<EvaluationFormSingleSelectQuestionOption> options)
The answer options of the single select question.
options - The answer options of the single select question.
public EvaluationFormSingleSelectQuestionProperties withOptions(EvaluationFormSingleSelectQuestionOption... options)
The answer options of the single select question.
Returns a reference to this object so that method calls can be chained together.
options - The answer options of the single select question.
public EvaluationFormSingleSelectQuestionProperties withOptions(java.util.Collection<EvaluationFormSingleSelectQuestionOption> options)
The answer options of the single select question.
Returns a reference to this object so that method calls can be chained together.
options - The answer options of the single select question.
public java.lang.String getDisplayAs()
The display mode of the single select question.
Constraints:
Allowed Values: DROPDOWN, RADIO
The display mode of the single select question.
EvaluationFormSingleSelectQuestionDisplayModepublic void setDisplayAs(java.lang.String displayAs)
The display mode of the single select question.
Constraints:
Allowed Values: DROPDOWN, RADIO
displayAs - The display mode of the single select question.
EvaluationFormSingleSelectQuestionDisplayModepublic EvaluationFormSingleSelectQuestionProperties withDisplayAs(java.lang.String displayAs)
The display mode of the single select question.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DROPDOWN, RADIO
displayAs - The display mode of the single select question.
EvaluationFormSingleSelectQuestionDisplayModepublic void setDisplayAs(EvaluationFormSingleSelectQuestionDisplayMode displayAs)
The display mode of the single select question.
Constraints:
Allowed Values: DROPDOWN, RADIO
displayAs - The display mode of the single select question.
EvaluationFormSingleSelectQuestionDisplayModepublic EvaluationFormSingleSelectQuestionProperties withDisplayAs(EvaluationFormSingleSelectQuestionDisplayMode displayAs)
The display mode of the single select question.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DROPDOWN, RADIO
displayAs - The display mode of the single select question.
EvaluationFormSingleSelectQuestionDisplayModepublic EvaluationFormSingleSelectQuestionAutomation getAutomation()
The display mode of the single select question.
The display mode of the single select question.
public void setAutomation(EvaluationFormSingleSelectQuestionAutomation automation)
The display mode of the single select question.
automation - The display mode of the single select question.
public EvaluationFormSingleSelectQuestionProperties withAutomation(EvaluationFormSingleSelectQuestionAutomation automation)
The display mode of the single select question.
Returns a reference to this object so that method calls can be chained together.
automation - The display mode of the single select question.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object