![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.HostNumaNode 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 HostNumaNode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostNumaNode">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}byte"/>
* <element name="cpuID" type="{http://www.w3.org/2001/XMLSchema}short" maxOccurs="unbounded"/>
* <element name="memoryRangeBegin" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="memoryRangeLength" type="{http://www.w3.org/2001/XMLSchema}long"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostNumaNode", propOrder = {
"typeId",
"cpuID",
"memoryRangeBegin",
"memoryRangeLength"
})
public class HostNumaNode
extends DynamicData
{
protected byte typeId;
@XmlElement(type = Short.class)
protected List cpuID;
protected long memoryRangeBegin;
protected long memoryRangeLength;
/**
* Gets the value of the typeId property.
*
*/
public byte getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
*/
public void setTypeId(byte value) {
this.typeId = value;
}
/**
* Gets the value of the cpuID 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 cpuID property.
*
*
* For example, to add a new item, do as follows:
*
* getCpuID().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Short }
*
*
*/
public List getCpuID() {
if (cpuID == null) {
cpuID = new ArrayList();
}
return this.cpuID;
}
/**
* Gets the value of the memoryRangeBegin property.
*
*/
public long getMemoryRangeBegin() {
return memoryRangeBegin;
}
/**
* Sets the value of the memoryRangeBegin property.
*
*/
public void setMemoryRangeBegin(long value) {
this.memoryRangeBegin = value;
}
/**
* Gets the value of the memoryRangeLength property.
*
*/
public long getMemoryRangeLength() {
return memoryRangeLength;
}
/**
* Sets the value of the memoryRangeLength property.
*
*/
public void setMemoryRangeLength(long value) {
this.memoryRangeLength = value;
}
}