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

com.vmware.vim25.HostCpuPackage 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.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for HostCpuPackage complex type. * *

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

 * <complexType name="HostCpuPackage">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="index" type="{http://www.w3.org/2001/XMLSchema}short"/>
 *         <element name="vendor" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="hz" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="busHz" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="threadId" type="{http://www.w3.org/2001/XMLSchema}short" maxOccurs="unbounded"/>
 *         <element name="cpuFeature" type="{urn:vim25}HostCpuIdInfo" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostCpuPackage", propOrder = { "index", "vendor", "hz", "busHz", "description", "threadId", "cpuFeature" }) public class HostCpuPackage extends DynamicData { protected short index; @XmlElement(required = true) protected String vendor; protected long hz; protected long busHz; @XmlElement(required = true) protected String description; @XmlElement(type = Short.class) protected List threadId; protected List cpuFeature; /** * Gets the value of the index property. * */ public short getIndex() { return index; } /** * Sets the value of the index property. * */ public void setIndex(short value) { this.index = value; } /** * Gets the value of the vendor property. * * @return * possible object is * {@link String } * */ public String getVendor() { return vendor; } /** * Sets the value of the vendor property. * * @param value * allowed object is * {@link String } * */ public void setVendor(String value) { this.vendor = value; } /** * Gets the value of the hz property. * */ public long getHz() { return hz; } /** * Sets the value of the hz property. * */ public void setHz(long value) { this.hz = value; } /** * Gets the value of the busHz property. * */ public long getBusHz() { return busHz; } /** * Sets the value of the busHz property. * */ public void setBusHz(long value) { this.busHz = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the threadId 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 threadId property. * *

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

     *    getThreadId().add(newItem);
     * 
* * *

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

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

     *    getCpuFeature().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy