1
2
3
4
5
6
7
8
9 package org.jomc.model.test;
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.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
17
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
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "InstanceTestType", namespace = "http://jomc.org/model/test", propOrder = {
46 "modules",
47 "instance"
48 })
49 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
50 public class InstanceTestType implements Cloneable
51 {
52
53 @XmlElement(namespace = "http://jomc.org/model/test")
54 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
55 protected AnyModelObject modules;
56 @XmlElement(namespace = "http://jomc.org/model/test", required = true)
57 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
58 protected AnyModelObject instance;
59 @XmlAttribute(name = "identifier", required = true)
60 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
61 protected String identifier;
62 @XmlAttribute(name = "implementationIdentifier", required = true)
63 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
64 protected String implementationIdentifier;
65 @XmlAttribute(name = "dependencyName")
66 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
67 protected String dependencyName;
68
69
70
71
72
73 public InstanceTestType() {
74
75 super();
76 }
77
78
79
80
81
82
83
84
85
86
87 public InstanceTestType(final InstanceTestType o) {
88
89 super();
90 if (o == null) {
91 throw new NullPointerException("Cannot create a copy of 'InstanceTestType' from 'null'.");
92 }
93
94 this.modules = ((o.modules == null)?null:((o.getModules() == null)?null:o.getModules().clone()));
95
96 this.instance = ((o.instance == null)?null:((o.getInstance() == null)?null:o.getInstance().clone()));
97
98 this.identifier = ((o.identifier == null)?null:o.getIdentifier());
99
100 this.implementationIdentifier = ((o.implementationIdentifier == null)?null:o.getImplementationIdentifier());
101
102 this.dependencyName = ((o.dependencyName == null)?null:o.getDependencyName());
103 }
104
105
106
107
108
109
110
111
112
113 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
114 public AnyModelObject getModules() {
115 return modules;
116 }
117
118
119
120
121
122
123
124
125
126 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
127 public void setModules(AnyModelObject value) {
128 this.modules = value;
129 }
130
131
132
133
134
135
136
137
138
139 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
140 public AnyModelObject getInstance() {
141 return instance;
142 }
143
144
145
146
147
148
149
150
151
152 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
153 public void setInstance(AnyModelObject value) {
154 this.instance = value;
155 }
156
157
158
159
160
161
162
163
164
165 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
166 public String getIdentifier() {
167 return identifier;
168 }
169
170
171
172
173
174
175
176
177
178 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
179 public void setIdentifier(String value) {
180 this.identifier = value;
181 }
182
183
184
185
186
187
188
189
190
191 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
192 public String getImplementationIdentifier() {
193 return implementationIdentifier;
194 }
195
196
197
198
199
200
201
202
203
204 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
205 public void setImplementationIdentifier(String value) {
206 this.implementationIdentifier = value;
207 }
208
209
210
211
212
213
214
215
216
217 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
218 public String getDependencyName() {
219 return dependencyName;
220 }
221
222
223
224
225
226
227
228
229
230 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
231 public void setDependencyName(String value) {
232 this.dependencyName = value;
233 }
234
235
236
237
238
239
240
241
242 @Override
243 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
244 public InstanceTestType clone() {
245 try {
246 {
247
248 final InstanceTestType clone = ((InstanceTestType) super.clone());
249
250 clone.modules = ((this.modules == null)?null:((this.getModules() == null)?null:this.getModules().clone()));
251
252 clone.instance = ((this.instance == null)?null:((this.getInstance() == null)?null:this.getInstance().clone()));
253
254 clone.identifier = ((this.identifier == null)?null:this.getIdentifier());
255
256 clone.implementationIdentifier = ((this.implementationIdentifier == null)?null:this.getImplementationIdentifier());
257
258 clone.dependencyName = ((this.dependencyName == null)?null:this.getDependencyName());
259 return clone;
260 }
261 } catch (CloneNotSupportedException e) {
262
263 throw new AssertionError(e);
264 }
265 }
266
267 }