public class EvaluationFormNumericQuestionOption
extends java.lang.Object
implements java.io.Serializable
Information about the option range used for scoring in numeric questions.
| Constructor and Description |
|---|
EvaluationFormNumericQuestionOption() |
| 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.Integer |
getMaxValue()
The maximum answer value of the range option.
|
java.lang.Integer |
getMinValue()
The minimum answer value of the range option.
|
java.lang.Integer |
getScore()
The score assigned to answer values within the range 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 |
setMaxValue(java.lang.Integer maxValue)
The maximum answer value of the range option.
|
void |
setMinValue(java.lang.Integer minValue)
The minimum answer value of the range option.
|
void |
setScore(java.lang.Integer score)
The score assigned to answer values within the range option.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationFormNumericQuestionOption |
withAutomaticFail(java.lang.Boolean automaticFail)
The flag to mark the option as automatic fail.
|
EvaluationFormNumericQuestionOption |
withMaxValue(java.lang.Integer maxValue)
The maximum answer value of the range option.
|
EvaluationFormNumericQuestionOption |
withMinValue(java.lang.Integer minValue)
The minimum answer value of the range option.
|
EvaluationFormNumericQuestionOption |
withScore(java.lang.Integer score)
The score assigned to answer values within the range option.
|
public java.lang.Integer getMinValue()
The minimum answer value of the range option.
The minimum answer value of the range option.
public void setMinValue(java.lang.Integer minValue)
The minimum answer value of the range option.
minValue - The minimum answer value of the range option.
public EvaluationFormNumericQuestionOption withMinValue(java.lang.Integer minValue)
The minimum answer value of the range option.
Returns a reference to this object so that method calls can be chained together.
minValue - The minimum answer value of the range option.
public java.lang.Integer getMaxValue()
The maximum answer value of the range option.
The maximum answer value of the range option.
public void setMaxValue(java.lang.Integer maxValue)
The maximum answer value of the range option.
maxValue - The maximum answer value of the range option.
public EvaluationFormNumericQuestionOption withMaxValue(java.lang.Integer maxValue)
The maximum answer value of the range option.
Returns a reference to this object so that method calls can be chained together.
maxValue - The maximum answer value of the range option.
public java.lang.Integer getScore()
The score assigned to answer values within the range option.
Constraints:
Range: 0 - 10
The score assigned to answer values within the range option.
public void setScore(java.lang.Integer score)
The score assigned to answer values within the range option.
Constraints:
Range: 0 - 10
score - The score assigned to answer values within the range option.
public EvaluationFormNumericQuestionOption withScore(java.lang.Integer score)
The score assigned to answer values within the range option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 10
score - The score assigned to answer values within the range 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 EvaluationFormNumericQuestionOption 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