com.redhat.rhevm.api.model.CpuTopology Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2010.09.27 at 07:29:49 PM IST
//
package com.redhat.rhevm.api.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CpuTopology complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CpuTopology">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="sockets" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="cores" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CpuTopology")
public class CpuTopology {
@XmlAttribute
protected Integer sockets;
@XmlAttribute
protected Integer cores;
/**
* Gets the value of the sockets property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getSockets() {
return sockets;
}
/**
* Sets the value of the sockets property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setSockets(int value) {
this.sockets = value;
}
public boolean isSetSockets() {
return (this.sockets!= null);
}
public void unsetSockets() {
this.sockets = null;
}
/**
* Gets the value of the cores property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getCores() {
return cores;
}
/**
* Sets the value of the cores property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCores(int value) {
this.cores = value;
}
public boolean isSetCores() {
return (this.cores!= null);
}
public void unsetCores() {
this.cores = null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy