public class ChoiceOption extends OptionType
Java class for ChoiceOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ChoiceOption">
<complexContent>
<extension base="{urn:vim25}OptionType">
<sequence>
<element name="choiceInfo" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
<element name="defaultIndex" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ElementDescription> |
choiceInfo |
protected Integer |
defaultIndex |
valueIsReadonly| Constructor and Description |
|---|
ChoiceOption() |
| Modifier and Type | Method and Description |
|---|---|
List<ElementDescription> |
getChoiceInfo()
Gets the value of the choiceInfo property.
|
Integer |
getDefaultIndex()
Gets the value of the defaultIndex property.
|
void |
setDefaultIndex(Integer value)
Sets the value of the defaultIndex property.
|
isValueIsReadonly, setValueIsReadonlyprotected List<ElementDescription> choiceInfo
protected Integer defaultIndex
public List<ElementDescription> getChoiceInfo()
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 choiceInfo property.
For example, to add a new item, do as follows:
getChoiceInfo().add(newItem);
Objects of the following type(s) are allowed in the list
ElementDescription
public Integer getDefaultIndex()
IntegerCopyright © 2018. All rights reserved.