public class EvaluationFormQuestion
extends java.lang.Object
implements java.io.Serializable
Information about a question from an evaluation form.
| Constructor and Description |
|---|
EvaluationFormQuestion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstructions()
The instructions of the section.
|
java.lang.Boolean |
getNotApplicableEnabled()
The flag to enable not applicable answers to the question.
|
java.lang.String |
getQuestionType()
The type of the question.
|
EvaluationFormQuestionTypeProperties |
getQuestionTypeProperties()
The properties of the type of question.
|
java.lang.String |
getRefId()
The identifier of the question.
|
java.lang.String |
getTitle()
The title of the question.
|
java.lang.Double |
getWeight()
The scoring weight of the section.
|
int |
hashCode() |
java.lang.Boolean |
isNotApplicableEnabled()
The flag to enable not applicable answers to the question.
|
void |
setInstructions(java.lang.String instructions)
The instructions of the section.
|
void |
setNotApplicableEnabled(java.lang.Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
|
void |
setQuestionType(EvaluationFormQuestionType questionType)
The type of the question.
|
void |
setQuestionType(java.lang.String questionType)
The type of the question.
|
void |
setQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question.
|
void |
setRefId(java.lang.String refId)
The identifier of the question.
|
void |
setTitle(java.lang.String title)
The title of the question.
|
void |
setWeight(java.lang.Double weight)
The scoring weight of the section.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationFormQuestion |
withInstructions(java.lang.String instructions)
The instructions of the section.
|
EvaluationFormQuestion |
withNotApplicableEnabled(java.lang.Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
|
EvaluationFormQuestion |
withQuestionType(EvaluationFormQuestionType questionType)
The type of the question.
|
EvaluationFormQuestion |
withQuestionType(java.lang.String questionType)
The type of the question.
|
EvaluationFormQuestion |
withQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question.
|
EvaluationFormQuestion |
withRefId(java.lang.String refId)
The identifier of the question.
|
EvaluationFormQuestion |
withTitle(java.lang.String title)
The title of the question.
|
EvaluationFormQuestion |
withWeight(java.lang.Double weight)
The scoring weight of the section.
|
public java.lang.String getTitle()
The title of the question.
Constraints:
Length: 0 - 350
The title of the question.
public void setTitle(java.lang.String title)
The title of the question.
Constraints:
Length: 0 - 350
title - The title of the question.
public EvaluationFormQuestion withTitle(java.lang.String title)
The title of the question.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 350
title - The title of the question.
public java.lang.String getInstructions()
The instructions of the section.
Constraints:
Length: 0 - 1024
The instructions of the section.
public void setInstructions(java.lang.String instructions)
The instructions of the section.
Constraints:
Length: 0 - 1024
instructions - The instructions of the section.
public EvaluationFormQuestion withInstructions(java.lang.String instructions)
The instructions of the section.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
instructions - The instructions of the section.
public java.lang.String getRefId()
The identifier of the question. An identifier must be unique within the evaluation form.
Constraints:
Length: 1 - 40
The identifier of the question. An identifier must be unique within the evaluation form.
public void setRefId(java.lang.String refId)
The identifier of the question. An identifier must be unique within the evaluation form.
Constraints:
Length: 1 - 40
refId - The identifier of the question. An identifier must be unique within the evaluation form.
public EvaluationFormQuestion withRefId(java.lang.String refId)
The identifier of the question. An identifier must be unique within the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
refId - The identifier of the question. An identifier must be unique within the evaluation form.
public java.lang.Boolean isNotApplicableEnabled()
The flag to enable not applicable answers to the question.
The flag to enable not applicable answers to the question.
public java.lang.Boolean getNotApplicableEnabled()
The flag to enable not applicable answers to the question.
The flag to enable not applicable answers to the question.
public void setNotApplicableEnabled(java.lang.Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
notApplicableEnabled - The flag to enable not applicable answers to the question.
public EvaluationFormQuestion withNotApplicableEnabled(java.lang.Boolean notApplicableEnabled)
The flag to enable not applicable answers to the question.
Returns a reference to this object so that method calls can be chained together.
notApplicableEnabled - The flag to enable not applicable answers to the question.
public java.lang.String getQuestionType()
The type of the question.
Constraints:
Allowed Values: TEXT, SINGLESELECT, NUMERIC
The type of the question.
EvaluationFormQuestionTypepublic void setQuestionType(java.lang.String questionType)
The type of the question.
Constraints:
Allowed Values: TEXT, SINGLESELECT, NUMERIC
questionType - The type of the question.
EvaluationFormQuestionTypepublic EvaluationFormQuestion withQuestionType(java.lang.String questionType)
The type of the question.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TEXT, SINGLESELECT, NUMERIC
questionType - The type of the question.
EvaluationFormQuestionTypepublic void setQuestionType(EvaluationFormQuestionType questionType)
The type of the question.
Constraints:
Allowed Values: TEXT, SINGLESELECT, NUMERIC
questionType - The type of the question.
EvaluationFormQuestionTypepublic EvaluationFormQuestion withQuestionType(EvaluationFormQuestionType questionType)
The type of the question.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TEXT, SINGLESELECT, NUMERIC
questionType - The type of the question.
EvaluationFormQuestionTypepublic EvaluationFormQuestionTypeProperties getQuestionTypeProperties()
The properties of the type of question. Text questions do not have to define question type properties.
The properties of the type of question. Text questions do not have to define question type properties.
public void setQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question. Text questions do not have to define question type properties.
questionTypeProperties - The properties of the type of question. Text questions do not have to define question type properties.
public EvaluationFormQuestion withQuestionTypeProperties(EvaluationFormQuestionTypeProperties questionTypeProperties)
The properties of the type of question. Text questions do not have to define question type properties.
Returns a reference to this object so that method calls can be chained together.
questionTypeProperties - The properties of the type of question. Text questions do not have to define question type properties.
public java.lang.Double getWeight()
The scoring weight of the section.
Constraints:
Range: 0.0 - 100.0
The scoring weight of the section.
public void setWeight(java.lang.Double weight)
The scoring weight of the section.
Constraints:
Range: 0.0 - 100.0
weight - The scoring weight of the section.
public EvaluationFormQuestion withWeight(java.lang.Double weight)
The scoring weight of the section.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0.0 - 100.0
weight - The scoring weight of the section.
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