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.XmlType;
017    
018    
019    /**
020     * <p>Java class for projection complex type.
021     * 
022     * <p>The following schema fragment specifies the expected content contained within this class.
023     * 
024     * <pre>
025     * &lt;complexType name="projection">
026     *   &lt;complexContent>
027     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028     *       &lt;sequence>
029     *         &lt;element name="entry" type="{http://josm.openstreetmap.de/wms-cache}entry" maxOccurs="unbounded" minOccurs="0"/>
030     *       &lt;/sequence>
031     *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
032     *       &lt;attribute name="cache-directory" type="{http://www.w3.org/2001/XMLSchema}string" />
033     *     &lt;/restriction>
034     *   &lt;/complexContent>
035     * &lt;/complexType>
036     * </pre>
037     * 
038     * 
039     */
040    @XmlAccessorType(XmlAccessType.FIELD)
041    @XmlType(name = "projection", propOrder = {
042        "entry"
043    })
044    public class ProjectionType {
045    
046        protected List<EntryType> entry;
047        @XmlAttribute
048        protected String name;
049        @XmlAttribute(name = "cache-directory")
050        protected String cacheDirectory;
051    
052        /**
053         * Gets the value of the entry property.
054         * 
055         * <p>
056         * This accessor method returns a reference to the live list,
057         * not a snapshot. Therefore any modification you make to the
058         * returned list will be present inside the JAXB object.
059         * This is why there is not a <CODE>set</CODE> method for the entry property.
060         * 
061         * <p>
062         * For example, to add a new item, do as follows:
063         * <pre>
064         *    getEntry().add(newItem);
065         * </pre>
066         * 
067         * 
068         * <p>
069         * Objects of the following type(s) are allowed in the list
070         * {@link EntryType }
071         * 
072         * 
073         */
074        public List<EntryType> getEntry() {
075            if (entry == null) {
076                entry = new ArrayList<EntryType>();
077            }
078            return this.entry;
079        }
080    
081        /**
082         * Gets the value of the name property.
083         * 
084         * @return
085         *     possible object is
086         *     {@link String }
087         *     
088         */
089        public String getName() {
090            return name;
091        }
092    
093        /**
094         * Sets the value of the name property.
095         * 
096         * @param value
097         *     allowed object is
098         *     {@link String }
099         *     
100         */
101        public void setName(String value) {
102            this.name = value;
103        }
104    
105        /**
106         * Gets the value of the cacheDirectory property.
107         * 
108         * @return
109         *     possible object is
110         *     {@link String }
111         *     
112         */
113        public String getCacheDirectory() {
114            return cacheDirectory;
115        }
116    
117        /**
118         * Sets the value of the cacheDirectory property.
119         * 
120         * @param value
121         *     allowed object is
122         *     {@link String }
123         *     
124         */
125        public void setCacheDirectory(String value) {
126            this.cacheDirectory = value;
127        }
128    
129    }