public class Disks extends BaseDevices
Java class for Disks complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Disks">
<complexContent>
<extension base="{}BaseDevices">
<sequence>
<element ref="{}disk" maxOccurs="unbounded" minOccurs="0"/>
<element name="clone" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="detach_only" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Disks() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getClone()
Gets the value of the clone property.
|
Boolean |
getDetachOnly()
Gets the value of the detachOnly property.
|
List<Disk> |
getDisks()
Gets the value of the disks property.
|
boolean |
isSetClone() |
boolean |
isSetDetachOnly() |
boolean |
isSetDisks() |
void |
setClone(Boolean value)
Sets the value of the clone property.
|
void |
setDetachOnly(Boolean value)
Sets the value of the detachOnly property.
|
void |
unsetDisks() |
getActive, getTotal, isSetActive, isSetTotal, setActive, setTotalgetActions, isSetActions, setActionspublic List<Disk> getDisks()
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 disks property.
For example, to add a new item, do as follows:
getDisks().add(newItem);
Objects of the following type(s) are allowed in the list
Disk
public boolean isSetDisks()
public void unsetDisks()
public Boolean getClone()
Booleanpublic void setClone(Boolean value)
value - allowed object is
Booleanpublic boolean isSetClone()
public Boolean getDetachOnly()
Booleanpublic void setDetachOnly(Boolean value)
value - allowed object is
Booleanpublic boolean isSetDetachOnly()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0