| Constructor and Description |
|---|
MultipleChoiceElement() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.List<Option> |
getOptions()
The available option elements on this content type element.
|
java.util.List<Option> |
getValue()
The value of the selected elements.
|
int |
hashCode() |
void |
setOptions(java.util.List<Option> options)
The available option elements on this content type element.
|
void |
setValue(java.util.List<Option> value)
The value of the selected elements.
|
java.lang.String |
toString() |
getCodeName, getName, getParent, getType, setCodeName, setName, setParent, setTypepublic java.util.List<Option> getValue()
The value of a Multiple choice element is a list of option objects. Each option object has a name and codename.
Note, this is not returned when querying for the element by type.
public java.util.List<Option> getOptions()
The value of a Multiple choice element is a list of option objects. Each option object has a name and codename.
Note, this is only returned when querying for the element by type.
Optionpublic void setValue(java.util.List<Option> value)
The value of a Multiple choice element is a list of option objects. Each option object has a name and codename.
Note, this is not returned when querying for the element by type.
value - Sets the value of thisOptionpublic void setOptions(java.util.List<Option> options)
The value of a Multiple choice element is a list of option objects. Each option object has a name and codename.
Note, this is only returned when querying for the element by type.
options - Sets the options of this.Optionpublic java.lang.String toString()
public boolean equals(java.lang.Object o)
protected boolean canEqual(java.lang.Object other)