1
2
3
4
5
6
7
8
9 package ejava.projects.eleague.dto;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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
45
46
47
48
49 @XmlAccessorType(XmlAccessType.FIELD)
50 @XmlType(name = "", propOrder = {
51 "name",
52 "directions",
53 "adcPage",
54 "street1",
55 "street2",
56 "city",
57 "state",
58 "zip"
59 })
60 @XmlRootElement(name = "venue")
61 public class Venue
62 extends ReferencedType
63 {
64
65 @XmlElement(required = true)
66 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
67 @XmlSchemaType(name = "Name")
68 protected String name;
69 @XmlElement(required = true)
70 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
71 @XmlSchemaType(name = "token")
72 protected String directions;
73 @XmlElement(required = true)
74 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
75 @XmlSchemaType(name = "NMTOKEN")
76 protected String adcPage;
77 @XmlElement(required = true)
78 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
79 @XmlSchemaType(name = "token")
80 protected String street1;
81 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
82 @XmlSchemaType(name = "token")
83 protected String street2;
84 @XmlElement(required = true)
85 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
86 @XmlSchemaType(name = "token")
87 protected String city;
88 @XmlElement(required = true)
89 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
90 @XmlSchemaType(name = "NCName")
91 protected String state;
92 @XmlElement(required = true)
93 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
94 @XmlSchemaType(name = "NCName")
95 protected String zip;
96 @XmlAttribute(name = "id", required = true)
97 protected long id;
98
99
100
101
102
103 public Venue() {
104 super();
105 }
106
107
108
109
110
111 public Venue(final String refid, final String name, final String directions, final String adcPage, final String street1, final String street2, final String city, final String state, final String zip, final long id) {
112 super(refid);
113 this.name = name;
114 this.directions = directions;
115 this.adcPage = adcPage;
116 this.street1 = street1;
117 this.street2 = street2;
118 this.city = city;
119 this.state = state;
120 this.zip = zip;
121 this.id = id;
122 }
123
124
125
126
127
128
129
130
131
132 public String getName() {
133 return name;
134 }
135
136
137
138
139
140
141
142
143
144 public void setName(String value) {
145 this.name = value;
146 }
147
148
149
150
151
152
153
154
155
156 public String getDirections() {
157 return directions;
158 }
159
160
161
162
163
164
165
166
167
168 public void setDirections(String value) {
169 this.directions = value;
170 }
171
172
173
174
175
176
177
178
179
180 public String getAdcPage() {
181 return adcPage;
182 }
183
184
185
186
187
188
189
190
191
192 public void setAdcPage(String value) {
193 this.adcPage = value;
194 }
195
196
197
198
199
200
201
202
203
204 public String getStreet1() {
205 return street1;
206 }
207
208
209
210
211
212
213
214
215
216 public void setStreet1(String value) {
217 this.street1 = value;
218 }
219
220
221
222
223
224
225
226
227
228 public String getStreet2() {
229 return street2;
230 }
231
232
233
234
235
236
237
238
239
240 public void setStreet2(String value) {
241 this.street2 = value;
242 }
243
244
245
246
247
248
249
250
251
252 public String getCity() {
253 return city;
254 }
255
256
257
258
259
260
261
262
263
264 public void setCity(String value) {
265 this.city = value;
266 }
267
268
269
270
271
272
273
274
275
276 public String getState() {
277 return state;
278 }
279
280
281
282
283
284
285
286
287
288 public void setState(String value) {
289 this.state = value;
290 }
291
292
293
294
295
296
297
298
299
300 public String getZip() {
301 return zip;
302 }
303
304
305
306
307
308
309
310
311
312 public void setZip(String value) {
313 this.zip = value;
314 }
315
316
317
318
319
320 public long getId() {
321 return id;
322 }
323
324
325
326
327
328 public void setId(long value) {
329 this.id = value;
330 }
331
332 }