View Javadoc
1   package org.kuali.ole.deliver.form;
2   
3   import org.kuali.ole.deliver.bo.OleLoanDocument;
4   import org.kuali.ole.deliver.bo.OleLoanFastAdd;
5   import org.kuali.ole.deliver.bo.OlePatronDocument;
6   import org.kuali.ole.docstore.common.document.content.instance.Item;
7   import org.kuali.ole.docstore.engine.service.storage.rdbms.pojo.ItemRecord;
8   import org.kuali.rice.krad.web.form.UifFormBase;
9   
10  import java.math.BigDecimal;
11  import java.util.ArrayList;
12  import java.util.Date;
13  import java.util.HashMap;
14  import java.util.List;
15  
16  /**
17   * The OleLoanForm is the form class that defines all the loan fields required for a loan processing using getters and setters
18   * and is involved in passing the data to the UI layer
19   */
20  public class OleLoanForm extends UifFormBase {
21  
22      private OlePatronDocument olePatronDocument;
23      private ItemRecord itemRecord;
24  
25      private String patronBarcode;
26      private String patronFirstName;
27      private String patronName;
28      private String patronId;
29      private String patronNameURL;
30      private String borrowerType;
31      private String borrowerTypeId;
32      private String item;
33      private String itemUuid;
34      private String instanceUuid;
35      private String message;
36      private String returnMessage;
37      private String information;
38      private String successInfo;
39      private String returnInformation;
40      private Item oleItem;
41      private String author;
42      private boolean blockLoan;
43      private String returnItemUuid;
44      private String itemFlag;
45      private String returnInstanceUuid;
46      private boolean isClearUI = false;
47      private String fastAddUrl;
48      private String routeToLocation;
49      private boolean checkOut = false;
50      private boolean nonCirculatingFlag = false;
51      private String proxyPatronName;
52  
53      private String checkInTime;
54      private String alterDueDateTimeInfo;
55      private String loanLoginUserInfo;
56      private boolean loanLoginMessage;
57      private boolean audioEnable = false;
58      private boolean audioForPastDate = false;
59      private String returnViewUrl;
60      private boolean returnViewUrlFlag;
61      private boolean okOrRemoveNote = false;
62      private boolean damagedCheckIn = false;
63      private String borrowerCode;
64      private String loanLoginName;
65      private boolean validLogin;
66      private boolean removeClaimsReturnFlag;
67      private boolean itemClaimsReturnFlag;
68      private boolean recordNote=false;
69      private String overrideErrorMessage;
70      private boolean claimsFlag=false;
71      private HashMap<String,String> errorsAndPermission = new HashMap<>();
72      private boolean blockUser;
73      private boolean itemDamagedStatus;
74      private boolean skipDamagedCheckIn;
75      private String missingPieceCount;
76      private String errorMessage;
77      private boolean missingPieceValidationSuccess;
78      private boolean inTransit;
79      private String missingPieceMessage;
80      private boolean missingPieceDialog;
81      private boolean damagedItemDialog;
82      private String  dialogText;
83      private boolean dialogFlag;
84      private String  dialogMissingPieceCount;
85      private String  dialogItemNoOfPieces;
86      private boolean dialogMissingPieceCountReadOnly;
87      private boolean dialogItemNoOfPiecesReadOnly;
88      private boolean removeMissingPieceButton;
89      private String  dialogErrorMessage;
90      private String  realPatronId;
91      private String  missingPieceNote;
92      private OleLoanDocument missingPieceLoanDocument;
93      private boolean removeMissingPieceFlag;
94      private boolean recordDamagedItemNote;
95      private boolean recordMissingPieceNote;
96      private boolean recordCheckoutMissingPieceNote;
97      private boolean displayRecordNotePopup;
98      private boolean checkoutRecordFlag;
99      private String checkoutRecordMessage;
100     private boolean skipMissingPieceRecordPopup;
101     private boolean skipDamagedRecordPopup;
102     private boolean displayMissingPieceNotePopup;
103     private boolean checkoutMissingPieceRecordFlag;
104     private boolean displayDamagedRecordNotePopup;
105     private boolean checkoutDamagedRecordFlag;
106     private boolean tempClaimsFlag;
107     private boolean sendMissingPieceMail;
108     private boolean patronbill=false;
109     private String successMessage;
110     private boolean removeItemDamagedButton;
111     private boolean showExistingLoan = false;
112     private OleLoanDocument renewalLoan;
113     private String urlBase;
114     private String viewBillUrl;
115     private String createBillUrl;
116     private boolean invalidBarcodeFlag = false;
117     private int requestedRecordsCount;
118     private int temporaryCirculationHistoryRecordsCount;
119 
120     private boolean processDocumentForProxyFlag = false;
121     private List<OleLoanDocument> loansToBeSavedList;
122     private List<String> newErrorsAndPermission;
123 
124     /*
125     private boolean itemStatusLost = false;
126 
127     public boolean isItemStatusLost() {
128         return itemStatusLost;
129     }
130 
131     public void setItemStatusLost(boolean itemStatusLost) {
132         this.itemStatusLost = itemStatusLost;
133     }
134 */
135 
136     public boolean isPatronbill() {
137         return patronbill;
138     }
139 
140     public void setPatronbill(boolean patronbill) {
141         this.patronbill = patronbill;
142     }
143 
144     public String getItemFlag() {
145         return itemFlag;
146     }
147 
148     public void setItemFlag(String itemFlag) {
149         this.itemFlag = itemFlag;
150     }
151 
152     public String getPatronNameURL() {
153         return patronNameURL;
154     }
155 
156     public void setPatronNameURL(String patronNameURL) {
157         this.patronNameURL = patronNameURL;
158     }
159 
160     public boolean isValidLogin() {
161         return validLogin;
162     }
163 
164     public boolean isItemClaimsReturnFlag() {
165         return itemClaimsReturnFlag;
166     }
167 
168     public void setItemClaimsReturnFlag(boolean itemClaimsReturnFlag) {
169         this.itemClaimsReturnFlag = itemClaimsReturnFlag;
170     }
171 
172     public void setValidLogin(boolean validLogin) {
173         this.validLogin = validLogin;
174     }
175 
176     public String getLoanLoginName() {
177         return loanLoginName;
178     }
179 
180     public void setLoanLoginName(String loanLoginName) {
181         this.loanLoginName = loanLoginName;
182     }
183 
184     public String getBorrowerCode() {
185         return borrowerCode;
186     }
187 
188     public boolean isClaimsFlag() {
189         return claimsFlag;
190     }
191 
192     public void setClaimsFlag(boolean claimsFlag) {
193         this.claimsFlag = claimsFlag;
194     }
195 
196     public void setBorrowerCode(String borrowerCode) {
197         this.borrowerCode = borrowerCode;
198     }
199 
200     public boolean isDamagedCheckIn() {
201         return damagedCheckIn;
202     }
203 
204     public boolean isRecordNote() {
205         return recordNote;
206     }
207 
208     public void setRecordNote(boolean recordNote) {
209         this.recordNote = recordNote;
210     }
211 
212     public void setDamagedCheckIn(boolean damagedCheckIn) {
213         this.damagedCheckIn = damagedCheckIn;
214     }
215 
216     public boolean isRemoveClaimsReturnFlag() {
217         return removeClaimsReturnFlag;
218     }
219 
220     public void setRemoveClaimsReturnFlag(boolean removeClaimsReturnFlag) {
221         this.removeClaimsReturnFlag = removeClaimsReturnFlag;
222     }
223 
224     public boolean isOkOrRemoveNote() {
225         return okOrRemoveNote;
226     }
227 
228     public void setOkOrRemoveNote(boolean okOrRemoveNote) {
229         this.okOrRemoveNote = okOrRemoveNote;
230     }
231 
232     public boolean isReturnViewUrlFlag() {
233         return returnViewUrlFlag;
234     }
235 
236     public void setReturnViewUrlFlag(boolean returnViewUrlFlag) {
237         this.returnViewUrlFlag = returnViewUrlFlag;
238     }
239 
240     public String getReturnViewUrl() {
241         return returnViewUrl;
242     }
243 
244     public void setReturnViewUrl(String returnViewUrl) {
245         this.returnViewUrl = returnViewUrl;
246     }
247 
248     public String getProxyPatronName() {
249         return proxyPatronName;
250     }
251 
252     public void setProxyPatronName(String proxyPatronName) {
253         this.proxyPatronName = proxyPatronName;
254     }
255 
256     public boolean isAudioForPastDate() {
257         return audioForPastDate;
258     }
259 
260     public void setAudioForPastDate(boolean audioForPastDate) {
261         this.audioForPastDate = audioForPastDate;
262     }
263 
264     public boolean isAudioEnable() {
265         return audioEnable;
266     }
267 
268     public void setAudioEnable(boolean audioEnable) {
269         this.audioEnable = audioEnable;
270     }
271 
272     public String getCheckInTime() {
273         return checkInTime;
274     }
275 
276     public void setCheckInTime(String checkInTime) {
277         this.checkInTime = checkInTime;
278     }
279 
280     public boolean isCheckOut() {
281         return checkOut;
282     }
283 
284     public void setCheckOut(boolean checkOut) {
285         this.checkOut = checkOut;
286     }
287 
288     /**
289      * item focus after loaning an item.
290      */
291     private boolean itemFocus = false;
292 
293     /**
294      * patron focus for new patron
295      */
296     private boolean patronFocus = false;
297 
298 
299     /**
300      * Circulation Desk attributes
301      */
302     private String circulationDesk;
303     private String confirmMessage;
304     private boolean changeLocationFlag;
305     /**
306      * Fast-Add item attributes
307      */
308     private OleLoanFastAdd oleLoanFastAdd;
309     private boolean fastAddItemIndicator = false;
310 
311     /**
312      * Claims Return attributes
313      */
314     private String claimsReturnNote;
315     private boolean claimsReturnFlag = false;
316     /**
317      * Patron User Note Display attributes
318      */
319     private String patronUserNote;
320     private String patronNoteTypeId;
321     private boolean patronNoteFlag = false;
322     /**
323      * Proxy patron  attributes
324      */
325     private String realPatronBarcode;
326     private String proxyPatronId;
327     private String realPatronType;
328     private String realPatronName;
329     private List<OlePatronDocument> currentPatronList;
330     private List<OlePatronDocument> realPatronList;
331     private boolean realPatronFlag = false;
332     private boolean selfCheckOut = false;
333     /**
334      * Alter Due Date attributes
335      */
336     private List<OleLoanDocument> alterDueDateList;
337     private boolean alterDueDateFlag = false;
338 
339     /**
340      * Override attributes
341      */
342     private String newPrincipalId;
343     private String newPrincipalName;
344     private String overridingPrincipalName;
345     private String overideMethodCall;
346     private boolean overrideFlag = false;
347     private String oldPrincipalId;
348 
349     /**
350      * Edit patron
351      */
352     private boolean addressVerified = false;
353 
354 
355      /* Edit patron for General Block
356      */
357     private boolean generalBlock = false;
358 
359     /**
360      * Print due date slip
361      */
362 
363     private boolean dueDateSlip = false;
364 
365     /**
366      * Session Time out
367      */
368     private int maxSessionTime;
369     private String maxTimeForCheckOutConstant;
370 
371     /**
372      * print slip
373      */
374     private String oleFormKey;
375 
376     /**
377      * backGroundCheckIn
378      */
379     private boolean backGroundCheckIn = false;
380 
381     private boolean dueDateEmpty = false;
382     private Date dueDateMap;
383     private Date popDateMap;
384     private String popDateTime;
385     private String popDateTimeInfo;
386     private boolean success = true;
387     private boolean returnSuccess = true;
388     private OleLoanDocument dummyLoan;
389     private OleLoanDocument backUpDummyLoan;
390     private List<OleLoanDocument> loanList;
391     private List<OleLoanDocument> existingLoanList;
392 
393     private List<OleLoanDocument> itemReturnList;
394 
395 
396     private String overrideLoginMessage;
397 
398     private String preferredAddress;
399     private String expirationDate;
400     private String email;
401     private String phoneNumber;
402 
403     private boolean numberOfPieces = false;
404     private String description;
405     private String matchCheck;
406     private String billName;
407     private String paymentStatus;
408     private String paymentMethod;
409     private BigDecimal paymentAmount;
410     private boolean billAvailability = false;
411     private String billAlertMessage;
412     private String dateAlertMessage;
413     private boolean claimsReturned = false;
414     private boolean copyRequest = false;
415     private boolean patronRequest = false;
416     private String copyCheck;
417     private Integer maxTimeForCheckInDate;
418     private Integer checkInDateMaxTime;
419 
420     //renewal
421 
422     private boolean overrideRenewal;
423     private List<OleLoanDocument> renewDueDateList;
424     private boolean renewDueDateFlag = false;
425     private boolean renewalFlag = false;
426     private boolean overrideRenewItemFlag = false;
427     private String checkInNote;
428 
429     private String loginUser;
430 
431     private boolean blockPatron;
432     private boolean blockItem;
433     private String roleName;
434     private boolean renewPermission = true;
435     private boolean proxyDisplay;
436     private boolean holdSlip = false;
437 
438     public String getRoleName() {
439         return roleName;
440     }
441 
442     public void setRoleName(String roleName) {
443         this.roleName = roleName;
444     }
445 
446     public boolean isBlockPatron() {
447         return blockPatron;
448     }
449 
450     public void setBlockPatron(boolean blockPatron) {
451         this.blockPatron = blockPatron;
452     }
453 
454     public boolean isBlockItem() {
455         return blockItem;
456     }
457 
458     public void setBlockItem(boolean blockItem) {
459         this.blockItem = blockItem;
460     }
461 
462     public OleLoanDocument getBackUpDummyLoan() {
463         return backUpDummyLoan;
464     }
465 
466     public void setBackUpDummyLoan(OleLoanDocument backUpDummyLoan) {
467         this.backUpDummyLoan = backUpDummyLoan;
468     }
469 
470     public List<OlePatronDocument> getCurrentPatronList() {
471         return currentPatronList;
472     }
473 
474     public void setCurrentPatronList(List<OlePatronDocument> currentPatronList) {
475         this.currentPatronList = currentPatronList;
476     }
477 
478     public boolean isNonCirculatingFlag() {
479         return nonCirculatingFlag;
480     }
481 
482     public void setNonCirculatingFlag(boolean nonCirculatingFlag) {
483         this.nonCirculatingFlag = nonCirculatingFlag;
484     }
485 
486     public String getPatronFirstName() {
487         return patronFirstName;
488     }
489 
490     public void setPatronFirstName(String patronFirstName) {
491         this.patronFirstName = patronFirstName;
492     }
493 
494     public String getFastAddUrl() {
495         return fastAddUrl;
496     }
497 
498     public void setFastAddUrl(String fastAddUrl) {
499         this.fastAddUrl = fastAddUrl;
500     }
501 
502     public String getCheckInNote() {
503         return checkInNote;
504     }
505 
506     public void setCheckInNote(String checkInNote) {
507         this.checkInNote = checkInNote;
508     }
509 
510     public String getReturnItemUuid() {
511         return returnItemUuid;
512     }
513 
514     public void setReturnItemUuid(String returnItemUuid) {
515         this.returnItemUuid = returnItemUuid;
516     }
517 
518     public String getReturnInstanceUuid() {
519         return returnInstanceUuid;
520     }
521 
522     public void setReturnInstanceUuid(String returnInstanceUuid) {
523         this.returnInstanceUuid = returnInstanceUuid;
524     }
525 
526     public boolean isPatronFocus() {
527         return patronFocus;
528     }
529 
530     public void setPatronFocus(boolean patronFocus) {
531         this.patronFocus = patronFocus;
532     }
533 
534     public boolean isItemFocus() {
535         return itemFocus;
536     }
537 
538     public void setItemFocus(boolean itemFocus) {
539         this.itemFocus = itemFocus;
540     }
541 
542     public boolean isBackGroundCheckIn() {
543         return backGroundCheckIn;
544     }
545 
546     public void setBackGroundCheckIn(boolean backGroundCheckIn) {
547         this.backGroundCheckIn = backGroundCheckIn;
548     }
549 
550     public boolean isRenewalFlag() {
551         return renewalFlag;
552     }
553 
554     public void setRenewalFlag(boolean renewalFlag) {
555         this.renewalFlag = renewalFlag;
556     }
557 
558     public boolean isOverrideRenewItemFlag() {
559         return overrideRenewItemFlag;
560     }
561 
562     public void setOverrideRenewItemFlag(boolean overrideRenewItemFlag) {
563         this.overrideRenewItemFlag = overrideRenewItemFlag;
564     }
565 
566     public boolean isFastAddItemIndicator() {
567         return fastAddItemIndicator;
568     }
569 
570     public void setFastAddItemIndicator(boolean fastAddItemIndicator) {
571         this.fastAddItemIndicator = fastAddItemIndicator;
572     }
573 
574     public List<OleLoanDocument> getRenewDueDateList() {
575         return renewDueDateList;
576     }
577 
578     public void setRenewDueDateList(List<OleLoanDocument> renewDueDateList) {
579         this.renewDueDateList = renewDueDateList;
580     }
581 
582     public boolean isRenewDueDateFlag() {
583         return renewDueDateFlag;
584     }
585 
586     public void setRenewDueDateFlag(boolean renewDueDateFlag) {
587         this.renewDueDateFlag = renewDueDateFlag;
588     }
589 
590     public boolean isOverrideRenewal() {
591         return overrideRenewal;
592     }
593 
594     public void setOverrideRenewal(boolean overrideRenewal) {
595         this.overrideRenewal = overrideRenewal;
596     }
597 
598     public String getMaxTimeForCheckOutConstant() {
599         return maxTimeForCheckOutConstant;
600     }
601 
602     public void setMaxTimeForCheckOutConstant(String maxTimeForCheckOutConstant) {
603         this.maxTimeForCheckOutConstant = maxTimeForCheckOutConstant;
604     }
605 
606     public Integer getCheckInDateMaxTime() {
607         return checkInDateMaxTime;
608     }
609 
610     public void setCheckInDateMaxTime(Integer checkInDateMaxTime) {
611         this.checkInDateMaxTime = checkInDateMaxTime;
612     }
613 
614     public Integer getMaxTimeForCheckInDate() {
615         return maxTimeForCheckInDate;
616     }
617 
618     public void setMaxTimeForCheckInDate(Integer maxTimeForCheckInDate) {
619         this.maxTimeForCheckInDate = maxTimeForCheckInDate;
620     }
621 
622     private String previousCirculationDesk;
623 
624 
625     public boolean isSelfCheckOut() {
626         return selfCheckOut;
627     }
628 
629     public void setSelfCheckOut(boolean selfCheckOut) {
630         this.selfCheckOut = selfCheckOut;
631     }
632 
633     public String getPreviousCirculationDesk() {
634         return previousCirculationDesk;
635     }
636 
637     public void setPreviousCirculationDesk(String previousCirculationDesk) {
638         this.previousCirculationDesk = previousCirculationDesk;
639     }
640 
641     public boolean isDueDateSlip() {
642         return dueDateSlip;
643     }
644 
645     public void setDueDateSlip(boolean dueDateSlip) {
646         this.dueDateSlip = dueDateSlip;
647     }
648 
649     private boolean checkInNoteExists = false;
650 
651     public String getOleFormKey() {
652         return oleFormKey;
653     }
654 
655     public void setOleFormKey(String oleFormKey) {
656         this.oleFormKey = oleFormKey;
657     }
658 
659     public int getMaxSessionTime() {
660         return maxSessionTime;
661     }
662 
663     public void setMaxSessionTime(int maxSessionTime) {
664         this.maxSessionTime = maxSessionTime;
665     }
666 
667     public boolean isAddressVerified() {
668         return addressVerified;
669     }
670 
671     public void setAddressVerified(boolean addressVerified) {
672         this.addressVerified = addressVerified;
673     }
674 
675     public boolean isGeneralBlock() {
676         return generalBlock;
677     }
678 
679     public void setGeneralBlock(boolean generalBlock) {
680         this.generalBlock = generalBlock;
681     }
682 
683     public String getCopyCheck() {
684         return copyCheck;
685     }
686 
687     public void setCopyCheck(String copyCheck) {
688         this.copyCheck = copyCheck;
689     }
690 
691     public boolean isCopyRequest() {
692         return copyRequest;
693     }
694 
695     public void setCopyRequest(boolean copyRequest) {
696         this.copyRequest = copyRequest;
697     }
698 
699     public boolean isClaimsReturned() {
700         return claimsReturned;
701     }
702 
703     public void setClaimsReturned(boolean claimsReturned) {
704         this.claimsReturned = claimsReturned;
705     }
706 
707     public String getRealPatronName() {
708         return realPatronName;
709     }
710 
711     public void setRealPatronName(String realPatronName) {
712         this.realPatronName = realPatronName;
713     }
714 
715     public boolean isBlockLoan() {
716         return blockLoan;
717     }
718 
719     public void setBlockLoan(boolean blockLoan) {
720         this.blockLoan = blockLoan;
721     }
722 
723     public String getBillAlertMessage() {
724         return billAlertMessage;
725     }
726 
727     public void setBillAlertMessage(String billAlertMessage) {
728         this.billAlertMessage = billAlertMessage;
729     }
730 
731     public String getDateAlertMessage() {
732         return dateAlertMessage;
733     }
734 
735     public void setDateAlertMessage(String dateAlertMessage) {
736         this.dateAlertMessage = dateAlertMessage;
737     }
738 
739     public boolean isBillAvailability() {
740         return billAvailability;
741     }
742 
743     public void setBillAvailability(boolean billAvailability) {
744         this.billAvailability = billAvailability;
745     }
746 
747     public String getPaymentMethod() {
748         return paymentMethod;
749     }
750 
751     public void setPaymentMethod(String paymentMethod) {
752         this.paymentMethod = paymentMethod;
753     }
754 
755     public BigDecimal getPaymentAmount() {
756         return paymentAmount;
757     }
758 
759     public void setPaymentAmount(BigDecimal paymentAmount) {
760         this.paymentAmount = paymentAmount;
761     }
762 
763     public String getPaymentStatus() {
764         return paymentStatus;
765     }
766 
767     public void setPaymentStatus(String paymentStatus) {
768         this.paymentStatus = paymentStatus;
769     }
770 
771     public String getBillName() {
772         return billName;
773     }
774 
775     public void setBillName(String billName) {
776         this.billName = billName;
777     }
778 
779 
780     public String getMatchCheck() {
781         return matchCheck;
782     }
783 
784     public boolean isChangeLocationFlag() {
785         return changeLocationFlag;
786     }
787 
788     public void setChangeLocationFlag(boolean changeLocationFlag) {
789         this.changeLocationFlag = changeLocationFlag;
790     }
791 
792     public String getConfirmMessage() {
793         return confirmMessage;
794     }
795 
796     public void setConfirmMessage(String confirmMessage) {
797         this.confirmMessage = confirmMessage;
798     }
799 
800     public String getCirculationDesk() {
801         return circulationDesk;
802     }
803 
804     public void setCirculationDesk(String circulationDesk) {
805         this.circulationDesk = circulationDesk;
806     }
807 
808     public void setMatchCheck(String matchCheck) {
809         this.matchCheck = matchCheck;
810     }
811 
812     public String getDescription() {
813         return description;
814     }
815 
816     public void setDescription(String description) {
817         this.description = description;
818     }
819 
820 
821     public boolean isNumberOfPieces() {
822         return numberOfPieces;
823     }
824 
825     public void setNumberOfPieces(boolean numberOfPieces) {
826         this.numberOfPieces = numberOfPieces;
827     }
828 
829     public String getRealPatronType() {
830         return realPatronType;
831     }
832 
833     public void setRealPatronType(String realPatronType) {
834         this.realPatronType = realPatronType;
835     }
836 
837     public String getProxyPatronId() {
838         return proxyPatronId;
839     }
840 
841     public void setProxyPatronId(String proxyPatronId) {
842         this.proxyPatronId = proxyPatronId;
843     }
844 
845     public String getRealPatronBarcode() {
846         return realPatronBarcode;
847     }
848 
849     public void setRealPatronBarcode(String realPatronBarcode) {
850         this.realPatronBarcode = realPatronBarcode;
851     }
852 
853     public boolean isRealPatronFlag() {
854         return realPatronFlag;
855     }
856 
857     public void setRealPatronFlag(boolean realPatronFlag) {
858         this.realPatronFlag = realPatronFlag;
859     }
860 
861     public List<OlePatronDocument> getRealPatronList() {
862         return realPatronList;
863     }
864 
865     public void setRealPatronList(List<OlePatronDocument> realPatronList) {
866         this.realPatronList = realPatronList;
867     }
868 
869     public String getPatronNoteTypeId() {
870         return patronNoteTypeId;
871     }
872 
873     public void setPatronNoteTypeId(String patronNoteTypeId) {
874         this.patronNoteTypeId = patronNoteTypeId;
875     }
876 
877     public String getPatronUserNote() {
878         return patronUserNote;
879     }
880 
881     public void setPatronUserNote(String patronUserNote) {
882         this.patronUserNote = patronUserNote;
883     }
884 
885     public boolean isPatronNoteFlag() {
886         return patronNoteFlag;
887     }
888 
889     public void setPatronNoteFlag(boolean patronNoteFlag) {
890         this.patronNoteFlag = patronNoteFlag;
891     }
892 
893     public OleLoanFastAdd getOleLoanFastAdd() {
894         return oleLoanFastAdd;
895     }
896 
897     public void setOleLoanFastAdd(OleLoanFastAdd oleLoanFastAdd) {
898         this.oleLoanFastAdd = oleLoanFastAdd;
899     }
900 
901 
902     //Fields for Check-in
903     private boolean billPaymentOption = true;
904     private boolean damagedCheckInOption;
905     private Date checkInDate;
906     private String checkInItem;
907     private boolean returnCheck;
908     private Date currentDate;
909 
910 
911     public Date getCurrentDate() {
912         return currentDate;
913     }
914 
915     public void setCurrentDate(Date currentDate) {
916         this.currentDate = currentDate;
917     }
918 
919     public Date getCheckInDate() {
920         return checkInDate;
921     }
922 
923     public void setCheckInDate(Date checkInDate) {
924         this.checkInDate = checkInDate;
925     }
926 
927     public String getCheckInItem() {
928         return checkInItem;
929     }
930 
931     public void setCheckInItem(String checkInItem) {
932         this.checkInItem = checkInItem;
933     }
934 
935     public boolean isDamagedCheckInOption() {
936         return damagedCheckInOption;
937     }
938 
939     public void setDamagedCheckInOption(boolean damagedCheckInOption) {
940         this.damagedCheckInOption = damagedCheckInOption;
941     }
942 
943     public boolean isBillPaymentOption() {
944         return billPaymentOption;
945     }
946 
947     public void setBillPaymentOption(boolean billPaymentOption) {
948         this.billPaymentOption = billPaymentOption;
949     }
950 
951     public String getAuthor() {
952         return author;
953     }
954 
955     public void setAuthor(String author) {
956         this.author = author;
957     }
958 
959     public String getOverrideLoginMessage() {
960         return overrideLoginMessage;
961     }
962 
963     public void setOverrideLoginMessage(String overrideLoginMessage) {
964         this.overrideLoginMessage = overrideLoginMessage;
965     }
966 
967 
968     public String getPreferredAddress() {
969         return preferredAddress;
970     }
971 
972     public void setPreferredAddress(String preferredAddress) {
973         this.preferredAddress = preferredAddress;
974     }
975 
976     public String getEmail() {
977         return email;
978     }
979 
980     public void setEmail(String email) {
981         this.email = email;
982     }
983 
984     public String getPhoneNumber() {
985         return phoneNumber;
986     }
987 
988     public void setPhoneNumber(String phoneNumber) {
989         this.phoneNumber = phoneNumber;
990     }
991 
992     public String getNewPrincipalId() {
993         if (this.newPrincipalId != null && this.newPrincipalId.contains(",")) {
994             return newPrincipalId.replaceAll(",", "");
995         }
996         return newPrincipalId;
997     }
998 
999     public void setNewPrincipalId(String newPrincipalId) {
1000         this.newPrincipalId = newPrincipalId;
1001     }
1002 
1003     public String getOverideMethodCall() {
1004         return overideMethodCall;
1005     }
1006 
1007     public void setOverideMethodCall(String overideMethodCall) {
1008         this.overideMethodCall = overideMethodCall;
1009     }
1010 
1011     public boolean isOverrideFlag() {
1012         return overrideFlag;
1013     }
1014 
1015     public void setOverrideFlag(boolean overrideFlag) {
1016         this.overrideFlag = overrideFlag;
1017     }
1018 
1019     public String getOldPrincipalId() {
1020         return oldPrincipalId;
1021     }
1022 
1023     public void setOldPrincipalId(String oldPrincipalId) {
1024         this.oldPrincipalId = oldPrincipalId;
1025     }
1026 
1027     public String getClaimsReturnNote() {
1028         return claimsReturnNote;
1029     }
1030 
1031     public void setClaimsReturnNote(String claimsReturnNote) {
1032         this.claimsReturnNote = claimsReturnNote;
1033     }
1034 
1035     public boolean isClaimsReturnFlag() {
1036         return claimsReturnFlag;
1037     }
1038 
1039     public void setClaimsReturnFlag(boolean claimsReturnFlag) {
1040         this.claimsReturnFlag = claimsReturnFlag;
1041     }
1042 
1043 
1044     public boolean isAlterDueDateFlag() {
1045         return alterDueDateFlag;
1046     }
1047 
1048     public void setAlterDueDateFlag(boolean alterDueDateFlag) {
1049         this.alterDueDateFlag = alterDueDateFlag;
1050     }
1051 
1052     public List<OleLoanDocument> getAlterDueDateList() {
1053         return alterDueDateList;
1054     }
1055 
1056     public void setAlterDueDateList(List<OleLoanDocument> alterDueDateList) {
1057         this.alterDueDateList = alterDueDateList;
1058     }
1059 
1060     public String getInstanceUuid() {
1061         return instanceUuid;
1062     }
1063 
1064     public void setInstanceUuid(String instanceUuid) {
1065         this.instanceUuid = instanceUuid;
1066     }
1067 
1068     public String getSuccessInfo() {
1069         return successInfo;
1070     }
1071 
1072     public void setSuccessInfo(String successInfo) {
1073         this.successInfo = successInfo;
1074     }
1075 
1076     public String getInformation() {
1077         return information;
1078     }
1079 
1080     public void setInformation(String information) {
1081         this.information = information;
1082     }
1083 
1084     public Date getDueDateMap() {
1085         return dueDateMap;
1086     }
1087 
1088     public void setDueDateMap(Date dueDateMap) {
1089         this.dueDateMap = dueDateMap;
1090     }
1091 
1092     public Date getPopDateMap() {
1093         return popDateMap;
1094     }
1095 
1096     public void setPopDateMap(Date popDateMap) {
1097         this.popDateMap = popDateMap;
1098     }
1099 
1100 
1101     public boolean isDueDateEmpty() {
1102         return dueDateEmpty;
1103     }
1104 
1105     public void setDueDateEmpty(boolean dueDateEmpty) {
1106         this.dueDateEmpty = dueDateEmpty;
1107     }
1108 
1109     public OleLoanDocument getDummyLoan() {
1110         return dummyLoan;
1111     }
1112 
1113     public void setDummyLoan(OleLoanDocument dummyLoan) {
1114         this.dummyLoan = dummyLoan;
1115     }
1116 
1117     public String getItemUuid() {
1118         return itemUuid;
1119     }
1120 
1121     public void setItemUuid(String itemUuid) {
1122         this.itemUuid = itemUuid;
1123     }
1124 
1125     public Item getOleItem() {
1126         return oleItem;
1127     }
1128 
1129     public void setOleItem(Item oleItem) {
1130         this.oleItem = oleItem;
1131     }
1132 
1133     public String getBorrowerTypeId() {
1134         return borrowerTypeId;
1135     }
1136 
1137     public void setBorrowerTypeId(String borrowerTypeId) {
1138         this.borrowerTypeId = borrowerTypeId;
1139     }
1140 
1141     public String getPatronId() {
1142         return patronId;
1143     }
1144 
1145     public void setPatronId(String patronId) {
1146         this.patronId = patronId;
1147     }
1148 
1149     public String getMessage() {
1150         return message;
1151     }
1152 
1153     public void setMessage(String message) {
1154         this.message = message;
1155     }
1156 
1157     public OleLoanForm() {
1158         loanList = new ArrayList<OleLoanDocument>();
1159     }
1160 
1161 
1162     public List<OleLoanDocument> getLoanList() {
1163         return loanList;
1164     }
1165 
1166     public void setLoanList(List<OleLoanDocument> loanList) {
1167         this.loanList = loanList;
1168     }
1169 
1170     public void setOleLoanDocumentToLoanList(OleLoanDocument oleLoanDocument) {
1171         if (this.loanList == null)
1172             this.loanList = new ArrayList<OleLoanDocument>(0);
1173         this.loanList.add(oleLoanDocument);
1174     }
1175 
1176     public String getItem() {
1177         return item;
1178     }
1179 
1180     public void setItem(String item) {
1181         this.item = item;
1182     }
1183 
1184     public String getPatronName() {
1185         return patronName;
1186     }
1187 
1188     public void setPatronName(String patronName) {
1189         this.patronName = patronName;
1190     }
1191 
1192     public String getBorrowerType() {
1193         return borrowerType;
1194     }
1195 
1196     public void setBorrowerType(String borrowerType) {
1197         this.borrowerType = borrowerType;
1198     }
1199 
1200     public String getPatronBarcode() {
1201         return patronBarcode;
1202     }
1203 
1204     public void setPatronBarcode(String patronBarcode) {
1205         this.patronBarcode = patronBarcode;
1206     }
1207 
1208     public boolean isSuccess() {
1209         return success;
1210     }
1211 
1212     public void setSuccess(boolean success) {
1213         this.success = success;
1214     }
1215 
1216     public List<OleLoanDocument> getExistingLoanList() {
1217         return existingLoanList;
1218     }
1219 
1220     public void setExistingLoanList(List<OleLoanDocument> existingLoanList) {
1221         this.existingLoanList = existingLoanList;
1222     }
1223 
1224     public boolean isReturnSuccess() {
1225         return returnSuccess;
1226     }
1227 
1228     public void setReturnSuccess(boolean returnSuccess) {
1229         this.returnSuccess = returnSuccess;
1230     }
1231 
1232     public String getReturnMessage() {
1233         return returnMessage;
1234     }
1235 
1236     public void setReturnMessage(String returnMessage) {
1237         this.returnMessage = returnMessage;
1238     }
1239 
1240     public boolean isReturnCheck() {
1241         return returnCheck;
1242     }
1243 
1244     public void setReturnCheck(boolean returnCheck) {
1245         this.returnCheck = returnCheck;
1246     }
1247 
1248     public String getReturnInformation() {
1249         return returnInformation;
1250     }
1251 
1252     public void setReturnInformation(String returnInformation) {
1253         this.returnInformation = returnInformation;
1254     }
1255 
1256     public List<OleLoanDocument> getItemReturnList() {
1257         return itemReturnList;
1258     }
1259 
1260     public void setItemReturnList(List<OleLoanDocument> itemReturnList) {
1261         this.itemReturnList = itemReturnList;
1262     }
1263 
1264     /**
1265      * Gets the checkInNoteExists attribute.
1266      *
1267      * @return Returns the checkInNoteExists
1268      */
1269     public boolean isCheckInNoteExists() {
1270         return checkInNoteExists;
1271     }
1272 
1273     /**
1274      * Sets the checkInNoteExists attribute value.
1275      *
1276      * @param checkInNoteExists The checkInNoteExists to set.
1277      */
1278     public void setCheckInNoteExists(boolean checkInNoteExists) {
1279         this.checkInNoteExists = checkInNoteExists;
1280     }
1281 
1282     public boolean isClearUI() {
1283         return isClearUI;
1284     }
1285 
1286     public void setClearUI(boolean clearUI) {
1287         isClearUI = clearUI;
1288     }
1289 
1290     public String getRouteToLocation() {
1291         return routeToLocation;
1292     }
1293 
1294     public void setRouteToLocation(String routeToLocation) {
1295         this.routeToLocation = routeToLocation;
1296     }
1297 
1298     /**
1299      * Gets the alterDueDateTimeInfo attribute.
1300      *
1301      * @return Returns the alterDueDateTimeInfo
1302      */
1303     public String getAlterDueDateTimeInfo() {
1304         return alterDueDateTimeInfo;
1305     }
1306 
1307     /**
1308      * Sets the alterDueDateTimeInfo attribute value.
1309      *
1310      * @param alterDueDateTimeInfo The alterDueDateTimeInfo to set.
1311      */
1312     public void setAlterDueDateTimeInfo(String alterDueDateTimeInfo) {
1313         this.alterDueDateTimeInfo = alterDueDateTimeInfo;
1314     }
1315 
1316     /**
1317      * Gets the loanLoginMessage attribute.
1318      *
1319      * @return Returns the loanLoginMessage
1320      */
1321     public boolean isLoanLoginMessage() {
1322         return loanLoginMessage;
1323     }
1324 
1325     /**
1326      * Sets the loanLoginMessage attribute value.
1327      *
1328      * @param loanLoginMessage The loanLoginMessage to set.
1329      */
1330     public void setLoanLoginMessage(boolean loanLoginMessage) {
1331         this.loanLoginMessage = loanLoginMessage;
1332     }
1333 
1334     /**
1335      * Gets the popDateTime attribute.
1336      *
1337      * @return Returns the popDateTime
1338      */
1339     public String getPopDateTime() {
1340         return popDateTime;
1341     }
1342 
1343     /**
1344      * Sets the popDateTime attribute value.
1345      *
1346      * @param popDateTime The popDateTime to set.
1347      */
1348     public void setPopDateTime(String popDateTime) {
1349         this.popDateTime = popDateTime;
1350     }
1351 
1352     /**
1353      * Gets the popDateTimeInfo attribute.
1354      *
1355      * @return Returns the popDateTimeInfo
1356      */
1357     public String getPopDateTimeInfo() {
1358         return popDateTimeInfo;
1359     }
1360 
1361     /**
1362      * Sets the popDateTimeInfo attribute value.
1363      *
1364      * @param popDateTimeInfo The popDateTimeInfo to set.
1365      */
1366     public void setPopDateTimeInfo(String popDateTimeInfo) {
1367         this.popDateTimeInfo = popDateTimeInfo;
1368     }
1369 
1370     /**
1371      * Gets the loanLoginUserInfo attribute.
1372      *
1373      * @return Returns the loanLoginUserInfo
1374      */
1375     public String getLoanLoginUserInfo() {
1376         return loanLoginUserInfo;
1377     }
1378 
1379     /**
1380      * Sets the loanLoginUserInfo attribute value.
1381      *
1382      * @param loanLoginUserInfo The loanLoginUserInfo to set.
1383      */
1384     public void setLoanLoginUserInfo(String loanLoginUserInfo) {
1385         this.loanLoginUserInfo = loanLoginUserInfo;
1386     }
1387 
1388     public String getLoginUser() {
1389         return loginUser;
1390     }
1391 
1392     public void setLoginUser(String loginUser) {
1393         this.loginUser = loginUser;
1394     }
1395 
1396     public boolean isPatronRequest() {
1397         return patronRequest;
1398     }
1399 
1400     public void setPatronRequest(boolean patronRequest) {
1401         this.patronRequest = patronRequest;
1402     }
1403 
1404     public String getOverrideErrorMessage() {
1405         return overrideErrorMessage;
1406     }
1407 
1408     public void setOverrideErrorMessage(String overrideErrorMessage) {
1409         this.overrideErrorMessage = overrideErrorMessage;
1410     }
1411 
1412     public HashMap<String, String> getErrorsAndPermission() {
1413         return errorsAndPermission;
1414     }
1415 
1416     public void setErrorsAndPermission(HashMap<String, String> errorsAndPermission) {
1417         this.errorsAndPermission = errorsAndPermission;
1418     }
1419 
1420     public boolean isRenewPermission() {
1421         return renewPermission;
1422     }
1423 
1424     public void setRenewPermission(boolean renewPermission) {
1425         this.renewPermission = renewPermission;
1426     }
1427 
1428     public boolean isBlockUser() {
1429         return blockUser;
1430     }
1431 
1432     public void setBlockUser(boolean blockUser) {
1433         this.blockUser = blockUser;
1434     }
1435 
1436     public boolean isItemDamagedStatus() {
1437         return itemDamagedStatus;
1438     }
1439 
1440     public void setItemDamagedStatus(boolean itemDamagedStatus) {
1441         this.itemDamagedStatus = itemDamagedStatus;
1442     }
1443 
1444     public boolean isSkipDamagedCheckIn() {
1445         return skipDamagedCheckIn;
1446     }
1447 
1448     public void setSkipDamagedCheckIn(boolean skipDamagedCheckIn) {
1449         this.skipDamagedCheckIn = skipDamagedCheckIn;
1450     }
1451 
1452     public String getMissingPieceCount() {
1453         return missingPieceCount;
1454     }
1455 
1456     public void setMissingPieceCount(String missingPieceCount) {
1457         this.missingPieceCount = missingPieceCount;
1458     }
1459 
1460     public String getErrorMessage() {
1461         return errorMessage;
1462     }
1463 
1464     public void setErrorMessage(String errorMessage) {
1465         this.errorMessage = errorMessage;
1466     }
1467 
1468     public boolean isMissingPieceValidationSuccess() {
1469         return missingPieceValidationSuccess;
1470     }
1471 
1472     public void setMissingPieceValidationSuccess(boolean missingPieceValidationSuccess) {
1473         this.missingPieceValidationSuccess = missingPieceValidationSuccess;
1474     }
1475 
1476     public boolean isInTransit() {
1477         return inTransit;
1478     }
1479 
1480     public void setInTransit(boolean inTransit) {
1481         this.inTransit = inTransit;
1482     }
1483 
1484     public boolean isProxyDisplay() {
1485         return proxyDisplay;
1486     }
1487 
1488     public void setProxyDisplay(boolean proxyDisplay) {
1489         this.proxyDisplay = proxyDisplay;
1490     }
1491 
1492     public String getMissingPieceMessage() {
1493         return missingPieceMessage;
1494     }
1495 
1496     public void setMissingPieceMessage(String missingPieceMessage) {
1497         this.missingPieceMessage = missingPieceMessage;
1498     }
1499 
1500     public boolean isMissingPieceDialog() {
1501         return missingPieceDialog;
1502     }
1503 
1504     public void setMissingPieceDialog(boolean missingPieceDialog) {
1505         this.missingPieceDialog = missingPieceDialog;
1506     }
1507 
1508     public boolean isDamagedItemDialog() {
1509         return damagedItemDialog;
1510     }
1511 
1512     public void setDamagedItemDialog(boolean damagedItemDialog) {
1513         this.damagedItemDialog = damagedItemDialog;
1514     }
1515 
1516     public String getDialogText() {
1517         return dialogText;
1518     }
1519 
1520     public void setDialogText(String dialogText) {
1521         this.dialogText = dialogText;
1522     }
1523 
1524     public boolean isDialogFlag() {
1525         return dialogFlag;
1526     }
1527 
1528     public void setDialogFlag(boolean dialogFlag) {
1529         this.dialogFlag = dialogFlag;
1530     }
1531 
1532     public String getDialogMissingPieceCount() {
1533         return dialogMissingPieceCount;
1534     }
1535 
1536     public void setDialogMissingPieceCount(String dialogMissingPieceCount) {
1537         this.dialogMissingPieceCount = dialogMissingPieceCount;
1538     }
1539 
1540     public String getDialogItemNoOfPieces() {
1541         return dialogItemNoOfPieces;
1542     }
1543 
1544     public void setDialogItemNoOfPieces(String dialogItemNoOfPieces) {
1545         this.dialogItemNoOfPieces = dialogItemNoOfPieces;
1546     }
1547 
1548     public OleLoanDocument getMissingPieceLoanDocument() {
1549         return missingPieceLoanDocument;
1550     }
1551 
1552     public void setMissingPieceLoanDocument(OleLoanDocument missingPieceLoanDocument) {
1553         this.missingPieceLoanDocument = missingPieceLoanDocument;
1554     }
1555 
1556     public boolean isDialogMissingPieceCountReadOnly() {
1557         return dialogMissingPieceCountReadOnly;
1558     }
1559 
1560     public void setDialogMissingPieceCountReadOnly(boolean dialogMissingPieceCountReadOnly) {
1561         this.dialogMissingPieceCountReadOnly = dialogMissingPieceCountReadOnly;
1562     }
1563 
1564     public boolean isDialogItemNoOfPiecesReadOnly() {
1565         return dialogItemNoOfPiecesReadOnly;
1566     }
1567 
1568     public void setDialogItemNoOfPiecesReadOnly(boolean dialogItemNoOfPiecesReadOnly) {
1569         this.dialogItemNoOfPiecesReadOnly = dialogItemNoOfPiecesReadOnly;
1570     }
1571 
1572     public String getDialogErrorMessage() {
1573         return dialogErrorMessage;
1574     }
1575 
1576     public void setDialogErrorMessage(String dialogErrorMessage) {
1577         this.dialogErrorMessage = dialogErrorMessage;
1578     }
1579 
1580     public boolean isRemoveMissingPieceButton() {
1581         return removeMissingPieceButton;
1582     }
1583 
1584     public void setRemoveMissingPieceButton(boolean removeMissingPieceButton) {
1585         this.removeMissingPieceButton = removeMissingPieceButton;
1586     }
1587 
1588     public String getRealPatronId() {
1589         return realPatronId;
1590     }
1591 
1592     public void setRealPatronId(String realPatronId) {
1593         this.realPatronId = realPatronId;
1594     }
1595 
1596     public boolean isRemoveMissingPieceFlag() {
1597         return removeMissingPieceFlag;
1598     }
1599 
1600     public void setRemoveMissingPieceFlag(boolean removeMissingPieceFlag) {
1601         this.removeMissingPieceFlag = removeMissingPieceFlag;
1602     }
1603 
1604     public boolean isRecordDamagedItemNote() {
1605         return recordDamagedItemNote;
1606     }
1607 
1608     public void setRecordDamagedItemNote(boolean recordDamagedItemNote) {
1609         this.recordDamagedItemNote = recordDamagedItemNote;
1610     }
1611 
1612     public boolean isRecordMissingPieceNote() {
1613         return recordMissingPieceNote;
1614     }
1615 
1616     public void setRecordMissingPieceNote(boolean recordMissingPieceNote) {
1617         this.recordMissingPieceNote = recordMissingPieceNote;
1618     }
1619 
1620     public boolean isDisplayRecordNotePopup() {
1621         return displayRecordNotePopup;
1622     }
1623 
1624     public void setDisplayRecordNotePopup(boolean displayRecordNotePopup) {
1625         this.displayRecordNotePopup = displayRecordNotePopup;
1626     }
1627 
1628     public boolean isCheckoutRecordFlag() {
1629         return checkoutRecordFlag;
1630     }
1631 
1632     public void setCheckoutRecordFlag(boolean checkoutRecordFlag) {
1633         this.checkoutRecordFlag = checkoutRecordFlag;
1634     }
1635 
1636     public String getCheckoutRecordMessage() {
1637         return checkoutRecordMessage;
1638     }
1639 
1640     public void setCheckoutRecordMessage(String checkoutRecordMessage) {
1641         this.checkoutRecordMessage = checkoutRecordMessage;
1642     }
1643 
1644     public boolean isSkipMissingPieceRecordPopup() {
1645         return skipMissingPieceRecordPopup;
1646     }
1647 
1648     public void setSkipMissingPieceRecordPopup(boolean skipMissingPieceRecordPopup) {
1649         this.skipMissingPieceRecordPopup = skipMissingPieceRecordPopup;
1650     }
1651 
1652     public boolean isSkipDamagedRecordPopup() {
1653         return skipDamagedRecordPopup;
1654     }
1655 
1656     public void setSkipDamagedRecordPopup(boolean skipDamagedRecordPopup) {
1657         this.skipDamagedRecordPopup = skipDamagedRecordPopup;
1658     }
1659 
1660     public boolean isRecordCheckoutMissingPieceNote() {
1661         return recordCheckoutMissingPieceNote;
1662     }
1663 
1664     public void setRecordCheckoutMissingPieceNote(boolean recordCheckoutMissingPieceNote) {
1665         this.recordCheckoutMissingPieceNote = recordCheckoutMissingPieceNote;
1666     }
1667 
1668     public boolean isDisplayMissingPieceNotePopup() {
1669         return displayMissingPieceNotePopup;
1670     }
1671 
1672     public void setDisplayMissingPieceNotePopup(boolean displayMissingPieceNotePopup) {
1673         this.displayMissingPieceNotePopup = displayMissingPieceNotePopup;
1674     }
1675 
1676     public boolean isCheckoutMissingPieceRecordFlag() {
1677         return checkoutMissingPieceRecordFlag;
1678     }
1679 
1680     public void setCheckoutMissingPieceRecordFlag(boolean checkoutMissingPieceRecordFlag) {
1681         this.checkoutMissingPieceRecordFlag = checkoutMissingPieceRecordFlag;
1682     }
1683 
1684     public boolean isDisplayDamagedRecordNotePopup() {
1685         return displayDamagedRecordNotePopup;
1686     }
1687 
1688     public void setDisplayDamagedRecordNotePopup(boolean displayDamagedRecordNotePopup) {
1689         this.displayDamagedRecordNotePopup = displayDamagedRecordNotePopup;
1690     }
1691 
1692     public boolean isCheckoutDamagedRecordFlag() {
1693         return checkoutDamagedRecordFlag;
1694     }
1695 
1696     public void setCheckoutDamagedRecordFlag(boolean checkoutDamagedRecordFlag) {
1697         this.checkoutDamagedRecordFlag = checkoutDamagedRecordFlag;
1698     }
1699 
1700     public boolean isTempClaimsFlag() {
1701         return tempClaimsFlag;
1702     }
1703 
1704     public void setTempClaimsFlag(boolean tempClaimsFlag) {
1705         this.tempClaimsFlag = tempClaimsFlag;
1706     }
1707 
1708     public boolean isSendMissingPieceMail() {
1709         return sendMissingPieceMail;
1710     }
1711 
1712     public void setSendMissingPieceMail(boolean sendMissingPieceMail) {
1713         this.sendMissingPieceMail = sendMissingPieceMail;
1714     }
1715 
1716     public boolean isHoldSlip() {
1717         return holdSlip;
1718     }
1719 
1720     public void setHoldSlip(boolean holdSlip) {
1721         this.holdSlip = holdSlip;
1722     }
1723 
1724     public String getMissingPieceNote() {
1725         return missingPieceNote;
1726     }
1727 
1728     public void setMissingPieceNote(String missingPieceNote) {
1729         this.missingPieceNote = missingPieceNote;
1730     }
1731 
1732     public String getSuccessMessage() {
1733         return successMessage;
1734     }
1735 
1736     public void setSuccessMessage(String successMessage) {
1737         this.successMessage = successMessage;
1738     }
1739 
1740     public boolean isRemoveItemDamagedButton() {
1741         return removeItemDamagedButton;
1742     }
1743 
1744     public void setRemoveItemDamagedButton(boolean removeItemDamagedButton) {
1745         this.removeItemDamagedButton = removeItemDamagedButton;
1746     }
1747 
1748     public boolean isShowExistingLoan() {
1749         return showExistingLoan;
1750     }
1751 
1752     public void setShowExistingLoan(boolean showExistingLoan) {
1753         this.showExistingLoan = showExistingLoan;
1754     }
1755 
1756     public OleLoanDocument getRenewalLoan() {
1757         return renewalLoan;
1758     }
1759 
1760     public void setRenewalLoan(OleLoanDocument renewalLoan) {
1761         this.renewalLoan = renewalLoan;
1762     }
1763 
1764     public String getUrlBase() {
1765         return urlBase;
1766     }
1767 
1768     public void setUrlBase(String urlBase) {
1769         this.urlBase = urlBase;
1770     }
1771 
1772     public String getViewBillUrl() {
1773         return viewBillUrl;
1774     }
1775 
1776     public void setViewBillUrl(String viewBillUrl) {
1777         this.viewBillUrl = viewBillUrl;
1778     }
1779 
1780     public String getCreateBillUrl() {
1781         return createBillUrl;
1782     }
1783 
1784     public void setCreateBillUrl(String createBillUrl) {
1785         this.createBillUrl = createBillUrl;
1786     }
1787 
1788     public String getNewPrincipalName() {
1789         if (this.newPrincipalName != null && this.newPrincipalName.contains(",")) {
1790             return this.newPrincipalName.replaceAll(",", "");
1791         }
1792         return newPrincipalName;
1793     }
1794 
1795     public void setNewPrincipalName(String newPrincipalName) {
1796         this.newPrincipalName = newPrincipalName;
1797     }
1798 
1799     public String getOverridingPrincipalName() {
1800         return overridingPrincipalName;
1801     }
1802 
1803     public void setOverridingPrincipalName(String overridingPrincipalName) {
1804         this.overridingPrincipalName = overridingPrincipalName;
1805     }
1806 
1807     public void setOlePatronDocument(OlePatronDocument olePatronDocument) {
1808         this.olePatronDocument = olePatronDocument;
1809     }
1810 
1811     public OlePatronDocument getOlePatronDocument() {
1812         return olePatronDocument;
1813     }
1814 
1815     public boolean isProcessDocumentForProxyFlag() {
1816         return processDocumentForProxyFlag;
1817     }
1818 
1819     public void setProcessDocumentForProxyFlag(boolean processDocumentForProxyFlag) {
1820         this.processDocumentForProxyFlag = processDocumentForProxyFlag;
1821     }
1822 
1823 
1824     public void setLoansToBeSavedList(List<OleLoanDocument> loansToBeSavedList) {
1825         this.loansToBeSavedList = loansToBeSavedList;
1826     }
1827 
1828     public List<OleLoanDocument> getLoansToBeSavedList() {
1829         return loansToBeSavedList;
1830     }
1831 
1832     public ItemRecord getItemRecord() {
1833         return itemRecord;
1834     }
1835 
1836     public void setItemRecord(ItemRecord itemRecord) {
1837         this.itemRecord = itemRecord;
1838     }
1839 
1840     public void setNewErrorsAndPermission(List<String> newErrorsAndPermission) {
1841         this.newErrorsAndPermission = newErrorsAndPermission;
1842     }
1843 
1844     public List<String> getNewErrorsAndPermission() {
1845         return newErrorsAndPermission;
1846     }
1847 
1848     public String getExpirationDate() {
1849         return expirationDate;
1850     }
1851 
1852     public void setExpirationDate(String expirationDate) {
1853         this.expirationDate = expirationDate;
1854     }
1855 
1856     public boolean isInvalidBarcodeFlag() {
1857         return invalidBarcodeFlag;
1858     }
1859 
1860     public void setInvalidBarcodeFlag(boolean invalidBarcodeFlag) {
1861         this.invalidBarcodeFlag = invalidBarcodeFlag;
1862     }
1863 
1864     public int getRequestedRecordsCount() {
1865         return requestedRecordsCount;
1866     }
1867 
1868     public void setRequestedRecordsCount(int requestedRecordsCount) {
1869         this.requestedRecordsCount = requestedRecordsCount;
1870     }
1871 
1872     public int getTemporaryCirculationHistoryRecordsCount() {
1873         return temporaryCirculationHistoryRecordsCount;
1874     }
1875 
1876     public void setTemporaryCirculationHistoryRecordsCount(int temporaryCirculationHistoryRecordsCount) {
1877         this.temporaryCirculationHistoryRecordsCount = temporaryCirculationHistoryRecordsCount;
1878     }
1879 }
1880 
1881 
1882