1 package org.kuali.ole.select.bo;
2
3 import org.kuali.rice.core.api.util.type.KualiDecimal;
4 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5
6 import java.util.LinkedHashMap;
7
8
9
10
11
12
13
14
15 public class OLEDonor extends PersistableBusinessObjectBase {
16 private String donorId;
17 private String donorCode;
18 private String donorName;
19 private String donorNote;
20 private String donorPublicDisplay;
21 private KualiDecimal donorAmount;
22 private KualiDecimal encumberedAmount;
23 private KualiDecimal expensedAmount;
24 private String bookPlateUrl;
25 private String donorPublicUrl;
26 private boolean active;
27
28 public String getDonorId() {
29 return donorId;
30 }
31
32 public void setDonorId(String donorId) {
33 this.donorId = donorId;
34 }
35
36 public String getDonorCode() {
37 return donorCode;
38 }
39
40 public void setDonorCode(String donorCode) {
41 this.donorCode = donorCode;
42 }
43
44 public String getDonorNote() {
45 return donorNote;
46 }
47
48 public String getDonorName() {
49 return donorName;
50 }
51
52 public void setDonorName(String donorName) {
53 this.donorName = donorName;
54 }
55
56 public String getDonorPublicDisplay() {
57 return donorPublicDisplay;
58 }
59
60 public void setDonorPublicDisplay(String donorPublicDisplay) {
61 this.donorPublicDisplay = donorPublicDisplay;
62 }
63
64 public void setDonorNote(String donorNote) {
65 this.donorNote = donorNote;
66 }
67
68 public KualiDecimal getDonorAmount() {
69 return donorAmount;
70 }
71
72 public void setDonorAmount(KualiDecimal donorAmount) {
73 this.donorAmount = donorAmount;
74 }
75
76 public KualiDecimal getEncumberedAmount() {
77 return encumberedAmount;
78 }
79
80 public void setEncumberedAmount(KualiDecimal encumberedAmount) {
81 this.encumberedAmount = encumberedAmount;
82 }
83
84 public KualiDecimal getExpensedAmount() {
85 return expensedAmount;
86 }
87
88 public void setExpensedAmount(KualiDecimal expensedAmount) {
89 this.expensedAmount = expensedAmount;
90 }
91
92 public String getBookPlateUrl() {
93 return bookPlateUrl;
94 }
95
96 public void setBookPlateUrl(String bookPlateUrl) {
97 this.bookPlateUrl = bookPlateUrl;
98 }
99
100 public String getDonorPublicUrl() {
101 return donorPublicUrl;
102 }
103
104 public void setDonorPublicUrl(String donorPublicUrl) {
105 this.donorPublicUrl = donorPublicUrl;
106 }
107
108 public boolean isActive() {
109 return active;
110 }
111
112 public void setActive(boolean active) {
113 this.active = active;
114 }
115
116 protected LinkedHashMap toStringMapper() {
117 LinkedHashMap toStringMap = new LinkedHashMap();
118 toStringMap.put("donorCode", donorCode);
119 toStringMap.put("donorName", donorName);
120 toStringMap.put("donorNote", donorNote);
121 toStringMap.put("donorPublicDisplay", donorPublicDisplay);
122 toStringMap.put("donorAmount", donorAmount);
123 toStringMap.put("encumberedAmount", encumberedAmount);
124 toStringMap.put("expensedAmount", expensedAmount);
125 toStringMap.put("active", active);
126 return toStringMap;
127 }
128 }