1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.kuali.ole.pdp.businessobject;
21
22 import java.util.LinkedHashMap;
23
24 import org.kuali.ole.pdp.PdpPropertyConstants;
25 import org.kuali.ole.sys.OLEPropertyConstants;
26 import org.kuali.ole.sys.businessobject.Bank;
27 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
28 import org.kuali.rice.core.api.util.type.KualiInteger;
29 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
30
31 public class CustomerBank extends PersistableBusinessObjectBase implements MutableInactivatable {
32 private KualiInteger customerId;
33 private String bankCode;
34 private String disbursementTypeCode;
35
36 private CustomerProfile customerProfile;
37 private Bank bank;
38 private DisbursementType disbursementType;
39
40 private boolean active;
41
42 public CustomerBank() {
43 super();
44 }
45
46
47
48
49
50
51 public KualiInteger getCustomerId() {
52 return customerId;
53 }
54
55
56
57
58
59
60 public void setCustomerId(KualiInteger customerId) {
61 this.customerId = customerId;
62 }
63
64
65
66
67
68
69 public CustomerProfile getCustomerProfile() {
70 return customerProfile;
71 }
72
73
74
75
76
77
78 public void setCustomerProfile(CustomerProfile customerProfile) {
79 this.customerProfile = customerProfile;
80 }
81
82
83
84
85
86
87 public String getBankCode() {
88 return bankCode;
89 }
90
91
92
93
94
95
96 public void setBankCode(String bankCode) {
97 this.bankCode = bankCode;
98 }
99
100
101
102
103
104
105 public Bank getBank() {
106 return bank;
107 }
108
109
110
111
112
113
114 public void setBank(Bank bank) {
115 this.bank = bank;
116 }
117
118
119
120
121
122
123 public String getDisbursementTypeCode() {
124 return disbursementTypeCode;
125 }
126
127
128
129
130
131
132 public void setDisbursementTypeCode(String disbursementTypeCode) {
133 this.disbursementTypeCode = disbursementTypeCode;
134 }
135
136
137
138
139
140
141 public DisbursementType getDisbursementType() {
142 return disbursementType;
143 }
144
145
146
147
148
149
150 public void setDisbursementType(DisbursementType disbursementType) {
151 this.disbursementType = disbursementType;
152 }
153
154
155
156
157
158 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
159 LinkedHashMap m = new LinkedHashMap();
160 m.put(PdpPropertyConstants.CUSTOMER_ID, this.customerId);
161 m.put(PdpPropertyConstants.DISBURSEMENT_TYPE_CODE, this.disbursementTypeCode);
162 m.put(OLEPropertyConstants.BANK_CODE, this.bankCode);
163
164 return m;
165 }
166
167
168
169
170
171 public boolean isActive() {
172 return active;
173 }
174
175
176
177
178
179 public void setActive(boolean active) {
180 this.active = active;
181 }
182
183
184 }