1
2
3
4
5
6
7
8
9 package com.hack23.cia.model.internal.application.data.committee.impl;
10
11 import java.io.Serializable;
12 import java.math.BigDecimal;
13 import javax.persistence.AttributeOverride;
14 import javax.persistence.AttributeOverrides;
15 import javax.persistence.Basic;
16 import javax.persistence.Column;
17 import javax.persistence.EmbeddedId;
18 import javax.persistence.Entity;
19 import javax.persistence.Inheritance;
20 import javax.persistence.InheritanceType;
21 import javax.persistence.Table;
22 import javax.xml.bind.annotation.XmlAccessType;
23 import javax.xml.bind.annotation.XmlAccessorType;
24 import javax.xml.bind.annotation.XmlElement;
25 import javax.xml.bind.annotation.XmlType;
26 import com.hack23.cia.model.common.api.ModelObject;
27 import org.jvnet.jaxb2_commons.lang.Equals;
28 import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
29 import org.jvnet.jaxb2_commons.lang.HashCode;
30 import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
31 import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
32 import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
33 import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
34 import org.jvnet.jaxb2_commons.lang.ToString;
35 import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
36 import org.jvnet.jaxb2_commons.locator.ObjectLocator;
37 import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96 @XmlAccessorType(XmlAccessType.FIELD)
97 @XmlType(name = "ViewRiksdagenVoteDataBallotPartySummaryDaily", propOrder = {
98 "embeddedId",
99 "totalVotes",
100 "yesVotes",
101 "noVotes",
102 "numberBallots",
103 "abstainVotes",
104 "absentVotes",
105 "approvedTotal",
106 "approvedPercentage",
107 "percentageYes",
108 "percentageNo",
109 "percentageAbsent",
110 "percentageAbstain",
111 "percentageApproved",
112 "partyAvgBornYear",
113 "partyTotalVotes",
114 "partyYesVotes",
115 "partyNoVotes",
116 "partyAbstainVotes",
117 "partyAbsentVotes",
118 "partyPercentageYes",
119 "partyPercentageNo",
120 "partyPercentageAbsent",
121 "partyPercentageAbstain",
122 "partyAvgPercentageMale",
123 "partyWonTotal",
124 "partyWonPercentage",
125 "avgTotalVotes",
126 "avgYesVotes",
127 "avgNoVotes",
128 "avgAbstainVotes",
129 "avgAbsentVotes",
130 "avgPercentageYes",
131 "avgPercentageNo",
132 "avgPercentageAbsent",
133 "avgPercentageAbstain",
134 "avgPercentageMale",
135 "avgBornYear"
136 })
137 @Entity(name = "ViewRiksdagenVoteDataBallotPartySummaryDaily")
138 @Table(name = "View_Riksdagen_Vote_Data_Ballot_Party_Summary_Daily")
139 @Inheritance(strategy = InheritanceType.JOINED)
140 public class ViewRiksdagenVoteDataBallotPartySummaryDaily
141 implements Serializable, ModelObject, Equals, HashCode, ToString
142 {
143
144 private final static long serialVersionUID = 1L;
145 @XmlElement(required = true)
146 protected RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId embeddedId;
147 @XmlElement(name = "total_votes", required = true)
148 protected BigDecimal totalVotes;
149 @XmlElement(name = "yes_votes", required = true)
150 protected BigDecimal yesVotes;
151 @XmlElement(name = "no_votes", required = true)
152 protected BigDecimal noVotes;
153 @XmlElement(name = "number_ballots")
154 protected long numberBallots;
155 @XmlElement(name = "abstain_votes", required = true)
156 protected BigDecimal abstainVotes;
157 @XmlElement(name = "absent_votes", required = true)
158 protected BigDecimal absentVotes;
159 @XmlElement(name = "approved_total")
160 protected long approvedTotal;
161 @XmlElement(name = "approved_percentage", required = true)
162 protected BigDecimal approvedPercentage;
163 @XmlElement(name = "percentage_yes", required = true)
164 protected BigDecimal percentageYes;
165 @XmlElement(name = "percentage_no", required = true)
166 protected BigDecimal percentageNo;
167 @XmlElement(name = "percentage_absent", required = true)
168 protected BigDecimal percentageAbsent;
169 @XmlElement(name = "percentage_abstain", required = true)
170 protected BigDecimal percentageAbstain;
171 @XmlElement(name = "percentage_approved", required = true)
172 protected BigDecimal percentageApproved;
173 @XmlElement(name = "party_avg_born_year", required = true)
174 protected BigDecimal partyAvgBornYear;
175 @XmlElement(name = "party_total_votes", required = true)
176 protected BigDecimal partyTotalVotes;
177 @XmlElement(name = "party_yes_votes", required = true)
178 protected BigDecimal partyYesVotes;
179 @XmlElement(name = "party_no_votes", required = true)
180 protected BigDecimal partyNoVotes;
181 @XmlElement(name = "party_abstain_votes", required = true)
182 protected BigDecimal partyAbstainVotes;
183 @XmlElement(name = "party_absent_votes", required = true)
184 protected BigDecimal partyAbsentVotes;
185 @XmlElement(name = "party_percentage_yes", required = true)
186 protected BigDecimal partyPercentageYes;
187 @XmlElement(name = "party_percentage_no", required = true)
188 protected BigDecimal partyPercentageNo;
189 @XmlElement(name = "party_percentage_absent", required = true)
190 protected BigDecimal partyPercentageAbsent;
191 @XmlElement(name = "party_percentage_abstain", required = true)
192 protected BigDecimal partyPercentageAbstain;
193 @XmlElement(name = "party_avg_percentage_male", required = true)
194 protected BigDecimal partyAvgPercentageMale;
195 @XmlElement(name = "party_won_total")
196 protected long partyWonTotal;
197 @XmlElement(name = "party_won_percentage", required = true)
198 protected BigDecimal partyWonPercentage;
199 @XmlElement(name = "avg_total_votes")
200 protected long avgTotalVotes;
201 @XmlElement(name = "avg_yes_votes", required = true)
202 protected BigDecimal avgYesVotes;
203 @XmlElement(name = "avg_no_votes", required = true)
204 protected BigDecimal avgNoVotes;
205 @XmlElement(name = "avg_abstain_votes", required = true)
206 protected BigDecimal avgAbstainVotes;
207 @XmlElement(name = "avg_absent_votes", required = true)
208 protected BigDecimal avgAbsentVotes;
209 @XmlElement(name = "avg_percentage_yes", required = true)
210 protected BigDecimal avgPercentageYes;
211 @XmlElement(name = "avg_percentage_no", required = true)
212 protected BigDecimal avgPercentageNo;
213 @XmlElement(name = "avg_percentage_absent", required = true)
214 protected BigDecimal avgPercentageAbsent;
215 @XmlElement(name = "avg_percentage_abstain", required = true)
216 protected BigDecimal avgPercentageAbstain;
217 @XmlElement(name = "avg_percentage_male", required = true)
218 protected BigDecimal avgPercentageMale;
219 @XmlElement(name = "avg_born_year", required = true)
220 protected BigDecimal avgBornYear;
221
222
223
224
225
226
227
228
229
230 @EmbeddedId
231 @AttributeOverrides({
232 @AttributeOverride(name = "voteDate", column = @Column(name = "EMBEDDED_ID_VOTE_DATE")),
233 @AttributeOverride(name = "party", column = @Column(name = "EMBEDDED_ID_PARTY", length = 255))
234 })
235 public RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId getEmbeddedId() {
236 return embeddedId;
237 }
238
239
240
241
242
243
244
245
246
247 public void setEmbeddedId(RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId value) {
248 this.embeddedId = value;
249 }
250
251
252
253
254
255
256
257
258
259 @Basic
260 @Column(name = "TOTAL_VOTES", precision = 20, scale = 10)
261 public BigDecimal getTotalVotes() {
262 return totalVotes;
263 }
264
265
266
267
268
269
270
271
272
273 public void setTotalVotes(BigDecimal value) {
274 this.totalVotes = value;
275 }
276
277
278
279
280
281
282
283
284
285 @Basic
286 @Column(name = "YES_VOTES", precision = 20, scale = 10)
287 public BigDecimal getYesVotes() {
288 return yesVotes;
289 }
290
291
292
293
294
295
296
297
298
299 public void setYesVotes(BigDecimal value) {
300 this.yesVotes = value;
301 }
302
303
304
305
306
307
308
309
310
311 @Basic
312 @Column(name = "NO_VOTES", precision = 20, scale = 10)
313 public BigDecimal getNoVotes() {
314 return noVotes;
315 }
316
317
318
319
320
321
322
323
324
325 public void setNoVotes(BigDecimal value) {
326 this.noVotes = value;
327 }
328
329
330
331
332
333 @Basic
334 @Column(name = "NUMBER_BALLOTS", precision = 20, scale = 0)
335 public long getNumberBallots() {
336 return numberBallots;
337 }
338
339
340
341
342
343 public void setNumberBallots(long value) {
344 this.numberBallots = value;
345 }
346
347
348
349
350
351
352
353
354
355 @Basic
356 @Column(name = "ABSTAIN_VOTES", precision = 20, scale = 10)
357 public BigDecimal getAbstainVotes() {
358 return abstainVotes;
359 }
360
361
362
363
364
365
366
367
368
369 public void setAbstainVotes(BigDecimal value) {
370 this.abstainVotes = value;
371 }
372
373
374
375
376
377
378
379
380
381 @Basic
382 @Column(name = "ABSENT_VOTES", precision = 20, scale = 10)
383 public BigDecimal getAbsentVotes() {
384 return absentVotes;
385 }
386
387
388
389
390
391
392
393
394
395 public void setAbsentVotes(BigDecimal value) {
396 this.absentVotes = value;
397 }
398
399
400
401
402
403 @Basic
404 @Column(name = "APPROVED_TOTAL", precision = 20, scale = 0)
405 public long getApprovedTotal() {
406 return approvedTotal;
407 }
408
409
410
411
412
413 public void setApprovedTotal(long value) {
414 this.approvedTotal = value;
415 }
416
417
418
419
420
421
422
423
424
425 @Basic
426 @Column(name = "APPROVED_PERCENTAGE", precision = 20, scale = 10)
427 public BigDecimal getApprovedPercentage() {
428 return approvedPercentage;
429 }
430
431
432
433
434
435
436
437
438
439 public void setApprovedPercentage(BigDecimal value) {
440 this.approvedPercentage = value;
441 }
442
443
444
445
446
447
448
449
450
451 @Basic
452 @Column(name = "PERCENTAGE_YES", precision = 20, scale = 10)
453 public BigDecimal getPercentageYes() {
454 return percentageYes;
455 }
456
457
458
459
460
461
462
463
464
465 public void setPercentageYes(BigDecimal value) {
466 this.percentageYes = value;
467 }
468
469
470
471
472
473
474
475
476
477 @Basic
478 @Column(name = "PERCENTAGE_NO", precision = 20, scale = 10)
479 public BigDecimal getPercentageNo() {
480 return percentageNo;
481 }
482
483
484
485
486
487
488
489
490
491 public void setPercentageNo(BigDecimal value) {
492 this.percentageNo = value;
493 }
494
495
496
497
498
499
500
501
502
503 @Basic
504 @Column(name = "PERCENTAGE_ABSENT", precision = 20, scale = 10)
505 public BigDecimal getPercentageAbsent() {
506 return percentageAbsent;
507 }
508
509
510
511
512
513
514
515
516
517 public void setPercentageAbsent(BigDecimal value) {
518 this.percentageAbsent = value;
519 }
520
521
522
523
524
525
526
527
528
529 @Basic
530 @Column(name = "PERCENTAGE_ABSTAIN", precision = 20, scale = 10)
531 public BigDecimal getPercentageAbstain() {
532 return percentageAbstain;
533 }
534
535
536
537
538
539
540
541
542
543 public void setPercentageAbstain(BigDecimal value) {
544 this.percentageAbstain = value;
545 }
546
547
548
549
550
551
552
553
554
555 @Basic
556 @Column(name = "PERCENTAGE_APPROVED", precision = 20, scale = 10)
557 public BigDecimal getPercentageApproved() {
558 return percentageApproved;
559 }
560
561
562
563
564
565
566
567
568
569 public void setPercentageApproved(BigDecimal value) {
570 this.percentageApproved = value;
571 }
572
573
574
575
576
577
578
579
580
581 @Basic
582 @Column(name = "PARTY_AVG_BORN_YEAR", precision = 20, scale = 10)
583 public BigDecimal getPartyAvgBornYear() {
584 return partyAvgBornYear;
585 }
586
587
588
589
590
591
592
593
594
595 public void setPartyAvgBornYear(BigDecimal value) {
596 this.partyAvgBornYear = value;
597 }
598
599
600
601
602
603
604
605
606
607 @Basic
608 @Column(name = "PARTY_TOTAL_VOTES", precision = 20, scale = 10)
609 public BigDecimal getPartyTotalVotes() {
610 return partyTotalVotes;
611 }
612
613
614
615
616
617
618
619
620
621 public void setPartyTotalVotes(BigDecimal value) {
622 this.partyTotalVotes = value;
623 }
624
625
626
627
628
629
630
631
632
633 @Basic
634 @Column(name = "PARTY_YES_VOTES", precision = 20, scale = 10)
635 public BigDecimal getPartyYesVotes() {
636 return partyYesVotes;
637 }
638
639
640
641
642
643
644
645
646
647 public void setPartyYesVotes(BigDecimal value) {
648 this.partyYesVotes = value;
649 }
650
651
652
653
654
655
656
657
658
659 @Basic
660 @Column(name = "PARTY_NO_VOTES", precision = 20, scale = 10)
661 public BigDecimal getPartyNoVotes() {
662 return partyNoVotes;
663 }
664
665
666
667
668
669
670
671
672
673 public void setPartyNoVotes(BigDecimal value) {
674 this.partyNoVotes = value;
675 }
676
677
678
679
680
681
682
683
684
685 @Basic
686 @Column(name = "PARTY_ABSTAIN_VOTES", precision = 20, scale = 10)
687 public BigDecimal getPartyAbstainVotes() {
688 return partyAbstainVotes;
689 }
690
691
692
693
694
695
696
697
698
699 public void setPartyAbstainVotes(BigDecimal value) {
700 this.partyAbstainVotes = value;
701 }
702
703
704
705
706
707
708
709
710
711 @Basic
712 @Column(name = "PARTY_ABSENT_VOTES", precision = 20, scale = 10)
713 public BigDecimal getPartyAbsentVotes() {
714 return partyAbsentVotes;
715 }
716
717
718
719
720
721
722
723
724
725 public void setPartyAbsentVotes(BigDecimal value) {
726 this.partyAbsentVotes = value;
727 }
728
729
730
731
732
733
734
735
736
737 @Basic
738 @Column(name = "PARTY_PERCENTAGE_YES", precision = 20, scale = 10)
739 public BigDecimal getPartyPercentageYes() {
740 return partyPercentageYes;
741 }
742
743
744
745
746
747
748
749
750
751 public void setPartyPercentageYes(BigDecimal value) {
752 this.partyPercentageYes = value;
753 }
754
755
756
757
758
759
760
761
762
763 @Basic
764 @Column(name = "PARTY_PERCENTAGE_NO", precision = 20, scale = 10)
765 public BigDecimal getPartyPercentageNo() {
766 return partyPercentageNo;
767 }
768
769
770
771
772
773
774
775
776
777 public void setPartyPercentageNo(BigDecimal value) {
778 this.partyPercentageNo = value;
779 }
780
781
782
783
784
785
786
787
788
789 @Basic
790 @Column(name = "PARTY_PERCENTAGE_ABSENT", precision = 20, scale = 10)
791 public BigDecimal getPartyPercentageAbsent() {
792 return partyPercentageAbsent;
793 }
794
795
796
797
798
799
800
801
802
803 public void setPartyPercentageAbsent(BigDecimal value) {
804 this.partyPercentageAbsent = value;
805 }
806
807
808
809
810
811
812
813
814
815 @Basic
816 @Column(name = "PARTY_PERCENTAGE_ABSTAIN", precision = 20, scale = 10)
817 public BigDecimal getPartyPercentageAbstain() {
818 return partyPercentageAbstain;
819 }
820
821
822
823
824
825
826
827
828
829 public void setPartyPercentageAbstain(BigDecimal value) {
830 this.partyPercentageAbstain = value;
831 }
832
833
834
835
836
837
838
839
840
841 @Basic
842 @Column(name = "PARTY_AVG_PERCENTAGE_MALE", precision = 20, scale = 10)
843 public BigDecimal getPartyAvgPercentageMale() {
844 return partyAvgPercentageMale;
845 }
846
847
848
849
850
851
852
853
854
855 public void setPartyAvgPercentageMale(BigDecimal value) {
856 this.partyAvgPercentageMale = value;
857 }
858
859
860
861
862
863 @Basic
864 @Column(name = "PARTY_WON_TOTAL", precision = 20, scale = 0)
865 public long getPartyWonTotal() {
866 return partyWonTotal;
867 }
868
869
870
871
872
873 public void setPartyWonTotal(long value) {
874 this.partyWonTotal = value;
875 }
876
877
878
879
880
881
882
883
884
885 @Basic
886 @Column(name = "PARTY_WON_PERCENTAGE", precision = 20, scale = 10)
887 public BigDecimal getPartyWonPercentage() {
888 return partyWonPercentage;
889 }
890
891
892
893
894
895
896
897
898
899 public void setPartyWonPercentage(BigDecimal value) {
900 this.partyWonPercentage = value;
901 }
902
903
904
905
906
907 @Basic
908 @Column(name = "AVG_TOTAL_VOTES", precision = 20, scale = 0)
909 public long getAvgTotalVotes() {
910 return avgTotalVotes;
911 }
912
913
914
915
916
917 public void setAvgTotalVotes(long value) {
918 this.avgTotalVotes = value;
919 }
920
921
922
923
924
925
926
927
928
929 @Basic
930 @Column(name = "AVG_YES_VOTES", precision = 20, scale = 10)
931 public BigDecimal getAvgYesVotes() {
932 return avgYesVotes;
933 }
934
935
936
937
938
939
940
941
942
943 public void setAvgYesVotes(BigDecimal value) {
944 this.avgYesVotes = value;
945 }
946
947
948
949
950
951
952
953
954
955 @Basic
956 @Column(name = "AVG_NO_VOTES", precision = 20, scale = 10)
957 public BigDecimal getAvgNoVotes() {
958 return avgNoVotes;
959 }
960
961
962
963
964
965
966
967
968
969 public void setAvgNoVotes(BigDecimal value) {
970 this.avgNoVotes = value;
971 }
972
973
974
975
976
977
978
979
980
981 @Basic
982 @Column(name = "AVG_ABSTAIN_VOTES", precision = 20, scale = 10)
983 public BigDecimal getAvgAbstainVotes() {
984 return avgAbstainVotes;
985 }
986
987
988
989
990
991
992
993
994
995 public void setAvgAbstainVotes(BigDecimal value) {
996 this.avgAbstainVotes = value;
997 }
998
999
1000
1001
1002
1003
1004
1005
1006
1007 @Basic
1008 @Column(name = "AVG_ABSENT_VOTES", precision = 20, scale = 10)
1009 public BigDecimal getAvgAbsentVotes() {
1010 return avgAbsentVotes;
1011 }
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021 public void setAvgAbsentVotes(BigDecimal value) {
1022 this.avgAbsentVotes = value;
1023 }
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033 @Basic
1034 @Column(name = "AVG_PERCENTAGE_YES", precision = 20, scale = 10)
1035 public BigDecimal getAvgPercentageYes() {
1036 return avgPercentageYes;
1037 }
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047 public void setAvgPercentageYes(BigDecimal value) {
1048 this.avgPercentageYes = value;
1049 }
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059 @Basic
1060 @Column(name = "AVG_PERCENTAGE_NO", precision = 20, scale = 10)
1061 public BigDecimal getAvgPercentageNo() {
1062 return avgPercentageNo;
1063 }
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073 public void setAvgPercentageNo(BigDecimal value) {
1074 this.avgPercentageNo = value;
1075 }
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085 @Basic
1086 @Column(name = "AVG_PERCENTAGE_ABSENT", precision = 20, scale = 10)
1087 public BigDecimal getAvgPercentageAbsent() {
1088 return avgPercentageAbsent;
1089 }
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099 public void setAvgPercentageAbsent(BigDecimal value) {
1100 this.avgPercentageAbsent = value;
1101 }
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111 @Basic
1112 @Column(name = "AVG_PERCENTAGE_ABSTAIN", precision = 20, scale = 10)
1113 public BigDecimal getAvgPercentageAbstain() {
1114 return avgPercentageAbstain;
1115 }
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125 public void setAvgPercentageAbstain(BigDecimal value) {
1126 this.avgPercentageAbstain = value;
1127 }
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137 @Basic
1138 @Column(name = "AVG_PERCENTAGE_MALE", precision = 20, scale = 10)
1139 public BigDecimal getAvgPercentageMale() {
1140 return avgPercentageMale;
1141 }
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151 public void setAvgPercentageMale(BigDecimal value) {
1152 this.avgPercentageMale = value;
1153 }
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163 @Basic
1164 @Column(name = "AVG_BORN_YEAR", precision = 20, scale = 10)
1165 public BigDecimal getAvgBornYear() {
1166 return avgBornYear;
1167 }
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177 public void setAvgBornYear(BigDecimal value) {
1178 this.avgBornYear = value;
1179 }
1180
1181 public ViewRiksdagenVoteDataBallotPartySummaryDaily withEmbeddedId(RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId value) {
1182 setEmbeddedId(value);
1183 return this;
1184 }
1185
1186 public ViewRiksdagenVoteDataBallotPartySummaryDaily withTotalVotes(BigDecimal value) {
1187 setTotalVotes(value);
1188 return this;
1189 }
1190
1191 public ViewRiksdagenVoteDataBallotPartySummaryDaily withYesVotes(BigDecimal value) {
1192 setYesVotes(value);
1193 return this;
1194 }
1195
1196 public ViewRiksdagenVoteDataBallotPartySummaryDaily withNoVotes(BigDecimal value) {
1197 setNoVotes(value);
1198 return this;
1199 }
1200
1201 public ViewRiksdagenVoteDataBallotPartySummaryDaily withNumberBallots(long value) {
1202 setNumberBallots(value);
1203 return this;
1204 }
1205
1206 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAbstainVotes(BigDecimal value) {
1207 setAbstainVotes(value);
1208 return this;
1209 }
1210
1211 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAbsentVotes(BigDecimal value) {
1212 setAbsentVotes(value);
1213 return this;
1214 }
1215
1216 public ViewRiksdagenVoteDataBallotPartySummaryDaily withApprovedTotal(long value) {
1217 setApprovedTotal(value);
1218 return this;
1219 }
1220
1221 public ViewRiksdagenVoteDataBallotPartySummaryDaily withApprovedPercentage(BigDecimal value) {
1222 setApprovedPercentage(value);
1223 return this;
1224 }
1225
1226 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPercentageYes(BigDecimal value) {
1227 setPercentageYes(value);
1228 return this;
1229 }
1230
1231 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPercentageNo(BigDecimal value) {
1232 setPercentageNo(value);
1233 return this;
1234 }
1235
1236 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPercentageAbsent(BigDecimal value) {
1237 setPercentageAbsent(value);
1238 return this;
1239 }
1240
1241 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPercentageAbstain(BigDecimal value) {
1242 setPercentageAbstain(value);
1243 return this;
1244 }
1245
1246 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPercentageApproved(BigDecimal value) {
1247 setPercentageApproved(value);
1248 return this;
1249 }
1250
1251 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyAvgBornYear(BigDecimal value) {
1252 setPartyAvgBornYear(value);
1253 return this;
1254 }
1255
1256 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyTotalVotes(BigDecimal value) {
1257 setPartyTotalVotes(value);
1258 return this;
1259 }
1260
1261 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyYesVotes(BigDecimal value) {
1262 setPartyYesVotes(value);
1263 return this;
1264 }
1265
1266 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyNoVotes(BigDecimal value) {
1267 setPartyNoVotes(value);
1268 return this;
1269 }
1270
1271 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyAbstainVotes(BigDecimal value) {
1272 setPartyAbstainVotes(value);
1273 return this;
1274 }
1275
1276 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyAbsentVotes(BigDecimal value) {
1277 setPartyAbsentVotes(value);
1278 return this;
1279 }
1280
1281 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyPercentageYes(BigDecimal value) {
1282 setPartyPercentageYes(value);
1283 return this;
1284 }
1285
1286 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyPercentageNo(BigDecimal value) {
1287 setPartyPercentageNo(value);
1288 return this;
1289 }
1290
1291 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyPercentageAbsent(BigDecimal value) {
1292 setPartyPercentageAbsent(value);
1293 return this;
1294 }
1295
1296 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyPercentageAbstain(BigDecimal value) {
1297 setPartyPercentageAbstain(value);
1298 return this;
1299 }
1300
1301 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyAvgPercentageMale(BigDecimal value) {
1302 setPartyAvgPercentageMale(value);
1303 return this;
1304 }
1305
1306 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyWonTotal(long value) {
1307 setPartyWonTotal(value);
1308 return this;
1309 }
1310
1311 public ViewRiksdagenVoteDataBallotPartySummaryDaily withPartyWonPercentage(BigDecimal value) {
1312 setPartyWonPercentage(value);
1313 return this;
1314 }
1315
1316 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgTotalVotes(long value) {
1317 setAvgTotalVotes(value);
1318 return this;
1319 }
1320
1321 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgYesVotes(BigDecimal value) {
1322 setAvgYesVotes(value);
1323 return this;
1324 }
1325
1326 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgNoVotes(BigDecimal value) {
1327 setAvgNoVotes(value);
1328 return this;
1329 }
1330
1331 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgAbstainVotes(BigDecimal value) {
1332 setAvgAbstainVotes(value);
1333 return this;
1334 }
1335
1336 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgAbsentVotes(BigDecimal value) {
1337 setAvgAbsentVotes(value);
1338 return this;
1339 }
1340
1341 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgPercentageYes(BigDecimal value) {
1342 setAvgPercentageYes(value);
1343 return this;
1344 }
1345
1346 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgPercentageNo(BigDecimal value) {
1347 setAvgPercentageNo(value);
1348 return this;
1349 }
1350
1351 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgPercentageAbsent(BigDecimal value) {
1352 setAvgPercentageAbsent(value);
1353 return this;
1354 }
1355
1356 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgPercentageAbstain(BigDecimal value) {
1357 setAvgPercentageAbstain(value);
1358 return this;
1359 }
1360
1361 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgPercentageMale(BigDecimal value) {
1362 setAvgPercentageMale(value);
1363 return this;
1364 }
1365
1366 public ViewRiksdagenVoteDataBallotPartySummaryDaily withAvgBornYear(BigDecimal value) {
1367 setAvgBornYear(value);
1368 return this;
1369 }
1370
1371 public String toString() {
1372 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1373 final StringBuilder buffer = new StringBuilder();
1374 append(null, buffer, strategy);
1375 return buffer.toString();
1376 }
1377
1378 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1379 strategy.appendStart(locator, this, buffer);
1380 appendFields(locator, buffer, strategy);
1381 strategy.appendEnd(locator, this, buffer);
1382 return buffer;
1383 }
1384
1385 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1386 {
1387 RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId theEmbeddedId;
1388 theEmbeddedId = this.getEmbeddedId();
1389 strategy.appendField(locator, this, "embeddedId", buffer, theEmbeddedId);
1390 }
1391 {
1392 BigDecimal theTotalVotes;
1393 theTotalVotes = this.getTotalVotes();
1394 strategy.appendField(locator, this, "totalVotes", buffer, theTotalVotes);
1395 }
1396 {
1397 BigDecimal theYesVotes;
1398 theYesVotes = this.getYesVotes();
1399 strategy.appendField(locator, this, "yesVotes", buffer, theYesVotes);
1400 }
1401 {
1402 BigDecimal theNoVotes;
1403 theNoVotes = this.getNoVotes();
1404 strategy.appendField(locator, this, "noVotes", buffer, theNoVotes);
1405 }
1406 {
1407 long theNumberBallots;
1408 theNumberBallots = this.getNumberBallots();
1409 strategy.appendField(locator, this, "numberBallots", buffer, theNumberBallots);
1410 }
1411 {
1412 BigDecimal theAbstainVotes;
1413 theAbstainVotes = this.getAbstainVotes();
1414 strategy.appendField(locator, this, "abstainVotes", buffer, theAbstainVotes);
1415 }
1416 {
1417 BigDecimal theAbsentVotes;
1418 theAbsentVotes = this.getAbsentVotes();
1419 strategy.appendField(locator, this, "absentVotes", buffer, theAbsentVotes);
1420 }
1421 {
1422 long theApprovedTotal;
1423 theApprovedTotal = this.getApprovedTotal();
1424 strategy.appendField(locator, this, "approvedTotal", buffer, theApprovedTotal);
1425 }
1426 {
1427 BigDecimal theApprovedPercentage;
1428 theApprovedPercentage = this.getApprovedPercentage();
1429 strategy.appendField(locator, this, "approvedPercentage", buffer, theApprovedPercentage);
1430 }
1431 {
1432 BigDecimal thePercentageYes;
1433 thePercentageYes = this.getPercentageYes();
1434 strategy.appendField(locator, this, "percentageYes", buffer, thePercentageYes);
1435 }
1436 {
1437 BigDecimal thePercentageNo;
1438 thePercentageNo = this.getPercentageNo();
1439 strategy.appendField(locator, this, "percentageNo", buffer, thePercentageNo);
1440 }
1441 {
1442 BigDecimal thePercentageAbsent;
1443 thePercentageAbsent = this.getPercentageAbsent();
1444 strategy.appendField(locator, this, "percentageAbsent", buffer, thePercentageAbsent);
1445 }
1446 {
1447 BigDecimal thePercentageAbstain;
1448 thePercentageAbstain = this.getPercentageAbstain();
1449 strategy.appendField(locator, this, "percentageAbstain", buffer, thePercentageAbstain);
1450 }
1451 {
1452 BigDecimal thePercentageApproved;
1453 thePercentageApproved = this.getPercentageApproved();
1454 strategy.appendField(locator, this, "percentageApproved", buffer, thePercentageApproved);
1455 }
1456 {
1457 BigDecimal thePartyAvgBornYear;
1458 thePartyAvgBornYear = this.getPartyAvgBornYear();
1459 strategy.appendField(locator, this, "partyAvgBornYear", buffer, thePartyAvgBornYear);
1460 }
1461 {
1462 BigDecimal thePartyTotalVotes;
1463 thePartyTotalVotes = this.getPartyTotalVotes();
1464 strategy.appendField(locator, this, "partyTotalVotes", buffer, thePartyTotalVotes);
1465 }
1466 {
1467 BigDecimal thePartyYesVotes;
1468 thePartyYesVotes = this.getPartyYesVotes();
1469 strategy.appendField(locator, this, "partyYesVotes", buffer, thePartyYesVotes);
1470 }
1471 {
1472 BigDecimal thePartyNoVotes;
1473 thePartyNoVotes = this.getPartyNoVotes();
1474 strategy.appendField(locator, this, "partyNoVotes", buffer, thePartyNoVotes);
1475 }
1476 {
1477 BigDecimal thePartyAbstainVotes;
1478 thePartyAbstainVotes = this.getPartyAbstainVotes();
1479 strategy.appendField(locator, this, "partyAbstainVotes", buffer, thePartyAbstainVotes);
1480 }
1481 {
1482 BigDecimal thePartyAbsentVotes;
1483 thePartyAbsentVotes = this.getPartyAbsentVotes();
1484 strategy.appendField(locator, this, "partyAbsentVotes", buffer, thePartyAbsentVotes);
1485 }
1486 {
1487 BigDecimal thePartyPercentageYes;
1488 thePartyPercentageYes = this.getPartyPercentageYes();
1489 strategy.appendField(locator, this, "partyPercentageYes", buffer, thePartyPercentageYes);
1490 }
1491 {
1492 BigDecimal thePartyPercentageNo;
1493 thePartyPercentageNo = this.getPartyPercentageNo();
1494 strategy.appendField(locator, this, "partyPercentageNo", buffer, thePartyPercentageNo);
1495 }
1496 {
1497 BigDecimal thePartyPercentageAbsent;
1498 thePartyPercentageAbsent = this.getPartyPercentageAbsent();
1499 strategy.appendField(locator, this, "partyPercentageAbsent", buffer, thePartyPercentageAbsent);
1500 }
1501 {
1502 BigDecimal thePartyPercentageAbstain;
1503 thePartyPercentageAbstain = this.getPartyPercentageAbstain();
1504 strategy.appendField(locator, this, "partyPercentageAbstain", buffer, thePartyPercentageAbstain);
1505 }
1506 {
1507 BigDecimal thePartyAvgPercentageMale;
1508 thePartyAvgPercentageMale = this.getPartyAvgPercentageMale();
1509 strategy.appendField(locator, this, "partyAvgPercentageMale", buffer, thePartyAvgPercentageMale);
1510 }
1511 {
1512 long thePartyWonTotal;
1513 thePartyWonTotal = this.getPartyWonTotal();
1514 strategy.appendField(locator, this, "partyWonTotal", buffer, thePartyWonTotal);
1515 }
1516 {
1517 BigDecimal thePartyWonPercentage;
1518 thePartyWonPercentage = this.getPartyWonPercentage();
1519 strategy.appendField(locator, this, "partyWonPercentage", buffer, thePartyWonPercentage);
1520 }
1521 {
1522 long theAvgTotalVotes;
1523 theAvgTotalVotes = this.getAvgTotalVotes();
1524 strategy.appendField(locator, this, "avgTotalVotes", buffer, theAvgTotalVotes);
1525 }
1526 {
1527 BigDecimal theAvgYesVotes;
1528 theAvgYesVotes = this.getAvgYesVotes();
1529 strategy.appendField(locator, this, "avgYesVotes", buffer, theAvgYesVotes);
1530 }
1531 {
1532 BigDecimal theAvgNoVotes;
1533 theAvgNoVotes = this.getAvgNoVotes();
1534 strategy.appendField(locator, this, "avgNoVotes", buffer, theAvgNoVotes);
1535 }
1536 {
1537 BigDecimal theAvgAbstainVotes;
1538 theAvgAbstainVotes = this.getAvgAbstainVotes();
1539 strategy.appendField(locator, this, "avgAbstainVotes", buffer, theAvgAbstainVotes);
1540 }
1541 {
1542 BigDecimal theAvgAbsentVotes;
1543 theAvgAbsentVotes = this.getAvgAbsentVotes();
1544 strategy.appendField(locator, this, "avgAbsentVotes", buffer, theAvgAbsentVotes);
1545 }
1546 {
1547 BigDecimal theAvgPercentageYes;
1548 theAvgPercentageYes = this.getAvgPercentageYes();
1549 strategy.appendField(locator, this, "avgPercentageYes", buffer, theAvgPercentageYes);
1550 }
1551 {
1552 BigDecimal theAvgPercentageNo;
1553 theAvgPercentageNo = this.getAvgPercentageNo();
1554 strategy.appendField(locator, this, "avgPercentageNo", buffer, theAvgPercentageNo);
1555 }
1556 {
1557 BigDecimal theAvgPercentageAbsent;
1558 theAvgPercentageAbsent = this.getAvgPercentageAbsent();
1559 strategy.appendField(locator, this, "avgPercentageAbsent", buffer, theAvgPercentageAbsent);
1560 }
1561 {
1562 BigDecimal theAvgPercentageAbstain;
1563 theAvgPercentageAbstain = this.getAvgPercentageAbstain();
1564 strategy.appendField(locator, this, "avgPercentageAbstain", buffer, theAvgPercentageAbstain);
1565 }
1566 {
1567 BigDecimal theAvgPercentageMale;
1568 theAvgPercentageMale = this.getAvgPercentageMale();
1569 strategy.appendField(locator, this, "avgPercentageMale", buffer, theAvgPercentageMale);
1570 }
1571 {
1572 BigDecimal theAvgBornYear;
1573 theAvgBornYear = this.getAvgBornYear();
1574 strategy.appendField(locator, this, "avgBornYear", buffer, theAvgBornYear);
1575 }
1576 return buffer;
1577 }
1578
1579 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1580 if ((object == null)||(this.getClass()!= object.getClass())) {
1581 return false;
1582 }
1583 if (this == object) {
1584 return true;
1585 }
1586 final ViewRiksdagenVoteDataBallotPartySummaryDaily that = ((ViewRiksdagenVoteDataBallotPartySummaryDaily) object);
1587 {
1588 RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId lhsEmbeddedId;
1589 lhsEmbeddedId = this.getEmbeddedId();
1590 RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId rhsEmbeddedId;
1591 rhsEmbeddedId = that.getEmbeddedId();
1592 if (!strategy.equals(LocatorUtils.property(thisLocator, "embeddedId", lhsEmbeddedId), LocatorUtils.property(thatLocator, "embeddedId", rhsEmbeddedId), lhsEmbeddedId, rhsEmbeddedId)) {
1593 return false;
1594 }
1595 }
1596 {
1597 BigDecimal lhsTotalVotes;
1598 lhsTotalVotes = this.getTotalVotes();
1599 BigDecimal rhsTotalVotes;
1600 rhsTotalVotes = that.getTotalVotes();
1601 if (!strategy.equals(LocatorUtils.property(thisLocator, "totalVotes", lhsTotalVotes), LocatorUtils.property(thatLocator, "totalVotes", rhsTotalVotes), lhsTotalVotes, rhsTotalVotes)) {
1602 return false;
1603 }
1604 }
1605 {
1606 BigDecimal lhsYesVotes;
1607 lhsYesVotes = this.getYesVotes();
1608 BigDecimal rhsYesVotes;
1609 rhsYesVotes = that.getYesVotes();
1610 if (!strategy.equals(LocatorUtils.property(thisLocator, "yesVotes", lhsYesVotes), LocatorUtils.property(thatLocator, "yesVotes", rhsYesVotes), lhsYesVotes, rhsYesVotes)) {
1611 return false;
1612 }
1613 }
1614 {
1615 BigDecimal lhsNoVotes;
1616 lhsNoVotes = this.getNoVotes();
1617 BigDecimal rhsNoVotes;
1618 rhsNoVotes = that.getNoVotes();
1619 if (!strategy.equals(LocatorUtils.property(thisLocator, "noVotes", lhsNoVotes), LocatorUtils.property(thatLocator, "noVotes", rhsNoVotes), lhsNoVotes, rhsNoVotes)) {
1620 return false;
1621 }
1622 }
1623 {
1624 long lhsNumberBallots;
1625 lhsNumberBallots = this.getNumberBallots();
1626 long rhsNumberBallots;
1627 rhsNumberBallots = that.getNumberBallots();
1628 if (!strategy.equals(LocatorUtils.property(thisLocator, "numberBallots", lhsNumberBallots), LocatorUtils.property(thatLocator, "numberBallots", rhsNumberBallots), lhsNumberBallots, rhsNumberBallots)) {
1629 return false;
1630 }
1631 }
1632 {
1633 BigDecimal lhsAbstainVotes;
1634 lhsAbstainVotes = this.getAbstainVotes();
1635 BigDecimal rhsAbstainVotes;
1636 rhsAbstainVotes = that.getAbstainVotes();
1637 if (!strategy.equals(LocatorUtils.property(thisLocator, "abstainVotes", lhsAbstainVotes), LocatorUtils.property(thatLocator, "abstainVotes", rhsAbstainVotes), lhsAbstainVotes, rhsAbstainVotes)) {
1638 return false;
1639 }
1640 }
1641 {
1642 BigDecimal lhsAbsentVotes;
1643 lhsAbsentVotes = this.getAbsentVotes();
1644 BigDecimal rhsAbsentVotes;
1645 rhsAbsentVotes = that.getAbsentVotes();
1646 if (!strategy.equals(LocatorUtils.property(thisLocator, "absentVotes", lhsAbsentVotes), LocatorUtils.property(thatLocator, "absentVotes", rhsAbsentVotes), lhsAbsentVotes, rhsAbsentVotes)) {
1647 return false;
1648 }
1649 }
1650 {
1651 long lhsApprovedTotal;
1652 lhsApprovedTotal = this.getApprovedTotal();
1653 long rhsApprovedTotal;
1654 rhsApprovedTotal = that.getApprovedTotal();
1655 if (!strategy.equals(LocatorUtils.property(thisLocator, "approvedTotal", lhsApprovedTotal), LocatorUtils.property(thatLocator, "approvedTotal", rhsApprovedTotal), lhsApprovedTotal, rhsApprovedTotal)) {
1656 return false;
1657 }
1658 }
1659 {
1660 BigDecimal lhsApprovedPercentage;
1661 lhsApprovedPercentage = this.getApprovedPercentage();
1662 BigDecimal rhsApprovedPercentage;
1663 rhsApprovedPercentage = that.getApprovedPercentage();
1664 if (!strategy.equals(LocatorUtils.property(thisLocator, "approvedPercentage", lhsApprovedPercentage), LocatorUtils.property(thatLocator, "approvedPercentage", rhsApprovedPercentage), lhsApprovedPercentage, rhsApprovedPercentage)) {
1665 return false;
1666 }
1667 }
1668 {
1669 BigDecimal lhsPercentageYes;
1670 lhsPercentageYes = this.getPercentageYes();
1671 BigDecimal rhsPercentageYes;
1672 rhsPercentageYes = that.getPercentageYes();
1673 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentageYes", lhsPercentageYes), LocatorUtils.property(thatLocator, "percentageYes", rhsPercentageYes), lhsPercentageYes, rhsPercentageYes)) {
1674 return false;
1675 }
1676 }
1677 {
1678 BigDecimal lhsPercentageNo;
1679 lhsPercentageNo = this.getPercentageNo();
1680 BigDecimal rhsPercentageNo;
1681 rhsPercentageNo = that.getPercentageNo();
1682 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentageNo", lhsPercentageNo), LocatorUtils.property(thatLocator, "percentageNo", rhsPercentageNo), lhsPercentageNo, rhsPercentageNo)) {
1683 return false;
1684 }
1685 }
1686 {
1687 BigDecimal lhsPercentageAbsent;
1688 lhsPercentageAbsent = this.getPercentageAbsent();
1689 BigDecimal rhsPercentageAbsent;
1690 rhsPercentageAbsent = that.getPercentageAbsent();
1691 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentageAbsent", lhsPercentageAbsent), LocatorUtils.property(thatLocator, "percentageAbsent", rhsPercentageAbsent), lhsPercentageAbsent, rhsPercentageAbsent)) {
1692 return false;
1693 }
1694 }
1695 {
1696 BigDecimal lhsPercentageAbstain;
1697 lhsPercentageAbstain = this.getPercentageAbstain();
1698 BigDecimal rhsPercentageAbstain;
1699 rhsPercentageAbstain = that.getPercentageAbstain();
1700 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentageAbstain", lhsPercentageAbstain), LocatorUtils.property(thatLocator, "percentageAbstain", rhsPercentageAbstain), lhsPercentageAbstain, rhsPercentageAbstain)) {
1701 return false;
1702 }
1703 }
1704 {
1705 BigDecimal lhsPercentageApproved;
1706 lhsPercentageApproved = this.getPercentageApproved();
1707 BigDecimal rhsPercentageApproved;
1708 rhsPercentageApproved = that.getPercentageApproved();
1709 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentageApproved", lhsPercentageApproved), LocatorUtils.property(thatLocator, "percentageApproved", rhsPercentageApproved), lhsPercentageApproved, rhsPercentageApproved)) {
1710 return false;
1711 }
1712 }
1713 {
1714 BigDecimal lhsPartyAvgBornYear;
1715 lhsPartyAvgBornYear = this.getPartyAvgBornYear();
1716 BigDecimal rhsPartyAvgBornYear;
1717 rhsPartyAvgBornYear = that.getPartyAvgBornYear();
1718 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyAvgBornYear", lhsPartyAvgBornYear), LocatorUtils.property(thatLocator, "partyAvgBornYear", rhsPartyAvgBornYear), lhsPartyAvgBornYear, rhsPartyAvgBornYear)) {
1719 return false;
1720 }
1721 }
1722 {
1723 BigDecimal lhsPartyTotalVotes;
1724 lhsPartyTotalVotes = this.getPartyTotalVotes();
1725 BigDecimal rhsPartyTotalVotes;
1726 rhsPartyTotalVotes = that.getPartyTotalVotes();
1727 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyTotalVotes", lhsPartyTotalVotes), LocatorUtils.property(thatLocator, "partyTotalVotes", rhsPartyTotalVotes), lhsPartyTotalVotes, rhsPartyTotalVotes)) {
1728 return false;
1729 }
1730 }
1731 {
1732 BigDecimal lhsPartyYesVotes;
1733 lhsPartyYesVotes = this.getPartyYesVotes();
1734 BigDecimal rhsPartyYesVotes;
1735 rhsPartyYesVotes = that.getPartyYesVotes();
1736 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyYesVotes", lhsPartyYesVotes), LocatorUtils.property(thatLocator, "partyYesVotes", rhsPartyYesVotes), lhsPartyYesVotes, rhsPartyYesVotes)) {
1737 return false;
1738 }
1739 }
1740 {
1741 BigDecimal lhsPartyNoVotes;
1742 lhsPartyNoVotes = this.getPartyNoVotes();
1743 BigDecimal rhsPartyNoVotes;
1744 rhsPartyNoVotes = that.getPartyNoVotes();
1745 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyNoVotes", lhsPartyNoVotes), LocatorUtils.property(thatLocator, "partyNoVotes", rhsPartyNoVotes), lhsPartyNoVotes, rhsPartyNoVotes)) {
1746 return false;
1747 }
1748 }
1749 {
1750 BigDecimal lhsPartyAbstainVotes;
1751 lhsPartyAbstainVotes = this.getPartyAbstainVotes();
1752 BigDecimal rhsPartyAbstainVotes;
1753 rhsPartyAbstainVotes = that.getPartyAbstainVotes();
1754 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyAbstainVotes", lhsPartyAbstainVotes), LocatorUtils.property(thatLocator, "partyAbstainVotes", rhsPartyAbstainVotes), lhsPartyAbstainVotes, rhsPartyAbstainVotes)) {
1755 return false;
1756 }
1757 }
1758 {
1759 BigDecimal lhsPartyAbsentVotes;
1760 lhsPartyAbsentVotes = this.getPartyAbsentVotes();
1761 BigDecimal rhsPartyAbsentVotes;
1762 rhsPartyAbsentVotes = that.getPartyAbsentVotes();
1763 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyAbsentVotes", lhsPartyAbsentVotes), LocatorUtils.property(thatLocator, "partyAbsentVotes", rhsPartyAbsentVotes), lhsPartyAbsentVotes, rhsPartyAbsentVotes)) {
1764 return false;
1765 }
1766 }
1767 {
1768 BigDecimal lhsPartyPercentageYes;
1769 lhsPartyPercentageYes = this.getPartyPercentageYes();
1770 BigDecimal rhsPartyPercentageYes;
1771 rhsPartyPercentageYes = that.getPartyPercentageYes();
1772 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyPercentageYes", lhsPartyPercentageYes), LocatorUtils.property(thatLocator, "partyPercentageYes", rhsPartyPercentageYes), lhsPartyPercentageYes, rhsPartyPercentageYes)) {
1773 return false;
1774 }
1775 }
1776 {
1777 BigDecimal lhsPartyPercentageNo;
1778 lhsPartyPercentageNo = this.getPartyPercentageNo();
1779 BigDecimal rhsPartyPercentageNo;
1780 rhsPartyPercentageNo = that.getPartyPercentageNo();
1781 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyPercentageNo", lhsPartyPercentageNo), LocatorUtils.property(thatLocator, "partyPercentageNo", rhsPartyPercentageNo), lhsPartyPercentageNo, rhsPartyPercentageNo)) {
1782 return false;
1783 }
1784 }
1785 {
1786 BigDecimal lhsPartyPercentageAbsent;
1787 lhsPartyPercentageAbsent = this.getPartyPercentageAbsent();
1788 BigDecimal rhsPartyPercentageAbsent;
1789 rhsPartyPercentageAbsent = that.getPartyPercentageAbsent();
1790 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyPercentageAbsent", lhsPartyPercentageAbsent), LocatorUtils.property(thatLocator, "partyPercentageAbsent", rhsPartyPercentageAbsent), lhsPartyPercentageAbsent, rhsPartyPercentageAbsent)) {
1791 return false;
1792 }
1793 }
1794 {
1795 BigDecimal lhsPartyPercentageAbstain;
1796 lhsPartyPercentageAbstain = this.getPartyPercentageAbstain();
1797 BigDecimal rhsPartyPercentageAbstain;
1798 rhsPartyPercentageAbstain = that.getPartyPercentageAbstain();
1799 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyPercentageAbstain", lhsPartyPercentageAbstain), LocatorUtils.property(thatLocator, "partyPercentageAbstain", rhsPartyPercentageAbstain), lhsPartyPercentageAbstain, rhsPartyPercentageAbstain)) {
1800 return false;
1801 }
1802 }
1803 {
1804 BigDecimal lhsPartyAvgPercentageMale;
1805 lhsPartyAvgPercentageMale = this.getPartyAvgPercentageMale();
1806 BigDecimal rhsPartyAvgPercentageMale;
1807 rhsPartyAvgPercentageMale = that.getPartyAvgPercentageMale();
1808 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyAvgPercentageMale", lhsPartyAvgPercentageMale), LocatorUtils.property(thatLocator, "partyAvgPercentageMale", rhsPartyAvgPercentageMale), lhsPartyAvgPercentageMale, rhsPartyAvgPercentageMale)) {
1809 return false;
1810 }
1811 }
1812 {
1813 long lhsPartyWonTotal;
1814 lhsPartyWonTotal = this.getPartyWonTotal();
1815 long rhsPartyWonTotal;
1816 rhsPartyWonTotal = that.getPartyWonTotal();
1817 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyWonTotal", lhsPartyWonTotal), LocatorUtils.property(thatLocator, "partyWonTotal", rhsPartyWonTotal), lhsPartyWonTotal, rhsPartyWonTotal)) {
1818 return false;
1819 }
1820 }
1821 {
1822 BigDecimal lhsPartyWonPercentage;
1823 lhsPartyWonPercentage = this.getPartyWonPercentage();
1824 BigDecimal rhsPartyWonPercentage;
1825 rhsPartyWonPercentage = that.getPartyWonPercentage();
1826 if (!strategy.equals(LocatorUtils.property(thisLocator, "partyWonPercentage", lhsPartyWonPercentage), LocatorUtils.property(thatLocator, "partyWonPercentage", rhsPartyWonPercentage), lhsPartyWonPercentage, rhsPartyWonPercentage)) {
1827 return false;
1828 }
1829 }
1830 {
1831 long lhsAvgTotalVotes;
1832 lhsAvgTotalVotes = this.getAvgTotalVotes();
1833 long rhsAvgTotalVotes;
1834 rhsAvgTotalVotes = that.getAvgTotalVotes();
1835 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgTotalVotes", lhsAvgTotalVotes), LocatorUtils.property(thatLocator, "avgTotalVotes", rhsAvgTotalVotes), lhsAvgTotalVotes, rhsAvgTotalVotes)) {
1836 return false;
1837 }
1838 }
1839 {
1840 BigDecimal lhsAvgYesVotes;
1841 lhsAvgYesVotes = this.getAvgYesVotes();
1842 BigDecimal rhsAvgYesVotes;
1843 rhsAvgYesVotes = that.getAvgYesVotes();
1844 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgYesVotes", lhsAvgYesVotes), LocatorUtils.property(thatLocator, "avgYesVotes", rhsAvgYesVotes), lhsAvgYesVotes, rhsAvgYesVotes)) {
1845 return false;
1846 }
1847 }
1848 {
1849 BigDecimal lhsAvgNoVotes;
1850 lhsAvgNoVotes = this.getAvgNoVotes();
1851 BigDecimal rhsAvgNoVotes;
1852 rhsAvgNoVotes = that.getAvgNoVotes();
1853 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgNoVotes", lhsAvgNoVotes), LocatorUtils.property(thatLocator, "avgNoVotes", rhsAvgNoVotes), lhsAvgNoVotes, rhsAvgNoVotes)) {
1854 return false;
1855 }
1856 }
1857 {
1858 BigDecimal lhsAvgAbstainVotes;
1859 lhsAvgAbstainVotes = this.getAvgAbstainVotes();
1860 BigDecimal rhsAvgAbstainVotes;
1861 rhsAvgAbstainVotes = that.getAvgAbstainVotes();
1862 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgAbstainVotes", lhsAvgAbstainVotes), LocatorUtils.property(thatLocator, "avgAbstainVotes", rhsAvgAbstainVotes), lhsAvgAbstainVotes, rhsAvgAbstainVotes)) {
1863 return false;
1864 }
1865 }
1866 {
1867 BigDecimal lhsAvgAbsentVotes;
1868 lhsAvgAbsentVotes = this.getAvgAbsentVotes();
1869 BigDecimal rhsAvgAbsentVotes;
1870 rhsAvgAbsentVotes = that.getAvgAbsentVotes();
1871 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgAbsentVotes", lhsAvgAbsentVotes), LocatorUtils.property(thatLocator, "avgAbsentVotes", rhsAvgAbsentVotes), lhsAvgAbsentVotes, rhsAvgAbsentVotes)) {
1872 return false;
1873 }
1874 }
1875 {
1876 BigDecimal lhsAvgPercentageYes;
1877 lhsAvgPercentageYes = this.getAvgPercentageYes();
1878 BigDecimal rhsAvgPercentageYes;
1879 rhsAvgPercentageYes = that.getAvgPercentageYes();
1880 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgPercentageYes", lhsAvgPercentageYes), LocatorUtils.property(thatLocator, "avgPercentageYes", rhsAvgPercentageYes), lhsAvgPercentageYes, rhsAvgPercentageYes)) {
1881 return false;
1882 }
1883 }
1884 {
1885 BigDecimal lhsAvgPercentageNo;
1886 lhsAvgPercentageNo = this.getAvgPercentageNo();
1887 BigDecimal rhsAvgPercentageNo;
1888 rhsAvgPercentageNo = that.getAvgPercentageNo();
1889 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgPercentageNo", lhsAvgPercentageNo), LocatorUtils.property(thatLocator, "avgPercentageNo", rhsAvgPercentageNo), lhsAvgPercentageNo, rhsAvgPercentageNo)) {
1890 return false;
1891 }
1892 }
1893 {
1894 BigDecimal lhsAvgPercentageAbsent;
1895 lhsAvgPercentageAbsent = this.getAvgPercentageAbsent();
1896 BigDecimal rhsAvgPercentageAbsent;
1897 rhsAvgPercentageAbsent = that.getAvgPercentageAbsent();
1898 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgPercentageAbsent", lhsAvgPercentageAbsent), LocatorUtils.property(thatLocator, "avgPercentageAbsent", rhsAvgPercentageAbsent), lhsAvgPercentageAbsent, rhsAvgPercentageAbsent)) {
1899 return false;
1900 }
1901 }
1902 {
1903 BigDecimal lhsAvgPercentageAbstain;
1904 lhsAvgPercentageAbstain = this.getAvgPercentageAbstain();
1905 BigDecimal rhsAvgPercentageAbstain;
1906 rhsAvgPercentageAbstain = that.getAvgPercentageAbstain();
1907 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgPercentageAbstain", lhsAvgPercentageAbstain), LocatorUtils.property(thatLocator, "avgPercentageAbstain", rhsAvgPercentageAbstain), lhsAvgPercentageAbstain, rhsAvgPercentageAbstain)) {
1908 return false;
1909 }
1910 }
1911 {
1912 BigDecimal lhsAvgPercentageMale;
1913 lhsAvgPercentageMale = this.getAvgPercentageMale();
1914 BigDecimal rhsAvgPercentageMale;
1915 rhsAvgPercentageMale = that.getAvgPercentageMale();
1916 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgPercentageMale", lhsAvgPercentageMale), LocatorUtils.property(thatLocator, "avgPercentageMale", rhsAvgPercentageMale), lhsAvgPercentageMale, rhsAvgPercentageMale)) {
1917 return false;
1918 }
1919 }
1920 {
1921 BigDecimal lhsAvgBornYear;
1922 lhsAvgBornYear = this.getAvgBornYear();
1923 BigDecimal rhsAvgBornYear;
1924 rhsAvgBornYear = that.getAvgBornYear();
1925 if (!strategy.equals(LocatorUtils.property(thisLocator, "avgBornYear", lhsAvgBornYear), LocatorUtils.property(thatLocator, "avgBornYear", rhsAvgBornYear), lhsAvgBornYear, rhsAvgBornYear)) {
1926 return false;
1927 }
1928 }
1929 return true;
1930 }
1931
1932 public boolean equals(Object object) {
1933 final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
1934 return equals(null, null, object, strategy);
1935 }
1936
1937 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1938 int currentHashCode = 1;
1939 {
1940 RiksdagenVoteDataBallotPartyPeriodSummaryEmbeddedId theEmbeddedId;
1941 theEmbeddedId = this.getEmbeddedId();
1942 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "embeddedId", theEmbeddedId), currentHashCode, theEmbeddedId);
1943 }
1944 {
1945 BigDecimal theTotalVotes;
1946 theTotalVotes = this.getTotalVotes();
1947 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "totalVotes", theTotalVotes), currentHashCode, theTotalVotes);
1948 }
1949 {
1950 BigDecimal theYesVotes;
1951 theYesVotes = this.getYesVotes();
1952 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "yesVotes", theYesVotes), currentHashCode, theYesVotes);
1953 }
1954 {
1955 BigDecimal theNoVotes;
1956 theNoVotes = this.getNoVotes();
1957 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "noVotes", theNoVotes), currentHashCode, theNoVotes);
1958 }
1959 {
1960 long theNumberBallots;
1961 theNumberBallots = this.getNumberBallots();
1962 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numberBallots", theNumberBallots), currentHashCode, theNumberBallots);
1963 }
1964 {
1965 BigDecimal theAbstainVotes;
1966 theAbstainVotes = this.getAbstainVotes();
1967 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "abstainVotes", theAbstainVotes), currentHashCode, theAbstainVotes);
1968 }
1969 {
1970 BigDecimal theAbsentVotes;
1971 theAbsentVotes = this.getAbsentVotes();
1972 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "absentVotes", theAbsentVotes), currentHashCode, theAbsentVotes);
1973 }
1974 {
1975 long theApprovedTotal;
1976 theApprovedTotal = this.getApprovedTotal();
1977 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "approvedTotal", theApprovedTotal), currentHashCode, theApprovedTotal);
1978 }
1979 {
1980 BigDecimal theApprovedPercentage;
1981 theApprovedPercentage = this.getApprovedPercentage();
1982 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "approvedPercentage", theApprovedPercentage), currentHashCode, theApprovedPercentage);
1983 }
1984 {
1985 BigDecimal thePercentageYes;
1986 thePercentageYes = this.getPercentageYes();
1987 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentageYes", thePercentageYes), currentHashCode, thePercentageYes);
1988 }
1989 {
1990 BigDecimal thePercentageNo;
1991 thePercentageNo = this.getPercentageNo();
1992 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentageNo", thePercentageNo), currentHashCode, thePercentageNo);
1993 }
1994 {
1995 BigDecimal thePercentageAbsent;
1996 thePercentageAbsent = this.getPercentageAbsent();
1997 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentageAbsent", thePercentageAbsent), currentHashCode, thePercentageAbsent);
1998 }
1999 {
2000 BigDecimal thePercentageAbstain;
2001 thePercentageAbstain = this.getPercentageAbstain();
2002 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentageAbstain", thePercentageAbstain), currentHashCode, thePercentageAbstain);
2003 }
2004 {
2005 BigDecimal thePercentageApproved;
2006 thePercentageApproved = this.getPercentageApproved();
2007 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentageApproved", thePercentageApproved), currentHashCode, thePercentageApproved);
2008 }
2009 {
2010 BigDecimal thePartyAvgBornYear;
2011 thePartyAvgBornYear = this.getPartyAvgBornYear();
2012 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyAvgBornYear", thePartyAvgBornYear), currentHashCode, thePartyAvgBornYear);
2013 }
2014 {
2015 BigDecimal thePartyTotalVotes;
2016 thePartyTotalVotes = this.getPartyTotalVotes();
2017 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyTotalVotes", thePartyTotalVotes), currentHashCode, thePartyTotalVotes);
2018 }
2019 {
2020 BigDecimal thePartyYesVotes;
2021 thePartyYesVotes = this.getPartyYesVotes();
2022 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyYesVotes", thePartyYesVotes), currentHashCode, thePartyYesVotes);
2023 }
2024 {
2025 BigDecimal thePartyNoVotes;
2026 thePartyNoVotes = this.getPartyNoVotes();
2027 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyNoVotes", thePartyNoVotes), currentHashCode, thePartyNoVotes);
2028 }
2029 {
2030 BigDecimal thePartyAbstainVotes;
2031 thePartyAbstainVotes = this.getPartyAbstainVotes();
2032 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyAbstainVotes", thePartyAbstainVotes), currentHashCode, thePartyAbstainVotes);
2033 }
2034 {
2035 BigDecimal thePartyAbsentVotes;
2036 thePartyAbsentVotes = this.getPartyAbsentVotes();
2037 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyAbsentVotes", thePartyAbsentVotes), currentHashCode, thePartyAbsentVotes);
2038 }
2039 {
2040 BigDecimal thePartyPercentageYes;
2041 thePartyPercentageYes = this.getPartyPercentageYes();
2042 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyPercentageYes", thePartyPercentageYes), currentHashCode, thePartyPercentageYes);
2043 }
2044 {
2045 BigDecimal thePartyPercentageNo;
2046 thePartyPercentageNo = this.getPartyPercentageNo();
2047 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyPercentageNo", thePartyPercentageNo), currentHashCode, thePartyPercentageNo);
2048 }
2049 {
2050 BigDecimal thePartyPercentageAbsent;
2051 thePartyPercentageAbsent = this.getPartyPercentageAbsent();
2052 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyPercentageAbsent", thePartyPercentageAbsent), currentHashCode, thePartyPercentageAbsent);
2053 }
2054 {
2055 BigDecimal thePartyPercentageAbstain;
2056 thePartyPercentageAbstain = this.getPartyPercentageAbstain();
2057 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyPercentageAbstain", thePartyPercentageAbstain), currentHashCode, thePartyPercentageAbstain);
2058 }
2059 {
2060 BigDecimal thePartyAvgPercentageMale;
2061 thePartyAvgPercentageMale = this.getPartyAvgPercentageMale();
2062 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyAvgPercentageMale", thePartyAvgPercentageMale), currentHashCode, thePartyAvgPercentageMale);
2063 }
2064 {
2065 long thePartyWonTotal;
2066 thePartyWonTotal = this.getPartyWonTotal();
2067 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyWonTotal", thePartyWonTotal), currentHashCode, thePartyWonTotal);
2068 }
2069 {
2070 BigDecimal thePartyWonPercentage;
2071 thePartyWonPercentage = this.getPartyWonPercentage();
2072 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "partyWonPercentage", thePartyWonPercentage), currentHashCode, thePartyWonPercentage);
2073 }
2074 {
2075 long theAvgTotalVotes;
2076 theAvgTotalVotes = this.getAvgTotalVotes();
2077 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgTotalVotes", theAvgTotalVotes), currentHashCode, theAvgTotalVotes);
2078 }
2079 {
2080 BigDecimal theAvgYesVotes;
2081 theAvgYesVotes = this.getAvgYesVotes();
2082 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgYesVotes", theAvgYesVotes), currentHashCode, theAvgYesVotes);
2083 }
2084 {
2085 BigDecimal theAvgNoVotes;
2086 theAvgNoVotes = this.getAvgNoVotes();
2087 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgNoVotes", theAvgNoVotes), currentHashCode, theAvgNoVotes);
2088 }
2089 {
2090 BigDecimal theAvgAbstainVotes;
2091 theAvgAbstainVotes = this.getAvgAbstainVotes();
2092 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgAbstainVotes", theAvgAbstainVotes), currentHashCode, theAvgAbstainVotes);
2093 }
2094 {
2095 BigDecimal theAvgAbsentVotes;
2096 theAvgAbsentVotes = this.getAvgAbsentVotes();
2097 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgAbsentVotes", theAvgAbsentVotes), currentHashCode, theAvgAbsentVotes);
2098 }
2099 {
2100 BigDecimal theAvgPercentageYes;
2101 theAvgPercentageYes = this.getAvgPercentageYes();
2102 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgPercentageYes", theAvgPercentageYes), currentHashCode, theAvgPercentageYes);
2103 }
2104 {
2105 BigDecimal theAvgPercentageNo;
2106 theAvgPercentageNo = this.getAvgPercentageNo();
2107 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgPercentageNo", theAvgPercentageNo), currentHashCode, theAvgPercentageNo);
2108 }
2109 {
2110 BigDecimal theAvgPercentageAbsent;
2111 theAvgPercentageAbsent = this.getAvgPercentageAbsent();
2112 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgPercentageAbsent", theAvgPercentageAbsent), currentHashCode, theAvgPercentageAbsent);
2113 }
2114 {
2115 BigDecimal theAvgPercentageAbstain;
2116 theAvgPercentageAbstain = this.getAvgPercentageAbstain();
2117 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgPercentageAbstain", theAvgPercentageAbstain), currentHashCode, theAvgPercentageAbstain);
2118 }
2119 {
2120 BigDecimal theAvgPercentageMale;
2121 theAvgPercentageMale = this.getAvgPercentageMale();
2122 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgPercentageMale", theAvgPercentageMale), currentHashCode, theAvgPercentageMale);
2123 }
2124 {
2125 BigDecimal theAvgBornYear;
2126 theAvgBornYear = this.getAvgBornYear();
2127 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "avgBornYear", theAvgBornYear), currentHashCode, theAvgBornYear);
2128 }
2129 return currentHashCode;
2130 }
2131
2132 public int hashCode() {
2133 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2134 return this.hashCode(null, strategy);
2135 }
2136
2137 }