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