public class EvaluationFormSingleSelectQuestionOption
extends java.lang.Object
implements java.io.Serializable
Information about the automation configuration in single select questions.
| Constructor and Description |
|---|
EvaluationFormSingleSelectQuestionOption() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAutomaticFail()
The flag to mark the option as automatic fail.
|
java.lang.String |
getRefId()
The identifier of the answer option.
|
java.lang.Integer |
getScore()
The score assigned to the answer option.
|
java.lang.String |
getText()
The title of the answer option.
|
int |
hashCode() |
java.lang.Boolean |
isAutomaticFail()
The flag to mark the option as automatic fail.
|
void |
setAutomaticFail(java.lang.Boolean automaticFail)
The flag to mark the option as automatic fail.
|
void |
setRefId(java.lang.String refId)
The identifier of the answer option.
|
void |
setScore(java.lang.Integer score)
The score assigned to the answer option.
|
void |
setText(java.lang.String text)
The title of the answer option.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationFormSingleSelectQuestionOption |
withAutomaticFail(java.lang.Boolean automaticFail)
The flag to mark the option as automatic fail.
|
EvaluationFormSingleSelectQuestionOption |
withRefId(java.lang.String refId)
The identifier of the answer option.
|
EvaluationFormSingleSelectQuestionOption |
withScore(java.lang.Integer score)
The score assigned to the answer option.
|
EvaluationFormSingleSelectQuestionOption |
withText(java.lang.String text)
The title of the answer option.
|
public EvaluationFormSingleSelectQuestionOption()
public java.lang.String getRefId()
The identifier of the answer option. An identifier must be unique within the question.
Constraints:
Length: 1 - 40
The identifier of the answer option. An identifier must be unique within the question.
public void setRefId(java.lang.String refId)
The identifier of the answer option. An identifier must be unique within the question.
Constraints:
Length: 1 - 40
refId - The identifier of the answer option. An identifier must be unique within the question.
public EvaluationFormSingleSelectQuestionOption withRefId(java.lang.String refId)
The identifier of the answer option. An identifier must be unique within the question.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
refId - The identifier of the answer option. An identifier must be unique within the question.
public java.lang.String getText()
The title of the answer option.
Constraints:
Length: 0 - 128
The title of the answer option.
public void setText(java.lang.String text)
The title of the answer option.
Constraints:
Length: 0 - 128
text - The title of the answer option.
public EvaluationFormSingleSelectQuestionOption withText(java.lang.String text)
The title of the answer option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 128
text - The title of the answer option.
public java.lang.Integer getScore()
The score assigned to the answer option.
Constraints:
Range: 0 - 10
The score assigned to the answer option.
public void setScore(java.lang.Integer score)
The score assigned to the answer option.
Constraints:
Range: 0 - 10
score - The score assigned to the answer option.
public EvaluationFormSingleSelectQuestionOption withScore(java.lang.Integer score)
The score assigned to the answer option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 10
score - The score assigned to the answer option.
public java.lang.Boolean isAutomaticFail()
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
public java.lang.Boolean getAutomaticFail()
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
public void setAutomaticFail(java.lang.Boolean automaticFail)
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
automaticFail - The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
public EvaluationFormSingleSelectQuestionOption withAutomaticFail(java.lang.Boolean automaticFail)
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
Returns a reference to this object so that method calls can be chained together.
automaticFail - The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
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