public class OptionGroup extends BaseObject implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected Label |
label |
protected List<Option> |
options |
Constructor and Description |
---|
OptionGroup() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
The id of this group.
|
Label |
getLabel()
Gets the value of the label property.
|
List<Option> |
getOptions()
Gets the value of the options property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLabel(Label value)
Sets the value of the label property.
|
public Label getLabel()
Label
public void setLabel(Label value)
value
- allowed object is
Label
public List<Option> getOptions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the options property.
For example, to add a new item, do as follows:
getOptions().add(newItem);
Objects of the following type(s) are allowed in the list
Option
Copyright © 2011–2020 aiticon GmbH. All rights reserved.