root/tools/routingservice/branches/wrs-2.0/src/util/service/Services.java

Revision 298, 17.8 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.04.15 at 11:15:28 AM JST
23//
24
25
26package util.service;
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.Parameter;
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="service" 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="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
56 *                   &lt;element name="templates">
57 *                     &lt;complexType>
58 *                       &lt;complexContent>
59 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
60 *                           &lt;sequence>
61 *                             &lt;element ref="{}template" maxOccurs="unbounded"/>
62 *                           &lt;/sequence>
63 *                         &lt;/restriction>
64 *                       &lt;/complexContent>
65 *                     &lt;/complexType>
66 *                   &lt;/element>
67 *                   &lt;element name="in">
68 *                     &lt;complexType>
69 *                       &lt;complexContent>
70 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
71 *                           &lt;sequence>
72 *                             &lt;element ref="{}parameter" maxOccurs="unbounded"/>
73 *                           &lt;/sequence>
74 *                         &lt;/restriction>
75 *                       &lt;/complexContent>
76 *                     &lt;/complexType>
77 *                   &lt;/element>
78 *                   &lt;element name="out">
79 *                     &lt;complexType>
80 *                       &lt;complexContent>
81 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
82 *                           &lt;sequence>
83 *                             &lt;element ref="{}parameter" maxOccurs="unbounded"/>
84 *                           &lt;/sequence>
85 *                         &lt;/restriction>
86 *                       &lt;/complexContent>
87 *                     &lt;/complexType>
88 *                   &lt;/element>
89 *                 &lt;/sequence>
90 *                 &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
91 *                 &lt;attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
92 *                 &lt;attribute name="enable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
93 *               &lt;/restriction>
94 *             &lt;/complexContent>
95 *           &lt;/complexType>
96 *         &lt;/element>
97 *       &lt;/sequence>
98 *     &lt;/restriction>
99 *   &lt;/complexContent>
100 * &lt;/complexType>
101 * </pre>
102 *
103 *
104 */
105@XmlAccessorType(XmlAccessType.FIELD)
106@XmlType(name = "", propOrder = {
107    "service"
108})
109@XmlRootElement(name = "services")
110public class Services {
111
112    @XmlElement(required = true)
113    protected List<Services.Service> service;
114
115    /**
116     * Gets the value of the service property.
117     *
118     * <p>
119     * This accessor method returns a reference to the live list,
120     * not a snapshot. Therefore any modification you make to the
121     * returned list will be present inside the JAXB object.
122     * This is why there is not a <CODE>set</CODE> method for the service property.
123     *
124     * <p>
125     * For example, to add a new item, do as follows:
126     * <pre>
127     *    getService().add(newItem);
128     * </pre>
129     *
130     *
131     * <p>
132     * Objects of the following type(s) are allowed in the list
133     * {@link Services.Service }
134     *
135     *
136     */
137    public List<Services.Service> getService() {
138        if (service == null) {
139            service = new ArrayList<Services.Service>();
140        }
141        return this.service;
142    }
143
144
145    /**
146     * <p>Java class for anonymous complex type.
147     *
148     * <p>The following schema fragment specifies the expected content contained within this class.
149     *
150     * <pre>
151     * &lt;complexType>
152     *   &lt;complexContent>
153     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
154     *       &lt;sequence>
155     *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
156     *         &lt;element name="templates">
157     *           &lt;complexType>
158     *             &lt;complexContent>
159     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
160     *                 &lt;sequence>
161     *                   &lt;element ref="{}template" maxOccurs="unbounded"/>
162     *                 &lt;/sequence>
163     *               &lt;/restriction>
164     *             &lt;/complexContent>
165     *           &lt;/complexType>
166     *         &lt;/element>
167     *         &lt;element name="in">
168     *           &lt;complexType>
169     *             &lt;complexContent>
170     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
171     *                 &lt;sequence>
172     *                   &lt;element ref="{}parameter" maxOccurs="unbounded"/>
173     *                 &lt;/sequence>
174     *               &lt;/restriction>
175     *             &lt;/complexContent>
176     *           &lt;/complexType>
177     *         &lt;/element>
178     *         &lt;element name="out">
179     *           &lt;complexType>
180     *             &lt;complexContent>
181     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
182     *                 &lt;sequence>
183     *                   &lt;element ref="{}parameter" maxOccurs="unbounded"/>
184     *                 &lt;/sequence>
185     *               &lt;/restriction>
186     *             &lt;/complexContent>
187     *           &lt;/complexType>
188     *         &lt;/element>
189     *       &lt;/sequence>
190     *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
191     *       &lt;attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
192     *       &lt;attribute name="enable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
193     *     &lt;/restriction>
194     *   &lt;/complexContent>
195     * &lt;/complexType>
196     * </pre>
197     *
198     *
199     */
200    @XmlAccessorType(XmlAccessType.FIELD)
201    @XmlType(name = "", propOrder = {
202        "description",
203        "templates",
204        "in",
205        "out"
206    })
207    public static class Service {
208
209        @XmlElement(required = true)
210        protected String description;
211        @XmlElement(required = true)
212        protected Services.Service.Templates templates;
213        @XmlElement(required = true)
214        protected Services.Service.In in;
215        @XmlElement(required = true)
216        protected Services.Service.Out out;
217        @XmlAttribute
218        protected String name;
219        @XmlAttribute
220        protected String title;
221        @XmlAttribute
222        protected Boolean enable;
223
224        /**
225         * Gets the value of the description property.
226         *
227         * @return
228         *     possible object is
229         *     {@link String }
230         *     
231         */
232        public String getDescription() {
233            return description;
234        }
235
236        /**
237         * Sets the value of the description property.
238         *
239         * @param value
240         *     allowed object is
241         *     {@link String }
242         *     
243         */
244        public void setDescription(String value) {
245            this.description = value;
246        }
247
248        /**
249         * Gets the value of the templates property.
250         *
251         * @return
252         *     possible object is
253         *     {@link Services.Service.Templates }
254         *     
255         */
256        public Services.Service.Templates getTemplates() {
257            return templates;
258        }
259
260        /**
261         * Sets the value of the templates property.
262         *
263         * @param value
264         *     allowed object is
265         *     {@link Services.Service.Templates }
266         *     
267         */
268        public void setTemplates(Services.Service.Templates value) {
269            this.templates = value;
270        }
271
272        /**
273         * Gets the value of the in property.
274         *
275         * @return
276         *     possible object is
277         *     {@link Services.Service.In }
278         *     
279         */
280        public Services.Service.In getIn() {
281            return in;
282        }
283
284        /**
285         * Sets the value of the in property.
286         *
287         * @param value
288         *     allowed object is
289         *     {@link Services.Service.In }
290         *     
291         */
292        public void setIn(Services.Service.In value) {
293            this.in = value;
294        }
295
296        /**
297         * Gets the value of the out property.
298         *
299         * @return
300         *     possible object is
301         *     {@link Services.Service.Out }
302         *     
303         */
304        public Services.Service.Out getOut() {
305            return out;
306        }
307
308        /**
309         * Sets the value of the out property.
310         *
311         * @param value
312         *     allowed object is
313         *     {@link Services.Service.Out }
314         *     
315         */
316        public void setOut(Services.Service.Out value) {
317            this.out = value;
318        }
319
320        /**
321         * Gets the value of the name property.
322         *
323         * @return
324         *     possible object is
325         *     {@link String }
326         *     
327         */
328        public String getName() {
329            return name;
330        }
331
332        /**
333         * Sets the value of the name property.
334         *
335         * @param value
336         *     allowed object is
337         *     {@link String }
338         *     
339         */
340        public void setName(String value) {
341            this.name = value;
342        }
343
344        /**
345         * Gets the value of the title property.
346         *
347         * @return
348         *     possible object is
349         *     {@link String }
350         *     
351         */
352        public String getTitle() {
353            return title;
354        }
355
356        /**
357         * Sets the value of the title property.
358         *
359         * @param value
360         *     allowed object is
361         *     {@link String }
362         *     
363         */
364        public void setTitle(String value) {
365            this.title = value;
366        }
367
368        /**
369         * Gets the value of the enable property.
370         *
371         * @return
372         *     possible object is
373         *     {@link Boolean }
374         *     
375         */
376        public Boolean isEnable() {
377            return enable;
378        }
379
380        /**
381         * Sets the value of the enable property.
382         *
383         * @param value
384         *     allowed object is
385         *     {@link Boolean }
386         *     
387         */
388        public void setEnable(Boolean value) {
389            this.enable = value;
390        }
391
392
393        /**
394         * <p>Java class for anonymous complex type.
395         *
396         * <p>The following schema fragment specifies the expected content contained within this class.
397         *
398         * <pre>
399         * &lt;complexType>
400         *   &lt;complexContent>
401         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
402         *       &lt;sequence>
403         *         &lt;element ref="{}parameter" maxOccurs="unbounded"/>
404         *       &lt;/sequence>
405         *     &lt;/restriction>
406         *   &lt;/complexContent>
407         * &lt;/complexType>
408         * </pre>
409         *
410         *
411         */
412        @XmlAccessorType(XmlAccessType.FIELD)
413        @XmlType(name = "", propOrder = {
414            "parameter"
415        })
416        public static class In {
417
418            @XmlElement(required = true)
419            protected List<Parameter> parameter;
420
421            /**
422             * Gets the value of the parameter property.
423             *
424             * <p>
425             * This accessor method returns a reference to the live list,
426             * not a snapshot. Therefore any modification you make to the
427             * returned list will be present inside the JAXB object.
428             * This is why there is not a <CODE>set</CODE> method for the parameter property.
429             *
430             * <p>
431             * For example, to add a new item, do as follows:
432             * <pre>
433             *    getParameter().add(newItem);
434             * </pre>
435             *
436             *
437             * <p>
438             * Objects of the following type(s) are allowed in the list
439             * {@link Parameter }
440             *
441             *
442             */
443            public List<Parameter> getParameter() {
444                if (parameter == null) {
445                    parameter = new ArrayList<Parameter>();
446                }
447                return this.parameter;
448            }
449
450        }
451
452
453        /**
454         * <p>Java class for anonymous complex type.
455         *
456         * <p>The following schema fragment specifies the expected content contained within this class.
457         *
458         * <pre>
459         * &lt;complexType>
460         *   &lt;complexContent>
461         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
462         *       &lt;sequence>
463         *         &lt;element ref="{}parameter" maxOccurs="unbounded"/>
464         *       &lt;/sequence>
465         *     &lt;/restriction>
466         *   &lt;/complexContent>
467         * &lt;/complexType>
468         * </pre>
469         *
470         *
471         */
472        @XmlAccessorType(XmlAccessType.FIELD)
473        @XmlType(name = "", propOrder = {
474            "parameter"
475        })
476        public static class Out {
477
478            @XmlElement(required = true)
479            protected List<Parameter> parameter;
480
481            /**
482             * Gets the value of the parameter property.
483             *
484             * <p>
485             * This accessor method returns a reference to the live list,
486             * not a snapshot. Therefore any modification you make to the
487             * returned list will be present inside the JAXB object.
488             * This is why there is not a <CODE>set</CODE> method for the parameter property.
489             *
490             * <p>
491             * For example, to add a new item, do as follows:
492             * <pre>
493             *    getParameter().add(newItem);
494             * </pre>
495             *
496             *
497             * <p>
498             * Objects of the following type(s) are allowed in the list
499             * {@link Parameter }
500             *
501             *
502             */
503            public List<Parameter> getParameter() {
504                if (parameter == null) {
505                    parameter = new ArrayList<Parameter>();
506                }
507                return this.parameter;
508            }
509
510        }
511
512
513        /**
514         * <p>Java class for anonymous complex type.
515         *
516         * <p>The following schema fragment specifies the expected content contained within this class.
517         *
518         * <pre>
519         * &lt;complexType>
520         *   &lt;complexContent>
521         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
522         *       &lt;sequence>
523         *         &lt;element ref="{}template" maxOccurs="unbounded"/>
524         *       &lt;/sequence>
525         *     &lt;/restriction>
526         *   &lt;/complexContent>
527         * &lt;/complexType>
528         * </pre>
529         *
530         *
531         */
532        @XmlAccessorType(XmlAccessType.FIELD)
533        @XmlType(name = "", propOrder = {
534            "template"
535        })
536        public static class Templates {
537
538            @XmlElement(required = true)
539            protected List<Template> template;
540
541            /**
542             * Gets the value of the template property.
543             *
544             * <p>
545             * This accessor method returns a reference to the live list,
546             * not a snapshot. Therefore any modification you make to the
547             * returned list will be present inside the JAXB object.
548             * This is why there is not a <CODE>set</CODE> method for the template property.
549             *
550             * <p>
551             * For example, to add a new item, do as follows:
552             * <pre>
553             *    getTemplate().add(newItem);
554             * </pre>
555             *
556             *
557             * <p>
558             * Objects of the following type(s) are allowed in the list
559             * {@link Template }
560             *
561             *
562             */
563            public List<Template> getTemplate() {
564                if (template == null) {
565                    template = new ArrayList<Template>();
566                }
567                return this.template;
568            }
569
570        }
571
572    }
573
574}
Note: See TracBrowser for help on using the browser.