Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Holidays |
|
| 2.0;2 |
1 | // | |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 | |
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
4 | // Any modifications to this file will be lost upon recompilation of the source schema. | |
5 | // Generated on: 2015.04.14 at 06:59:39 PM CEST | |
6 | // | |
7 | ||
8 | ||
9 | package de.jollyday.config; | |
10 | ||
11 | import java.util.ArrayList; | |
12 | import java.util.List; | |
13 | import javax.xml.bind.annotation.XmlAccessType; | |
14 | import javax.xml.bind.annotation.XmlAccessorType; | |
15 | import javax.xml.bind.annotation.XmlElement; | |
16 | import javax.xml.bind.annotation.XmlType; | |
17 | ||
18 | ||
19 | /** | |
20 | * <p>Java class for Holidays complex type. | |
21 | * | |
22 | * <p>The following schema fragment specifies the expected content contained within this class. | |
23 | * | |
24 | * <pre> | |
25 | * <complexType name="Holidays"> | |
26 | * <complexContent> | |
27 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
28 | * <sequence> | |
29 | * <element name="Fixed" type="{http://www.example.org/Holiday}Fixed" maxOccurs="unbounded" minOccurs="0"/> | |
30 | * <element name="RelativeToFixed" type="{http://www.example.org/Holiday}RelativeToFixed" maxOccurs="unbounded" minOccurs="0"/> | |
31 | * <element name="RelativeToWeekdayInMonth" type="{http://www.example.org/Holiday}RelativeToWeekdayInMonth" maxOccurs="unbounded" minOccurs="0"/> | |
32 | * <element name="FixedWeekday" type="{http://www.example.org/Holiday}FixedWeekdayInMonth" maxOccurs="unbounded" minOccurs="0"/> | |
33 | * <element name="ChristianHoliday" type="{http://www.example.org/Holiday}ChristianHoliday" maxOccurs="unbounded" minOccurs="0"/> | |
34 | * <element name="IslamicHoliday" type="{http://www.example.org/Holiday}IslamicHoliday" maxOccurs="unbounded" minOccurs="0"/> | |
35 | * <element name="FixedWeekdayBetweenFixed" type="{http://www.example.org/Holiday}FixedWeekdayBetweenFixed" maxOccurs="unbounded" minOccurs="0"/> | |
36 | * <element name="FixedWeekdayRelativeToFixed" type="{http://www.example.org/Holiday}FixedWeekdayRelativeToFixed" maxOccurs="unbounded" minOccurs="0"/> | |
37 | * <element name="HinduHoliday" type="{http://www.example.org/Holiday}HinduHoliday" maxOccurs="unbounded" minOccurs="0"/> | |
38 | * <element name="HebrewHoliday" type="{http://www.example.org/Holiday}HebrewHoliday" maxOccurs="unbounded" minOccurs="0"/> | |
39 | * <element name="EthiopianOrthodoxHoliday" type="{http://www.example.org/Holiday}EthiopianOrthodoxHoliday" maxOccurs="unbounded" minOccurs="0"/> | |
40 | * <element name="RelativeToEasterSunday" type="{http://www.example.org/Holiday}RelativeToEasterSunday" maxOccurs="unbounded" minOccurs="0"/> | |
41 | * </sequence> | |
42 | * </restriction> | |
43 | * </complexContent> | |
44 | * </complexType> | |
45 | * </pre> | |
46 | * | |
47 | * | |
48 | */ | |
49 | @XmlAccessorType(XmlAccessType.FIELD) | |
50 | @XmlType(name = "Holidays", propOrder = { | |
51 | "fixed", | |
52 | "relativeToFixed", | |
53 | "relativeToWeekdayInMonth", | |
54 | "fixedWeekday", | |
55 | "christianHoliday", | |
56 | "islamicHoliday", | |
57 | "fixedWeekdayBetweenFixed", | |
58 | "fixedWeekdayRelativeToFixed", | |
59 | "hinduHoliday", | |
60 | "hebrewHoliday", | |
61 | "ethiopianOrthodoxHoliday", | |
62 | "relativeToEasterSunday" | |
63 | }) | |
64 | 716 | public class Holidays { |
65 | ||
66 | @XmlElement(name = "Fixed") | |
67 | protected List<Fixed> fixed; | |
68 | @XmlElement(name = "RelativeToFixed") | |
69 | protected List<RelativeToFixed> relativeToFixed; | |
70 | @XmlElement(name = "RelativeToWeekdayInMonth") | |
71 | protected List<RelativeToWeekdayInMonth> relativeToWeekdayInMonth; | |
72 | @XmlElement(name = "FixedWeekday") | |
73 | protected List<FixedWeekdayInMonth> fixedWeekday; | |
74 | @XmlElement(name = "ChristianHoliday") | |
75 | protected List<ChristianHoliday> christianHoliday; | |
76 | @XmlElement(name = "IslamicHoliday") | |
77 | protected List<IslamicHoliday> islamicHoliday; | |
78 | @XmlElement(name = "FixedWeekdayBetweenFixed") | |
79 | protected List<FixedWeekdayBetweenFixed> fixedWeekdayBetweenFixed; | |
80 | @XmlElement(name = "FixedWeekdayRelativeToFixed") | |
81 | protected List<FixedWeekdayRelativeToFixed> fixedWeekdayRelativeToFixed; | |
82 | @XmlElement(name = "HinduHoliday") | |
83 | protected List<HinduHoliday> hinduHoliday; | |
84 | @XmlElement(name = "HebrewHoliday") | |
85 | protected List<HebrewHoliday> hebrewHoliday; | |
86 | @XmlElement(name = "EthiopianOrthodoxHoliday") | |
87 | protected List<EthiopianOrthodoxHoliday> ethiopianOrthodoxHoliday; | |
88 | @XmlElement(name = "RelativeToEasterSunday") | |
89 | protected List<RelativeToEasterSunday> relativeToEasterSunday; | |
90 | ||
91 | /** | |
92 | * Gets the value of the fixed property. | |
93 | * | |
94 | * <p> | |
95 | * This accessor method returns a reference to the live list, | |
96 | * not a snapshot. Therefore any modification you make to the | |
97 | * returned list will be present inside the JAXB object. | |
98 | * This is why there is not a <CODE>set</CODE> method for the fixed property. | |
99 | * | |
100 | * <p> | |
101 | * For example, to add a new item, do as follows: | |
102 | * <pre> | |
103 | * getFixed().add(newItem); | |
104 | * </pre> | |
105 | * | |
106 | * | |
107 | * <p> | |
108 | * Objects of the following type(s) are allowed in the list | |
109 | * {@link Fixed } | |
110 | * | |
111 | * | |
112 | */ | |
113 | public List<Fixed> getFixed() { | |
114 | 978 | if (fixed == null) { |
115 | 16 | fixed = new ArrayList<Fixed>(); |
116 | } | |
117 | 978 | return this.fixed; |
118 | } | |
119 | ||
120 | /** | |
121 | * Gets the value of the relativeToFixed property. | |
122 | * | |
123 | * <p> | |
124 | * This accessor method returns a reference to the live list, | |
125 | * not a snapshot. Therefore any modification you make to the | |
126 | * returned list will be present inside the JAXB object. | |
127 | * This is why there is not a <CODE>set</CODE> method for the relativeToFixed property. | |
128 | * | |
129 | * <p> | |
130 | * For example, to add a new item, do as follows: | |
131 | * <pre> | |
132 | * getRelativeToFixed().add(newItem); | |
133 | * </pre> | |
134 | * | |
135 | * | |
136 | * <p> | |
137 | * Objects of the following type(s) are allowed in the list | |
138 | * {@link RelativeToFixed } | |
139 | * | |
140 | * | |
141 | */ | |
142 | public List<RelativeToFixed> getRelativeToFixed() { | |
143 | 500 | if (relativeToFixed == null) { |
144 | 239 | relativeToFixed = new ArrayList<RelativeToFixed>(); |
145 | } | |
146 | 500 | return this.relativeToFixed; |
147 | } | |
148 | ||
149 | /** | |
150 | * Gets the value of the relativeToWeekdayInMonth property. | |
151 | * | |
152 | * <p> | |
153 | * This accessor method returns a reference to the live list, | |
154 | * not a snapshot. Therefore any modification you make to the | |
155 | * returned list will be present inside the JAXB object. | |
156 | * This is why there is not a <CODE>set</CODE> method for the relativeToWeekdayInMonth property. | |
157 | * | |
158 | * <p> | |
159 | * For example, to add a new item, do as follows: | |
160 | * <pre> | |
161 | * getRelativeToWeekdayInMonth().add(newItem); | |
162 | * </pre> | |
163 | * | |
164 | * | |
165 | * <p> | |
166 | * Objects of the following type(s) are allowed in the list | |
167 | * {@link RelativeToWeekdayInMonth } | |
168 | * | |
169 | * | |
170 | */ | |
171 | public List<RelativeToWeekdayInMonth> getRelativeToWeekdayInMonth() { | |
172 | 506 | if (relativeToWeekdayInMonth == null) { |
173 | 231 | relativeToWeekdayInMonth = new ArrayList<RelativeToWeekdayInMonth>(); |
174 | } | |
175 | 506 | return this.relativeToWeekdayInMonth; |
176 | } | |
177 | ||
178 | /** | |
179 | * Gets the value of the fixedWeekday property. | |
180 | * | |
181 | * <p> | |
182 | * This accessor method returns a reference to the live list, | |
183 | * not a snapshot. Therefore any modification you make to the | |
184 | * returned list will be present inside the JAXB object. | |
185 | * This is why there is not a <CODE>set</CODE> method for the fixedWeekday property. | |
186 | * | |
187 | * <p> | |
188 | * For example, to add a new item, do as follows: | |
189 | * <pre> | |
190 | * getFixedWeekday().add(newItem); | |
191 | * </pre> | |
192 | * | |
193 | * | |
194 | * <p> | |
195 | * Objects of the following type(s) are allowed in the list | |
196 | * {@link FixedWeekdayInMonth } | |
197 | * | |
198 | * | |
199 | */ | |
200 | public List<FixedWeekdayInMonth> getFixedWeekday() { | |
201 | 628 | if (fixedWeekday == null) { |
202 | 179 | fixedWeekday = new ArrayList<FixedWeekdayInMonth>(); |
203 | } | |
204 | 628 | return this.fixedWeekday; |
205 | } | |
206 | ||
207 | /** | |
208 | * Gets the value of the christianHoliday property. | |
209 | * | |
210 | * <p> | |
211 | * This accessor method returns a reference to the live list, | |
212 | * not a snapshot. Therefore any modification you make to the | |
213 | * returned list will be present inside the JAXB object. | |
214 | * This is why there is not a <CODE>set</CODE> method for the christianHoliday property. | |
215 | * | |
216 | * <p> | |
217 | * For example, to add a new item, do as follows: | |
218 | * <pre> | |
219 | * getChristianHoliday().add(newItem); | |
220 | * </pre> | |
221 | * | |
222 | * | |
223 | * <p> | |
224 | * Objects of the following type(s) are allowed in the list | |
225 | * {@link ChristianHoliday } | |
226 | * | |
227 | * | |
228 | */ | |
229 | public List<ChristianHoliday> getChristianHoliday() { | |
230 | 627 | if (christianHoliday == null) { |
231 | 182 | christianHoliday = new ArrayList<ChristianHoliday>(); |
232 | } | |
233 | 627 | return this.christianHoliday; |
234 | } | |
235 | ||
236 | /** | |
237 | * Gets the value of the islamicHoliday property. | |
238 | * | |
239 | * <p> | |
240 | * This accessor method returns a reference to the live list, | |
241 | * not a snapshot. Therefore any modification you make to the | |
242 | * returned list will be present inside the JAXB object. | |
243 | * This is why there is not a <CODE>set</CODE> method for the islamicHoliday property. | |
244 | * | |
245 | * <p> | |
246 | * For example, to add a new item, do as follows: | |
247 | * <pre> | |
248 | * getIslamicHoliday().add(newItem); | |
249 | * </pre> | |
250 | * | |
251 | * | |
252 | * <p> | |
253 | * Objects of the following type(s) are allowed in the list | |
254 | * {@link IslamicHoliday } | |
255 | * | |
256 | * | |
257 | */ | |
258 | public List<IslamicHoliday> getIslamicHoliday() { | |
259 | 489 | if (islamicHoliday == null) { |
260 | 233 | islamicHoliday = new ArrayList<IslamicHoliday>(); |
261 | } | |
262 | 489 | return this.islamicHoliday; |
263 | } | |
264 | ||
265 | /** | |
266 | * Gets the value of the fixedWeekdayBetweenFixed property. | |
267 | * | |
268 | * <p> | |
269 | * This accessor method returns a reference to the live list, | |
270 | * not a snapshot. Therefore any modification you make to the | |
271 | * returned list will be present inside the JAXB object. | |
272 | * This is why there is not a <CODE>set</CODE> method for the fixedWeekdayBetweenFixed property. | |
273 | * | |
274 | * <p> | |
275 | * For example, to add a new item, do as follows: | |
276 | * <pre> | |
277 | * getFixedWeekdayBetweenFixed().add(newItem); | |
278 | * </pre> | |
279 | * | |
280 | * | |
281 | * <p> | |
282 | * Objects of the following type(s) are allowed in the list | |
283 | * {@link FixedWeekdayBetweenFixed } | |
284 | * | |
285 | * | |
286 | */ | |
287 | public List<FixedWeekdayBetweenFixed> getFixedWeekdayBetweenFixed() { | |
288 | 492 | if (fixedWeekdayBetweenFixed == null) { |
289 | 238 | fixedWeekdayBetweenFixed = new ArrayList<FixedWeekdayBetweenFixed>(); |
290 | } | |
291 | 492 | return this.fixedWeekdayBetweenFixed; |
292 | } | |
293 | ||
294 | /** | |
295 | * Gets the value of the fixedWeekdayRelativeToFixed 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 fixedWeekdayRelativeToFixed property. | |
302 | * | |
303 | * <p> | |
304 | * For example, to add a new item, do as follows: | |
305 | * <pre> | |
306 | * getFixedWeekdayRelativeToFixed().add(newItem); | |
307 | * </pre> | |
308 | * | |
309 | * | |
310 | * <p> | |
311 | * Objects of the following type(s) are allowed in the list | |
312 | * {@link FixedWeekdayRelativeToFixed } | |
313 | * | |
314 | * | |
315 | */ | |
316 | public List<FixedWeekdayRelativeToFixed> getFixedWeekdayRelativeToFixed() { | |
317 | 497 | if (fixedWeekdayRelativeToFixed == null) { |
318 | 242 | fixedWeekdayRelativeToFixed = new ArrayList<FixedWeekdayRelativeToFixed>(); |
319 | } | |
320 | 497 | return this.fixedWeekdayRelativeToFixed; |
321 | } | |
322 | ||
323 | /** | |
324 | * Gets the value of the hinduHoliday property. | |
325 | * | |
326 | * <p> | |
327 | * This accessor method returns a reference to the live list, | |
328 | * not a snapshot. Therefore any modification you make to the | |
329 | * returned list will be present inside the JAXB object. | |
330 | * This is why there is not a <CODE>set</CODE> method for the hinduHoliday property. | |
331 | * | |
332 | * <p> | |
333 | * For example, to add a new item, do as follows: | |
334 | * <pre> | |
335 | * getHinduHoliday().add(newItem); | |
336 | * </pre> | |
337 | * | |
338 | * | |
339 | * <p> | |
340 | * Objects of the following type(s) are allowed in the list | |
341 | * {@link HinduHoliday } | |
342 | * | |
343 | * | |
344 | */ | |
345 | public List<HinduHoliday> getHinduHoliday() { | |
346 | 485 | if (hinduHoliday == null) { |
347 | 237 | hinduHoliday = new ArrayList<HinduHoliday>(); |
348 | } | |
349 | 485 | return this.hinduHoliday; |
350 | } | |
351 | ||
352 | /** | |
353 | * Gets the value of the hebrewHoliday property. | |
354 | * | |
355 | * <p> | |
356 | * This accessor method returns a reference to the live list, | |
357 | * not a snapshot. Therefore any modification you make to the | |
358 | * returned list will be present inside the JAXB object. | |
359 | * This is why there is not a <CODE>set</CODE> method for the hebrewHoliday property. | |
360 | * | |
361 | * <p> | |
362 | * For example, to add a new item, do as follows: | |
363 | * <pre> | |
364 | * getHebrewHoliday().add(newItem); | |
365 | * </pre> | |
366 | * | |
367 | * | |
368 | * <p> | |
369 | * Objects of the following type(s) are allowed in the list | |
370 | * {@link HebrewHoliday } | |
371 | * | |
372 | * | |
373 | */ | |
374 | public List<HebrewHoliday> getHebrewHoliday() { | |
375 | 485 | if (hebrewHoliday == null) { |
376 | 237 | hebrewHoliday = new ArrayList<HebrewHoliday>(); |
377 | } | |
378 | 485 | return this.hebrewHoliday; |
379 | } | |
380 | ||
381 | /** | |
382 | * Gets the value of the ethiopianOrthodoxHoliday property. | |
383 | * | |
384 | * <p> | |
385 | * This accessor method returns a reference to the live list, | |
386 | * not a snapshot. Therefore any modification you make to the | |
387 | * returned list will be present inside the JAXB object. | |
388 | * This is why there is not a <CODE>set</CODE> method for the ethiopianOrthodoxHoliday property. | |
389 | * | |
390 | * <p> | |
391 | * For example, to add a new item, do as follows: | |
392 | * <pre> | |
393 | * getEthiopianOrthodoxHoliday().add(newItem); | |
394 | * </pre> | |
395 | * | |
396 | * | |
397 | * <p> | |
398 | * Objects of the following type(s) are allowed in the list | |
399 | * {@link EthiopianOrthodoxHoliday } | |
400 | * | |
401 | * | |
402 | */ | |
403 | public List<EthiopianOrthodoxHoliday> getEthiopianOrthodoxHoliday() { | |
404 | 490 | if (ethiopianOrthodoxHoliday == null) { |
405 | 239 | ethiopianOrthodoxHoliday = new ArrayList<EthiopianOrthodoxHoliday>(); |
406 | } | |
407 | 490 | return this.ethiopianOrthodoxHoliday; |
408 | } | |
409 | ||
410 | /** | |
411 | * Gets the value of the relativeToEasterSunday property. | |
412 | * | |
413 | * <p> | |
414 | * This accessor method returns a reference to the live list, | |
415 | * not a snapshot. Therefore any modification you make to the | |
416 | * returned list will be present inside the JAXB object. | |
417 | * This is why there is not a <CODE>set</CODE> method for the relativeToEasterSunday property. | |
418 | * | |
419 | * <p> | |
420 | * For example, to add a new item, do as follows: | |
421 | * <pre> | |
422 | * getRelativeToEasterSunday().add(newItem); | |
423 | * </pre> | |
424 | * | |
425 | * | |
426 | * <p> | |
427 | * Objects of the following type(s) are allowed in the list | |
428 | * {@link RelativeToEasterSunday } | |
429 | * | |
430 | * | |
431 | */ | |
432 | public List<RelativeToEasterSunday> getRelativeToEasterSunday() { | |
433 | 491 | if (relativeToEasterSunday == null) { |
434 | 240 | relativeToEasterSunday = new ArrayList<RelativeToEasterSunday>(); |
435 | } | |
436 | 491 | return this.relativeToEasterSunday; |
437 | } | |
438 | ||
439 | } |