1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.coa.businessobject;
18
19 import java.util.LinkedHashMap;
20
21 import org.kuali.ole.sys.OLEConstants;
22 import org.kuali.rice.core.api.mo.common.active.MutableInactivatable;
23 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24
25
26
27
28 public class SubAccount extends PersistableBusinessObjectBase implements MutableInactivatable {
29
30 private static final long serialVersionUID = 6853259976912014273L;
31
32 public static final String CACHE_NAME = OLEConstants.APPLICATION_NAMESPACE_CODE + "/" + "SubAccount";
33
34 private String chartOfAccountsCode;
35 private String accountNumber;
36 private String subAccountNumber;
37 private String subAccountName;
38 private boolean active;
39 private String financialReportChartCode;
40 private String finReportOrganizationCode;
41 private String financialReportingCode;
42
43 private A21SubAccount a21SubAccount;
44 private Account account;
45 private ReportingCode reportingCode;
46 private Chart chart;
47 private Organization org;
48 private Chart financialReportChart;
49
50
51
52 private String financialReportingCodeSectionBlank;
53 private String financialReportingCodeSection;
54 private String cgCostSharingSectionBlank;
55 private String cgCostSharingSection;
56 private String cgICRSectionBlank;
57 private String cgICRSection;
58
59
60
61
62 public SubAccount() {
63 }
64
65
66
67
68
69
70 public String getAccountNumber() {
71 return accountNumber;
72 }
73
74
75
76
77 public void setAccountNumber(String accountNumber) {
78 this.accountNumber = accountNumber;
79 }
80
81
82
83
84
85
86 public String getChartOfAccountsCode() {
87 return chartOfAccountsCode;
88 }
89
90
91
92
93
94
95 public void setChartOfAccountsCode(String chartOfAccountsCode) {
96 this.chartOfAccountsCode = chartOfAccountsCode;
97 }
98
99
100
101
102
103
104
105 public void setReportingCode(ReportingCode reportingCode) {
106 this.reportingCode = reportingCode;
107 }
108
109
110
111
112
113
114 public String getSubAccountName() {
115 return subAccountName;
116 }
117
118
119
120
121
122
123 public void setSubAccountName(String subAccountName) {
124 this.subAccountName = subAccountName;
125 }
126
127
128
129
130
131
132 public boolean isActive() {
133 return active;
134 }
135
136
137
138
139
140
141 public void setActive(boolean active) {
142 this.active = active;
143 }
144
145
146
147
148
149
150 public Account getAccount() {
151 return account;
152 }
153
154
155
156
157
158
159 public void setAccount(Account account) {
160 this.account = account;
161 }
162
163
164
165
166
167
168 public String getSubAccountNumber() {
169 return subAccountNumber;
170 }
171
172
173
174
175
176
177 public void setSubAccountNumber(String subAccountNumber) {
178 this.subAccountNumber = subAccountNumber;
179 }
180
181
182
183
184
185
186 public ReportingCode getReportingCode() {
187 return reportingCode;
188 }
189
190
191
192
193
194 public String getFinancialReportChartCode() {
195 return financialReportChartCode;
196 }
197
198
199
200
201 public void setFinancialReportChartCode(String financialReportChartCode) {
202 this.financialReportChartCode = financialReportChartCode;
203 }
204
205
206
207
208 public String getFinancialReportingCode() {
209 return financialReportingCode;
210 }
211
212
213
214
215 public void setFinancialReportingCode(String financialReportingCode) {
216 this.financialReportingCode = financialReportingCode;
217 }
218
219
220
221
222 public String getFinReportOrganizationCode() {
223 return finReportOrganizationCode;
224 }
225
226
227
228
229 public void setFinReportOrganizationCode(String finReportOrganizationCode) {
230 this.finReportOrganizationCode = finReportOrganizationCode;
231 }
232
233
234
235
236
237
238 public A21SubAccount getA21SubAccount() {
239 return a21SubAccount;
240 }
241
242
243
244
245
246
247 public void setA21SubAccount(A21SubAccount subAccount) {
248 a21SubAccount = subAccount;
249 }
250
251
252
253
254 public Chart getChart() {
255 return chart;
256 }
257
258
259
260
261
262 public void setChart(Chart chart) {
263 this.chart = chart;
264 }
265
266
267
268
269 public Chart getFinancialReportChart() {
270 return financialReportChart;
271 }
272
273
274
275
276
277 public void setFinancialReportChart(Chart financialReportChart) {
278 this.financialReportChart = financialReportChart;
279 }
280
281
282
283
284 public Organization getOrg() {
285 return org;
286 }
287
288
289
290
291
292 public void setOrg(Organization org) {
293 this.org = org;
294 }
295
296
297
298
299 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
300 LinkedHashMap m = new LinkedHashMap();
301 m.put("chartCode", this.chartOfAccountsCode);
302 m.put("account", this.accountNumber);
303 m.put("subAccountNumber", this.subAccountNumber);
304 return m;
305 }
306
307
308
309
310
311
312 public String getCgCostSharingSectionBlank() {
313 return cgCostSharingSectionBlank;
314 }
315
316
317
318
319
320
321 public String getCgICRSectionBlank() {
322 return cgICRSectionBlank;
323 }
324
325
326
327
328
329
330 public String getFinancialReportingCodeSectionBlank() {
331 return financialReportingCodeSectionBlank;
332 }
333
334
335
336
337
338
339 public String getCgCostSharingSection() {
340 return cgCostSharingSection;
341 }
342
343
344
345
346
347
348 public String getCgICRSection() {
349 return cgICRSection;
350 }
351
352
353
354
355
356
357 public String getFinancialReportingCodeSection() {
358 return financialReportingCodeSection;
359 }
360 }