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