All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.VirtualUSB Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

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.XmlType;


/**
 * 

Java class for VirtualUSB complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="VirtualUSB">
 *   <complexContent>
 *     <extension base="{urn:vim25}VirtualDevice">
 *       <sequence>
 *         <element name="connected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="vendor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="product" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="family" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="speed" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualUSB", propOrder = { "connected", "vendor", "product", "family", "speed" }) public class VirtualUSB extends VirtualDevice { protected boolean connected; protected Integer vendor; protected Integer product; protected List family; protected List speed; /** * Gets the value of the connected property. * */ public boolean isConnected() { return connected; } /** * Sets the value of the connected property. * */ public void setConnected(boolean value) { this.connected = value; } /** * Gets the value of the vendor property. * * @return * possible object is * {@link Integer } * */ public Integer getVendor() { return vendor; } /** * Sets the value of the vendor property. * * @param value * allowed object is * {@link Integer } * */ public void setVendor(Integer value) { this.vendor = value; } /** * Gets the value of the product property. * * @return * possible object is * {@link Integer } * */ public Integer getProduct() { return product; } /** * Sets the value of the product property. * * @param value * allowed object is * {@link Integer } * */ public void setProduct(Integer value) { this.product = value; } /** * Gets the value of the family 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 family property. * *

* For example, to add a new item, do as follows: *

     *    getFamily().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getFamily() { if (family == null) { family = new ArrayList(); } return this.family; } /** * Gets the value of the speed 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 speed property. * *

* For example, to add a new item, do as follows: *

     *    getSpeed().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getSpeed() { if (speed == null) { speed = new ArrayList(); } return this.speed; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy