public static class Hosts.Group extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="host" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Hosts.Group.Host
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Hosts.Group.Host> |
host |
protected String |
name |
| Constructor and Description |
|---|
Group() |
| Modifier and Type | Method and Description |
|---|---|
List<Hosts.Group.Host> |
getHost()
Gets the value of the host property.
|
String |
getName()
Gets the value of the name property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<Hosts.Group.Host> host
protected String name
public List<Hosts.Group.Host> getHost()
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 host property.
For example, to add a new item, do as follows:
getHost().add(newItem);
Objects of the following type(s) are allowed in the list
Hosts.Group.Host
public String getName()
StringCopyright © 2016 Pivotal Software, Inc.. All rights reserved.