View Javadoc
1   package org.kuali.ole.select.bo;
2   
3   import org.kuali.ole.select.businessobject.*;
4   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5   
6   import java.util.LinkedHashMap;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: chenchulakshmig
11   * Date: 1/10/14
12   * Time: 9:51 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public class OLELinkPurapDonor extends PersistableBusinessObjectBase {
16      private Integer linkPurapDonorId;
17      private Integer reqItemId;
18      private String poDocNum;
19      private Integer poItemId;
20      private Integer receivingItemId;
21      private Integer correctionItemId;
22      private String donorId;
23      private String donorCode;
24      private OleRequisitionItem oleRequisitionItem;
25      private OlePurchaseOrderItem olePurchaseOrderItem;
26      private OleLineItemReceivingItem oleLineItemReceivingItem;
27      private OleCorrectionReceivingItem oleCorrectionReceivingItem;
28      private OleInvoiceItem oleInvoiceItem;
29      private OlePaymentRequestItem olePaymentRequestItem;
30  
31      public Integer getLinkPurapDonorId() {
32          return linkPurapDonorId;
33      }
34  
35      public void setLinkPurapDonorId(Integer linkPurapDonorId) {
36          this.linkPurapDonorId = linkPurapDonorId;
37      }
38  
39      public Integer getReqItemId() {
40          return reqItemId;
41      }
42  
43      public void setReqItemId(Integer reqItemId) {
44          this.reqItemId = reqItemId;
45      }
46  
47      public String getPoDocNum() {
48          return poDocNum;
49      }
50  
51      public void setPoDocNum(String poDocNum) {
52          this.poDocNum = poDocNum;
53      }
54  
55      public Integer getPoItemId() {
56          return poItemId;
57      }
58  
59      public void setPoItemId(Integer poItemId) {
60          this.poItemId = poItemId;
61      }
62  
63      public Integer getReceivingItemId() {
64          return receivingItemId;
65      }
66  
67      public void setReceivingItemId(Integer receivingItemId) {
68          this.receivingItemId = receivingItemId;
69      }
70  
71      public Integer getCorrectionItemId() {
72          return correctionItemId;
73      }
74  
75      public void setCorrectionItemId(Integer correctionItemId) {
76          this.correctionItemId = correctionItemId;
77      }
78  
79      public String getDonorId() {
80          return donorId;
81      }
82  
83      public void setDonorId(String donorId) {
84          this.donorId = donorId;
85      }
86  
87      public String getDonorCode() {
88          return donorCode;
89      }
90  
91      public void setDonorCode(String donorCode) {
92          this.donorCode = donorCode;
93      }
94  
95      public OleRequisitionItem getOleRequisitionItem() {
96          return oleRequisitionItem;
97      }
98  
99      public void setOleRequisitionItem(OleRequisitionItem oleRequisitionItem) {
100         this.oleRequisitionItem = oleRequisitionItem;
101     }
102 
103     public OlePurchaseOrderItem getOlePurchaseOrderItem() {
104         return olePurchaseOrderItem;
105     }
106 
107     public void setOlePurchaseOrderItem(OlePurchaseOrderItem olePurchaseOrderItem) {
108         this.olePurchaseOrderItem = olePurchaseOrderItem;
109     }
110 
111     public OleLineItemReceivingItem getOleLineItemReceivingItem() {
112         return oleLineItemReceivingItem;
113     }
114 
115     public void setOleLineItemReceivingItem(OleLineItemReceivingItem oleLineItemReceivingItem) {
116         this.oleLineItemReceivingItem = oleLineItemReceivingItem;
117     }
118 
119     public OleCorrectionReceivingItem getOleCorrectionReceivingItem() {
120         return oleCorrectionReceivingItem;
121     }
122 
123     public void setOleCorrectionReceivingItem(OleCorrectionReceivingItem oleCorrectionReceivingItem) {
124         this.oleCorrectionReceivingItem = oleCorrectionReceivingItem;
125     }
126 
127     public OleInvoiceItem getOleInvoiceItem() {
128         return oleInvoiceItem;
129     }
130 
131     public void setOleInvoiceItem(OleInvoiceItem oleInvoiceItem) {
132         this.oleInvoiceItem = oleInvoiceItem;
133     }
134 
135     public OlePaymentRequestItem getOlePaymentRequestItem() {
136         return olePaymentRequestItem;
137     }
138 
139     public void setOlePaymentRequestItem(OlePaymentRequestItem olePaymentRequestItem) {
140         this.olePaymentRequestItem = olePaymentRequestItem;
141     }
142 
143     protected LinkedHashMap toStringMapper() {
144         LinkedHashMap toStringMap = new LinkedHashMap();
145         toStringMap.put("linkPurapDonorId", linkPurapDonorId);
146         toStringMap.put("reqItemId", reqItemId);
147         toStringMap.put("poItemId", poItemId);
148         toStringMap.put("receivingItemId", receivingItemId);
149         toStringMap.put("correctionItemId", correctionItemId);
150         toStringMap.put("donorCode", donorCode);
151         return toStringMap;
152     }
153 }