com.vmware.vim25.UsbScanCodeSpec 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 UsbScanCodeSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="UsbScanCodeSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="keyEvents" type="{urn:vim25}UsbScanCodeSpecKeyEvent" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UsbScanCodeSpec", propOrder = {
"keyEvents"
})
public class UsbScanCodeSpec
extends DynamicData
{
@XmlElement(required = true)
protected List keyEvents;
/**
* Gets the value of the keyEvents 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 keyEvents property.
*
*
* For example, to add a new item, do as follows:
*
* getKeyEvents().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UsbScanCodeSpecKeyEvent }
*
*
*/
public List getKeyEvents() {
if (keyEvents == null) {
keyEvents = new ArrayList();
}
return this.keyEvents;
}
}