Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Profile |
|
| 1.2;1,2 | ||||
Profile$Dependencies |
|
| 1.2;1,2 | ||||
Profile$Modules |
|
| 1.2;1,2 | ||||
Profile$PluginRepositories |
|
| 1.2;1,2 | ||||
Profile$Properties |
|
| 1.2;1,2 | ||||
Profile$Reports |
|
| 1.2;1,2 | ||||
Profile$Repositories |
|
| 1.2;1,2 |
1 | // | |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 | |
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: 2017.05.11 at 06:51:22 PM CEST | |
6 | // | |
7 | ||
8 | ||
9 | package fr.paris.lutece.plugins.releaser.business.jaxb.maven; | |
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.XmlAnyElement; | |
16 | import javax.xml.bind.annotation.XmlType; | |
17 | import org.w3c.dom.Element; | |
18 | ||
19 | ||
20 | /** | |
21 | * | |
22 | * Modifications to the build process which is activated based on environmental parameters or command line arguments. | |
23 | * | |
24 | * | |
25 | * <p>Java class for Profile complex type. | |
26 | * | |
27 | * <p>The following schema fragment specifies the expected content contained within this class. | |
28 | * | |
29 | * <pre> | |
30 | * <complexType name="Profile"> | |
31 | * <complexContent> | |
32 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
33 | * <all> | |
34 | * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> | |
35 | * <element name="activation" type="{http://maven.apache.org/POM/4.0.0}Activation" minOccurs="0"/> | |
36 | * <element name="build" type="{http://maven.apache.org/POM/4.0.0}BuildBase" minOccurs="0"/> | |
37 | * <element name="modules" minOccurs="0"> | |
38 | * <complexType> | |
39 | * <complexContent> | |
40 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
41 | * <sequence> | |
42 | * <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> | |
43 | * </sequence> | |
44 | * </restriction> | |
45 | * </complexContent> | |
46 | * </complexType> | |
47 | * </element> | |
48 | * <element name="repositories" minOccurs="0"> | |
49 | * <complexType> | |
50 | * <complexContent> | |
51 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
52 | * <sequence> | |
53 | * <element name="repository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/> | |
54 | * </sequence> | |
55 | * </restriction> | |
56 | * </complexContent> | |
57 | * </complexType> | |
58 | * </element> | |
59 | * <element name="pluginRepositories" minOccurs="0"> | |
60 | * <complexType> | |
61 | * <complexContent> | |
62 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
63 | * <sequence> | |
64 | * <element name="pluginRepository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/> | |
65 | * </sequence> | |
66 | * </restriction> | |
67 | * </complexContent> | |
68 | * </complexType> | |
69 | * </element> | |
70 | * <element name="dependencies" minOccurs="0"> | |
71 | * <complexType> | |
72 | * <complexContent> | |
73 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
74 | * <sequence> | |
75 | * <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/> | |
76 | * </sequence> | |
77 | * </restriction> | |
78 | * </complexContent> | |
79 | * </complexType> | |
80 | * </element> | |
81 | * <element name="reports" minOccurs="0"> | |
82 | * <complexType> | |
83 | * <complexContent> | |
84 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
85 | * <sequence> | |
86 | * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> | |
87 | * </sequence> | |
88 | * </restriction> | |
89 | * </complexContent> | |
90 | * </complexType> | |
91 | * </element> | |
92 | * <element name="reporting" type="{http://maven.apache.org/POM/4.0.0}Reporting" minOccurs="0"/> | |
93 | * <element name="dependencyManagement" type="{http://maven.apache.org/POM/4.0.0}DependencyManagement" minOccurs="0"/> | |
94 | * <element name="distributionManagement" type="{http://maven.apache.org/POM/4.0.0}DistributionManagement" minOccurs="0"/> | |
95 | * <element name="properties" minOccurs="0"> | |
96 | * <complexType> | |
97 | * <complexContent> | |
98 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
99 | * <sequence> | |
100 | * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> | |
101 | * </sequence> | |
102 | * </restriction> | |
103 | * </complexContent> | |
104 | * </complexType> | |
105 | * </element> | |
106 | * </all> | |
107 | * </restriction> | |
108 | * </complexContent> | |
109 | * </complexType> | |
110 | * </pre> | |
111 | * | |
112 | * | |
113 | */ | |
114 | @XmlAccessorType(XmlAccessType.FIELD) | |
115 | @XmlType(name = "Profile", propOrder = { | |
116 | ||
117 | }) | |
118 | 0 | public class Profile { |
119 | ||
120 | protected String id; | |
121 | protected Activation activation; | |
122 | protected BuildBase build; | |
123 | protected Profile.Modules modules; | |
124 | protected Profile.Repositories repositories; | |
125 | protected Profile.PluginRepositories pluginRepositories; | |
126 | protected Profile.Dependencies dependencies; | |
127 | protected Profile.Reports reports; | |
128 | protected Reporting reporting; | |
129 | protected DependencyManagement dependencyManagement; | |
130 | protected DistributionManagement distributionManagement; | |
131 | protected Profile.Properties properties; | |
132 | ||
133 | /** | |
134 | * Gets the value of the id property. | |
135 | * | |
136 | * @return | |
137 | * possible object is | |
138 | * {@link String } | |
139 | * | |
140 | */ | |
141 | public String getId() { | |
142 | 0 | return id; |
143 | } | |
144 | ||
145 | /** | |
146 | * Sets the value of the id property. | |
147 | * | |
148 | * @param value | |
149 | * allowed object is | |
150 | * {@link String } | |
151 | * | |
152 | */ | |
153 | public void setId(String value) { | |
154 | 0 | this.id = value; |
155 | 0 | } |
156 | ||
157 | /** | |
158 | * Gets the value of the activation property. | |
159 | * | |
160 | * @return | |
161 | * possible object is | |
162 | * {@link Activation } | |
163 | * | |
164 | */ | |
165 | public Activation getActivation() { | |
166 | 0 | return activation; |
167 | } | |
168 | ||
169 | /** | |
170 | * Sets the value of the activation property. | |
171 | * | |
172 | * @param value | |
173 | * allowed object is | |
174 | * {@link Activation } | |
175 | * | |
176 | */ | |
177 | public void setActivation(Activation value) { | |
178 | 0 | this.activation = value; |
179 | 0 | } |
180 | ||
181 | /** | |
182 | * Gets the value of the build property. | |
183 | * | |
184 | * @return | |
185 | * possible object is | |
186 | * {@link BuildBase } | |
187 | * | |
188 | */ | |
189 | public BuildBase getBuild() { | |
190 | 0 | return build; |
191 | } | |
192 | ||
193 | /** | |
194 | * Sets the value of the build property. | |
195 | * | |
196 | * @param value | |
197 | * allowed object is | |
198 | * {@link BuildBase } | |
199 | * | |
200 | */ | |
201 | public void setBuild(BuildBase value) { | |
202 | 0 | this.build = value; |
203 | 0 | } |
204 | ||
205 | /** | |
206 | * Gets the value of the modules property. | |
207 | * | |
208 | * @return | |
209 | * possible object is | |
210 | * {@link Profile.Modules } | |
211 | * | |
212 | */ | |
213 | public Profile.Modules getModules() { | |
214 | 0 | return modules; |
215 | } | |
216 | ||
217 | /** | |
218 | * Sets the value of the modules property. | |
219 | * | |
220 | * @param value | |
221 | * allowed object is | |
222 | * {@link Profile.Modules } | |
223 | * | |
224 | */ | |
225 | public void setModules(Profile.Modules value) { | |
226 | 0 | this.modules = value; |
227 | 0 | } |
228 | ||
229 | /** | |
230 | * Gets the value of the repositories property. | |
231 | * | |
232 | * @return | |
233 | * possible object is | |
234 | * {@link Profile.Repositories } | |
235 | * | |
236 | */ | |
237 | public Profile.Repositories getRepositories() { | |
238 | 0 | return repositories; |
239 | } | |
240 | ||
241 | /** | |
242 | * Sets the value of the repositories property. | |
243 | * | |
244 | * @param value | |
245 | * allowed object is | |
246 | * {@link Profile.Repositories } | |
247 | * | |
248 | */ | |
249 | public void setRepositories(Profile.Repositories value) { | |
250 | 0 | this.repositories = value; |
251 | 0 | } |
252 | ||
253 | /** | |
254 | * Gets the value of the pluginRepositories property. | |
255 | * | |
256 | * @return | |
257 | * possible object is | |
258 | * {@link Profile.PluginRepositories } | |
259 | * | |
260 | */ | |
261 | public Profile.PluginRepositories getPluginRepositories() { | |
262 | 0 | return pluginRepositories; |
263 | } | |
264 | ||
265 | /** | |
266 | * Sets the value of the pluginRepositories property. | |
267 | * | |
268 | * @param value | |
269 | * allowed object is | |
270 | * {@link Profile.PluginRepositories } | |
271 | * | |
272 | */ | |
273 | public void setPluginRepositories(Profile.PluginRepositories value) { | |
274 | 0 | this.pluginRepositories = value; |
275 | 0 | } |
276 | ||
277 | /** | |
278 | * Gets the value of the dependencies property. | |
279 | * | |
280 | * @return | |
281 | * possible object is | |
282 | * {@link Profile.Dependencies } | |
283 | * | |
284 | */ | |
285 | public Profile.Dependencies getDependencies() { | |
286 | 0 | return dependencies; |
287 | } | |
288 | ||
289 | /** | |
290 | * Sets the value of the dependencies property. | |
291 | * | |
292 | * @param value | |
293 | * allowed object is | |
294 | * {@link Profile.Dependencies } | |
295 | * | |
296 | */ | |
297 | public void setDependencies(Profile.Dependencies value) { | |
298 | 0 | this.dependencies = value; |
299 | 0 | } |
300 | ||
301 | /** | |
302 | * Gets the value of the reports property. | |
303 | * | |
304 | * @return | |
305 | * possible object is | |
306 | * {@link Profile.Reports } | |
307 | * | |
308 | */ | |
309 | public Profile.Reports getReports() { | |
310 | 0 | return reports; |
311 | } | |
312 | ||
313 | /** | |
314 | * Sets the value of the reports property. | |
315 | * | |
316 | * @param value | |
317 | * allowed object is | |
318 | * {@link Profile.Reports } | |
319 | * | |
320 | */ | |
321 | public void setReports(Profile.Reports value) { | |
322 | 0 | this.reports = value; |
323 | 0 | } |
324 | ||
325 | /** | |
326 | * Gets the value of the reporting property. | |
327 | * | |
328 | * @return | |
329 | * possible object is | |
330 | * {@link Reporting } | |
331 | * | |
332 | */ | |
333 | public Reporting getReporting() { | |
334 | 0 | return reporting; |
335 | } | |
336 | ||
337 | /** | |
338 | * Sets the value of the reporting property. | |
339 | * | |
340 | * @param value | |
341 | * allowed object is | |
342 | * {@link Reporting } | |
343 | * | |
344 | */ | |
345 | public void setReporting(Reporting value) { | |
346 | 0 | this.reporting = value; |
347 | 0 | } |
348 | ||
349 | /** | |
350 | * Gets the value of the dependencyManagement property. | |
351 | * | |
352 | * @return | |
353 | * possible object is | |
354 | * {@link DependencyManagement } | |
355 | * | |
356 | */ | |
357 | public DependencyManagement getDependencyManagement() { | |
358 | 0 | return dependencyManagement; |
359 | } | |
360 | ||
361 | /** | |
362 | * Sets the value of the dependencyManagement property. | |
363 | * | |
364 | * @param value | |
365 | * allowed object is | |
366 | * {@link DependencyManagement } | |
367 | * | |
368 | */ | |
369 | public void setDependencyManagement(DependencyManagement value) { | |
370 | 0 | this.dependencyManagement = value; |
371 | 0 | } |
372 | ||
373 | /** | |
374 | * Gets the value of the distributionManagement property. | |
375 | * | |
376 | * @return | |
377 | * possible object is | |
378 | * {@link DistributionManagement } | |
379 | * | |
380 | */ | |
381 | public DistributionManagement getDistributionManagement() { | |
382 | 0 | return distributionManagement; |
383 | } | |
384 | ||
385 | /** | |
386 | * Sets the value of the distributionManagement property. | |
387 | * | |
388 | * @param value | |
389 | * allowed object is | |
390 | * {@link DistributionManagement } | |
391 | * | |
392 | */ | |
393 | public void setDistributionManagement(DistributionManagement value) { | |
394 | 0 | this.distributionManagement = value; |
395 | 0 | } |
396 | ||
397 | /** | |
398 | * Gets the value of the properties property. | |
399 | * | |
400 | * @return | |
401 | * possible object is | |
402 | * {@link Profile.Properties } | |
403 | * | |
404 | */ | |
405 | public Profile.Properties getProperties() { | |
406 | 0 | return properties; |
407 | } | |
408 | ||
409 | /** | |
410 | * Sets the value of the properties property. | |
411 | * | |
412 | * @param value | |
413 | * allowed object is | |
414 | * {@link Profile.Properties } | |
415 | * | |
416 | */ | |
417 | public void setProperties(Profile.Properties value) { | |
418 | 0 | this.properties = value; |
419 | 0 | } |
420 | ||
421 | ||
422 | /** | |
423 | * <p>Java class for anonymous complex type. | |
424 | * | |
425 | * <p>The following schema fragment specifies the expected content contained within this class. | |
426 | * | |
427 | * <pre> | |
428 | * <complexType> | |
429 | * <complexContent> | |
430 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
431 | * <sequence> | |
432 | * <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/> | |
433 | * </sequence> | |
434 | * </restriction> | |
435 | * </complexContent> | |
436 | * </complexType> | |
437 | * </pre> | |
438 | * | |
439 | * | |
440 | */ | |
441 | @XmlAccessorType(XmlAccessType.FIELD) | |
442 | @XmlType(name = "", propOrder = { | |
443 | "dependency" | |
444 | }) | |
445 | 0 | public static class Dependencies { |
446 | ||
447 | protected List<Dependency> dependency; | |
448 | ||
449 | /** | |
450 | * Gets the value of the dependency property. | |
451 | * | |
452 | * <p> | |
453 | * This accessor method returns a reference to the live list, | |
454 | * not a snapshot. Therefore any modification you make to the | |
455 | * returned list will be present inside the JAXB object. | |
456 | * This is why there is not a <CODE>set</CODE> method for the dependency property. | |
457 | * | |
458 | * <p> | |
459 | * For example, to add a new item, do as follows: | |
460 | * <pre> | |
461 | * getDependency().add(newItem); | |
462 | * </pre> | |
463 | * | |
464 | * | |
465 | * <p> | |
466 | * Objects of the following type(s) are allowed in the list | |
467 | * {@link Dependency } | |
468 | * | |
469 | * | |
470 | */ | |
471 | public List<Dependency> getDependency() { | |
472 | 0 | if (dependency == null) { |
473 | 0 | dependency = new ArrayList<Dependency>(); |
474 | } | |
475 | 0 | return this.dependency; |
476 | } | |
477 | ||
478 | } | |
479 | ||
480 | ||
481 | /** | |
482 | * <p>Java class for anonymous complex type. | |
483 | * | |
484 | * <p>The following schema fragment specifies the expected content contained within this class. | |
485 | * | |
486 | * <pre> | |
487 | * <complexType> | |
488 | * <complexContent> | |
489 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
490 | * <sequence> | |
491 | * <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> | |
492 | * </sequence> | |
493 | * </restriction> | |
494 | * </complexContent> | |
495 | * </complexType> | |
496 | * </pre> | |
497 | * | |
498 | * | |
499 | */ | |
500 | @XmlAccessorType(XmlAccessType.FIELD) | |
501 | @XmlType(name = "", propOrder = { | |
502 | "module" | |
503 | }) | |
504 | 0 | public static class Modules { |
505 | ||
506 | protected List<String> module; | |
507 | ||
508 | /** | |
509 | * Gets the value of the module property. | |
510 | * | |
511 | * <p> | |
512 | * This accessor method returns a reference to the live list, | |
513 | * not a snapshot. Therefore any modification you make to the | |
514 | * returned list will be present inside the JAXB object. | |
515 | * This is why there is not a <CODE>set</CODE> method for the module property. | |
516 | * | |
517 | * <p> | |
518 | * For example, to add a new item, do as follows: | |
519 | * <pre> | |
520 | * getModule().add(newItem); | |
521 | * </pre> | |
522 | * | |
523 | * | |
524 | * <p> | |
525 | * Objects of the following type(s) are allowed in the list | |
526 | * {@link String } | |
527 | * | |
528 | * | |
529 | */ | |
530 | public List<String> getModule() { | |
531 | 0 | if (module == null) { |
532 | 0 | module = new ArrayList<String>(); |
533 | } | |
534 | 0 | return this.module; |
535 | } | |
536 | ||
537 | } | |
538 | ||
539 | ||
540 | /** | |
541 | * <p>Java class for anonymous complex type. | |
542 | * | |
543 | * <p>The following schema fragment specifies the expected content contained within this class. | |
544 | * | |
545 | * <pre> | |
546 | * <complexType> | |
547 | * <complexContent> | |
548 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
549 | * <sequence> | |
550 | * <element name="pluginRepository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/> | |
551 | * </sequence> | |
552 | * </restriction> | |
553 | * </complexContent> | |
554 | * </complexType> | |
555 | * </pre> | |
556 | * | |
557 | * | |
558 | */ | |
559 | @XmlAccessorType(XmlAccessType.FIELD) | |
560 | @XmlType(name = "", propOrder = { | |
561 | "pluginRepository" | |
562 | }) | |
563 | 0 | public static class PluginRepositories { |
564 | ||
565 | protected List<Repository> pluginRepository; | |
566 | ||
567 | /** | |
568 | * Gets the value of the pluginRepository property. | |
569 | * | |
570 | * <p> | |
571 | * This accessor method returns a reference to the live list, | |
572 | * not a snapshot. Therefore any modification you make to the | |
573 | * returned list will be present inside the JAXB object. | |
574 | * This is why there is not a <CODE>set</CODE> method for the pluginRepository property. | |
575 | * | |
576 | * <p> | |
577 | * For example, to add a new item, do as follows: | |
578 | * <pre> | |
579 | * getPluginRepository().add(newItem); | |
580 | * </pre> | |
581 | * | |
582 | * | |
583 | * <p> | |
584 | * Objects of the following type(s) are allowed in the list | |
585 | * {@link Repository } | |
586 | * | |
587 | * | |
588 | */ | |
589 | public List<Repository> getPluginRepository() { | |
590 | 0 | if (pluginRepository == null) { |
591 | 0 | pluginRepository = new ArrayList<Repository>(); |
592 | } | |
593 | 0 | return this.pluginRepository; |
594 | } | |
595 | ||
596 | } | |
597 | ||
598 | ||
599 | /** | |
600 | * <p>Java class for anonymous complex type. | |
601 | * | |
602 | * <p>The following schema fragment specifies the expected content contained within this class. | |
603 | * | |
604 | * <pre> | |
605 | * <complexType> | |
606 | * <complexContent> | |
607 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
608 | * <sequence> | |
609 | * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> | |
610 | * </sequence> | |
611 | * </restriction> | |
612 | * </complexContent> | |
613 | * </complexType> | |
614 | * </pre> | |
615 | * | |
616 | * | |
617 | */ | |
618 | @XmlAccessorType(XmlAccessType.FIELD) | |
619 | @XmlType(name = "", propOrder = { | |
620 | "any" | |
621 | }) | |
622 | 0 | public static class Properties { |
623 | ||
624 | @XmlAnyElement | |
625 | protected List<Element> any; | |
626 | ||
627 | /** | |
628 | * Gets the value of the any property. | |
629 | * | |
630 | * <p> | |
631 | * This accessor method returns a reference to the live list, | |
632 | * not a snapshot. Therefore any modification you make to the | |
633 | * returned list will be present inside the JAXB object. | |
634 | * This is why there is not a <CODE>set</CODE> method for the any property. | |
635 | * | |
636 | * <p> | |
637 | * For example, to add a new item, do as follows: | |
638 | * <pre> | |
639 | * getAny().add(newItem); | |
640 | * </pre> | |
641 | * | |
642 | * | |
643 | * <p> | |
644 | * Objects of the following type(s) are allowed in the list | |
645 | * {@link Element } | |
646 | * | |
647 | * | |
648 | */ | |
649 | public List<Element> getAny() { | |
650 | 0 | if (any == null) { |
651 | 0 | any = new ArrayList<Element>(); |
652 | } | |
653 | 0 | return this.any; |
654 | } | |
655 | ||
656 | } | |
657 | ||
658 | ||
659 | /** | |
660 | * <p>Java class for anonymous complex type. | |
661 | * | |
662 | * <p>The following schema fragment specifies the expected content contained within this class. | |
663 | * | |
664 | * <pre> | |
665 | * <complexType> | |
666 | * <complexContent> | |
667 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
668 | * <sequence> | |
669 | * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> | |
670 | * </sequence> | |
671 | * </restriction> | |
672 | * </complexContent> | |
673 | * </complexType> | |
674 | * </pre> | |
675 | * | |
676 | * | |
677 | */ | |
678 | @XmlAccessorType(XmlAccessType.FIELD) | |
679 | @XmlType(name = "", propOrder = { | |
680 | "any" | |
681 | }) | |
682 | 0 | public static class Reports { |
683 | ||
684 | @XmlAnyElement | |
685 | protected List<Element> any; | |
686 | ||
687 | /** | |
688 | * Gets the value of the any property. | |
689 | * | |
690 | * <p> | |
691 | * This accessor method returns a reference to the live list, | |
692 | * not a snapshot. Therefore any modification you make to the | |
693 | * returned list will be present inside the JAXB object. | |
694 | * This is why there is not a <CODE>set</CODE> method for the any property. | |
695 | * | |
696 | * <p> | |
697 | * For example, to add a new item, do as follows: | |
698 | * <pre> | |
699 | * getAny().add(newItem); | |
700 | * </pre> | |
701 | * | |
702 | * | |
703 | * <p> | |
704 | * Objects of the following type(s) are allowed in the list | |
705 | * {@link Element } | |
706 | * | |
707 | * | |
708 | */ | |
709 | public List<Element> getAny() { | |
710 | 0 | if (any == null) { |
711 | 0 | any = new ArrayList<Element>(); |
712 | } | |
713 | 0 | return this.any; |
714 | } | |
715 | ||
716 | } | |
717 | ||
718 | ||
719 | /** | |
720 | * <p>Java class for anonymous complex type. | |
721 | * | |
722 | * <p>The following schema fragment specifies the expected content contained within this class. | |
723 | * | |
724 | * <pre> | |
725 | * <complexType> | |
726 | * <complexContent> | |
727 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
728 | * <sequence> | |
729 | * <element name="repository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/> | |
730 | * </sequence> | |
731 | * </restriction> | |
732 | * </complexContent> | |
733 | * </complexType> | |
734 | * </pre> | |
735 | * | |
736 | * | |
737 | */ | |
738 | @XmlAccessorType(XmlAccessType.FIELD) | |
739 | @XmlType(name = "", propOrder = { | |
740 | "repository" | |
741 | }) | |
742 | 0 | public static class Repositories { |
743 | ||
744 | protected List<Repository> repository; | |
745 | ||
746 | /** | |
747 | * Gets the value of the repository property. | |
748 | * | |
749 | * <p> | |
750 | * This accessor method returns a reference to the live list, | |
751 | * not a snapshot. Therefore any modification you make to the | |
752 | * returned list will be present inside the JAXB object. | |
753 | * This is why there is not a <CODE>set</CODE> method for the repository property. | |
754 | * | |
755 | * <p> | |
756 | * For example, to add a new item, do as follows: | |
757 | * <pre> | |
758 | * getRepository().add(newItem); | |
759 | * </pre> | |
760 | * | |
761 | * | |
762 | * <p> | |
763 | * Objects of the following type(s) are allowed in the list | |
764 | * {@link Repository } | |
765 | * | |
766 | * | |
767 | */ | |
768 | public List<Repository> getRepository() { | |
769 | 0 | if (repository == null) { |
770 | 0 | repository = new ArrayList<Repository>(); |
771 | } | |
772 | 0 | return this.repository; |
773 | } | |
774 | ||
775 | } | |
776 | ||
777 | } |