1
2
3
4
5
6
7
8
9 package org.jomc.model;
10
11 import java.io.ByteArrayInputStream;
12 import java.io.ByteArrayOutputStream;
13 import java.io.File;
14 import java.io.IOException;
15 import java.io.InvalidClassException;
16 import java.io.NotSerializableException;
17 import java.io.ObjectInputStream;
18 import java.io.ObjectOutputStream;
19 import java.io.OptionalDataException;
20 import java.io.Serializable;
21 import java.io.StreamCorruptedException;
22 import java.lang.reflect.Array;
23 import java.lang.reflect.InvocationTargetException;
24 import java.math.BigDecimal;
25 import java.math.BigInteger;
26 import java.net.MalformedURLException;
27 import java.net.URI;
28 import java.net.URISyntaxException;
29 import java.net.URL;
30 import java.util.ArrayList;
31 import java.util.Calendar;
32 import java.util.Currency;
33 import java.util.Date;
34 import java.util.Iterator;
35 import java.util.List;
36 import java.util.Locale;
37 import java.util.TimeZone;
38 import java.util.UUID;
39 import javax.activation.MimeType;
40 import javax.activation.MimeTypeParseException;
41 import javax.annotation.Generated;
42 import javax.xml.bind.JAXBElement;
43 import javax.xml.bind.annotation.XmlAccessType;
44 import javax.xml.bind.annotation.XmlAccessorType;
45 import javax.xml.bind.annotation.XmlAnyElement;
46 import javax.xml.bind.annotation.XmlAttribute;
47 import javax.xml.bind.annotation.XmlElement;
48 import javax.xml.bind.annotation.XmlType;
49 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
50 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
51 import javax.xml.datatype.Duration;
52 import javax.xml.datatype.XMLGregorianCalendar;
53 import javax.xml.namespace.QName;
54 import org.w3c.dom.Element;
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93 @XmlAccessorType(XmlAccessType.FIELD)
94 @XmlType(name = "Module", namespace = "http://jomc.org/model", propOrder = {
95 "specifications",
96 "implementations",
97 "properties",
98 "messages",
99 "any"
100 })
101 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
102 public class Module
103 extends ModelObject
104 implements Cloneable
105 {
106
107 @XmlElement(namespace = "http://jomc.org/model")
108 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
109 protected Specifications specifications;
110 @XmlElement(namespace = "http://jomc.org/model")
111 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
112 protected Implementations implementations;
113 @XmlElement(namespace = "http://jomc.org/model")
114 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
115 protected Properties properties;
116 @XmlElement(namespace = "http://jomc.org/model")
117 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
118 protected Messages messages;
119 @XmlAnyElement(lax = true)
120 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
121 protected List<Object> any;
122 @XmlAttribute(name = "name", required = true)
123 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
124 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
125 protected String name;
126 @XmlAttribute(name = "version")
127 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
128 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
129 protected String version;
130 @XmlAttribute(name = "vendor")
131 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
132 protected String vendor;
133
134
135
136
137
138 public Module() {
139
140 super();
141 }
142
143
144
145
146
147
148
149
150
151
152 public Module(final Module o) {
153
154 super(o);
155 if (o == null) {
156 throw new NullPointerException("Cannot create a copy of 'Module' from 'null'.");
157 }
158
159 this.specifications = ((o.specifications == null)?null:((o.getSpecifications() == null)?null:o.getSpecifications().clone()));
160
161 this.implementations = ((o.implementations == null)?null:((o.getImplementations() == null)?null:o.getImplementations().clone()));
162
163 this.properties = ((o.properties == null)?null:((o.getProperties() == null)?null:o.getProperties().clone()));
164
165 this.messages = ((o.messages == null)?null:((o.getMessages() == null)?null:o.getMessages().clone()));
166
167 if (o.any!= null) {
168 copyAny(o.getAny(), this.getAny());
169 }
170
171 this.name = ((o.name == null)?null:o.getName());
172
173 this.version = ((o.version == null)?null:o.getVersion());
174
175 this.vendor = ((o.vendor == null)?null:o.getVendor());
176 }
177
178
179
180
181
182
183
184
185
186 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
187 public Specifications getSpecifications() {
188 return specifications;
189 }
190
191
192
193
194
195
196
197
198
199 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
200 public void setSpecifications(Specifications value) {
201 this.specifications = value;
202 }
203
204
205
206
207
208
209
210
211
212 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
213 public Implementations getImplementations() {
214 return implementations;
215 }
216
217
218
219
220
221
222
223
224
225 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
226 public void setImplementations(Implementations value) {
227 this.implementations = value;
228 }
229
230
231
232
233
234
235
236
237
238 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
239 public Properties getProperties() {
240 return properties;
241 }
242
243
244
245
246
247
248
249
250
251 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
252 public void setProperties(Properties value) {
253 this.properties = value;
254 }
255
256
257
258
259
260
261
262
263
264 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
265 public Messages getMessages() {
266 return messages;
267 }
268
269
270
271
272
273
274
275
276
277 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
278 public void setMessages(Messages value) {
279 this.messages = value;
280 }
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
306 public List<Object> getAny() {
307 if (any == null) {
308 any = new ArrayList<Object>();
309 }
310 return this.any;
311 }
312
313
314
315
316
317
318
319
320
321 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
322 public String getName() {
323 return name;
324 }
325
326
327
328
329
330
331
332
333
334 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
335 public void setName(String value) {
336 this.name = value;
337 }
338
339
340
341
342
343
344
345
346
347 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
348 public String getVersion() {
349 return version;
350 }
351
352
353
354
355
356
357
358
359
360 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
361 public void setVersion(String value) {
362 this.version = value;
363 }
364
365
366
367
368
369
370
371
372
373 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
374 public String getVendor() {
375 return vendor;
376 }
377
378
379
380
381
382
383
384
385
386 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
387 public void setVendor(String value) {
388 this.vendor = value;
389 }
390
391
392
393
394
395
396
397
398
399
400
401 @SuppressWarnings("unchecked")
402 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
403 private static void copyAny(final List<Object> source, final List<Object> target) {
404
405 if ((source!= null)&&(!source.isEmpty())) {
406 for (final Iterator<?> it = source.iterator(); it.hasNext(); ) {
407 final Object next = it.next();
408 if (next instanceof Element) {
409
410 target.add(((Element)((Element) next).cloneNode(true)));
411 continue;
412 }
413 if (next instanceof Object) {
414
415 target.add(copyOf(((Object) next)));
416 continue;
417 }
418
419 throw new AssertionError((("Unexpected instance '"+ next)+"' for property 'Any' of class 'org.jomc.model.Module'."));
420 }
421 }
422 }
423
424
425
426
427
428
429
430
431
432 @SuppressWarnings("unchecked")
433 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
434 private static Object copyOf(final Object o) {
435
436 try {
437 if (o!= null) {
438 if (o.getClass().isPrimitive()) {
439 return o;
440 }
441 if (o.getClass().isArray()) {
442 return copyOfArray(o);
443 }
444
445 if (o instanceof Boolean) {
446 return o;
447 }
448 if (o instanceof Byte) {
449 return o;
450 }
451 if (o instanceof Character) {
452 return o;
453 }
454 if (o instanceof Double) {
455 return o;
456 }
457 if (o instanceof Enum) {
458 return o;
459 }
460 if (o instanceof Float) {
461 return o;
462 }
463 if (o instanceof Integer) {
464 return o;
465 }
466 if (o instanceof Long) {
467 return o;
468 }
469 if (o instanceof Short) {
470 return o;
471 }
472 if (o instanceof String) {
473 return o;
474 }
475 if (o instanceof BigDecimal) {
476 return o;
477 }
478 if (o instanceof BigInteger) {
479 return o;
480 }
481 if (o instanceof UUID) {
482 return o;
483 }
484 if (o instanceof QName) {
485 return o;
486 }
487 if (o instanceof Duration) {
488 return o;
489 }
490 if (o instanceof Currency) {
491 return o;
492 }
493
494 if (o instanceof File) {
495 return new File(o.toString());
496 }
497 if (o instanceof URI) {
498 return new URI(o.toString());
499 }
500 if (o instanceof URL) {
501 return new URL(o.toString());
502 }
503 if (o instanceof MimeType) {
504 return new MimeType(o.toString());
505 }
506
507 if (o instanceof XMLGregorianCalendar) {
508 return ((XMLGregorianCalendar) o).clone();
509 }
510 if (o instanceof Date) {
511 return ((Date) o).clone();
512 }
513 if (o instanceof Calendar) {
514 return ((Calendar) o).clone();
515 }
516 if (o instanceof TimeZone) {
517 return ((TimeZone) o).clone();
518 }
519 if (o instanceof Locale) {
520 return ((Locale) o).clone();
521 }
522 if (o instanceof Element) {
523 return ((Element)((Element) o).cloneNode(true));
524 }
525 if (o instanceof JAXBElement) {
526 return copyOf(((JAXBElement) o));
527 }
528 try {
529 return o.getClass().getMethod("clone", ((Class[]) null)).invoke(o, ((Object[]) null));
530 } catch (NoSuchMethodException e) {
531 if (o instanceof Serializable) {
532 return copyOf(((Serializable) o));
533 }
534
535 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
536 } catch (IllegalAccessException e) {
537
538 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
539 } catch (InvocationTargetException e) {
540
541 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
542 } catch (SecurityException e) {
543
544 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
545 } catch (IllegalArgumentException e) {
546
547 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
548 } catch (ExceptionInInitializerError e) {
549
550 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
551 }
552 }
553 return null;
554 } catch (MimeTypeParseException e) {
555 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
556 } catch (URISyntaxException e) {
557 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
558 } catch (MalformedURLException e) {
559 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ o)+"'.")).initCause(e));
560 }
561 }
562
563
564
565
566
567
568
569
570
571 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
572 private static Object copyOfArray(final Object array) {
573
574 if (array!= null) {
575 if (array.getClass() == boolean[].class) {
576 return copyOf(((boolean[]) array));
577 }
578 if (array.getClass() == byte[].class) {
579 return copyOf(((byte[]) array));
580 }
581 if (array.getClass() == char[].class) {
582 return copyOf(((char[]) array));
583 }
584 if (array.getClass() == double[].class) {
585 return copyOf(((double[]) array));
586 }
587 if (array.getClass() == float[].class) {
588 return copyOf(((float[]) array));
589 }
590 if (array.getClass() == int[].class) {
591 return copyOf(((int[]) array));
592 }
593 if (array.getClass() == long[].class) {
594 return copyOf(((long[]) array));
595 }
596 if (array.getClass() == short[].class) {
597 return copyOf(((short[]) array));
598 }
599 final int len = Array.getLength(array);
600 final Object copy = Array.newInstance(array.getClass().getComponentType(), len);
601 for (int i = (len- 1); (i >= 0); i--) {
602 Array.set(copy, i, copyOf(Array.get(array, i)));
603 }
604 return copy;
605 }
606 return null;
607 }
608
609
610
611
612
613
614
615
616
617 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
618 private static boolean[] copyOf(final boolean[] array) {
619
620 if (array!= null) {
621 final boolean[] copy = ((boolean[]) Array.newInstance(array.getClass().getComponentType(), array.length));
622 System.arraycopy(array, 0, copy, 0, array.length);
623 return copy;
624 }
625 return null;
626 }
627
628
629
630
631
632
633
634
635
636 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
637 private static byte[] copyOf(final byte[] array) {
638
639 if (array!= null) {
640 final byte[] copy = ((byte[]) Array.newInstance(array.getClass().getComponentType(), array.length));
641 System.arraycopy(array, 0, copy, 0, array.length);
642 return copy;
643 }
644 return null;
645 }
646
647
648
649
650
651
652
653
654
655 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
656 private static char[] copyOf(final char[] array) {
657
658 if (array!= null) {
659 final char[] copy = ((char[]) Array.newInstance(array.getClass().getComponentType(), array.length));
660 System.arraycopy(array, 0, copy, 0, array.length);
661 return copy;
662 }
663 return null;
664 }
665
666
667
668
669
670
671
672
673
674 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
675 private static double[] copyOf(final double[] array) {
676
677 if (array!= null) {
678 final double[] copy = ((double[]) Array.newInstance(array.getClass().getComponentType(), array.length));
679 System.arraycopy(array, 0, copy, 0, array.length);
680 return copy;
681 }
682 return null;
683 }
684
685
686
687
688
689
690
691
692
693 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
694 private static float[] copyOf(final float[] array) {
695
696 if (array!= null) {
697 final float[] copy = ((float[]) Array.newInstance(array.getClass().getComponentType(), array.length));
698 System.arraycopy(array, 0, copy, 0, array.length);
699 return copy;
700 }
701 return null;
702 }
703
704
705
706
707
708
709
710
711
712 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
713 private static int[] copyOf(final int[] array) {
714
715 if (array!= null) {
716 final int[] copy = ((int[]) Array.newInstance(array.getClass().getComponentType(), array.length));
717 System.arraycopy(array, 0, copy, 0, array.length);
718 return copy;
719 }
720 return null;
721 }
722
723
724
725
726
727
728
729
730
731 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
732 private static long[] copyOf(final long[] array) {
733
734 if (array!= null) {
735 final long[] copy = ((long[]) Array.newInstance(array.getClass().getComponentType(), array.length));
736 System.arraycopy(array, 0, copy, 0, array.length);
737 return copy;
738 }
739 return null;
740 }
741
742
743
744
745
746
747
748
749
750 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
751 private static short[] copyOf(final short[] array) {
752
753 if (array!= null) {
754 final short[] copy = ((short[]) Array.newInstance(array.getClass().getComponentType(), array.length));
755 System.arraycopy(array, 0, copy, 0, array.length);
756 return copy;
757 }
758 return null;
759 }
760
761
762
763
764
765
766
767
768
769 @SuppressWarnings("unchecked")
770 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
771 private static JAXBElement copyOf(final JAXBElement element) {
772
773 if (element!= null) {
774 final JAXBElement copy = new JAXBElement(element.getName(), element.getDeclaredType(), element.getScope(), element.getValue());
775 copy.setNil(element.isNil());
776 copy.setValue(copyOf(copy.getValue()));
777 return copy;
778 }
779 return null;
780 }
781
782
783
784
785
786
787
788
789
790 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
791 private static Serializable copyOf(final Serializable serializable) {
792
793 if (serializable!= null) {
794 try {
795 final ByteArrayOutputStream byteArrayOutput = new ByteArrayOutputStream();
796 final ObjectOutputStream out = new ObjectOutputStream(byteArrayOutput);
797 out.writeObject(serializable);
798 out.close();
799 final ByteArrayInputStream byteArrayInput = new ByteArrayInputStream(byteArrayOutput.toByteArray());
800 final ObjectInputStream in = new ObjectInputStream(byteArrayInput);
801 final Serializable copy = ((Serializable) in.readObject());
802 in.close();
803 return copy;
804 } catch (SecurityException e) {
805 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
806 } catch (ClassNotFoundException e) {
807 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
808 } catch (InvalidClassException e) {
809 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
810 } catch (NotSerializableException e) {
811 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
812 } catch (StreamCorruptedException e) {
813 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
814 } catch (OptionalDataException e) {
815 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
816 } catch (IOException e) {
817 throw((AssertionError) new AssertionError((("Unexpected instance during copying object '"+ serializable)+"'.")).initCause(e));
818 }
819 }
820 return null;
821 }
822
823
824
825
826
827
828
829
830 @Override
831 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
832 public Module clone() {
833 {
834
835 final Module clone = ((Module) super.clone());
836
837 clone.specifications = ((this.specifications == null)?null:((this.getSpecifications() == null)?null:this.getSpecifications().clone()));
838
839 clone.implementations = ((this.implementations == null)?null:((this.getImplementations() == null)?null:this.getImplementations().clone()));
840
841 clone.properties = ((this.properties == null)?null:((this.getProperties() == null)?null:this.getProperties().clone()));
842
843 clone.messages = ((this.messages == null)?null:((this.getMessages() == null)?null:this.getMessages().clone()));
844
845 if (this.any!= null) {
846 clone.any = null;
847 copyAny(this.getAny(), clone.getAny());
848 }
849
850 clone.name = ((this.name == null)?null:this.getName());
851
852 clone.version = ((this.version == null)?null:this.getVersion());
853
854 clone.vendor = ((this.vendor == null)?null:this.getVendor());
855 return clone;
856 }
857 }
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877 @Deprecated
878 public javax.xml.bind.JAXBElement getAnyElement( final String namespaceURI, final String localPart )
879 {
880 return this.getAnyElement( this.getAny(), namespaceURI, localPart );
881 }
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900 @Deprecated
901 public java.util.List<javax.xml.bind.JAXBElement> getAnyElements( final String namespaceURI,
902 final String localPart )
903 {
904 return this.getAnyElements( this.getAny(), namespaceURI, localPart );
905 }
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926 public <T> javax.xml.bind.JAXBElement<T> getAnyElement( final String namespaceURI, final String localPart,
927 final Class<T> type )
928 {
929 return this.getAnyElement( this.getAny(), namespaceURI, localPart, type );
930 }
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950 public <T> java.util.List<javax.xml.bind.JAXBElement<T>> getAnyElements( final String namespaceURI,
951 final String localPart,
952 final Class<T> type )
953 {
954 return this.getAnyElements( this.getAny(), namespaceURI, localPart, type );
955 }
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971 public <T> T getAnyObject( final Class<T> clazz )
972 {
973 return this.getAnyObject( this.getAny(), clazz );
974 }
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989 public <T> java.util.List<T> getAnyObjects( final Class<T> clazz )
990 {
991 return this.getAnyObjects( this.getAny(), clazz );
992 }
993
994 }