public class VolumeGroup extends Object
Java class for VolumeGroup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VolumeGroup"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element ref="{}logical_unit" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
VolumeGroup() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the value of the id property.
|
List<LogicalUnit> |
getLogicalUnits()
Gets the value of the logicalUnits property.
|
String |
getName()
Gets the value of the name property.
|
boolean |
isSetId() |
boolean |
isSetLogicalUnits() |
boolean |
isSetName() |
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
unsetLogicalUnits() |
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public boolean isSetName()
public List<LogicalUnit> getLogicalUnits()
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 logicalUnits property.
For example, to add a new item, do as follows:
getLogicalUnits().add(newItem);
Objects of the following type(s) are allowed in the list
LogicalUnit
public boolean isSetLogicalUnits()
public void unsetLogicalUnits()
public void setId(String value)
value
- allowed object is
String
public boolean isSetId()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0