public class EvaluationFormScoringStrategy
extends java.lang.Object
implements java.io.Serializable
Information about scoring strategy for an evaluation form.
| Constructor and Description |
|---|
EvaluationFormScoringStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMode()
The scoring mode of the evaluation form.
|
java.lang.String |
getStatus()
The scoring status of the evaluation form.
|
int |
hashCode() |
void |
setMode(EvaluationFormScoringMode mode)
The scoring mode of the evaluation form.
|
void |
setMode(java.lang.String mode)
The scoring mode of the evaluation form.
|
void |
setStatus(EvaluationFormScoringStatus status)
The scoring status of the evaluation form.
|
void |
setStatus(java.lang.String status)
The scoring status of the evaluation form.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationFormScoringStrategy |
withMode(EvaluationFormScoringMode mode)
The scoring mode of the evaluation form.
|
EvaluationFormScoringStrategy |
withMode(java.lang.String mode)
The scoring mode of the evaluation form.
|
EvaluationFormScoringStrategy |
withStatus(EvaluationFormScoringStatus status)
The scoring status of the evaluation form.
|
EvaluationFormScoringStrategy |
withStatus(java.lang.String status)
The scoring status of the evaluation form.
|
public java.lang.String getMode()
The scoring mode of the evaluation form.
Constraints:
Allowed Values: QUESTION_ONLY, SECTION_ONLY
The scoring mode of the evaluation form.
EvaluationFormScoringModepublic void setMode(java.lang.String mode)
The scoring mode of the evaluation form.
Constraints:
Allowed Values: QUESTION_ONLY, SECTION_ONLY
mode - The scoring mode of the evaluation form.
EvaluationFormScoringModepublic EvaluationFormScoringStrategy withMode(java.lang.String mode)
The scoring mode of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUESTION_ONLY, SECTION_ONLY
mode - The scoring mode of the evaluation form.
EvaluationFormScoringModepublic void setMode(EvaluationFormScoringMode mode)
The scoring mode of the evaluation form.
Constraints:
Allowed Values: QUESTION_ONLY, SECTION_ONLY
mode - The scoring mode of the evaluation form.
EvaluationFormScoringModepublic EvaluationFormScoringStrategy withMode(EvaluationFormScoringMode mode)
The scoring mode of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUESTION_ONLY, SECTION_ONLY
mode - The scoring mode of the evaluation form.
EvaluationFormScoringModepublic java.lang.String getStatus()
The scoring status of the evaluation form.
Constraints:
Allowed Values: ENABLED, DISABLED
The scoring status of the evaluation form.
EvaluationFormScoringStatuspublic void setStatus(java.lang.String status)
The scoring status of the evaluation form.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The scoring status of the evaluation form.
EvaluationFormScoringStatuspublic EvaluationFormScoringStrategy withStatus(java.lang.String status)
The scoring status of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The scoring status of the evaluation form.
EvaluationFormScoringStatuspublic void setStatus(EvaluationFormScoringStatus status)
The scoring status of the evaluation form.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The scoring status of the evaluation form.
EvaluationFormScoringStatuspublic EvaluationFormScoringStrategy withStatus(EvaluationFormScoringStatus status)
The scoring status of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The scoring status of the evaluation form.
EvaluationFormScoringStatuspublic 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