public class EvaluationFormSection
extends java.lang.Object
implements java.io.Serializable
Information about a section from an evaluation form. A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
| Constructor and Description |
|---|
EvaluationFormSection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstructions()
The instructions of the section.
|
java.util.List<EvaluationFormItem> |
getItems()
The items of the section.
|
java.lang.String |
getRefId()
The identifier of the section.
|
java.lang.String |
getTitle()
The title of the section.
|
java.lang.Double |
getWeight()
The scoring weight of the section.
|
int |
hashCode() |
void |
setInstructions(java.lang.String instructions)
The instructions of the section.
|
void |
setItems(java.util.Collection<EvaluationFormItem> items)
The items of the section.
|
void |
setRefId(java.lang.String refId)
The identifier of the section.
|
void |
setTitle(java.lang.String title)
The title of the section.
|
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.
|
EvaluationFormSection |
withInstructions(java.lang.String instructions)
The instructions of the section.
|
EvaluationFormSection |
withItems(java.util.Collection<EvaluationFormItem> items)
The items of the section.
|
EvaluationFormSection |
withItems(EvaluationFormItem... items)
The items of the section.
|
EvaluationFormSection |
withRefId(java.lang.String refId)
The identifier of the section.
|
EvaluationFormSection |
withTitle(java.lang.String title)
The title of the section.
|
EvaluationFormSection |
withWeight(java.lang.Double weight)
The scoring weight of the section.
|
public java.lang.String getTitle()
The title of the section.
Constraints:
Length: 0 - 128
The title of the section.
public void setTitle(java.lang.String title)
The title of the section.
Constraints:
Length: 0 - 128
title - The title of the section.
public EvaluationFormSection withTitle(java.lang.String title)
The title of the section.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 128
title - The title of the section.
public java.lang.String getRefId()
The identifier of the section. An identifier must be unique within the evaluation form.
Constraints:
Length: 1 - 40
The identifier of the section. An identifier must be unique within the evaluation form.
public void setRefId(java.lang.String refId)
The identifier of the section. An identifier must be unique within the evaluation form.
Constraints:
Length: 1 - 40
refId - The identifier of the section. An identifier must be unique within the evaluation form.
public EvaluationFormSection withRefId(java.lang.String refId)
The identifier of the section. 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 section. An identifier must be unique within the evaluation form.
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 EvaluationFormSection 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.util.List<EvaluationFormItem> getItems()
The items of the section.
The items of the section.
public void setItems(java.util.Collection<EvaluationFormItem> items)
The items of the section.
items - The items of the section.
public EvaluationFormSection withItems(EvaluationFormItem... items)
The items of the section.
Returns a reference to this object so that method calls can be chained together.
items - The items of the section.
public EvaluationFormSection withItems(java.util.Collection<EvaluationFormItem> items)
The items of the section.
Returns a reference to this object so that method calls can be chained together.
items - The items of the section.
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 EvaluationFormSection 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