public class VirtualController extends VirtualDevice
Java class for VirtualController complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualController">
<complexContent>
<extension base="{urn:vim25}VirtualDevice">
<sequence>
<element name="busNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="device" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected int |
busNumber |
protected List<Integer> |
device |
backing, connectable, controllerKey, deviceInfo, key, slotInfo, unitNumber| Constructor and Description |
|---|
VirtualController() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBusNumber()
Gets the value of the busNumber property.
|
List<Integer> |
getDevice()
Gets the value of the device property.
|
void |
setBusNumber(int value)
Sets the value of the busNumber property.
|
getBacking, getConnectable, getControllerKey, getDeviceInfo, getKey, getSlotInfo, getUnitNumber, setBacking, setConnectable, setControllerKey, setDeviceInfo, setKey, setSlotInfo, setUnitNumberpublic int getBusNumber()
public void setBusNumber(int value)
public List<Integer> getDevice()
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 device property.
For example, to add a new item, do as follows:
getDevice().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
Copyright © 2018. All rights reserved.