public class Cities 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="city" maxOccurs="unbounded" minOccurs="8">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="production">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="effective">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ware" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="5"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ineffective">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ware" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="8"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="kontorType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="location">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="x" type="{http://www.w3.org/2001/XMLSchema}short" />
<attribute name="y" type="{http://www.w3.org/2001/XMLSchema}short" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Cities() |
public List<City> getCity()
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 city property.
For example, to add a new item, do as follows:
getCity().add(newItem);
Objects of the following type(s) are allowed in the list
City
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.