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