1
|
/**
|
2
|
* AphiaRecord.java
|
3
|
*
|
4
|
* This file was auto-generated from WSDL
|
5
|
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
6
|
*/
|
7
|
|
8
|
package org.cybertaxonomy.utis.checklist.worms;
|
9
|
|
10
|
public class AphiaRecord implements java.io.Serializable {
|
11
|
private int aphiaID;
|
12
|
|
13
|
private java.lang.String url;
|
14
|
|
15
|
private java.lang.String scientificname;
|
16
|
|
17
|
private java.lang.String authority;
|
18
|
|
19
|
private java.lang.String rank;
|
20
|
|
21
|
private java.lang.String status;
|
22
|
|
23
|
private java.lang.String unacceptreason;
|
24
|
|
25
|
private int valid_AphiaID;
|
26
|
|
27
|
private java.lang.String valid_name;
|
28
|
|
29
|
private java.lang.String valid_authority;
|
30
|
|
31
|
private java.lang.String kingdom;
|
32
|
|
33
|
private java.lang.String phylum;
|
34
|
|
35
|
private java.lang.String _class;
|
36
|
|
37
|
private java.lang.String order;
|
38
|
|
39
|
private java.lang.String family;
|
40
|
|
41
|
private java.lang.String genus;
|
42
|
|
43
|
private java.lang.String citation;
|
44
|
|
45
|
private java.lang.String lsid;
|
46
|
|
47
|
private int isMarine;
|
48
|
|
49
|
private int isBrackish;
|
50
|
|
51
|
private int isFreshwater;
|
52
|
|
53
|
private int isTerrestrial;
|
54
|
|
55
|
private int isExtinct;
|
56
|
|
57
|
private java.lang.String match_type;
|
58
|
|
59
|
private java.lang.String modified;
|
60
|
|
61
|
public AphiaRecord() {
|
62
|
}
|
63
|
|
64
|
public AphiaRecord(
|
65
|
int aphiaID,
|
66
|
java.lang.String url,
|
67
|
java.lang.String scientificname,
|
68
|
java.lang.String authority,
|
69
|
java.lang.String rank,
|
70
|
java.lang.String status,
|
71
|
java.lang.String unacceptreason,
|
72
|
int valid_AphiaID,
|
73
|
java.lang.String valid_name,
|
74
|
java.lang.String valid_authority,
|
75
|
java.lang.String kingdom,
|
76
|
java.lang.String phylum,
|
77
|
java.lang.String _class,
|
78
|
java.lang.String order,
|
79
|
java.lang.String family,
|
80
|
java.lang.String genus,
|
81
|
java.lang.String citation,
|
82
|
java.lang.String lsid,
|
83
|
int isMarine,
|
84
|
int isBrackish,
|
85
|
int isFreshwater,
|
86
|
int isTerrestrial,
|
87
|
int isExtinct,
|
88
|
java.lang.String match_type,
|
89
|
java.lang.String modified) {
|
90
|
this.aphiaID = aphiaID;
|
91
|
this.url = url;
|
92
|
this.scientificname = scientificname;
|
93
|
this.authority = authority;
|
94
|
this.rank = rank;
|
95
|
this.status = status;
|
96
|
this.unacceptreason = unacceptreason;
|
97
|
this.valid_AphiaID = valid_AphiaID;
|
98
|
this.valid_name = valid_name;
|
99
|
this.valid_authority = valid_authority;
|
100
|
this.kingdom = kingdom;
|
101
|
this.phylum = phylum;
|
102
|
this._class = _class;
|
103
|
this.order = order;
|
104
|
this.family = family;
|
105
|
this.genus = genus;
|
106
|
this.citation = citation;
|
107
|
this.lsid = lsid;
|
108
|
this.isMarine = isMarine;
|
109
|
this.isBrackish = isBrackish;
|
110
|
this.isFreshwater = isFreshwater;
|
111
|
this.isTerrestrial = isTerrestrial;
|
112
|
this.isExtinct = isExtinct;
|
113
|
this.match_type = match_type;
|
114
|
this.modified = modified;
|
115
|
}
|
116
|
|
117
|
|
118
|
/**
|
119
|
* Gets the aphiaID value for this AphiaRecord.
|
120
|
*
|
121
|
* @return aphiaID
|
122
|
*/
|
123
|
public int getAphiaID() {
|
124
|
return aphiaID;
|
125
|
}
|
126
|
|
127
|
|
128
|
/**
|
129
|
* Sets the aphiaID value for this AphiaRecord.
|
130
|
*
|
131
|
* @param aphiaID
|
132
|
*/
|
133
|
public void setAphiaID(int aphiaID) {
|
134
|
this.aphiaID = aphiaID;
|
135
|
}
|
136
|
|
137
|
|
138
|
/**
|
139
|
* Gets the url value for this AphiaRecord.
|
140
|
*
|
141
|
* @return url
|
142
|
*/
|
143
|
public java.lang.String getUrl() {
|
144
|
return url;
|
145
|
}
|
146
|
|
147
|
|
148
|
/**
|
149
|
* Sets the url value for this AphiaRecord.
|
150
|
*
|
151
|
* @param url
|
152
|
*/
|
153
|
public void setUrl(java.lang.String url) {
|
154
|
this.url = url;
|
155
|
}
|
156
|
|
157
|
|
158
|
/**
|
159
|
* Gets the scientificname value for this AphiaRecord.
|
160
|
*
|
161
|
* @return scientificname
|
162
|
*/
|
163
|
public java.lang.String getScientificname() {
|
164
|
return scientificname;
|
165
|
}
|
166
|
|
167
|
|
168
|
/**
|
169
|
* Sets the scientificname value for this AphiaRecord.
|
170
|
*
|
171
|
* @param scientificname
|
172
|
*/
|
173
|
public void setScientificname(java.lang.String scientificname) {
|
174
|
this.scientificname = scientificname;
|
175
|
}
|
176
|
|
177
|
|
178
|
/**
|
179
|
* Gets the authority value for this AphiaRecord.
|
180
|
*
|
181
|
* @return authority
|
182
|
*/
|
183
|
public java.lang.String getAuthority() {
|
184
|
return authority;
|
185
|
}
|
186
|
|
187
|
|
188
|
/**
|
189
|
* Sets the authority value for this AphiaRecord.
|
190
|
*
|
191
|
* @param authority
|
192
|
*/
|
193
|
public void setAuthority(java.lang.String authority) {
|
194
|
this.authority = authority;
|
195
|
}
|
196
|
|
197
|
|
198
|
/**
|
199
|
* Gets the rank value for this AphiaRecord.
|
200
|
*
|
201
|
* @return rank
|
202
|
*/
|
203
|
public java.lang.String getRank() {
|
204
|
return rank;
|
205
|
}
|
206
|
|
207
|
|
208
|
/**
|
209
|
* Sets the rank value for this AphiaRecord.
|
210
|
*
|
211
|
* @param rank
|
212
|
*/
|
213
|
public void setRank(java.lang.String rank) {
|
214
|
this.rank = rank;
|
215
|
}
|
216
|
|
217
|
|
218
|
/**
|
219
|
* Gets the status value for this AphiaRecord.
|
220
|
*
|
221
|
* @return status
|
222
|
*/
|
223
|
public java.lang.String getStatus() {
|
224
|
return status;
|
225
|
}
|
226
|
|
227
|
|
228
|
/**
|
229
|
* Sets the status value for this AphiaRecord.
|
230
|
*
|
231
|
* @param status
|
232
|
*/
|
233
|
public void setStatus(java.lang.String status) {
|
234
|
this.status = status;
|
235
|
}
|
236
|
|
237
|
|
238
|
/**
|
239
|
* Gets the unacceptreason value for this AphiaRecord.
|
240
|
*
|
241
|
* @return unacceptreason
|
242
|
*/
|
243
|
public java.lang.String getUnacceptreason() {
|
244
|
return unacceptreason;
|
245
|
}
|
246
|
|
247
|
|
248
|
/**
|
249
|
* Sets the unacceptreason value for this AphiaRecord.
|
250
|
*
|
251
|
* @param unacceptreason
|
252
|
*/
|
253
|
public void setUnacceptreason(java.lang.String unacceptreason) {
|
254
|
this.unacceptreason = unacceptreason;
|
255
|
}
|
256
|
|
257
|
|
258
|
/**
|
259
|
* Gets the valid_AphiaID value for this AphiaRecord.
|
260
|
*
|
261
|
* @return valid_AphiaID
|
262
|
*/
|
263
|
public int getValid_AphiaID() {
|
264
|
return valid_AphiaID;
|
265
|
}
|
266
|
|
267
|
|
268
|
/**
|
269
|
* Sets the valid_AphiaID value for this AphiaRecord.
|
270
|
*
|
271
|
* @param valid_AphiaID
|
272
|
*/
|
273
|
public void setValid_AphiaID(int valid_AphiaID) {
|
274
|
this.valid_AphiaID = valid_AphiaID;
|
275
|
}
|
276
|
|
277
|
|
278
|
/**
|
279
|
* Gets the valid_name value for this AphiaRecord.
|
280
|
*
|
281
|
* @return valid_name
|
282
|
*/
|
283
|
public java.lang.String getValid_name() {
|
284
|
return valid_name;
|
285
|
}
|
286
|
|
287
|
|
288
|
/**
|
289
|
* Sets the valid_name value for this AphiaRecord.
|
290
|
*
|
291
|
* @param valid_name
|
292
|
*/
|
293
|
public void setValid_name(java.lang.String valid_name) {
|
294
|
this.valid_name = valid_name;
|
295
|
}
|
296
|
|
297
|
|
298
|
/**
|
299
|
* Gets the valid_authority value for this AphiaRecord.
|
300
|
*
|
301
|
* @return valid_authority
|
302
|
*/
|
303
|
public java.lang.String getValid_authority() {
|
304
|
return valid_authority;
|
305
|
}
|
306
|
|
307
|
|
308
|
/**
|
309
|
* Sets the valid_authority value for this AphiaRecord.
|
310
|
*
|
311
|
* @param valid_authority
|
312
|
*/
|
313
|
public void setValid_authority(java.lang.String valid_authority) {
|
314
|
this.valid_authority = valid_authority;
|
315
|
}
|
316
|
|
317
|
|
318
|
/**
|
319
|
* Gets the kingdom value for this AphiaRecord.
|
320
|
*
|
321
|
* @return kingdom
|
322
|
*/
|
323
|
public java.lang.String getKingdom() {
|
324
|
return kingdom;
|
325
|
}
|
326
|
|
327
|
|
328
|
/**
|
329
|
* Sets the kingdom value for this AphiaRecord.
|
330
|
*
|
331
|
* @param kingdom
|
332
|
*/
|
333
|
public void setKingdom(java.lang.String kingdom) {
|
334
|
this.kingdom = kingdom;
|
335
|
}
|
336
|
|
337
|
|
338
|
/**
|
339
|
* Gets the phylum value for this AphiaRecord.
|
340
|
*
|
341
|
* @return phylum
|
342
|
*/
|
343
|
public java.lang.String getPhylum() {
|
344
|
return phylum;
|
345
|
}
|
346
|
|
347
|
|
348
|
/**
|
349
|
* Sets the phylum value for this AphiaRecord.
|
350
|
*
|
351
|
* @param phylum
|
352
|
*/
|
353
|
public void setPhylum(java.lang.String phylum) {
|
354
|
this.phylum = phylum;
|
355
|
}
|
356
|
|
357
|
|
358
|
/**
|
359
|
* Gets the _class value for this AphiaRecord.
|
360
|
*
|
361
|
* @return _class
|
362
|
*/
|
363
|
public java.lang.String get_class() {
|
364
|
return _class;
|
365
|
}
|
366
|
|
367
|
|
368
|
/**
|
369
|
* Sets the _class value for this AphiaRecord.
|
370
|
*
|
371
|
* @param _class
|
372
|
*/
|
373
|
public void set_class(java.lang.String _class) {
|
374
|
this._class = _class;
|
375
|
}
|
376
|
|
377
|
|
378
|
/**
|
379
|
* Gets the order value for this AphiaRecord.
|
380
|
*
|
381
|
* @return order
|
382
|
*/
|
383
|
public java.lang.String getOrder() {
|
384
|
return order;
|
385
|
}
|
386
|
|
387
|
|
388
|
/**
|
389
|
* Sets the order value for this AphiaRecord.
|
390
|
*
|
391
|
* @param order
|
392
|
*/
|
393
|
public void setOrder(java.lang.String order) {
|
394
|
this.order = order;
|
395
|
}
|
396
|
|
397
|
|
398
|
/**
|
399
|
* Gets the family value for this AphiaRecord.
|
400
|
*
|
401
|
* @return family
|
402
|
*/
|
403
|
public java.lang.String getFamily() {
|
404
|
return family;
|
405
|
}
|
406
|
|
407
|
|
408
|
/**
|
409
|
* Sets the family value for this AphiaRecord.
|
410
|
*
|
411
|
* @param family
|
412
|
*/
|
413
|
public void setFamily(java.lang.String family) {
|
414
|
this.family = family;
|
415
|
}
|
416
|
|
417
|
|
418
|
/**
|
419
|
* Gets the genus value for this AphiaRecord.
|
420
|
*
|
421
|
* @return genus
|
422
|
*/
|
423
|
public java.lang.String getGenus() {
|
424
|
return genus;
|
425
|
}
|
426
|
|
427
|
|
428
|
/**
|
429
|
* Sets the genus value for this AphiaRecord.
|
430
|
*
|
431
|
* @param genus
|
432
|
*/
|
433
|
public void setGenus(java.lang.String genus) {
|
434
|
this.genus = genus;
|
435
|
}
|
436
|
|
437
|
|
438
|
/**
|
439
|
* Gets the citation value for this AphiaRecord.
|
440
|
*
|
441
|
* @return citation
|
442
|
*/
|
443
|
public java.lang.String getCitation() {
|
444
|
return citation;
|
445
|
}
|
446
|
|
447
|
|
448
|
/**
|
449
|
* Sets the citation value for this AphiaRecord.
|
450
|
*
|
451
|
* @param citation
|
452
|
*/
|
453
|
public void setCitation(java.lang.String citation) {
|
454
|
this.citation = citation;
|
455
|
}
|
456
|
|
457
|
|
458
|
/**
|
459
|
* Gets the lsid value for this AphiaRecord.
|
460
|
*
|
461
|
* @return lsid
|
462
|
*/
|
463
|
public java.lang.String getLsid() {
|
464
|
return lsid;
|
465
|
}
|
466
|
|
467
|
|
468
|
/**
|
469
|
* Sets the lsid value for this AphiaRecord.
|
470
|
*
|
471
|
* @param lsid
|
472
|
*/
|
473
|
public void setLsid(java.lang.String lsid) {
|
474
|
this.lsid = lsid;
|
475
|
}
|
476
|
|
477
|
|
478
|
/**
|
479
|
* Gets the isMarine value for this AphiaRecord.
|
480
|
*
|
481
|
* @return isMarine
|
482
|
*/
|
483
|
public int getIsMarine() {
|
484
|
return isMarine;
|
485
|
}
|
486
|
|
487
|
|
488
|
/**
|
489
|
* Sets the isMarine value for this AphiaRecord.
|
490
|
*
|
491
|
* @param isMarine
|
492
|
*/
|
493
|
public void setIsMarine(int isMarine) {
|
494
|
this.isMarine = isMarine;
|
495
|
}
|
496
|
|
497
|
|
498
|
/**
|
499
|
* Gets the isBrackish value for this AphiaRecord.
|
500
|
*
|
501
|
* @return isBrackish
|
502
|
*/
|
503
|
public int getIsBrackish() {
|
504
|
return isBrackish;
|
505
|
}
|
506
|
|
507
|
|
508
|
/**
|
509
|
* Sets the isBrackish value for this AphiaRecord.
|
510
|
*
|
511
|
* @param isBrackish
|
512
|
*/
|
513
|
public void setIsBrackish(int isBrackish) {
|
514
|
this.isBrackish = isBrackish;
|
515
|
}
|
516
|
|
517
|
|
518
|
/**
|
519
|
* Gets the isFreshwater value for this AphiaRecord.
|
520
|
*
|
521
|
* @return isFreshwater
|
522
|
*/
|
523
|
public int getIsFreshwater() {
|
524
|
return isFreshwater;
|
525
|
}
|
526
|
|
527
|
|
528
|
/**
|
529
|
* Sets the isFreshwater value for this AphiaRecord.
|
530
|
*
|
531
|
* @param isFreshwater
|
532
|
*/
|
533
|
public void setIsFreshwater(int isFreshwater) {
|
534
|
this.isFreshwater = isFreshwater;
|
535
|
}
|
536
|
|
537
|
|
538
|
/**
|
539
|
* Gets the isTerrestrial value for this AphiaRecord.
|
540
|
*
|
541
|
* @return isTerrestrial
|
542
|
*/
|
543
|
public int getIsTerrestrial() {
|
544
|
return isTerrestrial;
|
545
|
}
|
546
|
|
547
|
|
548
|
/**
|
549
|
* Sets the isTerrestrial value for this AphiaRecord.
|
550
|
*
|
551
|
* @param isTerrestrial
|
552
|
*/
|
553
|
public void setIsTerrestrial(int isTerrestrial) {
|
554
|
this.isTerrestrial = isTerrestrial;
|
555
|
}
|
556
|
|
557
|
|
558
|
/**
|
559
|
* Gets the isExtinct value for this AphiaRecord.
|
560
|
*
|
561
|
* @return isExtinct
|
562
|
*/
|
563
|
public int getIsExtinct() {
|
564
|
return isExtinct;
|
565
|
}
|
566
|
|
567
|
|
568
|
/**
|
569
|
* Sets the isExtinct value for this AphiaRecord.
|
570
|
*
|
571
|
* @param isExtinct
|
572
|
*/
|
573
|
public void setIsExtinct(int isExtinct) {
|
574
|
this.isExtinct = isExtinct;
|
575
|
}
|
576
|
|
577
|
|
578
|
/**
|
579
|
* Gets the match_type value for this AphiaRecord.
|
580
|
*
|
581
|
* @return match_type
|
582
|
*/
|
583
|
public java.lang.String getMatch_type() {
|
584
|
return match_type;
|
585
|
}
|
586
|
|
587
|
|
588
|
/**
|
589
|
* Sets the match_type value for this AphiaRecord.
|
590
|
*
|
591
|
* @param match_type
|
592
|
*/
|
593
|
public void setMatch_type(java.lang.String match_type) {
|
594
|
this.match_type = match_type;
|
595
|
}
|
596
|
|
597
|
|
598
|
/**
|
599
|
* Gets the modified value for this AphiaRecord.
|
600
|
*
|
601
|
* @return modified
|
602
|
*/
|
603
|
public java.lang.String getModified() {
|
604
|
return modified;
|
605
|
}
|
606
|
|
607
|
|
608
|
/**
|
609
|
* Sets the modified value for this AphiaRecord.
|
610
|
*
|
611
|
* @param modified
|
612
|
*/
|
613
|
public void setModified(java.lang.String modified) {
|
614
|
this.modified = modified;
|
615
|
}
|
616
|
|
617
|
private java.lang.Object __equalsCalc = null;
|
618
|
public synchronized boolean equals(java.lang.Object obj) {
|
619
|
if (!(obj instanceof AphiaRecord)) return false;
|
620
|
AphiaRecord other = (AphiaRecord) obj;
|
621
|
if (obj == null) return false;
|
622
|
if (this == obj) return true;
|
623
|
if (__equalsCalc != null) {
|
624
|
return (__equalsCalc == obj);
|
625
|
}
|
626
|
__equalsCalc = obj;
|
627
|
boolean _equals;
|
628
|
_equals = true &&
|
629
|
this.aphiaID == other.getAphiaID() &&
|
630
|
((this.url==null && other.getUrl()==null) ||
|
631
|
(this.url!=null &&
|
632
|
this.url.equals(other.getUrl()))) &&
|
633
|
((this.scientificname==null && other.getScientificname()==null) ||
|
634
|
(this.scientificname!=null &&
|
635
|
this.scientificname.equals(other.getScientificname()))) &&
|
636
|
((this.authority==null && other.getAuthority()==null) ||
|
637
|
(this.authority!=null &&
|
638
|
this.authority.equals(other.getAuthority()))) &&
|
639
|
((this.rank==null && other.getRank()==null) ||
|
640
|
(this.rank!=null &&
|
641
|
this.rank.equals(other.getRank()))) &&
|
642
|
((this.status==null && other.getStatus()==null) ||
|
643
|
(this.status!=null &&
|
644
|
this.status.equals(other.getStatus()))) &&
|
645
|
((this.unacceptreason==null && other.getUnacceptreason()==null) ||
|
646
|
(this.unacceptreason!=null &&
|
647
|
this.unacceptreason.equals(other.getUnacceptreason()))) &&
|
648
|
this.valid_AphiaID == other.getValid_AphiaID() &&
|
649
|
((this.valid_name==null && other.getValid_name()==null) ||
|
650
|
(this.valid_name!=null &&
|
651
|
this.valid_name.equals(other.getValid_name()))) &&
|
652
|
((this.valid_authority==null && other.getValid_authority()==null) ||
|
653
|
(this.valid_authority!=null &&
|
654
|
this.valid_authority.equals(other.getValid_authority()))) &&
|
655
|
((this.kingdom==null && other.getKingdom()==null) ||
|
656
|
(this.kingdom!=null &&
|
657
|
this.kingdom.equals(other.getKingdom()))) &&
|
658
|
((this.phylum==null && other.getPhylum()==null) ||
|
659
|
(this.phylum!=null &&
|
660
|
this.phylum.equals(other.getPhylum()))) &&
|
661
|
((this._class==null && other.get_class()==null) ||
|
662
|
(this._class!=null &&
|
663
|
this._class.equals(other.get_class()))) &&
|
664
|
((this.order==null && other.getOrder()==null) ||
|
665
|
(this.order!=null &&
|
666
|
this.order.equals(other.getOrder()))) &&
|
667
|
((this.family==null && other.getFamily()==null) ||
|
668
|
(this.family!=null &&
|
669
|
this.family.equals(other.getFamily()))) &&
|
670
|
((this.genus==null && other.getGenus()==null) ||
|
671
|
(this.genus!=null &&
|
672
|
this.genus.equals(other.getGenus()))) &&
|
673
|
((this.citation==null && other.getCitation()==null) ||
|
674
|
(this.citation!=null &&
|
675
|
this.citation.equals(other.getCitation()))) &&
|
676
|
((this.lsid==null && other.getLsid()==null) ||
|
677
|
(this.lsid!=null &&
|
678
|
this.lsid.equals(other.getLsid()))) &&
|
679
|
this.isMarine == other.getIsMarine() &&
|
680
|
this.isBrackish == other.getIsBrackish() &&
|
681
|
this.isFreshwater == other.getIsFreshwater() &&
|
682
|
this.isTerrestrial == other.getIsTerrestrial() &&
|
683
|
this.isExtinct == other.getIsExtinct() &&
|
684
|
((this.match_type==null && other.getMatch_type()==null) ||
|
685
|
(this.match_type!=null &&
|
686
|
this.match_type.equals(other.getMatch_type()))) &&
|
687
|
((this.modified==null && other.getModified()==null) ||
|
688
|
(this.modified!=null &&
|
689
|
this.modified.equals(other.getModified())));
|
690
|
__equalsCalc = null;
|
691
|
return _equals;
|
692
|
}
|
693
|
|
694
|
private boolean __hashCodeCalc = false;
|
695
|
public synchronized int hashCode() {
|
696
|
if (__hashCodeCalc) {
|
697
|
return 0;
|
698
|
}
|
699
|
__hashCodeCalc = true;
|
700
|
int _hashCode = 1;
|
701
|
_hashCode += getAphiaID();
|
702
|
if (getUrl() != null) {
|
703
|
_hashCode += getUrl().hashCode();
|
704
|
}
|
705
|
if (getScientificname() != null) {
|
706
|
_hashCode += getScientificname().hashCode();
|
707
|
}
|
708
|
if (getAuthority() != null) {
|
709
|
_hashCode += getAuthority().hashCode();
|
710
|
}
|
711
|
if (getRank() != null) {
|
712
|
_hashCode += getRank().hashCode();
|
713
|
}
|
714
|
if (getStatus() != null) {
|
715
|
_hashCode += getStatus().hashCode();
|
716
|
}
|
717
|
if (getUnacceptreason() != null) {
|
718
|
_hashCode += getUnacceptreason().hashCode();
|
719
|
}
|
720
|
_hashCode += getValid_AphiaID();
|
721
|
if (getValid_name() != null) {
|
722
|
_hashCode += getValid_name().hashCode();
|
723
|
}
|
724
|
if (getValid_authority() != null) {
|
725
|
_hashCode += getValid_authority().hashCode();
|
726
|
}
|
727
|
if (getKingdom() != null) {
|
728
|
_hashCode += getKingdom().hashCode();
|
729
|
}
|
730
|
if (getPhylum() != null) {
|
731
|
_hashCode += getPhylum().hashCode();
|
732
|
}
|
733
|
if (get_class() != null) {
|
734
|
_hashCode += get_class().hashCode();
|
735
|
}
|
736
|
if (getOrder() != null) {
|
737
|
_hashCode += getOrder().hashCode();
|
738
|
}
|
739
|
if (getFamily() != null) {
|
740
|
_hashCode += getFamily().hashCode();
|
741
|
}
|
742
|
if (getGenus() != null) {
|
743
|
_hashCode += getGenus().hashCode();
|
744
|
}
|
745
|
if (getCitation() != null) {
|
746
|
_hashCode += getCitation().hashCode();
|
747
|
}
|
748
|
if (getLsid() != null) {
|
749
|
_hashCode += getLsid().hashCode();
|
750
|
}
|
751
|
_hashCode += getIsMarine();
|
752
|
_hashCode += getIsBrackish();
|
753
|
_hashCode += getIsFreshwater();
|
754
|
_hashCode += getIsTerrestrial();
|
755
|
_hashCode += getIsExtinct();
|
756
|
if (getMatch_type() != null) {
|
757
|
_hashCode += getMatch_type().hashCode();
|
758
|
}
|
759
|
if (getModified() != null) {
|
760
|
_hashCode += getModified().hashCode();
|
761
|
}
|
762
|
__hashCodeCalc = false;
|
763
|
return _hashCode;
|
764
|
}
|
765
|
|
766
|
// Type metadata
|
767
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
768
|
new org.apache.axis.description.TypeDesc(AphiaRecord.class, true);
|
769
|
|
770
|
static {
|
771
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://aphia/v1.0", "AphiaRecord"));
|
772
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
773
|
elemField.setFieldName("aphiaID");
|
774
|
elemField.setXmlName(new javax.xml.namespace.QName("", "AphiaID"));
|
775
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
776
|
elemField.setNillable(false);
|
777
|
typeDesc.addFieldDesc(elemField);
|
778
|
elemField = new org.apache.axis.description.ElementDesc();
|
779
|
elemField.setFieldName("url");
|
780
|
elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
|
781
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
782
|
elemField.setNillable(false);
|
783
|
typeDesc.addFieldDesc(elemField);
|
784
|
elemField = new org.apache.axis.description.ElementDesc();
|
785
|
elemField.setFieldName("scientificname");
|
786
|
elemField.setXmlName(new javax.xml.namespace.QName("", "scientificname"));
|
787
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
788
|
elemField.setNillable(false);
|
789
|
typeDesc.addFieldDesc(elemField);
|
790
|
elemField = new org.apache.axis.description.ElementDesc();
|
791
|
elemField.setFieldName("authority");
|
792
|
elemField.setXmlName(new javax.xml.namespace.QName("", "authority"));
|
793
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
794
|
elemField.setNillable(false);
|
795
|
typeDesc.addFieldDesc(elemField);
|
796
|
elemField = new org.apache.axis.description.ElementDesc();
|
797
|
elemField.setFieldName("rank");
|
798
|
elemField.setXmlName(new javax.xml.namespace.QName("", "rank"));
|
799
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
800
|
elemField.setNillable(false);
|
801
|
typeDesc.addFieldDesc(elemField);
|
802
|
elemField = new org.apache.axis.description.ElementDesc();
|
803
|
elemField.setFieldName("status");
|
804
|
elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
|
805
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
806
|
elemField.setNillable(false);
|
807
|
typeDesc.addFieldDesc(elemField);
|
808
|
elemField = new org.apache.axis.description.ElementDesc();
|
809
|
elemField.setFieldName("unacceptreason");
|
810
|
elemField.setXmlName(new javax.xml.namespace.QName("", "unacceptreason"));
|
811
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
812
|
elemField.setNillable(false);
|
813
|
typeDesc.addFieldDesc(elemField);
|
814
|
elemField = new org.apache.axis.description.ElementDesc();
|
815
|
elemField.setFieldName("valid_AphiaID");
|
816
|
elemField.setXmlName(new javax.xml.namespace.QName("", "valid_AphiaID"));
|
817
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
818
|
elemField.setNillable(false);
|
819
|
typeDesc.addFieldDesc(elemField);
|
820
|
elemField = new org.apache.axis.description.ElementDesc();
|
821
|
elemField.setFieldName("valid_name");
|
822
|
elemField.setXmlName(new javax.xml.namespace.QName("", "valid_name"));
|
823
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
824
|
elemField.setNillable(false);
|
825
|
typeDesc.addFieldDesc(elemField);
|
826
|
elemField = new org.apache.axis.description.ElementDesc();
|
827
|
elemField.setFieldName("valid_authority");
|
828
|
elemField.setXmlName(new javax.xml.namespace.QName("", "valid_authority"));
|
829
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
830
|
elemField.setNillable(false);
|
831
|
typeDesc.addFieldDesc(elemField);
|
832
|
elemField = new org.apache.axis.description.ElementDesc();
|
833
|
elemField.setFieldName("kingdom");
|
834
|
elemField.setXmlName(new javax.xml.namespace.QName("", "kingdom"));
|
835
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
836
|
elemField.setNillable(false);
|
837
|
typeDesc.addFieldDesc(elemField);
|
838
|
elemField = new org.apache.axis.description.ElementDesc();
|
839
|
elemField.setFieldName("phylum");
|
840
|
elemField.setXmlName(new javax.xml.namespace.QName("", "phylum"));
|
841
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
842
|
elemField.setNillable(false);
|
843
|
typeDesc.addFieldDesc(elemField);
|
844
|
elemField = new org.apache.axis.description.ElementDesc();
|
845
|
elemField.setFieldName("_class");
|
846
|
elemField.setXmlName(new javax.xml.namespace.QName("", "class"));
|
847
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
848
|
elemField.setNillable(false);
|
849
|
typeDesc.addFieldDesc(elemField);
|
850
|
elemField = new org.apache.axis.description.ElementDesc();
|
851
|
elemField.setFieldName("order");
|
852
|
elemField.setXmlName(new javax.xml.namespace.QName("", "order"));
|
853
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
854
|
elemField.setNillable(false);
|
855
|
typeDesc.addFieldDesc(elemField);
|
856
|
elemField = new org.apache.axis.description.ElementDesc();
|
857
|
elemField.setFieldName("family");
|
858
|
elemField.setXmlName(new javax.xml.namespace.QName("", "family"));
|
859
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
860
|
elemField.setNillable(false);
|
861
|
typeDesc.addFieldDesc(elemField);
|
862
|
elemField = new org.apache.axis.description.ElementDesc();
|
863
|
elemField.setFieldName("genus");
|
864
|
elemField.setXmlName(new javax.xml.namespace.QName("", "genus"));
|
865
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
866
|
elemField.setNillable(false);
|
867
|
typeDesc.addFieldDesc(elemField);
|
868
|
elemField = new org.apache.axis.description.ElementDesc();
|
869
|
elemField.setFieldName("citation");
|
870
|
elemField.setXmlName(new javax.xml.namespace.QName("", "citation"));
|
871
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
872
|
elemField.setNillable(false);
|
873
|
typeDesc.addFieldDesc(elemField);
|
874
|
elemField = new org.apache.axis.description.ElementDesc();
|
875
|
elemField.setFieldName("lsid");
|
876
|
elemField.setXmlName(new javax.xml.namespace.QName("", "lsid"));
|
877
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
878
|
elemField.setNillable(false);
|
879
|
typeDesc.addFieldDesc(elemField);
|
880
|
elemField = new org.apache.axis.description.ElementDesc();
|
881
|
elemField.setFieldName("isMarine");
|
882
|
elemField.setXmlName(new javax.xml.namespace.QName("", "isMarine"));
|
883
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
884
|
elemField.setNillable(false);
|
885
|
typeDesc.addFieldDesc(elemField);
|
886
|
elemField = new org.apache.axis.description.ElementDesc();
|
887
|
elemField.setFieldName("isBrackish");
|
888
|
elemField.setXmlName(new javax.xml.namespace.QName("", "isBrackish"));
|
889
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
890
|
elemField.setNillable(false);
|
891
|
typeDesc.addFieldDesc(elemField);
|
892
|
elemField = new org.apache.axis.description.ElementDesc();
|
893
|
elemField.setFieldName("isFreshwater");
|
894
|
elemField.setXmlName(new javax.xml.namespace.QName("", "isFreshwater"));
|
895
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
896
|
elemField.setNillable(false);
|
897
|
typeDesc.addFieldDesc(elemField);
|
898
|
elemField = new org.apache.axis.description.ElementDesc();
|
899
|
elemField.setFieldName("isTerrestrial");
|
900
|
elemField.setXmlName(new javax.xml.namespace.QName("", "isTerrestrial"));
|
901
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
902
|
elemField.setNillable(false);
|
903
|
typeDesc.addFieldDesc(elemField);
|
904
|
elemField = new org.apache.axis.description.ElementDesc();
|
905
|
elemField.setFieldName("isExtinct");
|
906
|
elemField.setXmlName(new javax.xml.namespace.QName("", "isExtinct"));
|
907
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
908
|
elemField.setNillable(false);
|
909
|
typeDesc.addFieldDesc(elemField);
|
910
|
elemField = new org.apache.axis.description.ElementDesc();
|
911
|
elemField.setFieldName("match_type");
|
912
|
elemField.setXmlName(new javax.xml.namespace.QName("", "match_type"));
|
913
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
914
|
elemField.setNillable(false);
|
915
|
typeDesc.addFieldDesc(elemField);
|
916
|
elemField = new org.apache.axis.description.ElementDesc();
|
917
|
elemField.setFieldName("modified");
|
918
|
elemField.setXmlName(new javax.xml.namespace.QName("", "modified"));
|
919
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
920
|
elemField.setNillable(false);
|
921
|
typeDesc.addFieldDesc(elemField);
|
922
|
}
|
923
|
|
924
|
/**
|
925
|
* Return type metadata object
|
926
|
*/
|
927
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
928
|
return typeDesc;
|
929
|
}
|
930
|
|
931
|
/**
|
932
|
* Get Custom Serializer
|
933
|
*/
|
934
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
935
|
java.lang.String mechType,
|
936
|
java.lang.Class _javaType,
|
937
|
javax.xml.namespace.QName _xmlType) {
|
938
|
return
|
939
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
940
|
_javaType, _xmlType, typeDesc);
|
941
|
}
|
942
|
|
943
|
/**
|
944
|
* Get Custom Deserializer
|
945
|
*/
|
946
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
947
|
java.lang.String mechType,
|
948
|
java.lang.Class _javaType,
|
949
|
javax.xml.namespace.QName _xmlType) {
|
950
|
return
|
951
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
952
|
_javaType, _xmlType, typeDesc);
|
953
|
}
|
954
|
|
955
|
}
|