1 | //
|
---|
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
---|
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4 | // Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
5 | // Generated on: 2011.01.09 at 07:33:18 PM CET
|
---|
6 | //
|
---|
7 |
|
---|
8 |
|
---|
9 | package org.openstreetmap.josm.data.imagery.types;
|
---|
10 |
|
---|
11 | import java.util.ArrayList;
|
---|
12 | import java.util.List;
|
---|
13 | import javax.xml.bind.annotation.XmlAccessType;
|
---|
14 | import javax.xml.bind.annotation.XmlAccessorType;
|
---|
15 | import javax.xml.bind.annotation.XmlAttribute;
|
---|
16 | import javax.xml.bind.annotation.XmlRootElement;
|
---|
17 | import javax.xml.bind.annotation.XmlType;
|
---|
18 |
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * <p>Java class for anonymous complex type.
|
---|
22 | *
|
---|
23 | * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
24 | *
|
---|
25 | * <pre>
|
---|
26 | * <complexType>
|
---|
27 | * <complexContent>
|
---|
28 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
29 | * <sequence>
|
---|
30 | * <element name="projection" type="{http://josm.openstreetmap.de/wms-cache}projection" maxOccurs="unbounded" minOccurs="0"/>
|
---|
31 | * </sequence>
|
---|
32 | * <attribute name="tileSize" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
|
---|
33 | * <attribute name="totalFileSize" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
|
---|
34 | * </restriction>
|
---|
35 | * </complexContent>
|
---|
36 | * </complexType>
|
---|
37 | * </pre>
|
---|
38 | *
|
---|
39 | *
|
---|
40 | */
|
---|
41 | @XmlAccessorType(XmlAccessType.FIELD)
|
---|
42 | @XmlType(name = "", propOrder = {
|
---|
43 | "projection"
|
---|
44 | })
|
---|
45 | @XmlRootElement(name = "wms-cache")
|
---|
46 | public class WmsCacheType {
|
---|
47 |
|
---|
48 | protected List<ProjectionType> projection;
|
---|
49 | @XmlAttribute(required = true)
|
---|
50 | protected int tileSize;
|
---|
51 | @XmlAttribute(required = true)
|
---|
52 | protected int totalFileSize;
|
---|
53 |
|
---|
54 | /**
|
---|
55 | * Gets the value of the projection property.
|
---|
56 | *
|
---|
57 | * <p>
|
---|
58 | * This accessor method returns a reference to the live list,
|
---|
59 | * not a snapshot. Therefore any modification you make to the
|
---|
60 | * returned list will be present inside the JAXB object.
|
---|
61 | * This is why there is not a <CODE>set</CODE> method for the projection property.
|
---|
62 | *
|
---|
63 | * <p>
|
---|
64 | * For example, to add a new item, do as follows:
|
---|
65 | * <pre>
|
---|
66 | * getProjection().add(newItem);
|
---|
67 | * </pre>
|
---|
68 | *
|
---|
69 | *
|
---|
70 | * <p>
|
---|
71 | * Objects of the following type(s) are allowed in the list
|
---|
72 | * {@link ProjectionType }
|
---|
73 | *
|
---|
74 | *
|
---|
75 | */
|
---|
76 | public List<ProjectionType> getProjection() {
|
---|
77 | if (projection == null) {
|
---|
78 | projection = new ArrayList<ProjectionType>();
|
---|
79 | }
|
---|
80 | return this.projection;
|
---|
81 | }
|
---|
82 |
|
---|
83 | /**
|
---|
84 | * Gets the value of the tileSize property.
|
---|
85 | *
|
---|
86 | */
|
---|
87 | public int getTileSize() {
|
---|
88 | return tileSize;
|
---|
89 | }
|
---|
90 |
|
---|
91 | /**
|
---|
92 | * Sets the value of the tileSize property.
|
---|
93 | *
|
---|
94 | */
|
---|
95 | public void setTileSize(int value) {
|
---|
96 | this.tileSize = value;
|
---|
97 | }
|
---|
98 |
|
---|
99 | /**
|
---|
100 | * Gets the value of the totalFileSize property.
|
---|
101 | *
|
---|
102 | */
|
---|
103 | public int getTotalFileSize() {
|
---|
104 | return totalFileSize;
|
---|
105 | }
|
---|
106 |
|
---|
107 | /**
|
---|
108 | * Sets the value of the totalFileSize property.
|
---|
109 | *
|
---|
110 | */
|
---|
111 | public void setTotalFileSize(int value) {
|
---|
112 | this.totalFileSize = value;
|
---|
113 | }
|
---|
114 |
|
---|
115 | }
|
---|