1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.fp.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.ole.coa.businessobject.Account;
22 import org.kuali.ole.coa.businessobject.Chart;
23 import org.kuali.ole.coa.businessobject.ObjectCodeCurrent;
24 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
25 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
26
27
28
29
30 public class OffsetAccount extends PersistableBusinessObjectBase implements MutableInactivatable {
31
32 private String chartOfAccountsCode;
33 private String accountNumber;
34 private String financialOffsetObjectCode;
35 private String financialOffsetChartOfAccountCode;
36 private String financialOffsetAccountNumber;
37 private boolean active;
38
39 private Chart chart;
40 private Account account;
41 private Chart financialOffsetChartOfAccount;
42 private Account financialOffsetAccount;
43 private ObjectCodeCurrent objectCodeCurrent;
44
45
46
47
48 public OffsetAccount() {
49
50 }
51
52
53
54
55
56
57 public String getChartOfAccountsCode() {
58 return chartOfAccountsCode;
59 }
60
61
62
63
64
65
66 public void setChartOfAccountsCode(String chartOfAccountsCode) {
67 this.chartOfAccountsCode = chartOfAccountsCode;
68 }
69
70
71
72
73
74
75
76 public String getAccountNumber() {
77 return accountNumber;
78 }
79
80
81
82
83
84
85 public void setAccountNumber(String accountNumber) {
86 this.accountNumber = accountNumber;
87 }
88
89
90
91
92
93
94
95 public String getFinancialOffsetObjectCode() {
96 return financialOffsetObjectCode;
97 }
98
99
100
101
102
103
104 public void setFinancialOffsetObjectCode(String financialOffsetObjectCode) {
105 this.financialOffsetObjectCode = financialOffsetObjectCode;
106 }
107
108
109
110
111
112
113
114 public String getFinancialOffsetChartOfAccountCode() {
115 return financialOffsetChartOfAccountCode;
116 }
117
118
119
120
121
122
123 public void setFinancialOffsetChartOfAccountCode(String financialOffsetChartOfAccountCode) {
124 this.financialOffsetChartOfAccountCode = financialOffsetChartOfAccountCode;
125 }
126
127
128
129
130
131
132
133 public String getFinancialOffsetAccountNumber() {
134 return financialOffsetAccountNumber;
135 }
136
137
138
139
140
141
142 public void setFinancialOffsetAccountNumber(String financialOffsetAccountNumber) {
143 this.financialOffsetAccountNumber = financialOffsetAccountNumber;
144 }
145
146
147
148
149
150
151
152 public Chart getChart() {
153 return chart;
154 }
155
156
157
158
159
160
161
162 public void setChart(Chart chart) {
163 this.chart = chart;
164 }
165
166
167
168
169
170
171 public Account getAccount() {
172 return account;
173 }
174
175
176
177
178
179
180
181 public void setAccount(Account account) {
182 this.account = account;
183 }
184
185
186
187
188
189
190 public Chart getFinancialOffsetChartOfAccount() {
191 return financialOffsetChartOfAccount;
192 }
193
194
195
196
197
198
199
200 public void setFinancialOffsetChartOfAccount(Chart financialOffsetChartOfAccount) {
201 this.financialOffsetChartOfAccount = financialOffsetChartOfAccount;
202 }
203
204
205
206
207 public Account getFinancialOffsetAccount() {
208 return financialOffsetAccount;
209 }
210
211
212
213
214
215 public void setFinancialOffsetAccount(Account financialOffsetAccount) {
216 this.financialOffsetAccount = financialOffsetAccount;
217 }
218
219
220
221
222 public ObjectCodeCurrent getObjectCodeCurrent() {
223 return objectCodeCurrent;
224 }
225
226
227
228
229
230 public void setObjectCodeCurrent(ObjectCodeCurrent objectCodeCurrent) {
231 this.objectCodeCurrent = objectCodeCurrent;
232 }
233
234
235
236
237
238
239
240 public String getOffsetAccountViewer() {
241 return "View Offset Account";
242 }
243
244
245
246
247 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
248 LinkedHashMap m = new LinkedHashMap();
249 m.put("chartOfAccountsCode", this.chartOfAccountsCode);
250 m.put("accountNumber", this.accountNumber);
251 m.put("financialOffsetObjectCode", this.financialOffsetObjectCode);
252 return m;
253 }
254
255
256
257
258
259 public boolean isActive() {
260 return active;
261 }
262
263
264
265
266
267 public void setActive(boolean active) {
268 this.active = active;
269 }
270
271 }