001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2011.01.09 at 07:33:18 PM CET
006 //
007
008
009 package org.openstreetmap.josm.data.imagery.types;
010
011 import java.util.ArrayList;
012 import java.util.List;
013 import javax.xml.bind.annotation.XmlAccessType;
014 import javax.xml.bind.annotation.XmlAccessorType;
015 import javax.xml.bind.annotation.XmlAttribute;
016 import javax.xml.bind.annotation.XmlRootElement;
017 import javax.xml.bind.annotation.XmlType;
018
019
020 /**
021 * <p>Java class for anonymous complex type.
022 *
023 * <p>The following schema fragment specifies the expected content contained within this class.
024 *
025 * <pre>
026 * <complexType>
027 * <complexContent>
028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
029 * <sequence>
030 * <element name="projection" type="{http://josm.openstreetmap.de/wms-cache}projection" maxOccurs="unbounded" minOccurs="0"/>
031 * </sequence>
032 * <attribute name="tileSize" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
033 * <attribute name="totalFileSize" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
034 * </restriction>
035 * </complexContent>
036 * </complexType>
037 * </pre>
038 *
039 *
040 */
041 @XmlAccessorType(XmlAccessType.FIELD)
042 @XmlType(name = "", propOrder = {
043 "projection"
044 })
045 @XmlRootElement(name = "wms-cache")
046 public class WmsCacheType {
047
048 protected List<ProjectionType> projection;
049 @XmlAttribute(required = true)
050 protected int tileSize;
051 @XmlAttribute(required = true)
052 protected int totalFileSize;
053
054 /**
055 * Gets the value of the projection property.
056 *
057 * <p>
058 * This accessor method returns a reference to the live list,
059 * not a snapshot. Therefore any modification you make to the
060 * returned list will be present inside the JAXB object.
061 * This is why there is not a <CODE>set</CODE> method for the projection property.
062 *
063 * <p>
064 * For example, to add a new item, do as follows:
065 * <pre>
066 * getProjection().add(newItem);
067 * </pre>
068 *
069 *
070 * <p>
071 * Objects of the following type(s) are allowed in the list
072 * {@link ProjectionType }
073 *
074 *
075 */
076 public List<ProjectionType> getProjection() {
077 if (projection == null) {
078 projection = new ArrayList<ProjectionType>();
079 }
080 return this.projection;
081 }
082
083 /**
084 * Gets the value of the tileSize property.
085 *
086 */
087 public int getTileSize() {
088 return tileSize;
089 }
090
091 /**
092 * Sets the value of the tileSize property.
093 *
094 */
095 public void setTileSize(int value) {
096 this.tileSize = value;
097 }
098
099 /**
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 }