1
2
3
4
5
6
7
8
9 package org.jomc.model;
10
11 import javax.annotation.Generated;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
17 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "Author", namespace = "http://jomc.org/model")
45 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
46 public class Author
47 extends Person
48 implements Cloneable
49 {
50
51 @XmlAttribute(name = "version")
52 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
53 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
54 protected String version;
55
56
57
58
59
60 public Author() {
61
62 super();
63 }
64
65
66
67
68
69
70
71
72
73
74 public Author(final Author o) {
75
76 super(o);
77 if (o == null) {
78 throw new NullPointerException("Cannot create a copy of 'Author' from 'null'.");
79 }
80
81 this.version = ((o.version == null)?null:o.getVersion());
82 }
83
84
85
86
87
88
89
90
91
92 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
93 public String getVersion() {
94 return version;
95 }
96
97
98
99
100
101
102
103
104
105 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
106 public void setVersion(String value) {
107 this.version = value;
108 }
109
110
111
112
113
114
115
116
117 @Override
118 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
119 public Author clone() {
120 {
121
122 final Author clone = ((Author) super.clone());
123
124 clone.version = ((this.version == null)?null:this.getVersion());
125 return clone;
126 }
127 }
128
129 }