public class AffinityGroups extends BaseResources
Java class for AffinityGroups complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AffinityGroups">
<complexContent>
<extension base="{}BaseResources">
<sequence>
<element ref="{}affinity_group" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
AffinityGroups() |
| Modifier and Type | Method and Description |
|---|---|
List<AffinityGroup> |
getAffinityGroups()
Gets the value of the affinityGroups property.
|
boolean |
isSetAffinityGroups() |
void |
unsetAffinityGroups() |
getActive, getTotal, isSetActive, isSetTotal, setActive, setTotalgetActions, isSetActions, setActionspublic List<AffinityGroup> getAffinityGroups()
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 affinityGroups property.
For example, to add a new item, do as follows:
getAffinityGroups().add(newItem);
Objects of the following type(s) are allowed in the list
AffinityGroup
public boolean isSetAffinityGroups()
public void unsetAffinityGroups()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0