root/tools/routingservice/branches/wrs-2.0/src/util/template/Templates.java

Revision 298, 9.7 KB (checked in by anton, 19 months ago)

Parameter values overriding implemented, GPL headers added

Line 
1/*  WRS 2.0
2 *  Copyright (C) 2009 Anton Patrushev
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18//
19// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
20// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
21// Any modifications to this file will be lost upon recompilation of the source schema.
22// Generated on: 2009.03.31 at 03:35:29 PM JST
23//
24
25
26package util.template;
27
28import java.util.ArrayList;
29import java.util.List;
30import javax.xml.bind.annotation.XmlAccessType;
31import javax.xml.bind.annotation.XmlAccessorType;
32import javax.xml.bind.annotation.XmlAttribute;
33import javax.xml.bind.annotation.XmlElement;
34import javax.xml.bind.annotation.XmlRootElement;
35import javax.xml.bind.annotation.XmlType;
36
37import util.Sref;
38
39
40/**
41 * <p>Java class for anonymous complex type.
42 *
43 * <p>The following schema fragment specifies the expected content contained within this class.
44 *
45 * <pre>
46 * &lt;complexType>
47 *   &lt;complexContent>
48 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49 *       &lt;sequence>
50 *         &lt;element name="template" maxOccurs="unbounded">
51 *           &lt;complexType>
52 *             &lt;complexContent>
53 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
54 *                 &lt;sequence>
55 *                   &lt;element name="services">
56 *                     &lt;complexType>
57 *                       &lt;complexContent>
58 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
59 *                           &lt;sequence>
60 *                             &lt;element ref="{}sref" maxOccurs="unbounded"/>
61 *                           &lt;/sequence>
62 *                         &lt;/restriction>
63 *                       &lt;/complexContent>
64 *                     &lt;/complexType>
65 *                   &lt;/element>
66 *                 &lt;/sequence>
67 *                 &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
68 *                 &lt;attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
69 *                 &lt;attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
70 *               &lt;/restriction>
71 *             &lt;/complexContent>
72 *           &lt;/complexType>
73 *         &lt;/element>
74 *       &lt;/sequence>
75 *     &lt;/restriction>
76 *   &lt;/complexContent>
77 * &lt;/complexType>
78 * </pre>
79 *
80 *
81 */
82@XmlAccessorType(XmlAccessType.FIELD)
83@XmlType(name = "", propOrder = {
84    "template"
85})
86@XmlRootElement(name = "templates")
87public class Templates {
88
89    @XmlElement(required = true)
90    protected List<Templates.Template> template;
91
92    /**
93     * Gets the value of the template property.
94     *
95     * <p>
96     * This accessor method returns a reference to the live list,
97     * not a snapshot. Therefore any modification you make to the
98     * returned list will be present inside the JAXB object.
99     * This is why there is not a <CODE>set</CODE> method for the template property.
100     *
101     * <p>
102     * For example, to add a new item, do as follows:
103     * <pre>
104     *    getTemplate().add(newItem);
105     * </pre>
106     *
107     *
108     * <p>
109     * Objects of the following type(s) are allowed in the list
110     * {@link Templates.Template }
111     *
112     *
113     */
114    public List<Templates.Template> getTemplate() {
115        if (template == null) {
116            template = new ArrayList<Templates.Template>();
117        }
118        return this.template;
119    }
120
121
122    /**
123     * <p>Java class for anonymous complex type.
124     *
125     * <p>The following schema fragment specifies the expected content contained within this class.
126     *
127     * <pre>
128     * &lt;complexType>
129     *   &lt;complexContent>
130     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
131     *       &lt;sequence>
132     *         &lt;element name="services">
133     *           &lt;complexType>
134     *             &lt;complexContent>
135     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
136     *                 &lt;sequence>
137     *                   &lt;element ref="{}sref" maxOccurs="unbounded"/>
138     *                 &lt;/sequence>
139     *               &lt;/restriction>
140     *             &lt;/complexContent>
141     *           &lt;/complexType>
142     *         &lt;/element>
143     *       &lt;/sequence>
144     *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
145     *       &lt;attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
146     *       &lt;attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
147     *     &lt;/restriction>
148     *   &lt;/complexContent>
149     * &lt;/complexType>
150     * </pre>
151     *
152     *
153     */
154    @XmlAccessorType(XmlAccessType.FIELD)
155    @XmlType(name = "", propOrder = {
156        "services"
157    })
158    public static class Template {
159
160        @XmlElement(required = true)
161        protected Templates.Template.Services services;
162        @XmlAttribute
163        protected String name;
164        @XmlAttribute
165        protected String format;
166        @XmlAttribute
167        protected String url;
168
169        /**
170         * Gets the value of the services property.
171         *
172         * @return
173         *     possible object is
174         *     {@link Templates.Template.Services }
175         *     
176         */
177        public Templates.Template.Services getServices() {
178            return services;
179        }
180
181        /**
182         * Sets the value of the services property.
183         *
184         * @param value
185         *     allowed object is
186         *     {@link Templates.Template.Services }
187         *     
188         */
189        public void setServices(Templates.Template.Services value) {
190            this.services = value;
191        }
192
193        /**
194         * Gets the value of the name property.
195         *
196         * @return
197         *     possible object is
198         *     {@link String }
199         *     
200         */
201        public String getName() {
202            return name;
203        }
204
205        /**
206         * Sets the value of the name property.
207         *
208         * @param value
209         *     allowed object is
210         *     {@link String }
211         *     
212         */
213        public void setName(String value) {
214            this.name = value;
215        }
216
217        /**
218         * Gets the value of the format property.
219         *
220         * @return
221         *     possible object is
222         *     {@link String }
223         *     
224         */
225        public String getFormat() {
226            return format;
227        }
228
229        /**
230         * Sets the value of the format property.
231         *
232         * @param value
233         *     allowed object is
234         *     {@link String }
235         *     
236         */
237        public void setFormat(String value) {
238            this.format = value;
239        }
240
241        /**
242         * Gets the value of the url property.
243         *
244         * @return
245         *     possible object is
246         *     {@link String }
247         *     
248         */
249        public String getUrl() {
250            return url;
251        }
252
253        /**
254         * Sets the value of the url property.
255         *
256         * @param value
257         *     allowed object is
258         *     {@link String }
259         *     
260         */
261        public void setUrl(String value) {
262            this.url = value;
263        }
264
265
266        /**
267         * <p>Java class for anonymous complex type.
268         *
269         * <p>The following schema fragment specifies the expected content contained within this class.
270         *
271         * <pre>
272         * &lt;complexType>
273         *   &lt;complexContent>
274         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
275         *       &lt;sequence>
276         *         &lt;element ref="{}sref" maxOccurs="unbounded"/>
277         *       &lt;/sequence>
278         *     &lt;/restriction>
279         *   &lt;/complexContent>
280         * &lt;/complexType>
281         * </pre>
282         *
283         *
284         */
285        @XmlAccessorType(XmlAccessType.FIELD)
286        @XmlType(name = "", propOrder = {
287            "sref"
288        })
289        public static class Services {
290
291            @XmlElement(required = true)
292            protected List<Sref> sref;
293
294            /**
295             * Gets the value of the sref property.
296             *
297             * <p>
298             * This accessor method returns a reference to the live list,
299             * not a snapshot. Therefore any modification you make to the
300             * returned list will be present inside the JAXB object.
301             * This is why there is not a <CODE>set</CODE> method for the sref property.
302             *
303             * <p>
304             * For example, to add a new item, do as follows:
305             * <pre>
306             *    getSref().add(newItem);
307             * </pre>
308             *
309             *
310             * <p>
311             * Objects of the following type(s) are allowed in the list
312             * {@link Sref }
313             *
314             *
315             */
316            public List<Sref> getSref() {
317                if (sref == null) {
318                    sref = new ArrayList<Sref>();
319                }
320                return this.sref;
321            }
322
323        }
324
325    }
326
327}
Note: See TracBrowser for help on using the browser.