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 | |
---|
26 | package util.template; |
---|
27 | |
---|
28 | import java.util.ArrayList; |
---|
29 | import java.util.List; |
---|
30 | import javax.xml.bind.annotation.XmlAccessType; |
---|
31 | import javax.xml.bind.annotation.XmlAccessorType; |
---|
32 | import javax.xml.bind.annotation.XmlAttribute; |
---|
33 | import javax.xml.bind.annotation.XmlElement; |
---|
34 | import javax.xml.bind.annotation.XmlRootElement; |
---|
35 | import javax.xml.bind.annotation.XmlType; |
---|
36 | |
---|
37 | import 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 | * <complexType> |
---|
47 | * <complexContent> |
---|
48 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
49 | * <sequence> |
---|
50 | * <element name="template" maxOccurs="unbounded"> |
---|
51 | * <complexType> |
---|
52 | * <complexContent> |
---|
53 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
54 | * <sequence> |
---|
55 | * <element name="services"> |
---|
56 | * <complexType> |
---|
57 | * <complexContent> |
---|
58 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
59 | * <sequence> |
---|
60 | * <element ref="{}sref" maxOccurs="unbounded"/> |
---|
61 | * </sequence> |
---|
62 | * </restriction> |
---|
63 | * </complexContent> |
---|
64 | * </complexType> |
---|
65 | * </element> |
---|
66 | * </sequence> |
---|
67 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> |
---|
68 | * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> |
---|
69 | * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" /> |
---|
70 | * </restriction> |
---|
71 | * </complexContent> |
---|
72 | * </complexType> |
---|
73 | * </element> |
---|
74 | * </sequence> |
---|
75 | * </restriction> |
---|
76 | * </complexContent> |
---|
77 | * </complexType> |
---|
78 | * </pre> |
---|
79 | * |
---|
80 | * |
---|
81 | */ |
---|
82 | @XmlAccessorType(XmlAccessType.FIELD) |
---|
83 | @XmlType(name = "", propOrder = { |
---|
84 | "template" |
---|
85 | }) |
---|
86 | @XmlRootElement(name = "templates") |
---|
87 | public 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 | * <complexType> |
---|
129 | * <complexContent> |
---|
130 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
131 | * <sequence> |
---|
132 | * <element name="services"> |
---|
133 | * <complexType> |
---|
134 | * <complexContent> |
---|
135 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
136 | * <sequence> |
---|
137 | * <element ref="{}sref" maxOccurs="unbounded"/> |
---|
138 | * </sequence> |
---|
139 | * </restriction> |
---|
140 | * </complexContent> |
---|
141 | * </complexType> |
---|
142 | * </element> |
---|
143 | * </sequence> |
---|
144 | * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> |
---|
145 | * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> |
---|
146 | * <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" /> |
---|
147 | * </restriction> |
---|
148 | * </complexContent> |
---|
149 | * </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 | * <complexType> |
---|
273 | * <complexContent> |
---|
274 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
---|
275 | * <sequence> |
---|
276 | * <element ref="{}sref" maxOccurs="unbounded"/> |
---|
277 | * </sequence> |
---|
278 | * </restriction> |
---|
279 | * </complexContent> |
---|
280 | * </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 | } |
---|