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 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "ImplementationReference", namespace = "http://jomc.org/model")
44 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
45 public class ImplementationReference
46 extends ModelObject
47 implements Cloneable, Inheritable
48 {
49
50 @XmlAttribute(name = "identifier", required = true)
51 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
52 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
53 protected String identifier;
54 @XmlAttribute(name = "version")
55 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
56 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
57 protected String version;
58 @XmlAttribute(name = "final")
59 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
60 protected Boolean _final;
61 @XmlAttribute(name = "override")
62 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
63 protected Boolean override;
64
65
66
67
68
69 public ImplementationReference() {
70
71 super();
72 }
73
74
75
76
77
78
79
80
81
82
83 public ImplementationReference(final ImplementationReference o) {
84
85 super(o);
86 if (o == null) {
87 throw new NullPointerException("Cannot create a copy of 'ImplementationReference' from 'null'.");
88 }
89
90 this.identifier = ((o.identifier == null)?null:o.getIdentifier());
91
92 this.version = ((o.version == null)?null:o.getVersion());
93
94 this._final = ((o._final == null)?null:o.isFinal());
95
96 this.override = ((o.override == null)?null:o.isOverride());
97 }
98
99
100
101
102
103
104
105
106
107 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
108 public String getIdentifier() {
109 return identifier;
110 }
111
112
113
114
115
116
117
118
119
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 public void setIdentifier(String value) {
122 this.identifier = value;
123 }
124
125
126
127
128
129
130
131
132
133 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
134 public String getVersion() {
135 return version;
136 }
137
138
139
140
141
142
143
144
145
146 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
147 public void setVersion(String value) {
148 this.version = value;
149 }
150
151
152
153
154
155
156
157
158
159 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
160 public boolean isFinal() {
161 if (_final == null) {
162 return false;
163 } else {
164 return _final;
165 }
166 }
167
168
169
170
171
172
173
174
175
176 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
177 public void setFinal(Boolean value) {
178 this._final = value;
179 }
180
181
182
183
184
185
186
187
188
189 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
190 public boolean isOverride() {
191 if (override == null) {
192 return false;
193 } else {
194 return override;
195 }
196 }
197
198
199
200
201
202
203
204
205
206 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
207 public void setOverride(Boolean value) {
208 this.override = value;
209 }
210
211
212
213
214
215
216
217
218 @Override
219 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:16+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
220 public ImplementationReference clone() {
221 {
222
223 final ImplementationReference clone = ((ImplementationReference) super.clone());
224
225 clone.identifier = ((this.identifier == null)?null:this.getIdentifier());
226
227 clone.version = ((this.version == null)?null:this.getVersion());
228
229 clone._final = ((this._final == null)?null:this.isFinal());
230
231 clone.override = ((this.override == null)?null:this.isOverride());
232 return clone;
233 }
234 }
235
236 }