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