public class EnumDescription extends DynamicData
Java class for EnumDescription complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnumDescription">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="tags" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
key |
protected List<ElementDescription> |
tags |
| Constructor and Description |
|---|
EnumDescription() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the value of the key property.
|
List<ElementDescription> |
getTags()
Gets the value of the tags property.
|
void |
setKey(String value)
Sets the value of the key property.
|
protected String key
protected List<ElementDescription> tags
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic List<ElementDescription> getTags()
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 tags property.
For example, to add a new item, do as follows:
getTags().add(newItem);
Objects of the following type(s) are allowed in the list
ElementDescription
Copyright © 2018. All rights reserved.