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