001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package org.kuali.kfs.coa.businessobject;
018
019 import java.util.LinkedHashMap;
020
021 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
022
023 /**
024 *
025 */
026 public class A21SubAccount extends PersistableBusinessObjectBase {
027
028 private static final long serialVersionUID = 2983753447370117974L;
029
030 private String chartOfAccountsCode;
031 private String accountNumber;
032 private String subAccountNumber;
033 private String subAccountTypeCode;
034 private String indirectCostRecoveryTypeCode;
035 private String financialIcrSeriesIdentifier;
036 private String indirectCostRcvyFinCoaCode;
037 private String indirectCostRecoveryAcctNbr;
038 private boolean offCampusCode;
039 private String costShareChartOfAccountCode;
040 private String costShareSourceAccountNumber;
041 private String costShareSourceSubAccountNumber;
042
043 private Chart indirectCostRecoveryChartOfAccounts;
044 private Account indirectCostRecoveryAcct;
045 private Chart costShareChartOfAccount;
046 private Account costShareAccount;
047 private SubAccount costShareSourceSubAccount;
048 private IndirectCostRecoveryType indirectCostRecoveryType;
049 private Chart chartOfAccounts;
050 private Account account;
051
052 /**
053 *
054 */
055 public A21SubAccount() {
056 super();
057 }
058
059 /**
060 * Gets the serialVersionUID attribute.
061 *
062 * @return Returns the serialVersionUID.
063 */
064 public static long getSerialVersionUID() {
065 return serialVersionUID;
066 }
067
068 /**
069 * Gets the accountNumber attribute.
070 *
071 * @return Returns the accountNumber.
072 */
073 public String getAccountNumber() {
074 return accountNumber;
075 }
076
077 /**
078 * Sets the accountNumber attribute value.
079 *
080 * @param accountNumber The accountNumber to set.
081 */
082 public void setAccountNumber(String accountNumber) {
083 this.accountNumber = accountNumber;
084 }
085
086 /**
087 * Gets the chartOfAccountsCode attribute.
088 *
089 * @return Returns the chartOfAccountsCode.
090 */
091 public String getChartOfAccountsCode() {
092 return chartOfAccountsCode;
093 }
094
095 /**
096 * Sets the chartOfAccountsCode attribute value.
097 *
098 * @param chartOfAccountsCode The chartOfAccountsCode to set.
099 */
100 public void setChartOfAccountsCode(String chartOfAccountsCode) {
101 this.chartOfAccountsCode = chartOfAccountsCode;
102 }
103
104 /**
105 * Gets the indirectCostRecoveryType attribute.
106 *
107 * @return Returns the indirectCostRecoveryType.
108 */
109 public IndirectCostRecoveryType getIndirectCostRecoveryType() {
110 return indirectCostRecoveryType;
111 }
112
113 /**
114 * Sets the indirectCostRecoveryType attribute value.
115 *
116 * @param indirectCostRecoveryType The indirectCostRecoveryType to set.
117 */
118 public void setIndirectCostRecoveryType(IndirectCostRecoveryType icrTypeCode) {
119 this.indirectCostRecoveryType = icrTypeCode;
120 }
121
122 /**
123 * Gets the indirectCostRecoveryAcct attribute.
124 *
125 * @return Returns the indirectCostRecoveryAcct.
126 */
127 public Account getIndirectCostRecoveryAcct() {
128 return indirectCostRecoveryAcct;
129 }
130
131 /**
132 * Sets the indirectCostRecoveryAcct attribute value.
133 *
134 * @param indirectCostRecoveryAcct The indirectCostRecoveryAcct to set.
135 */
136 public void setIndirectCostRecoveryAcct(Account indirectCostRecoveryAcct) {
137 this.indirectCostRecoveryAcct = indirectCostRecoveryAcct;
138 }
139
140 /**
141 * Gets the indirectCostRecoveryAcctNbr attribute.
142 *
143 * @return Returns the indirectCostRecoveryAcctNbr.
144 */
145 public String getIndirectCostRecoveryAcctNbr() {
146 return indirectCostRecoveryAcctNbr;
147 }
148
149 /**
150 * Sets the indirectCostRecoveryAcctNbr attribute value.
151 *
152 * @param indirectCostRecoveryAcctNbr The indirectCostRecoveryAcctNbr to set.
153 */
154 public void setIndirectCostRecoveryAcctNbr(String indirectCostRecoveryAcctNbr) {
155 this.indirectCostRecoveryAcctNbr = indirectCostRecoveryAcctNbr;
156 }
157
158 /**
159 * Gets the indirectCostRcvyFinCoaCode attribute.
160 *
161 * @return Returns the indirectCostRcvyFinCoaCode.
162 */
163 public String getIndirectCostRcvyFinCoaCode() {
164 return indirectCostRcvyFinCoaCode;
165 }
166
167 /**
168 * Sets the indirectCostRcvyFinCoaCode attribute value.
169 *
170 * @param indirectCostRcvyFinCoaCode The indirectCostRcvyFinCoaCode to set.
171 */
172 public void setIndirectCostRcvyFinCoaCode(String indirectCostRcvyFinCoaCode) {
173 this.indirectCostRcvyFinCoaCode = indirectCostRcvyFinCoaCode;
174 }
175
176 /**
177 * Gets the indirectCostRecoveryTypeCode attribute.
178 *
179 * @return Returns the indirectCostRecoveryTypeCode.
180 */
181 public String getIndirectCostRecoveryTypeCode() {
182 return indirectCostRecoveryTypeCode;
183 }
184
185 /**
186 * Sets the indirectCostRecoveryTypeCode attribute value.
187 *
188 * @param indirectCostRecoveryTypeCode The indirectCostRecoveryTypeCode to set.
189 */
190 public void setIndirectCostRecoveryTypeCode(String indirectCostRecoveryTypeCode) {
191 this.indirectCostRecoveryTypeCode = indirectCostRecoveryTypeCode;
192 }
193
194 /**
195 * Gets the financialIcrSeriesIdentifier attribute.
196 *
197 * @return Returns the financialIcrSeriesIdentifier.
198 */
199 public String getFinancialIcrSeriesIdentifier() {
200 return financialIcrSeriesIdentifier;
201 }
202
203 /**
204 * Sets the financialIcrSeriesIdentifier attribute value.
205 *
206 * @param financialIcrSeriesIdentifier The financialIcrSeriesIdentifier to set.
207 */
208 public void setFinancialIcrSeriesIdentifier(String financialIcrSeriesIdentifier) {
209 this.financialIcrSeriesIdentifier = financialIcrSeriesIdentifier;
210 }
211
212 /**
213 * Gets the subAccountNumber attribute.
214 *
215 * @return Returns the subAccountNumber.
216 */
217 public String getSubAccountNumber() {
218 return subAccountNumber;
219 }
220
221 /**
222 * Sets the subAccountNumber attribute value.
223 *
224 * @param subAccountNumber The subAccountNumber to set.
225 */
226 public void setSubAccountNumber(String subAccountNumber) {
227 this.subAccountNumber = subAccountNumber;
228 }
229
230 /**
231 * Gets the subAccountTypeCode attribute.
232 *
233 * @return Returns the subAccountTypeCode.
234 */
235 public String getSubAccountTypeCode() {
236 return subAccountTypeCode;
237 }
238
239 /**
240 * Sets the subAccountTypeCode attribute value.
241 *
242 * @param subAccountTypeCode The subAccountTypeCode to set.
243 */
244 public void setSubAccountTypeCode(String subAccountTypeCode) {
245 this.subAccountTypeCode = subAccountTypeCode;
246 }
247
248 /**
249 * Gets the costShareAccount attribute.
250 *
251 * @return Returns the costShareAccount.
252 */
253 public Account getCostShareAccount() {
254 return costShareAccount;
255 }
256
257 /**
258 * Sets the costShareAccount attribute value.
259 *
260 * @param costShareAccount The costShareAccount to set.
261 */
262 public void setCostShareAccount(Account costShareAccount) {
263 this.costShareAccount = costShareAccount;
264 }
265
266 /**
267 * Gets the costShareChartOfAccount attribute.
268 *
269 * @return Returns the costShareChartOfAccount.
270 */
271 public Chart getCostShareChartOfAccount() {
272 return costShareChartOfAccount;
273 }
274
275 /**
276 * Sets the costShareChartOfAccount attribute value.
277 *
278 * @param costShareChartOfAccount The costShareChartOfAccount to set.
279 */
280 public void setCostShareChartOfAccount(Chart costShareChartOfAccount) {
281 this.costShareChartOfAccount = costShareChartOfAccount;
282 }
283
284 /**
285 * Gets the costShareChartOfAccountCode attribute.
286 *
287 * @return Returns the costShareChartOfAccountCode.
288 */
289 public String getCostShareChartOfAccountCode() {
290 return costShareChartOfAccountCode;
291 }
292
293 /**
294 * Sets the costShareChartOfAccountCode attribute value.
295 *
296 * @param costShareChartOfAccountCode The costShareChartOfAccountCode to set.
297 */
298 public void setCostShareChartOfAccountCode(String costShareChartOfAccountCode) {
299 this.costShareChartOfAccountCode = costShareChartOfAccountCode;
300 }
301
302 /**
303 * Gets the costShareSourceAccountNumber attribute.
304 *
305 * @return Returns the costShareSourceAccountNumber.
306 */
307 public String getCostShareSourceAccountNumber() {
308 return costShareSourceAccountNumber;
309 }
310
311 /**
312 * Sets the costShareSourceAccountNumber attribute value.
313 *
314 * @param costShareSourceAccountNumber The costShareSourceAccountNumber to set.
315 */
316 public void setCostShareSourceAccountNumber(String costShareSourceAccountNumber) {
317 this.costShareSourceAccountNumber = costShareSourceAccountNumber;
318 }
319
320 /**
321 * Gets the costShareSourceSubAccount attribute.
322 *
323 * @return Returns the costShareSourceSubAccount.
324 */
325 public SubAccount getCostShareSourceSubAccount() {
326 return costShareSourceSubAccount;
327 }
328
329 /**
330 * Sets the costShareSourceSubAccount attribute value.
331 *
332 * @param costShareSourceSubAccount The costShareSourceSubAccount to set.
333 */
334 public void setCostShareSourceSubAccount(SubAccount costShareSourceSubAccount) {
335 this.costShareSourceSubAccount = costShareSourceSubAccount;
336 }
337
338 /**
339 * Gets the costShareSourceSubAccountNumber attribute.
340 *
341 * @return Returns the costShareSourceSubAccountNumber.
342 */
343 public String getCostShareSourceSubAccountNumber() {
344 return costShareSourceSubAccountNumber;
345 }
346
347 /**
348 * Sets the costShareSourceSubAccountNumber attribute value.
349 *
350 * @param costShareSourceSubAccountNumber The costShareSourceSubAccountNumber to set.
351 */
352 public void setCostShareSourceSubAccountNumber(String costShareSourceSubAccountNumber) {
353 this.costShareSourceSubAccountNumber = costShareSourceSubAccountNumber;
354 }
355
356 /**
357 * Gets the indirectCostRecoveryChartOfAccounts attribute.
358 *
359 * @return Returns the indirectCostRecoveryChartOfAccounts.
360 */
361 public Chart getIndirectCostRecoveryChartOfAccounts() {
362 return indirectCostRecoveryChartOfAccounts;
363 }
364
365 /**
366 * Sets the indirectCostRecoveryChartOfAccounts attribute value.
367 *
368 * @param indirectCostRecoveryChartOfAccounts The indirectCostRecoveryChartOfAccounts to set.
369 */
370 public void setIndirectCostRecoveryChartOfAccounts(Chart indirectCostRecoveryChartOfAccounts) {
371 this.indirectCostRecoveryChartOfAccounts = indirectCostRecoveryChartOfAccounts;
372 }
373
374 /**
375 * Gets the offCampusCode attribute.
376 *
377 * @return Returns the offCampusCode.
378 */
379 public boolean getOffCampusCode() {
380 return offCampusCode;
381 }
382
383 /**
384 * Sets the offCampusCode attribute value.
385 *
386 * @param offCampusCode The offCampusCode to set.
387 */
388 public void setOffCampusCode(boolean offCampusCode) {
389 this.offCampusCode = offCampusCode;
390 }
391
392 /**
393 * Gets the account attribute.
394 *
395 * @return Returns the account.
396 */
397 public Account getAccount() {
398 return account;
399 }
400
401 /**
402 * Sets the account attribute value.
403 *
404 * @param account The account to set.
405 * @deprecated
406 */
407 public void setAccount(Account account) {
408 this.account = account;
409 }
410
411 /**
412 * Gets the chartOfAccounts attribute.
413 *
414 * @return Returns the chartOfAccounts.
415 */
416 public Chart getChartOfAccounts() {
417 return chartOfAccounts;
418 }
419
420 /**
421 * Sets the chartOfAccounts attribute value.
422 *
423 * @param chartOfAccounts The chartOfAccounts to set.
424 * @deprecated
425 */
426 public void setChartOfAccounts(Chart chartOfAccounts) {
427 this.chartOfAccounts = chartOfAccounts;
428 }
429
430 /*
431 * (non-Javadoc)
432 *
433 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
434 */
435 protected LinkedHashMap toStringMapper() {
436 LinkedHashMap map = new LinkedHashMap();
437 map.put("chartOfAccountsCode", getChartOfAccountsCode());
438 map.put("accountNumber", getAccountNumber());
439 map.put("subAccountNumber", getSubAccountNumber());
440 return map;
441 }
442
443
444 }