public class CPU extends Object
Java class for CPU complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CPU">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="topology" type="{}CpuTopology" minOccurs="0"/>
<element name="level" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="speed" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="cpu_tune" type="{}CpuTune" minOccurs="0"/>
<element name="mode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="architecture" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="cores" type="{}Cores" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
CPU() |
| Modifier and Type | Method and Description |
|---|---|
String |
getArchitecture()
Gets the value of the architecture property.
|
Cores |
getCores()
Gets the value of the cores property.
|
CpuTune |
getCpuTune()
Gets the value of the cpuTune property.
|
String |
getId()
Gets the value of the id property.
|
Integer |
getLevel()
Gets the value of the level property.
|
String |
getMode()
Gets the value of the mode property.
|
String |
getName()
Gets the value of the name property.
|
BigDecimal |
getSpeed()
Gets the value of the speed property.
|
CpuTopology |
getTopology()
Gets the value of the topology property.
|
boolean |
isSetArchitecture() |
boolean |
isSetCores() |
boolean |
isSetCpuTune() |
boolean |
isSetId() |
boolean |
isSetLevel() |
boolean |
isSetMode() |
boolean |
isSetName() |
boolean |
isSetSpeed() |
boolean |
isSetTopology() |
void |
setArchitecture(String value)
Sets the value of the architecture property.
|
void |
setCores(Cores value)
Sets the value of the cores property.
|
void |
setCpuTune(CpuTune value)
Sets the value of the cpuTune property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLevel(Integer value)
Sets the value of the level property.
|
void |
setMode(String value)
Sets the value of the mode property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSpeed(BigDecimal value)
Sets the value of the speed property.
|
void |
setTopology(CpuTopology value)
Sets the value of the topology property.
|
public CpuTopology getTopology()
CpuTopologypublic void setTopology(CpuTopology value)
value - allowed object is
CpuTopologypublic boolean isSetTopology()
public Integer getLevel()
Integerpublic void setLevel(Integer value)
value - allowed object is
Integerpublic boolean isSetLevel()
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public BigDecimal getSpeed()
BigDecimalpublic void setSpeed(BigDecimal value)
value - allowed object is
BigDecimalpublic boolean isSetSpeed()
public CpuTune getCpuTune()
CpuTunepublic void setCpuTune(CpuTune value)
value - allowed object is
CpuTunepublic boolean isSetCpuTune()
public String getMode()
Stringpublic void setMode(String value)
value - allowed object is
Stringpublic boolean isSetMode()
public String getArchitecture()
Stringpublic void setArchitecture(String value)
value - allowed object is
Stringpublic boolean isSetArchitecture()
public Cores getCores()
Corespublic void setCores(Cores value)
value - allowed object is
Corespublic boolean isSetCores()
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0