public class OperatingSystem extends Object
Java class for OperatingSystem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OperatingSystem"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="boot" type="{}Boot" maxOccurs="unbounded" minOccurs="0"/> <element name="kernel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="initrd" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="cmdline" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="version" type="{}Version" minOccurs="0"/> </sequence> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
OperatingSystem() |
Modifier and Type | Method and Description |
---|---|
List<Boot> |
getBoot()
Gets the value of the boot property.
|
String |
getCmdline()
Gets the value of the cmdline property.
|
String |
getInitrd()
Gets the value of the initrd property.
|
String |
getKernel()
Gets the value of the kernel property.
|
String |
getType()
Gets the value of the type property.
|
Version |
getVersion()
Gets the value of the version property.
|
boolean |
isSetBoot() |
boolean |
isSetCmdline() |
boolean |
isSetInitrd() |
boolean |
isSetKernel() |
boolean |
isSetType() |
boolean |
isSetVersion() |
void |
setCmdline(String value)
Sets the value of the cmdline property.
|
void |
setInitrd(String value)
Sets the value of the initrd property.
|
void |
setKernel(String value)
Sets the value of the kernel property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setVersion(Version value)
Sets the value of the version property.
|
void |
unsetBoot() |
public List<Boot> getBoot()
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 boot property.
For example, to add a new item, do as follows:
getBoot().add(newItem);
Objects of the following type(s) are allowed in the list
Boot
public boolean isSetBoot()
public void unsetBoot()
public String getKernel()
String
public void setKernel(String value)
value
- allowed object is
String
public boolean isSetKernel()
public String getInitrd()
String
public void setInitrd(String value)
value
- allowed object is
String
public boolean isSetInitrd()
public String getCmdline()
String
public void setCmdline(String value)
value
- allowed object is
String
public boolean isSetCmdline()
public Version getVersion()
Version
public void setVersion(Version value)
value
- allowed object is
Version
public boolean isSetVersion()
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public boolean isSetType()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0