1
2
3
4
5
6
7
8
9 package com.hack23.cia.model.external.riksdagen.votering.impl;
10
11 import java.io.Serializable;
12 import java.math.BigInteger;
13 import javax.persistence.Basic;
14 import javax.persistence.Column;
15 import javax.persistence.Entity;
16 import javax.persistence.Id;
17 import javax.persistence.Inheritance;
18 import javax.persistence.InheritanceType;
19 import javax.persistence.Table;
20 import javax.xml.bind.annotation.XmlAccessType;
21 import javax.xml.bind.annotation.XmlAccessorType;
22 import javax.xml.bind.annotation.XmlElement;
23 import javax.xml.bind.annotation.XmlSchemaType;
24 import javax.xml.bind.annotation.XmlType;
25 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
26 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
27 import com.hack23.cia.model.common.api.ModelObject;
28 import org.jvnet.jaxb2_commons.lang.Equals;
29 import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
30 import org.jvnet.jaxb2_commons.lang.HashCode;
31 import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
32 import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
33 import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
34 import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
35 import org.jvnet.jaxb2_commons.lang.ToString;
36 import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
37 import org.jvnet.jaxb2_commons.locator.ObjectLocator;
38 import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
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 @XmlAccessorType(XmlAccessType.FIELD)
85 @XmlType(name = "BallotDocumentElement", propOrder = {
86 "hangarId",
87 "docId",
88 "htmlformat",
89 "relatedId",
90 "source",
91 "sourceid",
92 "rm",
93 "label",
94 "elementType",
95 "documentType",
96 "subType",
97 "status",
98 "tempLabel",
99 "org",
100 "numberValue",
101 "endNumberValue",
102 "title",
103 "subTitle",
104 "createdDate",
105 "madePublicDate",
106 "systemDate",
107 "documentUrlText",
108 "documentUrlHtml",
109 "documentStatusUrlXml",
110 "committeeReportUrlXml"
111 })
112 @Entity(name = "BallotDocumentElement")
113 @Table(name = "BALLOT_DOCUMENT_ELEMENT")
114 @Inheritance(strategy = InheritanceType.JOINED)
115 public class BallotDocumentElement
116 implements Serializable, ModelObject, Equals, HashCode, ToString
117 {
118
119 @XmlElement(name = "hangar_id", required = true)
120 protected String hangarId;
121 @XmlElement(name = "dok_id", required = true)
122 protected String docId;
123 @XmlElement(required = true)
124 protected String htmlformat;
125 @XmlElement(name = "relaterat_id", required = true)
126 protected String relatedId;
127 @XmlElement(required = true)
128 protected String source;
129 @XmlElement(required = true)
130 protected String sourceid;
131 @XmlElement(required = true)
132 protected String rm;
133 @XmlElement(name = "beteckning", required = true)
134 protected String label;
135 @XmlElement(name = "typ", required = true)
136 protected String elementType;
137 @XmlElement(name = "doktyp", required = true)
138 protected String documentType;
139 @XmlElement(name = "subtyp", required = true)
140 protected String subType;
141 @XmlElement(required = true)
142 protected String status;
143 @XmlElement(name = "tempbeteckning", required = true)
144 protected String tempLabel;
145 @XmlElement(name = "organ", required = true)
146 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
147 @XmlSchemaType(name = "NCName")
148 protected String org;
149 @XmlElement(name = "nummer", required = true)
150 protected BigInteger numberValue;
151 @XmlElement(name = "slutnummer", required = true)
152 protected BigInteger endNumberValue;
153 @XmlElement(name = "titel", required = true)
154 protected String title;
155 @XmlElement(name = "subtitel", required = true)
156 protected String subTitle;
157 @XmlElement(name = "datum", required = true)
158 protected String createdDate;
159 @XmlElement(name = "publicerad", required = true)
160 protected String madePublicDate;
161 @XmlElement(name = "systemdatum", required = true)
162 protected String systemDate;
163 @XmlElement(name = "dokument_url_text", required = true)
164 @XmlSchemaType(name = "anyURI")
165 protected String documentUrlText;
166 @XmlElement(name = "dokument_url_html", required = true)
167 @XmlSchemaType(name = "anyURI")
168 protected String documentUrlHtml;
169 @XmlElement(name = "dokumentstatus_url_xml", required = true)
170 @XmlSchemaType(name = "anyURI")
171 protected String documentStatusUrlXml;
172 @XmlElement(name = "utskottsforslag_url_xml", required = true)
173 @XmlSchemaType(name = "anyURI")
174 protected String committeeReportUrlXml;
175
176
177
178
179
180
181
182
183
184 @Basic
185 @Column(name = "HANGAR_ID", length = 255)
186 public String getHangarId() {
187 return hangarId;
188 }
189
190
191
192
193
194
195
196
197
198 public void setHangarId(String value) {
199 this.hangarId = value;
200 }
201
202
203
204
205
206
207
208
209
210 @Basic
211 @Column(name = "DOC_ID", length = 255)
212 public String getDocId() {
213 return docId;
214 }
215
216
217
218
219
220
221
222
223
224 public void setDocId(String value) {
225 this.docId = value;
226 }
227
228
229
230
231
232
233
234
235
236 @Basic
237 @Column(name = "HTMLFORMAT", length = 255)
238 public String getHtmlformat() {
239 return htmlformat;
240 }
241
242
243
244
245
246
247
248
249
250 public void setHtmlformat(String value) {
251 this.htmlformat = value;
252 }
253
254
255
256
257
258
259
260
261
262 @Basic
263 @Column(name = "RELATED_ID", length = 255)
264 public String getRelatedId() {
265 return relatedId;
266 }
267
268
269
270
271
272
273
274
275
276 public void setRelatedId(String value) {
277 this.relatedId = value;
278 }
279
280
281
282
283
284
285
286
287
288 @Basic
289 @Column(name = "SOURCE_", length = 255)
290 public String getSource() {
291 return source;
292 }
293
294
295
296
297
298
299
300
301
302 public void setSource(String value) {
303 this.source = value;
304 }
305
306
307
308
309
310
311
312
313
314 @Id
315 @Column(name = "SOURCEID")
316 public String getSourceid() {
317 return sourceid;
318 }
319
320
321
322
323
324
325
326
327
328 public void setSourceid(String value) {
329 this.sourceid = value;
330 }
331
332
333
334
335
336
337
338
339
340 @Basic
341 @Column(name = "RM", length = 255)
342 public String getRm() {
343 return rm;
344 }
345
346
347
348
349
350
351
352
353
354 public void setRm(String value) {
355 this.rm = value;
356 }
357
358
359
360
361
362
363
364
365
366 @Basic
367 @Column(name = "LABEL", length = 255)
368 public String getLabel() {
369 return label;
370 }
371
372
373
374
375
376
377
378
379
380 public void setLabel(String value) {
381 this.label = value;
382 }
383
384
385
386
387
388
389
390
391
392 @Basic
393 @Column(name = "ELEMENT_TYPE", length = 255)
394 public String getElementType() {
395 return elementType;
396 }
397
398
399
400
401
402
403
404
405
406 public void setElementType(String value) {
407 this.elementType = value;
408 }
409
410
411
412
413
414
415
416
417
418 @Basic
419 @Column(name = "DOCUMENT_TYPE", length = 255)
420 public String getDocumentType() {
421 return documentType;
422 }
423
424
425
426
427
428
429
430
431
432 public void setDocumentType(String value) {
433 this.documentType = value;
434 }
435
436
437
438
439
440
441
442
443
444 @Basic
445 @Column(name = "SUB_TYPE", length = 255)
446 public String getSubType() {
447 return subType;
448 }
449
450
451
452
453
454
455
456
457
458 public void setSubType(String value) {
459 this.subType = value;
460 }
461
462
463
464
465
466
467
468
469
470 @Basic
471 @Column(name = "STATUS", length = 255)
472 public String getStatus() {
473 return status;
474 }
475
476
477
478
479
480
481
482
483
484 public void setStatus(String value) {
485 this.status = value;
486 }
487
488
489
490
491
492
493
494
495
496 @Basic
497 @Column(name = "TEMP_LABEL", length = 255)
498 public String getTempLabel() {
499 return tempLabel;
500 }
501
502
503
504
505
506
507
508
509
510 public void setTempLabel(String value) {
511 this.tempLabel = value;
512 }
513
514
515
516
517
518
519
520
521
522 @Basic
523 @Column(name = "ORG", length = 255)
524 public String getOrg() {
525 return org;
526 }
527
528
529
530
531
532
533
534
535
536 public void setOrg(String value) {
537 this.org = value;
538 }
539
540
541
542
543
544
545
546
547
548 @Basic
549 @Column(name = "NUMBER_VALUE", precision = 20, scale = 0)
550 public BigInteger getNumberValue() {
551 return numberValue;
552 }
553
554
555
556
557
558
559
560
561
562 public void setNumberValue(BigInteger value) {
563 this.numberValue = value;
564 }
565
566
567
568
569
570
571
572
573
574 @Basic
575 @Column(name = "END_NUMBER_VALUE", precision = 20, scale = 0)
576 public BigInteger getEndNumberValue() {
577 return endNumberValue;
578 }
579
580
581
582
583
584
585
586
587
588 public void setEndNumberValue(BigInteger value) {
589 this.endNumberValue = value;
590 }
591
592
593
594
595
596
597
598
599
600 @Basic
601 @Column(name = "TITLE", length = 65536)
602 public String getTitle() {
603 return title;
604 }
605
606
607
608
609
610
611
612
613
614 public void setTitle(String value) {
615 this.title = value;
616 }
617
618
619
620
621
622
623
624
625
626 @Basic
627 @Column(name = "SUB_TITLE", length = 65536)
628 public String getSubTitle() {
629 return subTitle;
630 }
631
632
633
634
635
636
637
638
639
640 public void setSubTitle(String value) {
641 this.subTitle = value;
642 }
643
644
645
646
647
648
649
650
651
652 @Basic
653 @Column(name = "CREATED_DATE", length = 255)
654 public String getCreatedDate() {
655 return createdDate;
656 }
657
658
659
660
661
662
663
664
665
666 public void setCreatedDate(String value) {
667 this.createdDate = value;
668 }
669
670
671
672
673
674
675
676
677
678 @Basic
679 @Column(name = "MADE_PUBLIC_DATE", length = 255)
680 public String getMadePublicDate() {
681 return madePublicDate;
682 }
683
684
685
686
687
688
689
690
691
692 public void setMadePublicDate(String value) {
693 this.madePublicDate = value;
694 }
695
696
697
698
699
700
701
702
703
704 @Basic
705 @Column(name = "SYSTEM_DATE", length = 255)
706 public String getSystemDate() {
707 return systemDate;
708 }
709
710
711
712
713
714
715
716
717
718 public void setSystemDate(String value) {
719 this.systemDate = value;
720 }
721
722
723
724
725
726
727
728
729
730 @Basic
731 @Column(name = "DOCUMENT_URL_TEXT")
732 public String getDocumentUrlText() {
733 return documentUrlText;
734 }
735
736
737
738
739
740
741
742
743
744 public void setDocumentUrlText(String value) {
745 this.documentUrlText = value;
746 }
747
748
749
750
751
752
753
754
755
756 @Basic
757 @Column(name = "DOCUMENT_URL_HTML")
758 public String getDocumentUrlHtml() {
759 return documentUrlHtml;
760 }
761
762
763
764
765
766
767
768
769
770 public void setDocumentUrlHtml(String value) {
771 this.documentUrlHtml = value;
772 }
773
774
775
776
777
778
779
780
781
782 @Basic
783 @Column(name = "DOCUMENT_STATUS_URL_XML")
784 public String getDocumentStatusUrlXml() {
785 return documentStatusUrlXml;
786 }
787
788
789
790
791
792
793
794
795
796 public void setDocumentStatusUrlXml(String value) {
797 this.documentStatusUrlXml = value;
798 }
799
800
801
802
803
804
805
806
807
808 @Basic
809 @Column(name = "COMMITTEE_REPORT_URL_XML")
810 public String getCommitteeReportUrlXml() {
811 return committeeReportUrlXml;
812 }
813
814
815
816
817
818
819
820
821
822 public void setCommitteeReportUrlXml(String value) {
823 this.committeeReportUrlXml = value;
824 }
825
826 public BallotDocumentElement withHangarId(String value) {
827 setHangarId(value);
828 return this;
829 }
830
831 public BallotDocumentElement withDocId(String value) {
832 setDocId(value);
833 return this;
834 }
835
836 public BallotDocumentElement withHtmlformat(String value) {
837 setHtmlformat(value);
838 return this;
839 }
840
841 public BallotDocumentElement withRelatedId(String value) {
842 setRelatedId(value);
843 return this;
844 }
845
846 public BallotDocumentElement withSource(String value) {
847 setSource(value);
848 return this;
849 }
850
851 public BallotDocumentElement withSourceid(String value) {
852 setSourceid(value);
853 return this;
854 }
855
856 public BallotDocumentElement withRm(String value) {
857 setRm(value);
858 return this;
859 }
860
861 public BallotDocumentElement withLabel(String value) {
862 setLabel(value);
863 return this;
864 }
865
866 public BallotDocumentElement withElementType(String value) {
867 setElementType(value);
868 return this;
869 }
870
871 public BallotDocumentElement withDocumentType(String value) {
872 setDocumentType(value);
873 return this;
874 }
875
876 public BallotDocumentElement withSubType(String value) {
877 setSubType(value);
878 return this;
879 }
880
881 public BallotDocumentElement withStatus(String value) {
882 setStatus(value);
883 return this;
884 }
885
886 public BallotDocumentElement withTempLabel(String value) {
887 setTempLabel(value);
888 return this;
889 }
890
891 public BallotDocumentElement withOrg(String value) {
892 setOrg(value);
893 return this;
894 }
895
896 public BallotDocumentElement withNumberValue(BigInteger value) {
897 setNumberValue(value);
898 return this;
899 }
900
901 public BallotDocumentElement withEndNumberValue(BigInteger value) {
902 setEndNumberValue(value);
903 return this;
904 }
905
906 public BallotDocumentElement withTitle(String value) {
907 setTitle(value);
908 return this;
909 }
910
911 public BallotDocumentElement withSubTitle(String value) {
912 setSubTitle(value);
913 return this;
914 }
915
916 public BallotDocumentElement withCreatedDate(String value) {
917 setCreatedDate(value);
918 return this;
919 }
920
921 public BallotDocumentElement withMadePublicDate(String value) {
922 setMadePublicDate(value);
923 return this;
924 }
925
926 public BallotDocumentElement withSystemDate(String value) {
927 setSystemDate(value);
928 return this;
929 }
930
931 public BallotDocumentElement withDocumentUrlText(String value) {
932 setDocumentUrlText(value);
933 return this;
934 }
935
936 public BallotDocumentElement withDocumentUrlHtml(String value) {
937 setDocumentUrlHtml(value);
938 return this;
939 }
940
941 public BallotDocumentElement withDocumentStatusUrlXml(String value) {
942 setDocumentStatusUrlXml(value);
943 return this;
944 }
945
946 public BallotDocumentElement withCommitteeReportUrlXml(String value) {
947 setCommitteeReportUrlXml(value);
948 return this;
949 }
950
951 public String toString() {
952 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
953 final StringBuilder buffer = new StringBuilder();
954 append(null, buffer, strategy);
955 return buffer.toString();
956 }
957
958 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
959 strategy.appendStart(locator, this, buffer);
960 appendFields(locator, buffer, strategy);
961 strategy.appendEnd(locator, this, buffer);
962 return buffer;
963 }
964
965 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
966 {
967 String theHangarId;
968 theHangarId = this.getHangarId();
969 strategy.appendField(locator, this, "hangarId", buffer, theHangarId);
970 }
971 {
972 String theDocId;
973 theDocId = this.getDocId();
974 strategy.appendField(locator, this, "docId", buffer, theDocId);
975 }
976 {
977 String theHtmlformat;
978 theHtmlformat = this.getHtmlformat();
979 strategy.appendField(locator, this, "htmlformat", buffer, theHtmlformat);
980 }
981 {
982 String theRelatedId;
983 theRelatedId = this.getRelatedId();
984 strategy.appendField(locator, this, "relatedId", buffer, theRelatedId);
985 }
986 {
987 String theSource;
988 theSource = this.getSource();
989 strategy.appendField(locator, this, "source", buffer, theSource);
990 }
991 {
992 String theSourceid;
993 theSourceid = this.getSourceid();
994 strategy.appendField(locator, this, "sourceid", buffer, theSourceid);
995 }
996 {
997 String theRm;
998 theRm = this.getRm();
999 strategy.appendField(locator, this, "rm", buffer, theRm);
1000 }
1001 {
1002 String theLabel;
1003 theLabel = this.getLabel();
1004 strategy.appendField(locator, this, "label", buffer, theLabel);
1005 }
1006 {
1007 String theElementType;
1008 theElementType = this.getElementType();
1009 strategy.appendField(locator, this, "elementType", buffer, theElementType);
1010 }
1011 {
1012 String theDocumentType;
1013 theDocumentType = this.getDocumentType();
1014 strategy.appendField(locator, this, "documentType", buffer, theDocumentType);
1015 }
1016 {
1017 String theSubType;
1018 theSubType = this.getSubType();
1019 strategy.appendField(locator, this, "subType", buffer, theSubType);
1020 }
1021 {
1022 String theStatus;
1023 theStatus = this.getStatus();
1024 strategy.appendField(locator, this, "status", buffer, theStatus);
1025 }
1026 {
1027 String theTempLabel;
1028 theTempLabel = this.getTempLabel();
1029 strategy.appendField(locator, this, "tempLabel", buffer, theTempLabel);
1030 }
1031 {
1032 String theOrg;
1033 theOrg = this.getOrg();
1034 strategy.appendField(locator, this, "org", buffer, theOrg);
1035 }
1036 {
1037 BigInteger theNumberValue;
1038 theNumberValue = this.getNumberValue();
1039 strategy.appendField(locator, this, "numberValue", buffer, theNumberValue);
1040 }
1041 {
1042 BigInteger theEndNumberValue;
1043 theEndNumberValue = this.getEndNumberValue();
1044 strategy.appendField(locator, this, "endNumberValue", buffer, theEndNumberValue);
1045 }
1046 {
1047 String theTitle;
1048 theTitle = this.getTitle();
1049 strategy.appendField(locator, this, "title", buffer, theTitle);
1050 }
1051 {
1052 String theSubTitle;
1053 theSubTitle = this.getSubTitle();
1054 strategy.appendField(locator, this, "subTitle", buffer, theSubTitle);
1055 }
1056 {
1057 String theCreatedDate;
1058 theCreatedDate = this.getCreatedDate();
1059 strategy.appendField(locator, this, "createdDate", buffer, theCreatedDate);
1060 }
1061 {
1062 String theMadePublicDate;
1063 theMadePublicDate = this.getMadePublicDate();
1064 strategy.appendField(locator, this, "madePublicDate", buffer, theMadePublicDate);
1065 }
1066 {
1067 String theSystemDate;
1068 theSystemDate = this.getSystemDate();
1069 strategy.appendField(locator, this, "systemDate", buffer, theSystemDate);
1070 }
1071 {
1072 String theDocumentUrlText;
1073 theDocumentUrlText = this.getDocumentUrlText();
1074 strategy.appendField(locator, this, "documentUrlText", buffer, theDocumentUrlText);
1075 }
1076 {
1077 String theDocumentUrlHtml;
1078 theDocumentUrlHtml = this.getDocumentUrlHtml();
1079 strategy.appendField(locator, this, "documentUrlHtml", buffer, theDocumentUrlHtml);
1080 }
1081 {
1082 String theDocumentStatusUrlXml;
1083 theDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
1084 strategy.appendField(locator, this, "documentStatusUrlXml", buffer, theDocumentStatusUrlXml);
1085 }
1086 {
1087 String theCommitteeReportUrlXml;
1088 theCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
1089 strategy.appendField(locator, this, "committeeReportUrlXml", buffer, theCommitteeReportUrlXml);
1090 }
1091 return buffer;
1092 }
1093
1094 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1095 if ((object == null)||(this.getClass()!= object.getClass())) {
1096 return false;
1097 }
1098 if (this == object) {
1099 return true;
1100 }
1101 final BallotDocumentElement that = ((BallotDocumentElement) object);
1102 {
1103 String lhsHangarId;
1104 lhsHangarId = this.getHangarId();
1105 String rhsHangarId;
1106 rhsHangarId = that.getHangarId();
1107 if (!strategy.equals(LocatorUtils.property(thisLocator, "hangarId", lhsHangarId), LocatorUtils.property(thatLocator, "hangarId", rhsHangarId), lhsHangarId, rhsHangarId)) {
1108 return false;
1109 }
1110 }
1111 {
1112 String lhsDocId;
1113 lhsDocId = this.getDocId();
1114 String rhsDocId;
1115 rhsDocId = that.getDocId();
1116 if (!strategy.equals(LocatorUtils.property(thisLocator, "docId", lhsDocId), LocatorUtils.property(thatLocator, "docId", rhsDocId), lhsDocId, rhsDocId)) {
1117 return false;
1118 }
1119 }
1120 {
1121 String lhsHtmlformat;
1122 lhsHtmlformat = this.getHtmlformat();
1123 String rhsHtmlformat;
1124 rhsHtmlformat = that.getHtmlformat();
1125 if (!strategy.equals(LocatorUtils.property(thisLocator, "htmlformat", lhsHtmlformat), LocatorUtils.property(thatLocator, "htmlformat", rhsHtmlformat), lhsHtmlformat, rhsHtmlformat)) {
1126 return false;
1127 }
1128 }
1129 {
1130 String lhsRelatedId;
1131 lhsRelatedId = this.getRelatedId();
1132 String rhsRelatedId;
1133 rhsRelatedId = that.getRelatedId();
1134 if (!strategy.equals(LocatorUtils.property(thisLocator, "relatedId", lhsRelatedId), LocatorUtils.property(thatLocator, "relatedId", rhsRelatedId), lhsRelatedId, rhsRelatedId)) {
1135 return false;
1136 }
1137 }
1138 {
1139 String lhsSource;
1140 lhsSource = this.getSource();
1141 String rhsSource;
1142 rhsSource = that.getSource();
1143 if (!strategy.equals(LocatorUtils.property(thisLocator, "source", lhsSource), LocatorUtils.property(thatLocator, "source", rhsSource), lhsSource, rhsSource)) {
1144 return false;
1145 }
1146 }
1147 {
1148 String lhsSourceid;
1149 lhsSourceid = this.getSourceid();
1150 String rhsSourceid;
1151 rhsSourceid = that.getSourceid();
1152 if (!strategy.equals(LocatorUtils.property(thisLocator, "sourceid", lhsSourceid), LocatorUtils.property(thatLocator, "sourceid", rhsSourceid), lhsSourceid, rhsSourceid)) {
1153 return false;
1154 }
1155 }
1156 {
1157 String lhsRm;
1158 lhsRm = this.getRm();
1159 String rhsRm;
1160 rhsRm = that.getRm();
1161 if (!strategy.equals(LocatorUtils.property(thisLocator, "rm", lhsRm), LocatorUtils.property(thatLocator, "rm", rhsRm), lhsRm, rhsRm)) {
1162 return false;
1163 }
1164 }
1165 {
1166 String lhsLabel;
1167 lhsLabel = this.getLabel();
1168 String rhsLabel;
1169 rhsLabel = that.getLabel();
1170 if (!strategy.equals(LocatorUtils.property(thisLocator, "label", lhsLabel), LocatorUtils.property(thatLocator, "label", rhsLabel), lhsLabel, rhsLabel)) {
1171 return false;
1172 }
1173 }
1174 {
1175 String lhsElementType;
1176 lhsElementType = this.getElementType();
1177 String rhsElementType;
1178 rhsElementType = that.getElementType();
1179 if (!strategy.equals(LocatorUtils.property(thisLocator, "elementType", lhsElementType), LocatorUtils.property(thatLocator, "elementType", rhsElementType), lhsElementType, rhsElementType)) {
1180 return false;
1181 }
1182 }
1183 {
1184 String lhsDocumentType;
1185 lhsDocumentType = this.getDocumentType();
1186 String rhsDocumentType;
1187 rhsDocumentType = that.getDocumentType();
1188 if (!strategy.equals(LocatorUtils.property(thisLocator, "documentType", lhsDocumentType), LocatorUtils.property(thatLocator, "documentType", rhsDocumentType), lhsDocumentType, rhsDocumentType)) {
1189 return false;
1190 }
1191 }
1192 {
1193 String lhsSubType;
1194 lhsSubType = this.getSubType();
1195 String rhsSubType;
1196 rhsSubType = that.getSubType();
1197 if (!strategy.equals(LocatorUtils.property(thisLocator, "subType", lhsSubType), LocatorUtils.property(thatLocator, "subType", rhsSubType), lhsSubType, rhsSubType)) {
1198 return false;
1199 }
1200 }
1201 {
1202 String lhsStatus;
1203 lhsStatus = this.getStatus();
1204 String rhsStatus;
1205 rhsStatus = that.getStatus();
1206 if (!strategy.equals(LocatorUtils.property(thisLocator, "status", lhsStatus), LocatorUtils.property(thatLocator, "status", rhsStatus), lhsStatus, rhsStatus)) {
1207 return false;
1208 }
1209 }
1210 {
1211 String lhsTempLabel;
1212 lhsTempLabel = this.getTempLabel();
1213 String rhsTempLabel;
1214 rhsTempLabel = that.getTempLabel();
1215 if (!strategy.equals(LocatorUtils.property(thisLocator, "tempLabel", lhsTempLabel), LocatorUtils.property(thatLocator, "tempLabel", rhsTempLabel), lhsTempLabel, rhsTempLabel)) {
1216 return false;
1217 }
1218 }
1219 {
1220 String lhsOrg;
1221 lhsOrg = this.getOrg();
1222 String rhsOrg;
1223 rhsOrg = that.getOrg();
1224 if (!strategy.equals(LocatorUtils.property(thisLocator, "org", lhsOrg), LocatorUtils.property(thatLocator, "org", rhsOrg), lhsOrg, rhsOrg)) {
1225 return false;
1226 }
1227 }
1228 {
1229 BigInteger lhsNumberValue;
1230 lhsNumberValue = this.getNumberValue();
1231 BigInteger rhsNumberValue;
1232 rhsNumberValue = that.getNumberValue();
1233 if (!strategy.equals(LocatorUtils.property(thisLocator, "numberValue", lhsNumberValue), LocatorUtils.property(thatLocator, "numberValue", rhsNumberValue), lhsNumberValue, rhsNumberValue)) {
1234 return false;
1235 }
1236 }
1237 {
1238 BigInteger lhsEndNumberValue;
1239 lhsEndNumberValue = this.getEndNumberValue();
1240 BigInteger rhsEndNumberValue;
1241 rhsEndNumberValue = that.getEndNumberValue();
1242 if (!strategy.equals(LocatorUtils.property(thisLocator, "endNumberValue", lhsEndNumberValue), LocatorUtils.property(thatLocator, "endNumberValue", rhsEndNumberValue), lhsEndNumberValue, rhsEndNumberValue)) {
1243 return false;
1244 }
1245 }
1246 {
1247 String lhsTitle;
1248 lhsTitle = this.getTitle();
1249 String rhsTitle;
1250 rhsTitle = that.getTitle();
1251 if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle)) {
1252 return false;
1253 }
1254 }
1255 {
1256 String lhsSubTitle;
1257 lhsSubTitle = this.getSubTitle();
1258 String rhsSubTitle;
1259 rhsSubTitle = that.getSubTitle();
1260 if (!strategy.equals(LocatorUtils.property(thisLocator, "subTitle", lhsSubTitle), LocatorUtils.property(thatLocator, "subTitle", rhsSubTitle), lhsSubTitle, rhsSubTitle)) {
1261 return false;
1262 }
1263 }
1264 {
1265 String lhsCreatedDate;
1266 lhsCreatedDate = this.getCreatedDate();
1267 String rhsCreatedDate;
1268 rhsCreatedDate = that.getCreatedDate();
1269 if (!strategy.equals(LocatorUtils.property(thisLocator, "createdDate", lhsCreatedDate), LocatorUtils.property(thatLocator, "createdDate", rhsCreatedDate), lhsCreatedDate, rhsCreatedDate)) {
1270 return false;
1271 }
1272 }
1273 {
1274 String lhsMadePublicDate;
1275 lhsMadePublicDate = this.getMadePublicDate();
1276 String rhsMadePublicDate;
1277 rhsMadePublicDate = that.getMadePublicDate();
1278 if (!strategy.equals(LocatorUtils.property(thisLocator, "madePublicDate", lhsMadePublicDate), LocatorUtils.property(thatLocator, "madePublicDate", rhsMadePublicDate), lhsMadePublicDate, rhsMadePublicDate)) {
1279 return false;
1280 }
1281 }
1282 {
1283 String lhsSystemDate;
1284 lhsSystemDate = this.getSystemDate();
1285 String rhsSystemDate;
1286 rhsSystemDate = that.getSystemDate();
1287 if (!strategy.equals(LocatorUtils.property(thisLocator, "systemDate", lhsSystemDate), LocatorUtils.property(thatLocator, "systemDate", rhsSystemDate), lhsSystemDate, rhsSystemDate)) {
1288 return false;
1289 }
1290 }
1291 {
1292 String lhsDocumentUrlText;
1293 lhsDocumentUrlText = this.getDocumentUrlText();
1294 String rhsDocumentUrlText;
1295 rhsDocumentUrlText = that.getDocumentUrlText();
1296 if (!strategy.equals(LocatorUtils.property(thisLocator, "documentUrlText", lhsDocumentUrlText), LocatorUtils.property(thatLocator, "documentUrlText", rhsDocumentUrlText), lhsDocumentUrlText, rhsDocumentUrlText)) {
1297 return false;
1298 }
1299 }
1300 {
1301 String lhsDocumentUrlHtml;
1302 lhsDocumentUrlHtml = this.getDocumentUrlHtml();
1303 String rhsDocumentUrlHtml;
1304 rhsDocumentUrlHtml = that.getDocumentUrlHtml();
1305 if (!strategy.equals(LocatorUtils.property(thisLocator, "documentUrlHtml", lhsDocumentUrlHtml), LocatorUtils.property(thatLocator, "documentUrlHtml", rhsDocumentUrlHtml), lhsDocumentUrlHtml, rhsDocumentUrlHtml)) {
1306 return false;
1307 }
1308 }
1309 {
1310 String lhsDocumentStatusUrlXml;
1311 lhsDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
1312 String rhsDocumentStatusUrlXml;
1313 rhsDocumentStatusUrlXml = that.getDocumentStatusUrlXml();
1314 if (!strategy.equals(LocatorUtils.property(thisLocator, "documentStatusUrlXml", lhsDocumentStatusUrlXml), LocatorUtils.property(thatLocator, "documentStatusUrlXml", rhsDocumentStatusUrlXml), lhsDocumentStatusUrlXml, rhsDocumentStatusUrlXml)) {
1315 return false;
1316 }
1317 }
1318 {
1319 String lhsCommitteeReportUrlXml;
1320 lhsCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
1321 String rhsCommitteeReportUrlXml;
1322 rhsCommitteeReportUrlXml = that.getCommitteeReportUrlXml();
1323 if (!strategy.equals(LocatorUtils.property(thisLocator, "committeeReportUrlXml", lhsCommitteeReportUrlXml), LocatorUtils.property(thatLocator, "committeeReportUrlXml", rhsCommitteeReportUrlXml), lhsCommitteeReportUrlXml, rhsCommitteeReportUrlXml)) {
1324 return false;
1325 }
1326 }
1327 return true;
1328 }
1329
1330 public boolean equals(Object object) {
1331 final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
1332 return equals(null, null, object, strategy);
1333 }
1334
1335 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1336 int currentHashCode = 1;
1337 {
1338 String theHangarId;
1339 theHangarId = this.getHangarId();
1340 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hangarId", theHangarId), currentHashCode, theHangarId);
1341 }
1342 {
1343 String theDocId;
1344 theDocId = this.getDocId();
1345 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "docId", theDocId), currentHashCode, theDocId);
1346 }
1347 {
1348 String theHtmlformat;
1349 theHtmlformat = this.getHtmlformat();
1350 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "htmlformat", theHtmlformat), currentHashCode, theHtmlformat);
1351 }
1352 {
1353 String theRelatedId;
1354 theRelatedId = this.getRelatedId();
1355 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "relatedId", theRelatedId), currentHashCode, theRelatedId);
1356 }
1357 {
1358 String theSource;
1359 theSource = this.getSource();
1360 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "source", theSource), currentHashCode, theSource);
1361 }
1362 {
1363 String theSourceid;
1364 theSourceid = this.getSourceid();
1365 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sourceid", theSourceid), currentHashCode, theSourceid);
1366 }
1367 {
1368 String theRm;
1369 theRm = this.getRm();
1370 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rm", theRm), currentHashCode, theRm);
1371 }
1372 {
1373 String theLabel;
1374 theLabel = this.getLabel();
1375 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "label", theLabel), currentHashCode, theLabel);
1376 }
1377 {
1378 String theElementType;
1379 theElementType = this.getElementType();
1380 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elementType", theElementType), currentHashCode, theElementType);
1381 }
1382 {
1383 String theDocumentType;
1384 theDocumentType = this.getDocumentType();
1385 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentType", theDocumentType), currentHashCode, theDocumentType);
1386 }
1387 {
1388 String theSubType;
1389 theSubType = this.getSubType();
1390 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subType", theSubType), currentHashCode, theSubType);
1391 }
1392 {
1393 String theStatus;
1394 theStatus = this.getStatus();
1395 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "status", theStatus), currentHashCode, theStatus);
1396 }
1397 {
1398 String theTempLabel;
1399 theTempLabel = this.getTempLabel();
1400 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempLabel", theTempLabel), currentHashCode, theTempLabel);
1401 }
1402 {
1403 String theOrg;
1404 theOrg = this.getOrg();
1405 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "org", theOrg), currentHashCode, theOrg);
1406 }
1407 {
1408 BigInteger theNumberValue;
1409 theNumberValue = this.getNumberValue();
1410 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "numberValue", theNumberValue), currentHashCode, theNumberValue);
1411 }
1412 {
1413 BigInteger theEndNumberValue;
1414 theEndNumberValue = this.getEndNumberValue();
1415 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endNumberValue", theEndNumberValue), currentHashCode, theEndNumberValue);
1416 }
1417 {
1418 String theTitle;
1419 theTitle = this.getTitle();
1420 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle);
1421 }
1422 {
1423 String theSubTitle;
1424 theSubTitle = this.getSubTitle();
1425 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "subTitle", theSubTitle), currentHashCode, theSubTitle);
1426 }
1427 {
1428 String theCreatedDate;
1429 theCreatedDate = this.getCreatedDate();
1430 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createdDate", theCreatedDate), currentHashCode, theCreatedDate);
1431 }
1432 {
1433 String theMadePublicDate;
1434 theMadePublicDate = this.getMadePublicDate();
1435 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "madePublicDate", theMadePublicDate), currentHashCode, theMadePublicDate);
1436 }
1437 {
1438 String theSystemDate;
1439 theSystemDate = this.getSystemDate();
1440 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "systemDate", theSystemDate), currentHashCode, theSystemDate);
1441 }
1442 {
1443 String theDocumentUrlText;
1444 theDocumentUrlText = this.getDocumentUrlText();
1445 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentUrlText", theDocumentUrlText), currentHashCode, theDocumentUrlText);
1446 }
1447 {
1448 String theDocumentUrlHtml;
1449 theDocumentUrlHtml = this.getDocumentUrlHtml();
1450 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentUrlHtml", theDocumentUrlHtml), currentHashCode, theDocumentUrlHtml);
1451 }
1452 {
1453 String theDocumentStatusUrlXml;
1454 theDocumentStatusUrlXml = this.getDocumentStatusUrlXml();
1455 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "documentStatusUrlXml", theDocumentStatusUrlXml), currentHashCode, theDocumentStatusUrlXml);
1456 }
1457 {
1458 String theCommitteeReportUrlXml;
1459 theCommitteeReportUrlXml = this.getCommitteeReportUrlXml();
1460 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "committeeReportUrlXml", theCommitteeReportUrlXml), currentHashCode, theCommitteeReportUrlXml);
1461 }
1462 return currentHashCode;
1463 }
1464
1465 public int hashCode() {
1466 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1467 return this.hashCode(null, strategy);
1468 }
1469
1470 }