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