com.vmware.vim25.ExtensionResourceInfo Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ExtensionResourceInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExtensionResourceInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="locale" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="module" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="data" type="{urn:vim25}KeyValue" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExtensionResourceInfo", propOrder = {
"locale",
"module",
"data"
})
public class ExtensionResourceInfo
extends DynamicData
{
@XmlElement(required = true)
protected String locale;
@XmlElement(required = true)
protected String module;
@XmlElement(required = true)
protected List data;
/**
* Gets the value of the locale property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocale() {
return locale;
}
/**
* Sets the value of the locale property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocale(String value) {
this.locale = value;
}
/**
* Gets the value of the module property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getModule() {
return module;
}
/**
* Sets the value of the module property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setModule(String value) {
this.module = value;
}
/**
* Gets the value of the data property.
*
*
* 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 data property.
*
*
* For example, to add a new item, do as follows:
*
* getData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeyValue }
*
*
*/
public List getData() {
if (data == null) {
data = new ArrayList();
}
return this.data;
}
}