1 package org.kuali.ole.describe.bo;
2
3 import org.kuali.ole.docstore.common.search.SearchResultField;
4 import java.util.ArrayList;
5 import java.util.List;
6
7
8
9
10
11
12
13
14 public class SearchResultDisplayRow {
15
16
17 protected String localId;
18 protected String docFormat;
19 protected String docType;
20
21 private String publisher;
22 private boolean select;
23 private String staffOnly = "false";
24 private String bibIdentifier;
25 private String holdingsIdentifier;
26 private String instanceIdentifier;
27 private String locationName;
28 private String linkedBibCount;
29 private String callNumber;
30 private String tokenId;
31 private String oleERSIdentifier;
32
33 private String title;
34 private String journalTitle;
35 private String titleDisplay;
36 private String author;
37 private String publicationDate;
38 private String isbn;
39 private String issn;
40 private String subject;
41 private String publicationPlace;
42 private String edition;
43 private String format;
44 private String formGenre;
45 private String language;
46 private String description;
47 private String holdingsNote;
48 private String extentOfOwnershipNoteType;
49 private String extentOfOwnershipNoteValue;
50 private String extentOfOwnershipType;
51 private boolean selectFlag;
52
53
54 private String barcode;
55 private String barcodeArsl;
56 private String volumeNumber;
57 private String volumeNumberLabel;
58 private String analyticItem = "false";
59
60 private String callNumberPrefix;
61 private String classificationPart;
62 private String shelvingOrder;
63 private String uri;
64 private String receiptStatus;
65 private String shelvingOrderCode;
66 private String shelvingSchemeCode;
67 private String shelvingSchemeValue;
68 private String locationLevel;
69 private String locationLevelName;
70 private String itemPart;
71 private String seriesHolding = "false";
72 private String boundWithHolding = "false";
73
74
75 private String accessStatus;
76 private String platForm;
77 private String imprint;
78 private String statisticalCode;
79 private String prefixAndCallnumber;
80 private String enumeration;
81 private String chronology;
82 private String copyNumber;
83 private String copyNumberLabel;
84 private String itemStatus;
85 private String PoLineItemId;
86 private List<Integer> poLineItemIds=new ArrayList<>();
87 private String itemTypeCodeValue;
88 private String itemTypeFullValue;
89 private String itemIdentifier;
90 private String coverageDate;
91 private String perpetualAccess;
92 private String publicNote;
93 private String url;
94 private String numberOfSimultaneousUses;
95 private String persistLink;
96 private String accessLocation;
97 private String adminUserName;
98 private String accessUserName;
99 private String accessPassword;
100 private String adminUrl;
101 private String authentication;
102 private String proxied;
103 private String ill;
104 private String subscription;
105 private String linkText;
106 private String adminPassword;
107 private String donorPublic;
108 private String donorNote;
109 private String donorCode;
110
111 private SearchResultDisplayFields searchResultDisplayFields;
112
113 public String getBoundWithHolding() {
114 return boundWithHolding;
115 }
116
117 public void setBoundWithHolding(String boundWithHolding) {
118 if(boundWithHolding!=null){
119 this.boundWithHolding = boundWithHolding;
120 }
121 }
122
123 public String getAnalyticItem() {
124 return analyticItem;
125 }
126
127 public void setAnalyticItem(String analyticItem) {
128 if(analyticItem!=null){
129 this.analyticItem = analyticItem;
130 }
131 }
132
133 public String getSeriesHolding() {
134 return seriesHolding;
135 }
136
137 public void setSeriesHolding(String seriesHolding) {
138 if(seriesHolding!=null){
139 this.seriesHolding = seriesHolding;
140 }
141 }
142
143 public String getDocType() {
144 return docType;
145 }
146
147 public void setDocType(String docType) {
148 this.docType = docType;
149 }
150
151 public boolean isSelectFlag() {
152 return selectFlag;
153 }
154
155 public void setSelectFlag(boolean selectFlag) {
156 this.selectFlag = selectFlag;
157 }
158
159 public String getTokenId() {
160 return tokenId;
161 }
162
163 public void setTokenId(String tokenId) {
164 this.tokenId = tokenId;
165 }
166
167 public String getOleERSIdentifier() {
168 return oleERSIdentifier;
169 }
170
171 public void setOleERSIdentifier(String oleERSIdentifier) {
172 this.oleERSIdentifier = oleERSIdentifier;
173 }
174
175 public String getLocalId() {
176 return localId;
177 }
178
179 public void setLocalId(String localId) {
180 this.localId = localId;
181 }
182
183 public String getDocFormat() {
184 return docFormat;
185 }
186
187 public void setDocFormat(String docFormat) {
188 this.docFormat = docFormat;
189 }
190
191 public boolean isSelect() {
192 return select;
193 }
194
195 public void setSelect(boolean select) {
196 this.select = select;
197 }
198
199 public String getTitle() {
200 return title;
201 }
202
203 public void setTitle(String title) {
204 if(this.title == null || this.title == "") {
205 this.title = title;
206 }
207 }
208
209 public String getJournalTitle() {
210 return journalTitle;
211 }
212
213 public void setJournalTitle(String journalTitle) {
214 this.journalTitle = journalTitle;
215 }
216
217 public String getTitleDisplay() {
218 return titleDisplay;
219 }
220
221 public void setTitleDisplay(String titleDisplay) {
222 this.titleDisplay = titleDisplay;
223 }
224
225 public String getPublisher() {
226 return publisher;
227 }
228
229 public void setPublisher(String publisher) {
230 this.publisher = publisher;
231 }
232
233 public String getPublicationDate() {
234 return publicationDate;
235 }
236
237 public void setPublicationDate(String publicationDate) {
238 this.publicationDate = publicationDate;
239 }
240
241 public String getCallNumberPrefix() {
242 return callNumberPrefix;
243 }
244
245 public void setCallNumberPrefix(String callNumberPrefix) {
246 this.callNumberPrefix = callNumberPrefix;
247 }
248
249 public String getClassificationPart() {
250 return classificationPart;
251 }
252
253 public void setClassificationPart(String classificationPart) {
254 this.classificationPart = classificationPart;
255 }
256
257 public String getShelvingOrder() {
258 return shelvingOrder;
259 }
260
261 public void setShelvingOrder(String shelvingOrder) {
262 this.shelvingOrder = shelvingOrder;
263 }
264
265 public String getUri() {
266 return uri;
267 }
268
269 public void setUri(String uri) {
270 this.uri = uri;
271 }
272
273 public String getReceiptStatus() {
274 return receiptStatus;
275 }
276
277 public void setReceiptStatus(String receiptStatus) {
278 this.receiptStatus = receiptStatus;
279 }
280
281 public String getAuthor() {
282 return author;
283 }
284
285 public void setAuthor(String author) {
286 this.author = author;
287 }
288
289 public String getIsbn() {
290 return isbn;
291 }
292
293 public void setIsbn(String isbn) {
294 this.isbn = isbn;
295 }
296
297 public String getIssn() {
298 return issn;
299 }
300
301 public void setIssn(String issn) {
302 this.issn = issn;
303 }
304
305 public String getSubject() {
306 return subject;
307 }
308
309 public void setSubject(String subject) {
310 this.subject = subject;
311 }
312
313 public String getPublicationPlace() {
314 return publicationPlace;
315 }
316
317 public void setPublicationPlace(String publicationPlace) {
318 this.publicationPlace = publicationPlace;
319 }
320
321 public String getEdition() {
322 return edition;
323 }
324
325 public void setEdition(String edition) {
326 this.edition = edition;
327 }
328
329 public String getFormat() {
330 return format;
331 }
332
333 public void setFormat(String format) {
334 this.format = format;
335 }
336
337 public String getFormGenre() {
338 return formGenre;
339 }
340
341 public void setFormGenre(String formGenre) {
342 this.formGenre = formGenre;
343 }
344
345 public String getLanguage() {
346 return language;
347 }
348
349 public void setLanguage(String language) {
350 this.language = language;
351 }
352
353 public String getDescription() {
354 return description;
355 }
356
357 public void setDescription(String description) {
358 this.description = description;
359 }
360
361 public String getBibIdentifier() {
362 return bibIdentifier;
363 }
364
365 public void setBibIdentifier(String bibIdentifier) {
366 if(this.bibIdentifier == null || this.bibIdentifier == ""){
367 this.bibIdentifier = bibIdentifier;
368 }
369 }
370
371 public String getHoldingsIdentifier() {
372 return holdingsIdentifier;
373 }
374
375 public void setHoldingsIdentifier(String holdingsIdentifier) {
376 this.holdingsIdentifier = holdingsIdentifier;
377 }
378
379 public String getItemIdentifier() {
380 return itemIdentifier;
381 }
382
383 public void setItemIdentifier(String itemIdentifier) {
384 this.itemIdentifier = itemIdentifier;
385 }
386
387 public String getStaffOnly() {
388 return staffOnly;
389 }
390
391 public void setStaffOnly(String staffOnly) {
392 this.staffOnly = staffOnly;
393 }
394
395 public String getInstanceIdentifier() {
396 return instanceIdentifier;
397 }
398
399 public void setInstanceIdentifier(String instanceIdentifier) {
400 this.instanceIdentifier = instanceIdentifier;
401 }
402
403 public String getLocationName() {
404 return locationName;
405 }
406
407 public void setLocationName(String locationName) {
408 this.locationName = locationName;
409 }
410
411 public String getLinkedBibCount() {
412 return linkedBibCount;
413 }
414
415 public void setLinkedBibCount(String linkedBibCount) {
416 this.linkedBibCount = linkedBibCount;
417 }
418
419 public String getCallNumber() {
420 return callNumber;
421 }
422
423 public void setCallNumber(String callNumber) {
424 this.callNumber = callNumber;
425 }
426
427 public String getBarcode() {
428 return barcode;
429 }
430
431 public void setBarcode(String barcode) {
432 this.barcode = barcode;
433 }
434
435 public String getAccessStatus() {
436 return accessStatus;
437 }
438
439 public void setAccessStatus(String accessStatus) {
440 this.accessStatus = accessStatus;
441 }
442
443 public String getPlatForm() {
444 return platForm;
445 }
446
447 public void setPlatForm(String platForm) {
448 this.platForm = platForm;
449 }
450
451 public String getImprint() {
452 return imprint;
453 }
454
455 public void setImprint(String imprint) {
456 this.imprint = imprint;
457 }
458
459 public String getStatisticalCode() {
460 return statisticalCode;
461 }
462
463 public void setStatisticalCode(String statisticalCode) {
464 this.statisticalCode = statisticalCode;
465 }
466
467 public String getDonorCode() {
468 return donorCode;
469 }
470
471 public void setDonorCode(String donorCode) {
472 this.donorCode = donorCode;
473 }
474
475 public String getPrefixAndCallnumber() {
476 return prefixAndCallnumber;
477 }
478
479 public void setPrefixAndCallnumber(String prefixAndCallnumber) {
480 this.prefixAndCallnumber = prefixAndCallnumber;
481 }
482
483 public String getEnumeration() {
484 return enumeration;
485 }
486
487 public void setEnumeration(String enumeration) {
488 this.enumeration = enumeration;
489 }
490
491 public String getChronology() {
492 return chronology;
493 }
494
495 public void setChronology(String chronology) {
496 this.chronology = chronology;
497 }
498
499 public String getCopyNumber() {
500 return copyNumber;
501 }
502
503 public void setCopyNumber(String copyNumber) {
504 this.copyNumber = copyNumber;
505 }
506
507 public String getItemStatus() {
508 return itemStatus;
509 }
510
511 public void setItemStatus(String itemStatus) {
512 this.itemStatus = itemStatus;
513 }
514
515 public String getPoLineItemId() {
516 return PoLineItemId;
517 }
518
519 public String getShelvingOrderCode() {
520 return shelvingOrderCode;
521 }
522
523 public void setShelvingOrderCode(String shelvingOrderCode) {
524 this.shelvingOrderCode = shelvingOrderCode;
525 }
526
527 public void setPoLineItemId(String poLineItemId) {
528 PoLineItemId = poLineItemId;
529 }
530
531 public String getShelvingSchemeCode() {
532 return shelvingSchemeCode;
533 }
534
535 public void setShelvingSchemeCode(String shelvingSchemeCode) {
536 this.shelvingSchemeCode = shelvingSchemeCode;
537 }
538
539 public String getShelvingSchemeValue() {
540 return shelvingSchemeValue;
541 }
542
543 public void setShelvingSchemeValue(String shelvingSchemeValue) {
544 this.shelvingSchemeValue = shelvingSchemeValue;
545 }
546
547 public String getLocationLevel() {
548 return locationLevel;
549 }
550
551 public void setLocationLevel(String locationLevel) {
552 this.locationLevel = locationLevel;
553 }
554
555 public String getLocationLevelName() {
556 return locationLevelName;
557 }
558
559 public void setLocationLevelName(String locationLevelName) {
560 this.locationLevelName = locationLevelName;
561 }
562
563 public SearchResultDisplayFields getSearchResultDisplayFields() {
564 return searchResultDisplayFields;
565 }
566
567 public void setSearchResultDisplayFields(SearchResultDisplayFields searchResultDisplayFields) {
568 this.searchResultDisplayFields = searchResultDisplayFields;
569 }
570
571 public String getItemPart() {
572 return itemPart;
573 }
574
575 public void setItemPart(String itemPart) {
576 this.itemPart = itemPart;
577 }
578
579 public String getHoldingsNote() {
580 return holdingsNote;
581 }
582
583 public void setHoldingsNote(String holdingsNote) {
584 this.holdingsNote = holdingsNote;
585 }
586
587
588 public String getExtentOfOwnershipNoteType() {
589 return extentOfOwnershipNoteType;
590 }
591
592 public void setExtentOfOwnershipNoteType(String extentOfOwnershipNoteType) {
593 this.extentOfOwnershipNoteType = extentOfOwnershipNoteType;
594 }
595
596 public String getExtentOfOwnershipNoteValue() {
597 return extentOfOwnershipNoteValue;
598 }
599
600 public void setExtentOfOwnershipNoteValue(String extentOfOwnershipNoteValue) {
601 this.extentOfOwnershipNoteValue = extentOfOwnershipNoteValue;
602 }
603
604 public String getExtentOfOwnershipType() {
605 return extentOfOwnershipType;
606 }
607
608 public void setExtentOfOwnershipType(String extentOfOwnershipType) {
609 this.extentOfOwnershipType = extentOfOwnershipType;
610 }
611
612 public String getBarcodeArsl() {
613 return barcodeArsl;
614 }
615
616 public void setBarcodeArsl(String barcodeArsl) {
617 this.barcodeArsl = barcodeArsl;
618 }
619
620 public String getVolumeNumberLabel() {
621 return volumeNumberLabel;
622 }
623
624 public void setVolumeNumberLabel(String volumeNumberLabel) {
625 this.volumeNumberLabel = volumeNumberLabel;
626 }
627
628 public String getCopyNumberLabel() {
629 return copyNumberLabel;
630 }
631
632 public void setCopyNumberLabel(String copyNumberLabel) {
633 this.copyNumberLabel = copyNumberLabel;
634 }
635
636 public String getItemTypeCodeValue() {
637 return itemTypeCodeValue;
638 }
639
640 public void setItemTypeCodeValue(String itemTypeCodeValue) {
641 this.itemTypeCodeValue = itemTypeCodeValue;
642 }
643
644 public String getItemTypeFullValue() {
645 return itemTypeFullValue;
646 }
647
648 public void setItemTypeFullValue(String itemTypeFullValue) {
649 this.itemTypeFullValue = itemTypeFullValue;
650 }
651
652 public String getVolumeNumber() {
653 return volumeNumber;
654 }
655
656 public void setVolumeNumber(String volumeNumber) {
657 this.volumeNumber = volumeNumber;
658 }
659
660 public List<Integer> getPoLineItemIds() {
661 return poLineItemIds;
662 }
663
664 public void setPoLineItemIds(List<Integer> poLineItemIds) {
665 this.poLineItemIds = poLineItemIds;
666 }
667
668 public String getNumberOfSimultaneousUses() {
669 return numberOfSimultaneousUses;
670 }
671
672 public void setNumberOfSimultaneousUses(String numberOfSimultaneousUses) {
673 this.numberOfSimultaneousUses = numberOfSimultaneousUses;
674 }
675
676 public String getPersistLink() {
677 return persistLink;
678 }
679
680 public void setPersistLink(String persistLink) {
681 this.persistLink = persistLink;
682 }
683
684 public String getAccessLocation() {
685 return accessLocation;
686 }
687
688 public void setAccessLocation(String accessLocation) {
689 this.accessLocation = accessLocation;
690 }
691
692 public String getAdminUserName() {
693 return adminUserName;
694 }
695
696 public void setAdminUserName(String adminUserName) {
697 this.adminUserName = adminUserName;
698 }
699
700 public String getAccessUserName() {
701 return accessUserName;
702 }
703
704 public void setAccessUserName(String accessUserName) {
705 this.accessUserName = accessUserName;
706 }
707
708 public String getAccessPassword() {
709 return accessPassword;
710 }
711
712 public void setAccessPassword(String accessPassword) {
713 this.accessPassword = accessPassword;
714 }
715
716 public String getAdminUrl() {
717 return adminUrl;
718 }
719
720 public void setAdminUrl(String adminUrl) {
721 this.adminUrl = adminUrl;
722 }
723
724 public String getLinkText() {
725 return linkText;
726 }
727
728 public void setLinkText(String linkText) {
729 this.linkText = linkText;
730 }
731
732 public String getAuthentication() {
733 return authentication;
734 }
735
736 public void setAuthentication(String authentication) {
737 this.authentication = authentication;
738 }
739
740 public String getProxied() {
741 return proxied;
742 }
743
744 public void setProxied(String proxied) {
745 this.proxied = proxied;
746 }
747
748 public String getIll() {
749 return ill;
750 }
751
752 public void setIll(String ill) {
753 this.ill = ill;
754 }
755
756 public String getSubscription() {
757 return subscription;
758 }
759
760 public void setSubscription(String subscription) {
761 this.subscription = subscription;
762 }
763
764 public String getAdminPassword() {
765 return adminPassword;
766 }
767
768 public void setAdminPassword(String adminPassword) {
769 this.adminPassword = adminPassword;
770 }
771
772 public String getDonorPublic() {
773 return donorPublic;
774 }
775
776 public void setDonorPublic(String donorPublic) {
777 this.donorPublic = donorPublic;
778 }
779
780 public String getDonorNote() {
781 return donorNote;
782 }
783
784 public void setDonorNote(String donorNote) {
785 this.donorNote = donorNote;
786 }
787
788 public String getCoverageDate() {
789 return coverageDate;
790 }
791
792 public void setCoverageDate(String coverageDate) {
793 this.coverageDate = coverageDate;
794 }
795
796 public String getPerpetualAccess() {
797 return perpetualAccess;
798 }
799
800 public void setPerpetualAccess(String perpetualAccess) {
801 this.perpetualAccess = perpetualAccess;
802 }
803
804 public String getPublicNote() {
805 return publicNote;
806 }
807
808 public void setPublicNote(String publicNote) {
809 this.publicNote = publicNote;
810 }
811
812 public String getUrl() {
813 return url;
814 }
815
816 public void setUrl(String url) {
817 this.url = url;
818 }
819
820 public void buildBibSearchResultField(List<SearchResultField> searchResultFields, String eResourceId) {
821 for (SearchResultField searchResultField : searchResultFields) {
822
823 if (searchResultField.getFieldName().equalsIgnoreCase("LocalId_display")) {
824 setLocalId(searchResultField.getFieldValue());
825 }
826 if (searchResultField.getFieldName().equalsIgnoreCase("Title_sort")) {
827 setTitle(searchResultField.getFieldValue());
828 }
829 if (searchResultField.getFieldName().equalsIgnoreCase("Author_display")) {
830 setAuthor(searchResultField.getFieldValue());
831 }
832 if (searchResultField.getFieldName().equalsIgnoreCase("PublicationDate_display")) {
833 setPublicationDate(searchResultField.getFieldValue());
834 }
835 if (searchResultField.getFieldName().equalsIgnoreCase("DocFormat")) {
836 setDocFormat(searchResultField.getFieldValue());
837 }
838 if (searchResultField.getFieldName().equalsIgnoreCase("bibIdentifier")) {
839 setBibIdentifier(searchResultField.getFieldValue());
840 }
841 if (searchResultField.getFieldName().equalsIgnoreCase("id")) {
842 setBibIdentifier(searchResultField.getFieldValue());
843 }
844 if (searchResultField.getFieldName().equalsIgnoreCase("staffOnlyFlag")) {
845 setStaffOnly(searchResultField.getFieldValue());
846 }
847 if (searchResultField.getFieldName().equalsIgnoreCase("ISBN_display")) {
848 setIsbn(searchResultField.getFieldValue());
849 }
850 if (searchResultField.getFieldName().equalsIgnoreCase("ISSN_display")) {
851 setIssn(searchResultField.getFieldValue());
852 }
853 if (searchResultField.getFieldName().equalsIgnoreCase("Publisher_display")) {
854 setPublisher(searchResultField.getFieldValue());
855 }
856 if (searchResultField.getFieldName().equalsIgnoreCase("Subject_display")) {
857 setSubject(searchResultField.getFieldValue());
858 }
859 if (searchResultField.getFieldName().equalsIgnoreCase("PublicationPlace_display")) {
860 setPublicationPlace(searchResultField.getFieldValue());
861 }
862 if (searchResultField.getFieldName().equalsIgnoreCase("Edition_display")) {
863 setEdition(searchResultField.getFieldValue());
864 }
865 if (searchResultField.getFieldName().equalsIgnoreCase("Format_display")) {
866 setFormat(searchResultField.getFieldValue());
867 }
868 if (searchResultField.getFieldName().equalsIgnoreCase("FormGenre_display")) {
869 setFormGenre(searchResultField.getFieldValue());
870 }
871 if (searchResultField.getFieldName().equalsIgnoreCase("Language_display")) {
872 setLanguage(searchResultField.getFieldValue());
873 }
874 if (searchResultField.getFieldName().equalsIgnoreCase("Description_display")) {
875 setDescription(searchResultField.getFieldValue());
876 }
877 if (searchResultField.getFieldName().equalsIgnoreCase("staffOnlyFlag")) {
878 setStaffOnly(searchResultField.getFieldValue());
879 }
880 if (searchResultField.getFieldName().equalsIgnoreCase("JournalTitle_display")) {
881 setJournalTitle(searchResultField.getFieldValue());
882 }
883 if (searchResultField.getFieldName().equalsIgnoreCase("Title_display")) {
884 setTitleDisplay(searchResultField.getFieldValue());
885 }
886 if (eResourceId != null) {
887 setOleERSIdentifier(eResourceId);
888 }
889 if (this.tokenId != null) {
890 setTokenId(this.tokenId);
891 }
892
893 }
894 }
895
896 public void buildHoldingSearchResultField(List<SearchResultField> searchResultFields) {
897 for (SearchResultField searchResultField : searchResultFields) {
898 if (searchResultField.getFieldName().equalsIgnoreCase("LocalId_display")) {
899 setLocalId(searchResultField.getFieldValue());
900 }
901 if (searchResultField.getFieldName().equalsIgnoreCase("Title_sort")) {
902 setTitle(searchResultField.getFieldValue());
903 }
904 if (searchResultField.getFieldName().equalsIgnoreCase("CallNumber_display")) {
905 setCallNumber(searchResultField.getFieldValue());
906 }
907 if (searchResultField.getFieldName().equalsIgnoreCase("DocFormat")) {
908 setDocFormat(searchResultField.getFieldValue());
909 }
910 if (searchResultField.getFieldName().equalsIgnoreCase("DocType")) {
911 setDocType(searchResultField.getFieldValue());
912 }
913 if (searchResultField.getFieldName().equalsIgnoreCase("bibIdentifier")) {
914 setBibIdentifier(searchResultField.getFieldValue());
915 }
916 if (searchResultField.getFieldName().equalsIgnoreCase("holdingsIdentifier")) {
917 setHoldingsIdentifier(searchResultField.getFieldValue());
918 }
919 if (searchResultField.getFieldName().equalsIgnoreCase("itemIdentifier")) {
920 setItemIdentifier(searchResultField.getFieldValue());
921 }
922 if (searchResultField.getFieldName().equalsIgnoreCase("Location_display")) {
923 setLocationName(searchResultField.getFieldValue());
924 }
925 if (searchResultField.getFieldName().equalsIgnoreCase("LocationLevelName_display")) {
926 setLocationLevelName(searchResultField.getFieldValue());
927 }
928 if (searchResultField.getFieldName().equalsIgnoreCase("staffOnlyFlag")) {
929 setStaffOnly(searchResultField.getFieldValue());
930 }
931 if (searchResultField.getFieldName().equalsIgnoreCase("HoldingsNote_display")) {
932 setHoldingsNote(searchResultField.getFieldValue());
933 }
934 if (searchResultField.getFieldName().equalsIgnoreCase("CallNumberPrefix_display")) {
935 setCallNumberPrefix(searchResultField.getFieldValue());
936 }
937 if (searchResultField.getFieldName().equalsIgnoreCase("ClassificationPart_display")) {
938 setClassificationPart(searchResultField.getFieldValue());
939 }
940 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingOrder_display")) {
941 setShelvingOrder(searchResultField.getFieldValue());
942 }
943 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingSchemeCode_display")) {
944 setShelvingSchemeCode(searchResultField.getFieldValue());
945 }
946 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingSchemeValue_display")) {
947 setShelvingSchemeValue(searchResultField.getFieldValue());
948 }
949 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingOrderCode_display")) {
950 setShelvingOrderCode(searchResultField.getFieldValue());
951 }
952 if (searchResultField.getFieldName().equalsIgnoreCase("Uri_display")) {
953 setUri(searchResultField.getFieldValue());
954 }
955 if (searchResultField.getFieldName().equalsIgnoreCase("ReceiptStatus_display")) {
956 setReceiptStatus(searchResultField.getFieldValue());
957 }
958 if (searchResultField.getFieldName().equalsIgnoreCase("HoldingsNote_display")) {
959 setHoldingsNote(searchResultField.getFieldValue());
960 }
961 if (searchResultField.getFieldName().equalsIgnoreCase("isSeries")) {
962 setSeriesHolding(searchResultField.getFieldValue());
963 }
964 if (searchResultField.getFieldName().equalsIgnoreCase("isAnalytic")) {
965 setAnalyticItem(searchResultField.getFieldValue());
966 }
967 if (searchResultField.getFieldName().equalsIgnoreCase("isBoundwith")) {
968 setBoundWithHolding(searchResultField.getFieldValue());
969 }
970
971 if (searchResultField.getFieldName().equalsIgnoreCase("ItemBarcode_display")) {
972 setBarcode(searchResultField.getFieldValue());
973 }
974 if (searchResultField.getFieldName().equalsIgnoreCase("ExtentOfOwnership_Note_Type_display")) {
975 setExtentOfOwnershipNoteType(searchResultField.getFieldValue());
976 }
977 if (searchResultField.getFieldName().equalsIgnoreCase("ExtentOfOwnership_Note_Value_display")) {
978 setExtentOfOwnershipNoteValue(searchResultField.getFieldValue());
979 }
980 if (searchResultField.getFieldName().equalsIgnoreCase("ExtentOfOwnership_Type_display")) {
981 setExtentOfOwnershipType(searchResultField.getFieldValue());
982 }
983 }
984 }
985
986 public void buildItemSearchResultField(List<SearchResultField> searchResultFields) {
987 for (SearchResultField searchResultField : searchResultFields) {
988 if (searchResultField.getFieldName().equalsIgnoreCase("LocalId_display")) {
989 setLocalId(searchResultField.getFieldValue());
990 }
991 if (searchResultField.getFieldName().equalsIgnoreCase("Title_sort")) {
992 setTitle(searchResultField.getFieldValue());
993 }
994 if (searchResultField.getFieldName().equalsIgnoreCase("locationName")) {
995 setLocationName(searchResultField.getFieldValue());
996 }
997 if (searchResultField.getFieldName().equalsIgnoreCase("CallNumber_display")) {
998 setCallNumber(searchResultField.getFieldValue());
999 }
1000 if (searchResultField.getFieldName().equalsIgnoreCase("CallNumberPrefix_display")) {
1001 setCallNumberPrefix(searchResultField.getFieldValue());
1002 }
1003 if (searchResultField.getFieldName().equalsIgnoreCase("BarcodeARSL_display")) {
1004 setBarcode(searchResultField.getFieldValue());
1005 }
1006 if (searchResultField.getFieldName().equalsIgnoreCase("docFormat")) {
1007 setDocFormat(searchResultField.getFieldValue());
1008 }
1009 if (searchResultField.getFieldName().equalsIgnoreCase("DocType")) {
1010 setDocType(searchResultField.getFieldValue());
1011 }
1012 if (searchResultField.getFieldName().equalsIgnoreCase("bibIdentifier")) {
1013 setBibIdentifier(searchResultField.getFieldValue());
1014 }
1015 if (searchResultField.getFieldName().equalsIgnoreCase("holdingsIdentifier")) {
1016 setHoldingsIdentifier(searchResultField.getFieldValue());
1017 }
1018 if (searchResultField.getFieldName().equalsIgnoreCase("id")) {
1019 setItemIdentifier(searchResultField.getFieldValue());
1020 }
1021 if (searchResultField.getFieldName().equalsIgnoreCase("ItemBarcode_display")) {
1022 setBarcode(searchResultField.getFieldValue());
1023 }
1024 if (searchResultField.getFieldName().equalsIgnoreCase("Location_display")) {
1025 setLocationName(searchResultField.getFieldValue());
1026 }
1027 if (searchResultField.getFieldName().equalsIgnoreCase("staffOnlyFlag")) {
1028 setStaffOnly(searchResultField.getFieldValue());
1029 }
1030 if (searchResultField.getFieldName().equalsIgnoreCase("ClassificationPart_display")) {
1031 setClassificationPart(searchResultField.getFieldValue());
1032 }
1033 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingOrder_display")) {
1034 setShelvingOrder(searchResultField.getFieldValue());
1035 }
1036 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingSchemeCode_display")) {
1037 setShelvingSchemeCode(searchResultField.getFieldValue());
1038 }
1039 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingSchemeValue_display")) {
1040 setShelvingSchemeValue(searchResultField.getFieldValue());
1041 }
1042 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingOrderCode_display")) {
1043 setShelvingOrderCode(searchResultField.getFieldValue());
1044 }
1045 if (searchResultField.getFieldName().equalsIgnoreCase("ItemStatus_display")) {
1046 setItemStatus(searchResultField.getFieldValue());
1047 }
1048 if (searchResultField.getFieldName().equalsIgnoreCase("CopyNumber_display")) {
1049 setCopyNumber(searchResultField.getFieldValue());
1050 }
1051 if (searchResultField.getFieldName().equalsIgnoreCase("CopyNumberLabel_display")) {
1052 setCopyNumberLabel(searchResultField.getFieldValue());
1053 }
1054 if (searchResultField.getFieldName().equalsIgnoreCase("VolumeNumber_display")) {
1055 setVolumeNumber(searchResultField.getFieldValue());
1056 }
1057 if (searchResultField.getFieldName().equalsIgnoreCase("VolumeNumberLabel_display")) {
1058 setVolumeNumberLabel(searchResultField.getFieldValue());
1059 }
1060 if (searchResultField.getFieldName().equalsIgnoreCase("Enumeration_display")) {
1061 setEnumeration(searchResultField.getFieldValue());
1062 }
1063 if (searchResultField.getFieldName().equalsIgnoreCase("Chronology_display")) {
1064 setChronology(searchResultField.getFieldValue());
1065 }
1066 if (searchResultField.getFieldName().equalsIgnoreCase("ItemIdentifier_display")) {
1067 setItemIdentifier(searchResultField.getFieldValue());
1068 }
1069 if (searchResultField.getFieldName().equalsIgnoreCase("ItemTypeCodeValue_display")) {
1070 setItemTypeCodeValue(searchResultField.getFieldValue());
1071 }
1072 if (searchResultField.getFieldName().equalsIgnoreCase("ItemTypeFullValue_display")) {
1073 setItemTypeFullValue(searchResultField.getFieldValue());
1074 }
1075 if (searchResultField.getFieldName().equalsIgnoreCase("isAnalytic")) {
1076 setAnalyticItem(searchResultField.getFieldValue());
1077 }
1078 }
1079 }
1080
1081 public void buildEHoldingSearchResultField(List<SearchResultField> searchResultFields) {
1082 for (SearchResultField searchResultField : searchResultFields) {
1083
1084 if (searchResultField.getFieldName().equalsIgnoreCase("DocFormat")) {
1085 setDocFormat(searchResultField.getFieldValue());
1086 }
1087 if (searchResultField.getFieldName().equalsIgnoreCase("DocType")) {
1088 setDocType(searchResultField.getFieldValue());
1089 }
1090 if (searchResultField.getFieldName().equalsIgnoreCase("bibIdentifier")) {
1091 setBibIdentifier(searchResultField.getFieldValue());
1092 }
1093 if (searchResultField.getFieldName().equalsIgnoreCase("holdingsIdentifier")) {
1094 setHoldingsIdentifier(searchResultField.getFieldValue());
1095 }
1096 if (searchResultField.getFieldName().equalsIgnoreCase("staffOnlyFlag")) {
1097 setStaffOnly(searchResultField.getFieldValue());
1098 }
1099 if (searchResultField.getFieldName().equalsIgnoreCase("Access_Password_display")) {
1100 setAccessPassword(searchResultField.getFieldValue());
1101 }
1102 if (searchResultField.getFieldName().equalsIgnoreCase("Access_UserName_display")) {
1103 setAccessUserName(searchResultField.getFieldValue());
1104 }
1105 if (searchResultField.getFieldName().equalsIgnoreCase("AccessLocation_display")) {
1106 setAccessLocation(searchResultField.getFieldValue());
1107 }
1108 if (searchResultField.getFieldName().equalsIgnoreCase("AccessStatus_display")) {
1109 setAccessStatus(searchResultField.getFieldValue());
1110 }
1111 if (searchResultField.getFieldName().equalsIgnoreCase("Admin_Password_display")) {
1112 setAdminPassword(searchResultField.getFieldValue());
1113 }
1114 if (searchResultField.getFieldName().equalsIgnoreCase("Admin_url_display")) {
1115 setAdminUrl(searchResultField.getFieldValue());
1116 }
1117 if (searchResultField.getFieldName().equalsIgnoreCase("Admin_UserName_display")) {
1118 setAdminUserName(searchResultField.getFieldValue());
1119 }
1120 if (searchResultField.getFieldName().equalsIgnoreCase("Authentication_display")) {
1121 setAuthentication(searchResultField.getFieldValue());
1122 }
1123 if (searchResultField.getFieldName().equalsIgnoreCase("CallNumber_display")) {
1124 setCallNumber(searchResultField.getFieldValue());
1125 }
1126 if (searchResultField.getFieldName().equalsIgnoreCase("CallNumberPrefix_display")) {
1127 setCallNumberPrefix(searchResultField.getFieldValue());
1128 }
1129 if (searchResultField.getFieldName().equalsIgnoreCase("ClassificationPart")) {
1130 setClassificationPart(searchResultField.getFieldValue());
1131 }
1132 if (searchResultField.getFieldName().equalsIgnoreCase("CoverageDate_display")) {
1133 setCoverageDate(searchResultField.getFieldValue());
1134 }
1135 if (searchResultField.getFieldName().equalsIgnoreCase("DonorPublic_display")) {
1136 setDonorPublic(searchResultField.getFieldValue());
1137 }
1138 if (searchResultField.getFieldName().equalsIgnoreCase("DonorNote_display")) {
1139 setDonorNote(searchResultField.getFieldValue());
1140 }
1141 if (searchResultField.getFieldName().equalsIgnoreCase("DonorCode_display")) {
1142 setDonorCode(searchResultField.getFieldValue());
1143 }
1144 if (searchResultField.getFieldName().equalsIgnoreCase("E_Publisher_display")) {
1145 setPublisher(searchResultField.getFieldValue());
1146 }
1147 if (searchResultField.getFieldName().equalsIgnoreCase("HoldingsNote_display")) {
1148 setHoldingsNote(searchResultField.getFieldValue());
1149 }
1150 if (searchResultField.getFieldName().equalsIgnoreCase("ILL_display")) {
1151 setIll(searchResultField.getFieldValue());
1152 }
1153 if (searchResultField.getFieldName().equalsIgnoreCase("Imprint_display")) {
1154 setImprint(searchResultField.getFieldValue());
1155 }
1156 if (searchResultField.getFieldName().equalsIgnoreCase("ItemPart_display")) {
1157 setItemPart(searchResultField.getFieldValue());
1158 }
1159 if (searchResultField.getFieldName().equalsIgnoreCase("Link_Text_display")) {
1160 setLinkText(searchResultField.getFieldValue());
1161 }
1162 if (searchResultField.getFieldName().equalsIgnoreCase("LocalId_display")) {
1163 setLocalId(searchResultField.getFieldValue());
1164 }
1165 if (searchResultField.getFieldName().equalsIgnoreCase("Location_display")) {
1166 setLocationName(searchResultField.getFieldValue());
1167 }
1168 if (searchResultField.getFieldName().equalsIgnoreCase("LocationLevel")) {
1169 setLocationLevel(searchResultField.getFieldValue());
1170 }
1171 if (searchResultField.getFieldName().equalsIgnoreCase("LocationLevelName_display")) {
1172 setLocationLevelName(searchResultField.getFieldValue());
1173 }
1174 if (searchResultField.getFieldName().equalsIgnoreCase("NumberOfSimultaneousUses_display")) {
1175 setNumberOfSimultaneousUses(searchResultField.getFieldValue());
1176 }
1177 if (searchResultField.getFieldName().equalsIgnoreCase("PerpetualAccess_display")) {
1178 setPerpetualAccess(searchResultField.getFieldValue());
1179 }
1180 if (searchResultField.getFieldName().equalsIgnoreCase("Persist_Link_display")) {
1181 setPersistLink(searchResultField.getFieldValue());
1182 }
1183 if (searchResultField.getFieldName().equalsIgnoreCase("Platform_display")) {
1184 setPlatForm(searchResultField.getFieldValue());
1185 }
1186 if (searchResultField.getFieldName().equalsIgnoreCase("Proxied_display")) {
1187 setProxied(searchResultField.getFieldValue());
1188 }
1189 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingOrderCode_display")) {
1190 setShelvingOrderCode(searchResultField.getFieldValue());
1191 }
1192 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingSchemeCode_display")) {
1193 setShelvingSchemeCode(searchResultField.getFieldValue());
1194 }
1195 if (searchResultField.getFieldName().equalsIgnoreCase("ShelvingSchemeValue_display")) {
1196 setShelvingSchemeValue(searchResultField.getFieldValue());
1197 }
1198 if (searchResultField.getFieldName().equalsIgnoreCase("StatisticalSearchingCodeValue_display")) {
1199 setStatisticalCode(searchResultField.getFieldValue());
1200 }
1201 if (searchResultField.getFieldName().equalsIgnoreCase("Subscription_display")) {
1202 setSubscription(searchResultField.getFieldValue());
1203 }
1204 if (searchResultField.getFieldName().equalsIgnoreCase("Title_sort")) {
1205 setTitle(searchResultField.getFieldValue());
1206 }
1207 if (searchResultField.getFieldName().equalsIgnoreCase("Title_display")) {
1208 setTitle(searchResultField.getFieldValue());
1209 }
1210 if (searchResultField.getFieldName().equalsIgnoreCase("Url_display")) {
1211 setUrl(searchResultField.getFieldValue());
1212 }
1213 if (searchResultField.getFieldName().equalsIgnoreCase("DonorPublic_display")) {
1214 setPublicNote(searchResultField.getFieldValue());
1215 }
1216 }
1217 }
1218
1219 }