1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  
17  package org.kuali.ole.select.businessobject;
18  
19  
20  import org.kuali.ole.docstore.common.document.ids.BibId;
21  import org.kuali.ole.docstore.engine.service.storage.rdbms.pojo.BibInfoRecord;
22  import org.kuali.ole.module.purap.PurapConstants;
23  import org.kuali.ole.module.purap.businessobject.RequisitionItem;
24  import org.kuali.ole.module.purap.document.RequisitionDocument;
25  import org.kuali.ole.pojo.OleOrderRecord;
26  import org.kuali.ole.select.bo.OLELinkPurapDonor;
27  import org.kuali.ole.select.bo.OLEPOClaimHistory;
28  import org.kuali.ole.select.document.OleInvoiceDocument;
29  import org.kuali.ole.select.lookup.DocData;
30  import org.kuali.ole.sys.context.SpringContext;
31  import org.kuali.rice.core.api.membership.MemberType;
32  import org.kuali.rice.core.api.util.type.KualiDecimal;
33  import org.kuali.rice.core.api.util.type.KualiInteger;
34  import org.kuali.rice.kim.api.identity.Person;
35  import org.kuali.rice.kim.api.identity.PersonService;
36  import org.kuali.rice.kim.api.services.KimApiServiceLocator;
37  import org.kuali.rice.kim.impl.identity.PersonImpl;
38  import org.kuali.rice.krad.service.BusinessObjectService;
39  
40  import java.util.*;
41  import java.sql.Date;
42  
43  
44  
45  
46  public class OleRequisitionItem extends RequisitionItem implements OlePurchasingItem {
47      private static final org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(OleRequisitionItem.class);
48      private BibInfoBean bibInfoBean;
49      private OleOrderRecord oleOrderRecord;
50      private String docFormat;
51      protected String itemTitleId;
52      protected String linkToOrderOption;
53      protected String localTitleId;
54      protected String bibUUID;
55      protected String requestSourceUrl;
56      protected Integer requestorTypeId;
57      protected String requestorId;
58      protected String internalRequestorId;
59      protected String requestorFirstName;
60      protected String requestorLastName;
61      protected String requestorName;
62      protected OleRequestor oleRequestor;
63      private DocData docData;
64      private PersonImpl personImpl;
65      private PersonImpl internalRequestor;
66      protected String vendorItemPoNumber;
67      private BusinessObjectService businessObjectService;
68      private String singleCopyNumber;
69      private String donorId;
70      private String donorCode;
71      private List<OLELinkPurapDonor> oleDonors=new ArrayList<>();
72      private BibId bibTree;
73  
74      private RequisitionDocument requisition;
75      protected String selector;
76      protected String statusCode;
77  
78      protected boolean itemAdded = false;
79      protected String itemTitle;
80      protected String itemAuthor;
81      protected String fromDateLastModified;
82      protected String toDateLastModified;
83      protected String dateModified;
84      protected KualiDecimal itemPrice;
85      protected String internalRequestorName;
86      protected String externalRequestorName;
87      protected KualiInteger itemNoOfParts;
88      protected KualiDecimal itemListPrice;
89      protected KualiDecimal itemDiscount;
90      protected String itemDiscountType;
91      
92  
93      
94      protected String itemCurrencyType;
95      protected KualiDecimal itemForeignListPrice;
96      protected KualiDecimal itemForeignDiscount;
97      protected String itemForeignDiscountType;
98      protected KualiDecimal itemForeignDiscountAmt;
99      protected KualiDecimal itemForeignUnitCost;
100     protected KualiDecimal itemExchangeRate;
101     protected KualiDecimal itemUnitCostUSD;
102     protected boolean itemRouteToRequestorIndicator;
103     protected boolean itemPublicViewIndicator;
104 
105 
106     
107     protected Integer categoryId;
108     protected Integer formatTypeId;
109     protected Integer requestSourceTypeId;
110     protected Integer receiptStatusId;
111     protected Integer itemPriceSourceId;
112     private OleItemPriceSource itemPriceSource;
113     private OleCategory category;
114     private OleFormatType formatTypeName;
115     private OleRequestSourceType oleRequestSourceType;
116     private OleReceiptStatus oleReceiptStatus;
117     private List<OleCopy> deletedCopiesList = new ArrayList<>();
118 
119     private List<OleInvoiceDocument> invoiceDocuments = new ArrayList<OleInvoiceDocument>();
120 
121 
122     
123     protected String initialDate;
124     protected String documentType;
125     protected String initiator;
126 
127     protected KualiDecimal itemForiegnExtendedPrice;
128     private String itemLocation;
129     
130 
131 
132     private Integer itemCopiesId;
133     private KualiInteger parts;
134     private KualiDecimal itemCopies;
135     private String partEnumeration;
136     private String locationCopies;
137     private KualiInteger startingCopyNumber;
138     private String caption;
139     private String volumeNumber;
140     private OleRequisitionCopies oleRequisitionCopy;
141     
142     private List<OleCopies> copies = new ArrayList<OleCopies>();
143     private List<OleCopy> copyList = new ArrayList<>();
144 
145     
146 
147 
148     private String paymentHistory;
149     private List<OleRequisitionPaymentHistory> requisitionPaymentHistory = new ArrayList<OleRequisitionPaymentHistory>();
150 
151     private String noOfCopiesReceived;
152     private String noOfPartsReceived;
153     private String itemTypeDescription;
154 
155     private OLERequestorPatronDocument olePatronDocument;
156     protected String olePatronId;
157     private String firstName;
158     private String enumeration;
159     private String location;
160     private String copyNumber;
161     private String receiptStatus;
162 
163     private String                               itemStatus;
164 
165     
166 
167 
168     private Integer noteTypeId;
169     private String note;
170 
171     
172 
173 
174     private List<OleNotes> notes;
175 
176     
177 
178 
179     private KualiInteger oleItemQuantity;
180 
181     private boolean doNotClaim;
182     private Date claimDate;
183     private String claimNote;
184     private KualiInteger claimCount;
185     private BibInfoRecord bibInfoRecord;
186 
187     private List<OLEPOClaimHistory> claimHistories = new ArrayList<>();
188 
189     public List<OLEPOClaimHistory> getClaimHistories() {
190         return claimHistories;
191     }
192 
193     public void setClaimHistories(List<OLEPOClaimHistory> claimHistories) {
194         this.claimHistories = claimHistories;
195     }
196 
197     public String getSingleCopyNumber() {
198         return singleCopyNumber;
199     }
200 
201     public void setSingleCopyNumber(String singleCopyNumber) {
202         this.singleCopyNumber = singleCopyNumber;
203     }
204 
205     public KualiInteger getClaimCount() {
206         return claimCount;
207     }
208 
209     public void setClaimCount(KualiInteger claimCount) {
210         this.claimCount = claimCount;
211     }
212 
213     public String getClaimNote() {
214         return claimNote;
215     }
216 
217     public void setClaimNote(String claimNote) {
218         this.claimNote = claimNote;
219     }
220 
221     public Date getClaimDate() {
222         return claimDate;
223     }
224 
225     public void setClaimDate(Date claimDate) {
226         this.claimDate = claimDate;
227     }
228 
229     public boolean isDoNotClaim() {
230         return doNotClaim;
231     }
232 
233     public void setDoNotClaim(boolean doNotClaim) {
234         this.doNotClaim = doNotClaim;
235     }
236 
237     public String getLocalTitleId() {
238         return localTitleId;
239     }
240 
241     public void setLocalTitleId(String localTitleId) {
242         this.localTitleId = localTitleId;
243     }
244 
245     
246 
247 
248     public OleRequisitionItem() {
249         this.setItemNoOfParts(new KualiInteger(1));
250         this.setItemPublicViewIndicator(true);
251         this.setItemUnitOfMeasureCode(PurapConstants.PODocumentsStrings.CUSTOMER_INVOICE_DETAIL_UOM_DEFAULT);
252         this.setOleItemQuantity(new KualiInteger(1));
253         if (this.getItemListPrice() == null) {
254             this.setItemListPrice(new KualiDecimal(0.00));
255         }
256         this.setNoOfCopiesReceived("");
257         this.setNoOfPartsReceived("");
258         
259 
260 
261 
262 
263 
264 
265 
266         
267 
268 
269 
270 
271         
272 
273 
274         LOG.debug("Inside OleRequisitionItem Constructor");
275         LOG.debug("Initializing OleRequisitionNotes List");
276         notes = new ArrayList<OleNotes>();
277 
278     }
279 
280     public String getItemStatus() {
281         return itemStatus;
282     }
283 
284     public void setItemStatus(String itemStatus) {
285         this.itemStatus = itemStatus;
286     }
287 
288     public BibInfoBean getBibInfoBean() {
289         return bibInfoBean;
290     }
291 
292     @Override
293     public void setBibInfoBean(BibInfoBean bibInfoBean) {
294         this.bibInfoBean = bibInfoBean;
295     }
296 
297     @Override
298     public Integer getRequestorTypeId() {
299         return requestorTypeId;
300     }
301 
302     public void setRequestorTypeId(Integer requestorTypeId) {
303         this.requestorTypeId = requestorTypeId;
304     }
305 
306     @Override
307     public String getItemTitleId() {
308         return itemTitleId;
309     }
310 
311     public String getDonorId() {
312         return donorId;
313     }
314 
315     public void setDonorId(String donorId) {
316         this.donorId = donorId;
317     }
318 
319     public String getDonorCode() {
320         return donorCode;
321     }
322 
323     public void setDonorCode(String donorCode) {
324         this.donorCode = donorCode;
325     }
326 
327     public List<OLELinkPurapDonor> getOleDonors() {
328         return oleDonors;
329     }
330 
331     public void setOleDonors(List<OLELinkPurapDonor> oleDonors) {
332         this.oleDonors = oleDonors;
333     }
334 
335     public void setItemTitleId(String itemTitleId) {
336         this.itemTitleId = itemTitleId;
337     }
338 
339     public String getLinkToOrderOption() {
340         return linkToOrderOption;
341     }
342 
343     public void setLinkToOrderOption(String linkToOrderOption) {
344         this.linkToOrderOption = linkToOrderOption;
345     }
346 
347     public String getBibUUID() {
348         return bibUUID;
349     }
350 
351     public void setBibUUID(String bibUUID) {
352         this.bibUUID = bibUUID;
353     }
354 
355     public String getRequestSourceUrl() {
356         return requestSourceUrl;
357     }
358 
359     public void setRequestSourceUrl(String requestSourceUrl) {
360         this.requestSourceUrl = requestSourceUrl;
361     }
362 
363     @Override
364     public String getRequestorId() {
365         return requestorId;
366     }
367 
368     public void setRequestorId(String requestorId) {
369         this.requestorId = requestorId;
370     }
371 
372     @Override
373     public String getRequestorFirstName() {
374         return requestorFirstName;
375     }
376 
377     @Override
378     public void setRequestorFirstName(String requestorFirstName) {
379         this.requestorFirstName = requestorFirstName;
380     }
381 
382     public String getRequestorLastName() {
383         return requestorLastName;
384     }
385 
386     public void setRequestorLastName(String requestorLastName) {
387         this.requestorLastName = requestorLastName;
388     }
389 
390     public String getRequestorName() {
391         return requestorName;
392     }
393 
394     public void setRequestorName(String requestorName) {
395         this.requestorName = requestorName;
396     }
397 
398     public OleRequestor getOleRequestor() {
399         return oleRequestor;
400     }
401 
402     public void setOleRequestor(OleRequestor oleRequestor) {
403         this.oleRequestor = oleRequestor;
404     }
405 
406     public DocData getDocData() {
407         return docData;
408     }
409 
410     public void setDocData(DocData docData) {
411         this.docData = docData;
412     }
413 
414     public PersonImpl getPersonImpl() {
415         return personImpl;
416     }
417 
418     public void setPersonImpl(PersonImpl personImpl) {
419         this.personImpl = personImpl;
420     }
421 
422     @SuppressWarnings("unchecked")
423     private List<String> getRolesForPrincipal(String principalId) {
424         if (principalId == null) {
425             return new ArrayList<String>();
426         }
427         Map<String, String> criteria = new HashMap<String, String>(2);
428         criteria.put("members.memberId", principalId);
429         criteria.put("members.memberTypeCode", MemberType.PRINCIPAL.getCode());
430         return KimApiServiceLocator.getRoleService().getMemberParentRoleIds(MemberType.PRINCIPAL.getCode(), principalId);
431     }
432 
433     public String getPersonName(String principalId) {
434         Person person = SpringContext.getBean(PersonService.class).getPerson(principalId);
435         return person.getName();
436     }
437 
438     @Override
439     public RequisitionDocument getRequisition() {
440         return requisition;
441     }
442 
443     @Override
444     public void setRequisition(RequisitionDocument requisition) {
445         setPurapDocument(requisition);
446         this.requisition = requisition;
447     }
448 
449     public String getSelector() {
450         return selector;
451     }
452 
453     public void setSelector(String selector) {
454         this.selector = selector;
455     }
456 
457     public String getStatusCode() {
458         return getRequisition().getStatusCode();
459     }
460 
461     public void setStatusCode(String statusCode) {
462         this.statusCode = statusCode;
463     }
464 
465     public String getFromDateLastModified() {
466         return fromDateLastModified;
467     }
468 
469     public void setFromDateLastModified(String fromDateLastModified) {
470         this.fromDateLastModified = fromDateLastModified;
471     }
472 
473     public String getToDateLastModified() {
474         return toDateLastModified;
475     }
476 
477     public void setToDateLastModified(String toDateLastModified) {
478         this.toDateLastModified = toDateLastModified;
479     }
480 
481     public String getDateModified() {
482         return dateModified;
483     }
484 
485     public void setDateModified(String dateModified) {
486         this.dateModified = dateModified;
487     }
488 
489     public boolean isItemAdded() {
490         return itemAdded;
491     }
492 
493     public void setItemAdded(boolean isItemAdded) {
494         this.itemAdded = isItemAdded;
495     }
496 
497     public String getItemTitle() {
498         return itemTitle;
499     }
500 
501     public void setItemTitle(String itemTitle) {
502         this.itemTitle = itemTitle;
503     }
504 
505     public String getItemAuthor() {
506         return itemAuthor;
507     }
508 
509     public void setItemAuthor(String itemAuthor) {
510         this.itemAuthor = itemAuthor;
511     }
512 
513     @Override
514     public String getInternalRequestorId() {
515         return internalRequestorId;
516     }
517 
518     public void setInternalRequestorId(String internalRequestorId) {
519         this.internalRequestorId = internalRequestorId;
520     }
521 
522     public KualiDecimal getItemPrice() {
523         return this.getTotalAmount();
524     }
525 
526     public void setItemPrice(KualiDecimal itemPrice) {
527         this.itemPrice = itemPrice;
528     }
529 
530     public PersonImpl getInternalRequestor() {
531         return internalRequestor;
532     }
533 
534     public void setInternalRequestor(PersonImpl internalRequestor) {
535         this.internalRequestor = internalRequestor;
536     }
537 
538     public String getInternalRequestorName() {
539         return internalRequestorName;
540     }
541 
542     public void setInternalRequestorName(String internalRequestorName) {
543         this.internalRequestorName = internalRequestorName;
544     }
545 
546     public String getExternalRequestorName() {
547         return externalRequestorName;
548     }
549 
550     public void setExternalRequestorName(String externalRequestorName) {
551         this.externalRequestorName = externalRequestorName;
552     }
553 
554     public KualiInteger getItemNoOfParts() {
555         if (this.itemNoOfParts != null) {
556             return itemNoOfParts;
557         } else {
558             return itemNoOfParts;
559         }
560     }
561 
562     public void setItemNoOfParts(KualiInteger itemNoOfParts) {
563         this.itemNoOfParts = itemNoOfParts;
564     }
565 
566 
567 
568 
569 
570 
571 
572 
573 
574     public Integer getRequestSourceTypeId() {
575         return requestSourceTypeId;
576     }
577 
578     public void setRequestSourceTypeId(Integer requestSourceTypeId) {
579         this.requestSourceTypeId = requestSourceTypeId;
580     }
581 
582     public OleRequestSourceType getOleRequestSourceType() {
583         return oleRequestSourceType;
584     }
585 
586     public void setOleRequestSourceType(OleRequestSourceType oleRequestSourceType) {
587         this.oleRequestSourceType = oleRequestSourceType;
588     }
589 
590     
591 
592 
593 
594 
595     public Integer getReceiptStatusId() {
596         return receiptStatusId;
597     }
598 
599     
600 
601 
602 
603 
604     public void setReceiptStatusId(Integer receiptStatusId) {
605         this.receiptStatusId = receiptStatusId;
606     }
607 
608     
609 
610 
611 
612 
613     public OleReceiptStatus getOleReceiptStatus() {
614         return oleReceiptStatus;
615     }
616 
617     
618 
619 
620 
621 
622     public void setOleReceiptStatus(OleReceiptStatus oleReceiptStatus) {
623         this.oleReceiptStatus = oleReceiptStatus;
624     }
625 
626     public KualiDecimal getItemListPrice() {
627         return itemListPrice;
628     }
629 
630     public void setItemListPrice(KualiDecimal itemListPrice) {
631         this.itemListPrice = itemListPrice;
632     }
633 
634     public KualiDecimal getItemDiscount() {
635         return itemDiscount;
636     }
637 
638     public void setItemDiscount(KualiDecimal itemDiscount) {
639         this.itemDiscount = itemDiscount;
640     }
641 
642     public String getItemDiscountType() {
643         return itemDiscountType;
644     }
645 
646     public void setItemDiscountType(String itemDiscountType) {
647         this.itemDiscountType = itemDiscountType;
648     }
649 
650    
651 
652 
653 
654 
655 
656 
657 
658     
659 
660 
661 
662 
663     public Integer getNoteTypeId() {
664         return noteTypeId;
665     }
666 
667     
668 
669 
670 
671 
672     public void setNoteTypeId(Integer noteTypeId) {
673         this.noteTypeId = noteTypeId;
674     }
675 
676     
677 
678 
679 
680 
681     public String getNote() {
682         return note;
683     }
684 
685     
686 
687 
688 
689 
690     public void setNote(String note) {
691         this.note = note;
692     }
693 
694     
695 
696 
697 
698 
699     public List<OleNotes> getNotes() {
700         return notes;
701     }
702 
703     
704 
705 
706     public void setNotes(List<OleNotes> notes) {
707         this.notes = notes;
708     }
709 
710     public String getItemCurrencyType() {
711         return itemCurrencyType;
712     }
713 
714     public void setItemCurrencyType(String itemCurrencyType) {
715         this.itemCurrencyType = itemCurrencyType;
716     }
717 
718     public KualiDecimal getItemForeignListPrice() {
719         return itemForeignListPrice;
720     }
721 
722     public void setItemForeignListPrice(KualiDecimal itemForeignListPrice) {
723         this.itemForeignListPrice = itemForeignListPrice;
724     }
725 
726     public KualiDecimal getItemForeignDiscount() {
727         return itemForeignDiscount;
728     }
729 
730     public void setItemForeignDiscount(KualiDecimal itemForeignDiscount) {
731         this.itemForeignDiscount = itemForeignDiscount;
732     }
733 
734     public String getItemForeignDiscountType() {
735         return itemForeignDiscountType;
736     }
737 
738     public void setItemForeignDiscountType(String itemForeignDiscountType) {
739         this.itemForeignDiscountType = itemForeignDiscountType;
740     }
741 
742     public KualiDecimal getItemForeignDiscountAmt() {
743         return itemForeignDiscountAmt;
744     }
745 
746     public void setItemForeignDiscountAmt(KualiDecimal itemForeignDiscountAmt) {
747         this.itemForeignDiscountAmt = itemForeignDiscountAmt;
748     }
749 
750     public KualiDecimal getItemForeignUnitCost() {
751         return itemForeignUnitCost;
752     }
753 
754     public void setItemForeignUnitCost(KualiDecimal itemForeignUnitCost) {
755         this.itemForeignUnitCost = itemForeignUnitCost;
756     }
757 
758     public KualiDecimal getItemExchangeRate() {
759         return itemExchangeRate;
760     }
761 
762     public void setItemExchangeRate(KualiDecimal itemExchangeRate) {
763         this.itemExchangeRate = itemExchangeRate;
764     }
765 
766     public KualiDecimal getItemUnitCostUSD() {
767         return itemUnitCostUSD;
768     }
769 
770     public void setItemUnitCostUSD(KualiDecimal itemUnitCostUSD) {
771         this.itemUnitCostUSD = itemUnitCostUSD;
772     }
773 
774     public Integer getCategoryId() {
775         return categoryId;
776     }
777 
778     public void setCategoryId(Integer categoryId) {
779         this.categoryId = categoryId;
780     }
781 
782     public Integer getFormatTypeId() {
783         return formatTypeId;
784     }
785 
786     public void setFormatTypeId(Integer formatTypeId) {
787         this.formatTypeId = formatTypeId;
788     }
789 
790     public Integer getItemPriceSourceId() {
791         return itemPriceSourceId;
792     }
793 
794     public void setItemPriceSourceId(Integer itemPriceSourceId) {
795         this.itemPriceSourceId = itemPriceSourceId;
796     }
797 
798     public OleItemPriceSource getItemPriceSource() {
799         return itemPriceSource;
800     }
801 
802     public void setItemPriceSource(OleItemPriceSource itemPriceSource) {
803         this.itemPriceSource = itemPriceSource;
804     }
805 
806     public OleCategory getCategory() {
807         return category;
808     }
809 
810     public void setCategory(OleCategory category) {
811         this.category = category;
812     }
813 
814     public OleFormatType getFormatTypeName() {
815         return formatTypeName;
816     }
817 
818     public void setFormatTypeName(OleFormatType formatTypeName) {
819         this.formatTypeName = formatTypeName;
820     }
821 
822     public boolean isItemRouteToRequestorIndicator() {
823         return itemRouteToRequestorIndicator;
824     }
825 
826     public void setItemRouteToRequestorIndicator(boolean itemRouteToRequestorIndicator) {
827         this.itemRouteToRequestorIndicator = itemRouteToRequestorIndicator;
828     }
829 
830     public boolean isItemPublicViewIndicator() {
831         return itemPublicViewIndicator;
832     }
833 
834     public void setItemPublicViewIndicator(boolean itemPublicViewIndicator) {
835         this.itemPublicViewIndicator = itemPublicViewIndicator;
836     }
837 
838     public String getInitialDate() {
839         return initialDate;
840     }
841 
842     public void setInitialDate(String initialDate) {
843         this.initialDate = initialDate;
844     }
845 
846     public String getDocumentType() {
847         return documentType;
848     }
849 
850     public void setDocumentType(String documentType) {
851         this.documentType = documentType;
852     }
853 
854     public String getInitiator() {
855         return initiator;
856     }
857 
858     public void setInitiator(String initiator) {
859         this.initiator = initiator;
860     }
861 
862     
863 
864 
865     @Override
866     public Class getAccountingLineClass() {
867         return OleRequisitionAccount.class;
868     }
869 
870     public String getVendorItemPoNumber() {
871         return vendorItemPoNumber;
872     }
873 
874     public void setVendorItemPoNumber(String vendorItemPoNumber) {
875         this.vendorItemPoNumber = vendorItemPoNumber;
876     }
877 
878     public OleOrderRecord getOleOrderRecord() {
879         return oleOrderRecord;
880     }
881 
882     public void setOleOrderRecord(OleOrderRecord oleOrderRecord) {
883         this.oleOrderRecord = oleOrderRecord;
884     }
885 
886     
887 
888 
889 
890 
891     public KualiDecimal getItemForiegnExtendedPrice() {
892         return itemForiegnExtendedPrice;
893     }
894 
895     
896 
897 
898 
899 
900     public void setItemForiegnExtendedPrice(KualiDecimal itemForiegnExtendedPrice) {
901         this.itemForiegnExtendedPrice = itemForiegnExtendedPrice;
902     }
903 
904     
905 
906 
907 
908 
909     public String getItemLocation() {
910         return itemLocation;
911     }
912 
913     
914 
915 
916 
917 
918     public void setItemLocation(String itemLocation) {
919         this.itemLocation = itemLocation;
920     }
921 
922     
923 
924 
925 
926 
927     public Integer getItemCopiesId() {
928         return itemCopiesId;
929     }
930 
931     
932 
933 
934 
935 
936     public void setItemCopiesId(Integer itemCopiesId) {
937         this.itemCopiesId = itemCopiesId;
938     }
939 
940     
941 
942 
943 
944 
945     public KualiInteger getParts() {
946         return parts;
947     }
948 
949     
950 
951 
952 
953 
954     public void setParts(KualiInteger parts) {
955         this.parts = parts;
956     }
957 
958     
959 
960 
961 
962 
963     public KualiDecimal getItemCopies() {
964         return itemCopies;
965     }
966 
967     
968 
969 
970 
971 
972     public void setItemCopies(KualiDecimal itemCopies) {
973         this.itemCopies = itemCopies;
974     }
975 
976     
977 
978 
979 
980 
981     public String getPartEnumeration() {
982         return partEnumeration;
983     }
984 
985     
986 
987 
988 
989 
990     public void setPartEnumeration(String partEnumeration) {
991         this.partEnumeration = partEnumeration;
992     }
993 
994     
995 
996 
997 
998 
999     public String getLocationCopies() {
1000         return locationCopies;
1001     }
1002 
1003     
1004 
1005 
1006 
1007 
1008     public void setLocationCopies(String locationCopies) {
1009         this.locationCopies = locationCopies;
1010     }
1011 
1012     
1013 
1014 
1015 
1016 
1017     public KualiInteger getStartingCopyNumber() {
1018         return startingCopyNumber;
1019     }
1020 
1021     
1022 
1023 
1024 
1025 
1026     public void setStartingCopyNumber(KualiInteger startingCopyNumber) {
1027         this.startingCopyNumber = startingCopyNumber;
1028     }
1029 
1030     
1031 
1032 
1033 
1034 
1035     public List<OleCopies> getCopies() {
1036         return copies;
1037     }
1038 
1039     
1040 
1041 
1042 
1043 
1044     public void setCopies(List<OleCopies> copies) {
1045         this.copies = copies;
1046     }
1047 
1048     
1049 
1050 
1051 
1052 
1053     public String getPaymentHistory() {
1054         return paymentHistory;
1055     }
1056 
1057     
1058 
1059 
1060 
1061 
1062     public void setPaymentHistory(String paymentHistory) {
1063         this.paymentHistory = paymentHistory;
1064     }
1065 
1066     
1067 
1068 
1069 
1070 
1071     public List<OleRequisitionPaymentHistory> getRequisitionPaymentHistory() {
1072         return requisitionPaymentHistory;
1073     }
1074 
1075     
1076 
1077 
1078 
1079 
1080     public void setRequisitionPaymentHistory(List<OleRequisitionPaymentHistory> requisitionPaymentHistory) {
1081         this.requisitionPaymentHistory = requisitionPaymentHistory;
1082     }
1083 
1084 
1085     public String getDocFormat() {
1086         return docFormat;
1087     }
1088 
1089     public void setDocFormat(String docFormat) {
1090         this.docFormat = docFormat;
1091     }
1092 
1093     
1094 
1095 
1096 
1097 
1098     public String getNoOfCopiesReceived() {
1099         return noOfCopiesReceived;
1100     }
1101 
1102     
1103 
1104 
1105 
1106 
1107     public void setNoOfCopiesReceived(String noOfCopiesReceived) {
1108         this.noOfCopiesReceived = noOfCopiesReceived;
1109     }
1110 
1111     
1112 
1113 
1114 
1115 
1116     public String getNoOfPartsReceived() {
1117         return noOfPartsReceived;
1118     }
1119 
1120     
1121 
1122 
1123 
1124 
1125     public void setNoOfPartsReceived(String noOfPartsReceived) {
1126         this.noOfPartsReceived = noOfPartsReceived;
1127     }
1128 
1129     
1130 
1131 
1132 
1133 
1134     public String getItemTypeDescription() {
1135         return itemTypeDescription;
1136     }
1137 
1138     
1139 
1140 
1141 
1142 
1143     public void setItemTypeDescription(String itemTypeDescription) {
1144         this.itemTypeDescription = itemTypeDescription;
1145     }
1146 
1147     
1148 
1149 
1150 
1151 
1152     public OleRequisitionCopies getOleRequisitionCopy() {
1153         return oleRequisitionCopy;
1154     }
1155 
1156     
1157 
1158 
1159 
1160 
1161     public void setOleRequisitionCopy(OleRequisitionCopies oleRequisitionCopy) {
1162         this.oleRequisitionCopy = oleRequisitionCopy;
1163     }
1164 
1165     
1166 
1167 
1168 
1169 
1170     public KualiInteger getOleItemQuantity() {
1171         return new KualiInteger(super.getItemQuantity().intValue());
1172     }
1173 
1174     
1175 
1176 
1177 
1178 
1179     public void setOleItemQuantity(KualiInteger oleItemQuantity) {
1180         super.setItemQuantity(new KualiDecimal(oleItemQuantity.intValue()));
1181     }
1182 
1183     
1184 
1185 
1186 
1187 
1188     
1189 
1190 
1191 
1192 
1193     public OLERequestorPatronDocument getOlePatronDocument() {
1194         return olePatronDocument;
1195     }
1196 
1197     
1198 
1199 
1200 
1201 
1202     public void setOlePatronDocument(OLERequestorPatronDocument olePatronDocument) {
1203         this.olePatronDocument = olePatronDocument;
1204     }
1205 
1206     
1207 
1208 
1209 
1210 
1211     public String getOlePatronId() {
1212         return olePatronId;
1213     }
1214 
1215     
1216 
1217 
1218 
1219 
1220     public void setOlePatronId(String olePatronId) {
1221         this.olePatronId = olePatronId;
1222     }
1223 
1224     
1225 
1226 
1227 
1228 
1229     public void setFirstName(String firstName) {
1230         this.firstName = firstName;
1231     }
1232 
1233     
1234 
1235 
1236 
1237 
1238     public String getFirstName() {
1239         return firstName;
1240     }
1241 
1242     public String getCaption() {
1243         return caption;
1244     }
1245 
1246     public void setCaption(String caption) {
1247         this.caption = caption;
1248     }
1249 
1250     public String getVolumeNumber() {
1251         return volumeNumber;
1252     }
1253 
1254     public void setVolumeNumber(String volumeNumber) {
1255         this.volumeNumber = volumeNumber;
1256     }
1257 
1258     public String getEnumeration() {
1259         return enumeration;
1260     }
1261 
1262     public void setEnumeration(String enumeration) {
1263         this.enumeration = enumeration;
1264     }
1265 
1266     public String getLocation() {
1267         return location;
1268     }
1269 
1270     public void setLocation(String location) {
1271         this.location = location;
1272     }
1273 
1274     public String getCopyNumber() {
1275         return copyNumber;
1276     }
1277 
1278     public void setCopyNumber(String copyNumber) {
1279         this.copyNumber = copyNumber;
1280     }
1281 
1282     public String getReceiptStatus() {
1283         return receiptStatus;
1284     }
1285 
1286     public void setReceiptStatus(String receiptStatus) {
1287         this.receiptStatus = receiptStatus;
1288     }
1289 
1290     public List<OleCopy> getCopyList() {
1291         return copyList;
1292     }
1293 
1294     public void setCopyList(List<OleCopy> copyList) {
1295         this.copyList = copyList;
1296     }
1297 
1298     public List<OleCopy> getDeletedCopiesList() {
1299         return deletedCopiesList;
1300     }
1301 
1302     public void setDeletedCopiesList(List<OleCopy> deletedCopiesList) {
1303         this.deletedCopiesList = deletedCopiesList;
1304     }
1305 
1306     public List<OleInvoiceDocument> getInvoiceDocuments() {
1307         return invoiceDocuments;
1308     }
1309 
1310     public void setInvoiceDocuments(List<OleInvoiceDocument> invoiceDocuments) {
1311         this.invoiceDocuments = invoiceDocuments;
1312     }
1313 
1314     public BibId getBibTree() {
1315         return bibTree;
1316     }
1317 
1318     public void setBibTree(BibId bibTree) {
1319         this.bibTree = bibTree;
1320     }
1321 
1322     public BibInfoRecord getBibInfoRecord() {
1323         return bibInfoRecord;
1324     }
1325 
1326     public void setBibInfoRecord(BibInfoRecord bibInfoRecord) {
1327         this.bibInfoRecord = bibInfoRecord;
1328     }
1329 }