1 package org.kuali.ole.docstore.common.document.content.instance;
2
3 import com.thoughtworks.xstream.annotations.XStreamAlias;
4 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
5 import com.thoughtworks.xstream.annotations.XStreamImplicit;
6
7 import javax.xml.bind.annotation.*;
8 import java.util.ArrayList;
9 import java.util.List;
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 = "item", propOrder = {
86 "itemIdentifier",
87 "purchaseOrderLineItemIdentifier",
88 "vendorLineItemIdentifier",
89 "accessInformation",
90 "barcodeARSL",
91 "formerIdentifier",
92 "statisticalSearchingCode",
93 "itemType",
94 "location",
95 "donorInfo",
96 "copyNumber",
97 "copyNumberLabel",
98 "volumeNumber",
99 "volumeNumberLabel",
100 "note",
101 "enumeration",
102 "chronology",
103 "highDensityStorage",
104 "temporaryItemType",
105 "fund",
106 "callNumber",
107 "price",
108 "numberOfPieces",
109 "itemStatus",
110 "itemStatusEffectiveDate",
111 "checkinNote",
112 "staffOnlyFlag",
113 "fastAddFlag",
114 "extension",
115 "numberOfCirculations",
116 "currentBorrower",
117 "proxyBorrower",
118 "dueDateTime",
119 "claimsReturnedFlag",
120 "claimsReturnedFlagCreateDate",
121 "claimsReturnedNote",
122 "itemDamagedStatus",
123 "damagedItemNote",
124 "missingPieceFlagNote",
125 "missingPieceFlag",
126 "missingPiecesCount",
127 "missingPieceEffectiveDate",
128 "numberOfRenew",
129 "checkOutDateTime",
130 "itemClaimsReturnedRecords",
131 "itemDamagedRecords",
132 "missingPieceItemRecordList"
133 })
134 @XStreamAlias("item")
135 @XmlRootElement(name = "item")
136 public class Item {
137
138 @XmlElement(required = true)
139 protected String itemIdentifier;
140 @XmlElement(required = true)
141 protected String purchaseOrderLineItemIdentifier;
142 @XmlElement(required = true)
143 protected String vendorLineItemIdentifier;
144 @XmlElement(required = true)
145 protected AccessInformation accessInformation;
146 @XmlElement(required = true)
147 protected String barcodeARSL;
148 @XStreamImplicit(itemFieldName = "formerIdentifier")
149 protected List<FormerIdentifier> formerIdentifier;
150 @XStreamImplicit(itemFieldName = "statisticalSearchingCode")
151 protected List<StatisticalSearchingCode> statisticalSearchingCode;
152 @XStreamImplicit(itemFieldName = "missingPieceItemRecordList")
153 protected List<MissingPieceItemRecord> missingPieceItemRecordList;
154 @XmlElement(required = true)
155 protected ItemType itemType;
156 protected Location location;
157 @XmlTransient
158 protected String loanDueDate;
159 protected List<DonorInfo> donorInfo;
160 @XmlElement(required = true)
161 protected String copyNumber;
162 @XmlElement(required = true)
163 protected String copyNumberLabel;
164 @XmlElement(required = true)
165 protected String volumeNumber;
166 @XmlElement(required = true)
167 protected String volumeNumberLabel;
168 @XStreamImplicit(itemFieldName = "note")
169 protected List<Note> note;
170 @XmlElement(required = true)
171 protected String enumeration;
172 @XmlElement(required = true)
173 protected String chronology;
174 @XmlElement(required = true)
175 protected HighDensityStorage highDensityStorage;
176 @XmlElement(required = true)
177 protected ItemType temporaryItemType;
178 @XmlElement(required = true)
179 protected String fund;
180 @XmlElement(required = true)
181 protected CallNumber callNumber;
182 @XmlElement(required = true)
183 protected String price;
184 @XmlElement(required = true)
185 protected String numberOfPieces;
186 @XmlElement(required = true)
187 protected ItemStatus itemStatus;
188 @XmlElement(required = true)
189 protected String itemStatusEffectiveDate;
190 @XmlElement(required = true)
191 protected String checkinNote;
192 protected boolean staffOnlyFlag;
193 protected boolean fastAddFlag;
194 @XmlElement(required = true)
195 protected Extension extension;
196 @XmlElement(required = true)
197 protected String currentBorrower;
198 @XmlElement(required = true)
199 protected String proxyBorrower;
200 @XmlElement(required = true)
201 protected String dueDateTime;
202 protected boolean claimsReturnedFlag;
203 @XmlElement(required = true)
204 protected String claimsReturnedFlagCreateDate;
205 @XmlElement(required = true)
206 protected String claimsReturnedNote;
207 protected boolean itemDamagedStatus;
208 protected boolean missingPieceFlag;
209 @XmlElement(required = true)
210 protected String damagedItemNote;
211 @XmlElement(required = true)
212 protected String missingPieceFlagNote;
213 @XmlElement(required = true)
214 protected String missingPiecesCount;
215 @XmlElement(required = true)
216 protected String missingPieceEffectiveDate;
217 @XmlElement(required = true)
218 protected int numberOfRenew;
219 @XmlElement(required = true)
220 protected String checkOutDateTime;
221 @XmlAttribute
222 @XStreamAsAttribute
223 protected String analytic;
224 @XmlAttribute
225 @XStreamAsAttribute
226 protected String resourceIdentifier;
227
228 public String getLoanDueDate() {
229 return loanDueDate;
230 }
231
232 public void setLoanDueDate(String loanDueDate) {
233 this.loanDueDate = loanDueDate;
234 }
235
236 protected NumberOfCirculations numberOfCirculations;
237 @XStreamImplicit(itemFieldName = "itemClaimReturnedRecords")
238 protected List<ItemClaimsReturnedRecord> itemClaimsReturnedRecords;
239 @XStreamImplicit(itemFieldName = "itemDamagedRecords")
240 protected List<ItemDamagedRecord> itemDamagedRecords;
241
242 public List<MissingPieceItemRecord> getMissingPieceItemRecordList() {
243 if(missingPieceItemRecordList == null){
244 missingPieceItemRecordList = new ArrayList<MissingPieceItemRecord>();
245 }
246 return this.missingPieceItemRecordList;
247 }
248
249 public void setMissingPieceItemRecordList(List<MissingPieceItemRecord> missingPieceItemRecordList) {
250 this.missingPieceItemRecordList = missingPieceItemRecordList;
251 }
252
253
254
255
256
257
258
259 public String getItemIdentifier() {
260 return itemIdentifier;
261 }
262
263
264
265
266
267
268
269 public void setItemIdentifier(String value) {
270 this.itemIdentifier = value;
271 }
272
273
274
275
276
277
278
279 public String getPurchaseOrderLineItemIdentifier() {
280 return purchaseOrderLineItemIdentifier;
281 }
282
283
284
285
286
287
288
289 public void setPurchaseOrderLineItemIdentifier(String value) {
290 this.purchaseOrderLineItemIdentifier = value;
291 }
292
293
294
295
296
297
298
299 public String getVendorLineItemIdentifier() {
300 return vendorLineItemIdentifier;
301 }
302
303
304
305
306
307
308
309 public void setVendorLineItemIdentifier(String value) {
310 this.vendorLineItemIdentifier = value;
311 }
312
313
314
315
316
317
318
319 public AccessInformation getAccessInformation() {
320 return accessInformation;
321 }
322
323
324
325
326
327
328
329 public void setAccessInformation(AccessInformation value) {
330 this.accessInformation = value;
331 }
332
333
334
335
336
337
338
339 public String getBarcodeARSL() {
340 return barcodeARSL;
341 }
342
343
344
345
346
347
348
349 public void setBarcodeARSL(String value) {
350 this.barcodeARSL = value;
351 }
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373 public List<FormerIdentifier> getFormerIdentifier() {
374 if (formerIdentifier == null) {
375 formerIdentifier = new ArrayList<FormerIdentifier>();
376 }
377 return this.formerIdentifier;
378 }
379
380
381
382
383 public void setFormerIdentifier(List<FormerIdentifier> formerIdentifier) {
384 this.formerIdentifier = formerIdentifier;
385 }
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407 public List<StatisticalSearchingCode> getStatisticalSearchingCode() {
408 if (statisticalSearchingCode == null) {
409 statisticalSearchingCode = new ArrayList<StatisticalSearchingCode>();
410 }
411 return this.statisticalSearchingCode;
412 }
413
414
415
416
417 public void setStatisticalSearchingCode(List<StatisticalSearchingCode> statisticalSearchingCode) {
418 this.statisticalSearchingCode = statisticalSearchingCode;
419 }
420
421
422
423
424
425
426
427 public ItemType getItemType() {
428 return itemType;
429 }
430
431
432
433
434
435
436
437 public void setItemType(ItemType value) {
438 this.itemType = value;
439 }
440
441
442
443
444
445
446
447 public Location getLocation() {
448 return location;
449 }
450
451
452
453
454
455
456
457 public void setLocation(Location value) {
458 this.location = value;
459 }
460
461
462
463
464
465
466
467 public String getCopyNumber() {
468 return copyNumber;
469 }
470
471
472
473
474
475
476
477 public void setCopyNumber(String value) {
478 this.copyNumber = value;
479 }
480
481
482
483
484
485
486
487 public String getCopyNumberLabel() {
488 return copyNumberLabel;
489 }
490
491
492
493
494
495
496
497 public void setCopyNumberLabel(String value) {
498 this.copyNumberLabel = value;
499 }
500
501
502
503
504
505
506
507 public String getVolumeNumber() {
508 return volumeNumber;
509 }
510
511
512
513
514
515
516
517 public void setVolumeNumber(String value) {
518 this.volumeNumber = value;
519 }
520
521
522
523
524
525
526
527 public String getVolumeNumberLabel() {
528 return volumeNumberLabel;
529 }
530
531
532
533
534
535
536
537 public void setVolumeNumberLabel(String value) {
538 this.volumeNumberLabel = value;
539 }
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561 public List<Note> getNote() {
562 if (note == null) {
563 note = new ArrayList<Note>();
564 }
565 return this.note;
566 }
567
568
569
570
571 public void setNote(List<Note> note) {
572 this.note = note;
573 }
574
575
576
577
578
579
580
581 public String getEnumeration() {
582 return enumeration;
583 }
584
585
586
587
588
589
590
591 public void setEnumeration(String value) {
592 this.enumeration = value;
593 }
594
595
596
597
598
599
600
601 public String getChronology() {
602 return chronology;
603 }
604
605
606
607
608
609
610
611 public void setChronology(String value) {
612 this.chronology = value;
613 }
614
615
616
617
618
619
620
621 public HighDensityStorage getHighDensityStorage() {
622 return highDensityStorage;
623 }
624
625
626
627
628
629
630
631 public void setHighDensityStorage(HighDensityStorage value) {
632 this.highDensityStorage = value;
633 }
634
635
636
637
638
639
640
641 public ItemType getTemporaryItemType() {
642 return temporaryItemType;
643 }
644
645
646
647
648
649
650
651 public void setTemporaryItemType(ItemType value) {
652 this.temporaryItemType = value;
653 }
654
655
656
657
658
659
660
661 public String getFund() {
662 return fund;
663 }
664
665
666
667
668
669
670
671 public void setFund(String value) {
672 this.fund = value;
673 }
674
675
676
677
678
679
680
681 public CallNumber getCallNumber() {
682 return callNumber;
683 }
684
685
686
687
688
689
690
691 public void setCallNumber(CallNumber value) {
692 this.callNumber = value;
693 }
694
695
696
697
698
699
700
701 public String getPrice() {
702 return price;
703 }
704
705
706
707
708
709
710
711 public void setPrice(String value) {
712 this.price = value;
713 }
714
715
716
717
718
719
720
721 public String getNumberOfPieces() {
722 return numberOfPieces;
723 }
724
725
726
727
728
729
730
731 public void setNumberOfPieces(String value) {
732 this.numberOfPieces = value;
733 }
734
735
736
737
738
739
740
741 public ItemStatus getItemStatus() {
742 return itemStatus;
743 }
744
745
746
747
748
749
750
751 public void setItemStatus(ItemStatus value) {
752 this.itemStatus = value;
753 }
754
755
756
757
758
759
760
761 public String getItemStatusEffectiveDate() {
762 return itemStatusEffectiveDate;
763 }
764
765
766
767
768
769
770
771 public void setItemStatusEffectiveDate(String value) {
772 this.itemStatusEffectiveDate = value;
773 }
774
775
776
777
778
779
780
781 public String getCheckinNote() {
782 return checkinNote;
783 }
784
785
786
787
788
789
790
791 public void setCheckinNote(String value) {
792 this.checkinNote = value;
793 }
794
795
796
797
798 public boolean isStaffOnlyFlag() {
799 return staffOnlyFlag;
800 }
801
802
803
804
805 public void setStaffOnlyFlag(boolean value) {
806 this.staffOnlyFlag = value;
807 }
808
809
810
811
812 public boolean isFastAddFlag() {
813 return fastAddFlag;
814 }
815
816
817
818
819 public void setFastAddFlag(boolean value) {
820 this.fastAddFlag = value;
821 }
822
823
824
825
826
827
828
829 public Extension getExtension() {
830 return extension;
831 }
832
833
834
835
836
837
838
839 public void setExtension(Extension value) {
840 this.extension = value;
841 }
842
843
844
845
846
847
848
849 public String getAnalytic() {
850 return analytic;
851 }
852
853
854
855
856
857
858
859 public void setAnalytic(String value) {
860 this.analytic = value;
861 }
862
863
864
865
866
867
868
869 public String getResourceIdentifier() {
870 return resourceIdentifier;
871 }
872
873
874
875
876
877
878
879 public void setResourceIdentifier(String value) {
880 this.resourceIdentifier = value;
881 }
882
883
884
885
886
887
888
889 public NumberOfCirculations getNumberOfCirculations() {
890 return numberOfCirculations;
891 }
892
893
894
895
896
897
898
899 public void setNumberOfCirculations(NumberOfCirculations value) {
900 this.numberOfCirculations = value;
901 }
902
903
904
905
906
907
908
909
910
911 public String getCurrentBorrower() {
912 return currentBorrower;
913 }
914
915
916
917
918
919
920
921
922
923 public void setCurrentBorrower(String value) {
924 this.currentBorrower = value;
925 }
926
927
928
929
930
931
932
933
934
935 public String getProxyBorrower() {
936 return proxyBorrower;
937 }
938
939
940
941
942
943
944
945
946
947 public void setProxyBorrower(String value) {
948 this.proxyBorrower = value;
949 }
950
951
952
953
954
955
956
957
958
959 public String getDueDateTime() {
960 return dueDateTime;
961 }
962
963
964
965
966
967
968
969
970
971 public void setDueDateTime(String value) {
972 this.dueDateTime = value;
973 }
974
975
976
977
978
979 public boolean isClaimsReturnedFlag() {
980 return claimsReturnedFlag;
981 }
982
983
984
985
986
987 public void setClaimsReturnedFlag(boolean value) {
988 this.claimsReturnedFlag = value;
989 }
990
991
992
993
994
995
996
997
998
999 public String getClaimsReturnedFlagCreateDate() {
1000 return claimsReturnedFlagCreateDate;
1001 }
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011 public void setClaimsReturnedFlagCreateDate(String value) {
1012 this.claimsReturnedFlagCreateDate = value;
1013 }
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023 public String getClaimsReturnedNote() {
1024 return claimsReturnedNote;
1025 }
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035 public void setClaimsReturnedNote(String value) {
1036 this.claimsReturnedNote = value;
1037 }
1038
1039
1040
1041
1042
1043 public boolean isItemDamagedStatus() {
1044 return itemDamagedStatus;
1045 }
1046
1047
1048
1049
1050
1051 public void setItemDamagedStatus(boolean value) {
1052 this.itemDamagedStatus = value;
1053 }
1054
1055
1056
1057
1058
1059 public boolean isMissingPieceFlag() {
1060 return missingPieceFlag;
1061 }
1062
1063
1064
1065
1066
1067 public void setMissingPieceFlag(boolean value) {
1068 this.missingPieceFlag = value;
1069 }
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079 public String getMissingPiecesCount() {
1080 return missingPiecesCount;
1081 }
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091 public void setMissingPiecesCount(String value) {
1092 this.missingPiecesCount = value;
1093 }
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103 public String getMissingPieceEffectiveDate() {
1104 return missingPieceEffectiveDate;
1105 }
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115 public void setMissingPieceEffectiveDate(String value) {
1116 this.missingPieceEffectiveDate = value;
1117 }
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127 public String getDamagedItemNote() {
1128 return damagedItemNote;
1129 }
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139 public void setDamagedItemNote(String value) {
1140 this.damagedItemNote = value;
1141 }
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151 public String getMissingPieceFlagNote() {
1152 return missingPieceFlagNote;
1153 }
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163 public void setMissingPieceFlagNote(String value) {
1164 this.missingPieceFlagNote = value;
1165 }
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189 public List<DonorInfo> getDonorInfo() {
1190 if (donorInfo == null) {
1191 donorInfo = new ArrayList<DonorInfo>();
1192 }
1193 return this.donorInfo;
1194 }
1195
1196 public void setDonorInfo(List<DonorInfo> value){
1197 this.donorInfo= value;
1198 }
1199
1200 public int getNumberOfRenew() {
1201 return numberOfRenew;
1202 }
1203
1204 public void setNumberOfRenew(int numberOfRenew) {
1205 this.numberOfRenew = numberOfRenew;
1206 }
1207
1208 public String getCheckOutDateTime() {
1209 return checkOutDateTime;
1210 }
1211
1212 public void setCheckOutDateTime(String checkOutDateTime) {
1213 this.checkOutDateTime = checkOutDateTime;
1214 }
1215
1216 public List<ItemClaimsReturnedRecord> getItemClaimsReturnedRecords() {
1217 if(itemClaimsReturnedRecords == null) {
1218 itemClaimsReturnedRecords = new ArrayList<ItemClaimsReturnedRecord>();
1219 }
1220 return this.itemClaimsReturnedRecords;
1221 }
1222
1223 public void setItemClaimsReturnedRecords(List<ItemClaimsReturnedRecord> itemClaimsReturnedRecords) {
1224 this.itemClaimsReturnedRecords = itemClaimsReturnedRecords;
1225 }
1226
1227 public List<ItemDamagedRecord> getItemDamagedRecords() {
1228 if(itemDamagedRecords == null) {
1229 itemDamagedRecords = new ArrayList<ItemDamagedRecord>();
1230 }
1231 return this.itemDamagedRecords;
1232 }
1233
1234 public void setItemDamagedRecords(List<ItemDamagedRecord> itemDamagedRecords) {
1235 this.itemDamagedRecords = itemDamagedRecords;
1236 }
1237 }