View Javadoc
1   package org.kuali.ole.deliver.bo;
2   
3   import org.kuali.ole.OLEConstants;
4   import org.kuali.ole.deliver.api.OleDeliverRequestContract;
5   import org.kuali.ole.deliver.api.OleDeliverRequestDefinition;
6   import org.kuali.ole.docstore.common.document.content.instance.Item;
7   import org.kuali.rice.kim.impl.identity.PersonImpl;
8   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
9   
10  import java.sql.Date;
11  import java.sql.Timestamp;
12  
13  /**
14   * Created with IntelliJ IDEA.
15   * User: ?
16   * Date: 10/1/12
17   * Time: 12:13 PM
18   * To change this template use File | Settings | File Templates.
19   */
20  public class OleDeliverRequestBo extends PersistableBusinessObjectBase implements OleDeliverRequestContract {
21      private String requestId;
22      private String poLineItemNo;
23      private String borrowerId;
24      private String borrowerBarcode;
25      private Integer borrowerQueuePosition;
26      private String proxyBorrowerId;
27      private String proxyBorrowerBarcode;
28      private String loanTransactionRecordNumber;
29      private String requestTypeId;
30      private String contentDescription;
31      private String copyFormat;
32      private String pickUpLocationId;
33      private String operatorCreateId;
34      private String operatorModifiedId;
35      private String machineId;
36      private String circulationLocationId;
37      private Date createDate;
38      private Date modifiedDate;
39      private Date requestExpiryDate;
40      private Date onHoldNoticeSentDate;
41      private Date recallNoticeSentDate;
42      private String itemId;
43      private String itemTypeName;
44      private String itemUuid;
45  
46      private String selectRequest;
47      private String requestCreator;
48      private String requestTypeCode;
49      private String borrowerName;
50      private String firstName;
51      private String lastName;
52      private String proxyBorrowerName;
53      private String proxyBorrowerFirstName;
54      private String proxyBorrowerLastName;
55      private String operatorCreateName;
56      private String operatorModifierName;
57  
58      private String courtesyNotice;
59      private String title;
60      private String author;
61      private String shelvingLocation;
62      private String callNumber;
63      private String copyNumber;
64      private String volumeNumber;
65      private String patronName;
66      private String itemType;
67      private String itemStatus;
68      private String circulationLocationCode;
69      private String pickUpLocationCode;
70      private String inTransitCheckInNote;
71      private boolean requestFlag;
72      private boolean claimsReturnedFlag;
73      private String message;
74      private String chronology;
75      private String enumeration;
76  
77      private OleCirculationDesk oleCirculationLocation = new OleCirculationDesk();
78  
79      private OleCirculationDesk olePickUpLocation = new OleCirculationDesk();
80      private OlePatronDocument olePatron = new OlePatronDocument();
81      private OlePatronDocument oleProxyPatron = new OlePatronDocument();
82  
83      private PersonImpl operatorCreator = new PersonImpl();
84      private PersonImpl operatorModifier = new PersonImpl();
85      private OleDeliverRequestType oleDeliverRequestType = new OleDeliverRequestType();
86  
87      private String roleName = OLEConstants.OleCirculationDeskDetail.OPERATOR_ROLE_NAME;
88      private String roleNamespaceCode = OLEConstants.OleCirculationDeskDetail.OPERATOR_ROLE_NAMESPACE;
89      private Date date;
90      private OleItemSearch oleItemSearch = new OleItemSearch();
91      private transient Item oleItem;
92  
93      private String itemInstitution;
94      private String itemCampus;
95      private String itemLibrary;
96      private String itemCollection;
97      private String itemLocation;
98      private String noticeType;
99      private Date newDueDate;
100     private Date originalDueDate;
101     private String requestStatus;
102     private boolean asrFlag;
103     private boolean isASRItem;
104     private boolean isValidToProcess;
105     private String bibId;
106     private String requestLevel;
107 
108     public String getItemInstitution() {
109         return itemInstitution;
110     }
111 
112     public void setItemInstitution(String itemInstitution) {
113         this.itemInstitution = itemInstitution;
114     }
115 
116     public String getItemCampus() {
117         return itemCampus;
118     }
119 
120     public void setItemCampus(String itemCampus) {
121         this.itemCampus = itemCampus;
122     }
123 
124     public String getItemLibrary() {
125         return itemLibrary;
126     }
127 
128     public void setItemLibrary(String itemLibrary) {
129         this.itemLibrary = itemLibrary;
130     }
131 
132     public String getItemCollection() {
133         return itemCollection;
134     }
135 
136     public void setItemCollection(String itemCollection) {
137         this.itemCollection = itemCollection;
138     }
139 
140     public String getItemLocation() {
141         return itemLocation;
142     }
143 
144     public boolean isClaimsReturnedFlag() {
145         return claimsReturnedFlag;
146     }
147 
148     public void setClaimsReturnedFlag(boolean claimsReturnedFlag) {
149         this.claimsReturnedFlag = claimsReturnedFlag;
150     }
151 
152     public void setItemLocation(String itemLocation) {
153         this.itemLocation = itemLocation;
154     }
155 
156     public String getItemUuid() {
157         return itemUuid;
158     }
159 
160     public void setItemUuid(String itemUuid) {
161         this.itemUuid = itemUuid;
162     }
163 
164     public String getProxyBorrowerFirstName() {
165         return proxyBorrowerFirstName;
166     }
167 
168     public void setProxyBorrowerFirstName(String proxyBorrowerFirstName) {
169         this.proxyBorrowerFirstName = proxyBorrowerFirstName;
170     }
171 
172     private Timestamp recallDueDate;
173 
174 
175     public Timestamp getRecallDueDate() {
176         return recallDueDate;
177     }
178 
179     public void setRecallDueDate(Timestamp recallDueDate) {
180         this.recallDueDate = recallDueDate;
181     }
182 
183     public Item getOleItem() {
184         return oleItem;
185     }
186 
187     public String getProxyBorrowerLastName() {
188         return proxyBorrowerLastName;
189     }
190 
191     public void setProxyBorrowerLastName(String proxyBorrowerLastName) {
192         this.proxyBorrowerLastName = proxyBorrowerLastName;
193     }
194 
195     public void setOleItem(Item oleItem) {
196         this.oleItem = oleItem;
197     }
198 
199     public String getItemStatus() {
200         return itemStatus;
201     }
202 
203     public void setItemStatus(String itemStatus) {
204         this.itemStatus = itemStatus;
205     }
206 
207     public String getItemTypeName() {
208         return itemTypeName;
209     }
210 
211     public void setItemTypeName(String itemTypeName) {
212         this.itemTypeName = itemTypeName;
213     }
214 
215     public String getCirculationLocationCode() {
216         if (circulationLocationId != null && circulationLocationCode == null && oleCirculationLocation.getCirculationDeskId() != null) {
217             circulationLocationCode = oleCirculationLocation.getCirculationDeskCode();
218         }
219         return circulationLocationCode;
220     }
221 
222     public void setCirculationLocationCode(String circulationLocationCode) {
223         this.circulationLocationCode = circulationLocationCode;
224     }
225 
226     public String getPickUpLocationCode() {
227         if (pickUpLocationId != null && pickUpLocationCode == null && olePickUpLocation.getCirculationDeskId() != null) {
228             pickUpLocationCode = olePickUpLocation.getCirculationDeskCode();
229         }
230         return pickUpLocationCode;
231     }
232 
233     public void setPickUpLocationCode(String pickUpLocationCode) {
234         this.pickUpLocationCode = pickUpLocationCode;
235     }
236 
237     /**
238      * Gets the itemType attribute.
239      *
240      * @return Returns the itemType
241      */
242     public String getItemType() {
243         return itemType;
244     }
245 
246     /**
247      * Sets the itemType attribute value.
248      *
249      * @param itemType The itemType to set.
250      */
251     public void setItemType(String itemType) {
252         this.itemType = itemType;
253     }
254 
255 
256     public OleItemSearch getOleItemSearch() {
257         return oleItemSearch;
258     }
259 
260     public void setOleItemSearch(OleItemSearch oleItemSearch) {
261         this.oleItemSearch = oleItemSearch;
262     }
263 
264 
265     public String getRoleName() {
266         return roleName;
267     }
268 
269     public void setRoleName(String roleName) {
270         this.roleName = roleName;
271     }
272 
273     public String getRoleNamespaceCode() {
274         return roleNamespaceCode;
275     }
276 
277     public void setRoleNamespaceCode(String roleNamespaceCode) {
278         this.roleNamespaceCode = roleNamespaceCode;
279     }
280 
281     /**
282      * Gets the requestId attribute.
283      *
284      * @return Returns the requestId
285      */
286     public String getRequestId() {
287         return requestId;
288     }
289 
290     public void setRequestId(String requestId) {
291         this.requestId = requestId;
292     }
293 
294     /**
295      * Gets the poLineItemNo attribute.
296      *
297      * @return Returns the poLineItemNo
298      */
299     public String getPoLineItemNo() {
300         return poLineItemNo;
301     }
302 
303     public void setPoLineItemNo(String poLineItemNo) {
304         this.poLineItemNo = poLineItemNo;
305     }
306 
307     /**
308      * Gets the borrowerId attribute.
309      *
310      * @return Returns the borrowerId
311      */
312     public String getBorrowerId() {
313         return borrowerId;
314     }
315 
316     public void setBorrowerId(String borrowerId) {
317         this.borrowerId = borrowerId;
318     }
319 
320     /**
321      * Gets the borrowerQueuePosition attribute.
322      *
323      * @return Returns the borrowerQueuePosition
324      */
325     public Integer getBorrowerQueuePosition() {
326         return borrowerQueuePosition;
327     }
328 
329     public void setBorrowerQueuePosition(Integer borrowerQueuePosition) {
330         this.borrowerQueuePosition = borrowerQueuePosition;
331     }
332 
333     /**
334      * Gets the proxyBorrowerId attribute.
335      *
336      * @return Returns the proxyBorrowerId
337      */
338     public String getProxyBorrowerId() {
339         return proxyBorrowerId;
340     }
341 
342     public void setProxyBorrowerId(String proxyBorrowerId) {
343         if (proxyBorrowerId != null && proxyBorrowerId.equals(""))
344             this.proxyBorrowerId = null;
345         else
346             this.proxyBorrowerId = proxyBorrowerId;
347     }
348 
349     /**
350      * Gets the loanTransactionRecordNumber attribute.
351      *
352      * @return Returns the loanTransactionRecordNumber
353      */
354     public String getLoanTransactionRecordNumber() {
355         return loanTransactionRecordNumber;
356     }
357 
358     public void setLoanTransactionRecordNumber(String loanTransactionRecordNumber) {
359         this.loanTransactionRecordNumber = loanTransactionRecordNumber;
360     }
361 
362     /**
363      * Gets the requestTypeId attribute.
364      *
365      * @return Returns the requestTypeId
366      */
367     public String getRequestTypeId() {
368         return requestTypeId;
369     }
370 
371     public void setRequestTypeId(String requestTypeId) {
372 
373         this.requestTypeId = requestTypeId;
374     }
375 
376     /**
377      * Gets the contentDescription attribute.
378      *
379      * @return Returns the contentDescription
380      */
381     public String getContentDescription() {
382         return contentDescription;
383     }
384 
385     public void setContentDescription(String contentDescription) {
386         this.contentDescription = contentDescription;
387     }
388 
389     /**
390      * Gets the copyFormat attribute.
391      *
392      * @return Returns the copyFormat
393      */
394     public String getCopyFormat() {
395         return copyFormat;
396     }
397 
398     public void setCopyFormat(String copyFormat) {
399         this.copyFormat = copyFormat;
400     }
401 
402     /**
403      * Gets the pickUpLocationId attribute.
404      *
405      * @return Returns the pickUpLocationId
406      */
407     public String getPickUpLocationId() {
408         return pickUpLocationId;
409     }
410 
411     public void setPickUpLocationId(String pickUpLocationId) {
412         if (pickUpLocationId != null && pickUpLocationId.equals(""))
413             this.pickUpLocationId = null;
414         else
415             this.pickUpLocationId = pickUpLocationId;
416     }
417 
418     /**
419      * Gets the operatorCreateId attribute.
420      *
421      * @return Returns the operatorCreateId
422      */
423     public String getOperatorCreateId() {
424         return operatorCreateId;
425     }
426 
427     public void setOperatorCreateId(String operatorCreateId) {
428         this.operatorCreateId = operatorCreateId;
429     }
430 
431     /**
432      * Gets the operatorModifiedId attribute.
433      *
434      * @return Returns the operatorModifiedId
435      */
436     public String getOperatorModifiedId() {
437         return operatorModifiedId;
438     }
439 
440     public void setOperatorModifiedId(String operatorModifiedId) {
441         this.operatorModifiedId = operatorModifiedId;
442     }
443 
444     /**
445      * Gets the machineId attribute.
446      *
447      * @return Returns the machineId
448      */
449     public String getMachineId() {
450         return machineId;
451     }
452 
453     public void setMachineId(String machineId) {
454         this.machineId = machineId;
455     }
456 
457     /**
458      * Gets the circulationLocationId attribute.
459      *
460      * @return Returns the circulationLocationId
461      */
462     public String getCirculationLocationId() {
463         return circulationLocationId;
464     }
465 
466     public void setCirculationLocationId(String circulationLocationId) {
467         if (circulationLocationId != null && circulationLocationId.equals(""))
468             this.circulationLocationId = null;
469         else
470             this.circulationLocationId = circulationLocationId;
471     }
472 
473     public Date getCreateDate() {
474         return createDate;
475     }
476 
477     public void setCreateDate(Date createDate) {
478         this.createDate = createDate;
479     }
480 
481     public Date getModifiedDate() {
482         return modifiedDate;
483     }
484 
485     public void setModifiedDate(Date modifiedDate) {
486         this.modifiedDate = modifiedDate;
487     }
488 
489     public Date getRequestExpiryDate() {
490         return requestExpiryDate;
491     }
492 
493     public void setRequestExpiryDate(Date requestExpiryDate) {
494         this.requestExpiryDate = requestExpiryDate;
495     }
496 
497     public Date getOnHoldNoticeSentDate() {
498         return onHoldNoticeSentDate;
499     }
500 
501     public void setOnHoldNoticeSentDate(Date onHoldNoticeSentDate) {
502         this.onHoldNoticeSentDate = onHoldNoticeSentDate;
503     }
504 
505     public Date getRecallNoticeSentDate() {
506         return recallNoticeSentDate;
507     }
508 
509     public void setRecallNoticeSentDate(Date recallNoticeSentDate) {
510         this.recallNoticeSentDate = recallNoticeSentDate;
511     }
512 
513     /**
514      * Gets the itemId attribute.
515      *
516      * @return Returns the itemId
517      */
518     public String getItemId() {
519         return itemId;
520     }
521 
522     public void setItemId(String itemId) {
523         this.itemId = itemId;
524     }
525 
526     /**
527      * Gets the selectRequest attribute.
528      *
529      * @return Returns the selectRequest
530      */
531     public String getSelectRequest() {
532         return selectRequest;
533     }
534 
535     public void setSelectRequest(String selectRequest) {
536         this.selectRequest = selectRequest;
537     }
538 
539     /**
540      * Gets the requestCreator attribute.
541      *
542      * @return Returns the requestCreator
543      */
544     public String getRequestCreator() {
545         return requestCreator;
546     }
547 
548     public void setRequestCreator(String requestCreator) {
549         this.requestCreator = requestCreator;
550     }
551 
552     /**
553      * Gets the requestTypeCode attribute.
554      *
555      * @return Returns the requestTypeCode
556      */
557     public String getRequestTypeCode() {
558         if (requestTypeId != null && oleDeliverRequestType.getRequestTypeId() != null) {
559             return oleDeliverRequestType.getRequestTypeCode();
560         }
561         return requestTypeCode;
562     }
563 
564     public void setRequestTypeCode(String requestTypeCode) {
565         this.requestTypeCode = requestTypeCode;
566     }
567 
568     public String getFirstName() {
569         if (firstName == null && borrowerId != null && olePatron.getBarcode() != null && (borrowerId.equals(olePatron.getOlePatronId()))) {
570             return olePatron.getEntity().getNames().get(0).getFirstName();
571         }
572         return firstName;
573     }
574 
575     public void setFirstName(String firstName) {
576         this.firstName = firstName;
577     }
578 
579     public String getLastName() {
580         if (lastName == null && borrowerId != null && olePatron.getBarcode() != null && (borrowerId.equals(olePatron.getOlePatronId()))) {
581             return olePatron.getEntity().getNames().get(0).getLastName();
582         }
583         return lastName;
584     }
585 
586     public void setLastName(String lastName) {
587         this.lastName = lastName;
588     }
589 
590     /**
591      * Gets the borrowerName attribute.
592      *
593      * @return Returns the borrowerName
594      */
595     public String getBorrowerName() {
596         if (borrowerName == null && borrowerId != null && olePatron.getBarcode() != null && (borrowerId.equals(olePatron.getOlePatronId()))) {
597             return olePatron.getEntity().getNames().get(0).getFirstName() + " " + olePatron.getEntity().getNames().get(0).getLastName();
598         }
599         return borrowerName;
600     }
601 
602     public void setBorrowerName(String borrowerName) {
603         this.borrowerName = borrowerName;
604     }
605 
606     /**
607      * Gets the proxyBorrowerName attribute.
608      *
609      * @return Returns the proxyBorrowerName
610      */
611     public String getProxyBorrowerName() {
612         if (proxyBorrowerName == null && proxyBorrowerId != null && oleProxyPatron.getBarcode() != null && (proxyBorrowerId.equals(oleProxyPatron.getOlePatronId()))) {
613             return oleProxyPatron.getEntity().getNames().get(0).getFirstName() + " " + oleProxyPatron.getEntity().getNames().get(0).getLastName();
614         }
615         return proxyBorrowerName;
616     }
617 
618     public void setProxyBorrowerName(String proxyBorrowerName) {
619         this.proxyBorrowerName = proxyBorrowerName;
620     }
621 
622     /**
623      * Gets the operatorCreateName attribute.
624      *
625      * @return Returns the operatorCreateName
626      */
627     public String getOperatorCreateName() {
628         return operatorCreateName;
629     }
630 
631     public void setOperatorCreateName(String operatorCreateName) {
632         this.operatorCreateName = operatorCreateName;
633     }
634 
635     /**
636      * Gets the courtesyNotice attribute.
637      *
638      * @return Returns the courtesyNotice
639      */
640     public String getCourtesyNotice() {
641         return courtesyNotice;
642     }
643 
644     public void setCourtesyNotice(String courtesyNotice) {
645         this.courtesyNotice = courtesyNotice;
646     }
647 
648     /**
649      * Gets the title attribute.
650      *
651      * @return Returns the title
652      */
653     public String getTitle() {
654         return title;
655     }
656 
657     public void setTitle(String title) {
658         this.title = title;
659     }
660 
661     /**
662      * Gets the author attribute.
663      *
664      * @return Returns the author
665      */
666     public String getAuthor() {
667         return author;
668     }
669 
670     public void setAuthor(String author) {
671         this.author = author;
672     }
673 
674     /**
675      * Gets the shelvingLocation attribute.
676      *
677      * @return Returns the shelvingLocation
678      */
679     public String getShelvingLocation() {
680         return shelvingLocation;
681     }
682 
683     public void setShelvingLocation(String shelvingLocation) {
684         this.shelvingLocation = shelvingLocation;
685     }
686 
687     /**
688      * Gets the callNumber attribute.
689      *
690      * @return Returns the callNumber
691      */
692     public String getCallNumber() {
693         return callNumber;
694     }
695 
696     public void setCallNumber(String callNumber) {
697         this.callNumber = callNumber;
698     }
699 
700     /**
701      * Gets the copyNumber attribute.
702      *
703      * @return Returns the copyNumber
704      */
705     public String getCopyNumber() {
706         return copyNumber;
707     }
708 
709     public void setCopyNumber(String copyNumber) {
710         this.copyNumber = copyNumber;
711     }
712 
713     /**
714      * Gets the patronName attribute.
715      *
716      * @return Returns the patronName
717      */
718     public String getPatronName() {
719         return patronName;
720     }
721 
722     public void setPatronName(String patronName) {
723         this.patronName = patronName;
724     }
725 
726     public Date getDate() {
727         return date;
728     }
729 
730     public void setDate(Date date) {
731         this.date = date;
732     }
733 
734     public OleCirculationDesk getOleCirculationLocation() {
735         return oleCirculationLocation;
736     }
737 
738     public void setOleCirculationLocation(OleCirculationDesk oleCirculationLocation) {
739         this.oleCirculationLocation = oleCirculationLocation;
740     }
741 
742     public OleCirculationDesk getOlePickUpLocation() {
743         return olePickUpLocation;
744     }
745 
746     public void setOlePickUpLocation(OleCirculationDesk olePickUpLocation) {
747         this.olePickUpLocation = olePickUpLocation;
748     }
749 
750     public OlePatronDocument getOlePatron() {
751         return olePatron;
752     }
753 
754     public void setOlePatron(OlePatronDocument olePatron) {
755         this.olePatron = olePatron;
756     }
757 
758     public OlePatronDocument getOleProxyPatron() {
759         return oleProxyPatron;
760     }
761 
762     public void setOleProxyPatron(OlePatronDocument oleProxyPatron) {
763         this.oleProxyPatron = oleProxyPatron;
764     }
765 
766     public PersonImpl getOperatorCreator() {
767         return operatorCreator;
768     }
769 
770     public void setOperatorCreator(PersonImpl operatorCreator) {
771         this.operatorCreator = operatorCreator;
772     }
773 
774     public PersonImpl getOperatorModifier() {
775         return operatorModifier;
776     }
777 
778     public void setOperatorModifier(PersonImpl operatorModifier) {
779         this.operatorModifier = operatorModifier;
780     }
781 
782     public OleDeliverRequestType getOleDeliverRequestType() {
783         return oleDeliverRequestType;
784     }
785 
786     public void setOleDeliverRequestType(OleDeliverRequestType oleDeliverRequestType) {
787         this.oleDeliverRequestType = oleDeliverRequestType;
788     }
789 
790     public String getOperatorModifierName() {
791         return operatorModifierName;
792     }
793 
794     public void setOperatorModifierName(String operatorModifierName) {
795         this.operatorModifierName = operatorModifierName;
796     }
797 
798     public String getInTransitCheckInNote() {
799         return inTransitCheckInNote;
800     }
801 
802     public void setInTransitCheckInNote(String inTransitCheckInNote) {
803         this.inTransitCheckInNote = inTransitCheckInNote;
804     }
805 
806     public boolean isRequestFlag() {
807         return requestFlag;
808     }
809 
810     public void setRequestFlag(boolean requestFlag) {
811         this.requestFlag = requestFlag;
812     }
813 
814     public String getVolumeNumber() {
815         return volumeNumber;
816     }
817 
818     public void setVolumeNumber(String volumeNumber) {
819         this.volumeNumber = volumeNumber;
820     }
821 
822     /**
823      * This method converts the PersistableBusinessObjectBase OleDeliverRequestBo into immutable object OleDeliverRequestDefinition
824      *
825      * @param bo
826      * @return OleDeliverRequestDefinition
827      */
828     public static OleDeliverRequestDefinition to(OleDeliverRequestBo bo) {
829         if (bo == null) {
830             return null;
831         }
832         return OleDeliverRequestDefinition.Builder.create(bo).build();
833     }
834 
835     /**
836      * This method converts the immutable object OleDeliverRequestDefinition into PersistableBusinessObjectBase OleDeliverRequestBo
837      *
838      * @param imOleDeliverRequestDefinition
839      * @return bo
840      */
841     public static OleDeliverRequestBo from(OleDeliverRequestDefinition imOleDeliverRequestDefinition) {
842         if (imOleDeliverRequestDefinition == null) {
843             return null;
844         }
845 
846         OleDeliverRequestBo bo = new OleDeliverRequestBo();
847         bo.itemId = imOleDeliverRequestDefinition.getItemId();
848         bo.requestId = imOleDeliverRequestDefinition.getRequestId();
849         bo.title = imOleDeliverRequestDefinition.getTitle();
850         bo.author = imOleDeliverRequestDefinition.getAuthor();
851         bo.callNumber = imOleDeliverRequestDefinition.getCallNumber();
852         bo.copyNumber = imOleDeliverRequestDefinition.getCopyNumber();
853         bo.itemStatus = imOleDeliverRequestDefinition.getItemStatus();
854         bo.itemType = imOleDeliverRequestDefinition.getItemType();
855         bo.borrowerQueuePosition = imOleDeliverRequestDefinition.getBorrowerQueuePosition();
856         bo.volumeNumber = imOleDeliverRequestDefinition.getVolumeNumber();
857         bo.shelvingLocation = imOleDeliverRequestDefinition.getShelvingLocation();
858         bo.oleDeliverRequestType = OleDeliverRequestType.from(imOleDeliverRequestDefinition.getOleDeliverRequestType());
859         bo.versionNumber = imOleDeliverRequestDefinition.getVersionNumber();
860 
861         return bo;
862     }
863 
864     @Override
865     public String getId() {
866         return this.requestId;
867     }
868 
869     public String getMessage() {
870         return message;
871     }
872 
873     public void setMessage(String message) {
874         this.message = message;
875     }
876 
877     public void setNoticeType(String noticeType) {
878         this.noticeType = noticeType;
879     }
880 
881     public String getNoticeType() {
882         return noticeType;
883     }
884 
885     public String getBorrowerBarcode() {
886         return borrowerBarcode;
887     }
888 
889     public void setBorrowerBarcode(String borrowerBarcode) {
890         this.borrowerBarcode = borrowerBarcode;
891     }
892 
893     public String getProxyBorrowerBarcode() {
894         return proxyBorrowerBarcode;
895     }
896 
897     public void setProxyBorrowerBarcode(String proxyBorrowerBarcode) {
898         this.proxyBorrowerBarcode = proxyBorrowerBarcode;
899     }
900 
901     public Date getNewDueDate() {
902         return newDueDate;
903     }
904 
905     public void setNewDueDate(Date newDueDate) {
906         this.newDueDate = newDueDate;
907     }
908 
909     public Date getOriginalDueDate() {
910         return originalDueDate;
911     }
912 
913     public void setOriginalDueDate(Date originalDueDate) {
914         this.originalDueDate = originalDueDate;
915     }
916 
917     public String getRequestStatus() {
918         return requestStatus;
919     }
920 
921     public void setRequestStatus(String requestStatus) {
922         this.requestStatus = requestStatus;
923     }
924 
925     public boolean isAsrFlag() {
926         return asrFlag;
927     }
928 
929     public void setAsrFlag(boolean asrFlag) {
930         this.asrFlag = asrFlag;
931     }
932 
933     public boolean isASRItem() {
934         return isASRItem;
935     }
936 
937     public void setASRItem(boolean ASRItem) {
938         isASRItem = ASRItem;
939     }
940 
941     public boolean isValidToProcess() {
942         return isValidToProcess;
943     }
944 
945     public void setValidToProcess(boolean isValidToProcess) {
946         this.isValidToProcess = isValidToProcess;
947     }
948 
949     public String getChronology() {
950         return chronology;
951     }
952 
953     public void setChronology(String chronology) {
954         this.chronology = chronology;
955     }
956 
957     public String getEnumeration() {
958         return enumeration;
959     }
960 
961     public void setEnumeration(String enumeration) {
962         this.enumeration = enumeration;
963     }
964 
965     public String getBibId() {
966         return bibId;
967     }
968 
969     public void setBibId(String bibId) {
970         this.bibId = bibId;
971     }
972 
973     public String getRequestLevel() {
974         return requestLevel;
975     }
976 
977     public void setRequestLevel(String requestLevel) {
978         this.requestLevel = requestLevel;
979     }
980 }