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.financial.bo;
018:
019: import java.util.LinkedHashMap;
020:
021: import org.kuali.core.bo.PersistableBusinessObjectBase;
022: import org.kuali.module.chart.bo.Account;
023: import org.kuali.module.chart.bo.Chart;
024: import org.kuali.module.chart.bo.ObjectCodeCurrent;
025: import org.kuali.module.chart.bo.SubAccount;
026: import org.kuali.module.chart.bo.SubObjCdCurrent;
027:
028: /**
029: *
030: */
031: public class CreditCardVendor extends PersistableBusinessObjectBase {
032:
033: private String financialDocumentCreditCardVendorNumber;
034: private String financialDocumentCreditCardVendorName;
035: private String financialDocumentCreditCardTypeCode;
036: private String incomeFinancialChartOfAccountsCode;
037: private String incomeAccountNumber;
038: private String incomeFinancialObjectCode;
039: private String incomeFinancialSubObjectCode;
040: private String incomeSubAccountNumber;
041: private String expenseFinancialChartOfAccountsCode;
042: private String expenseAccountNumber;
043: private String expenseFinancialObjectCode;
044: private String expenseFinancialSubObjectCode;
045: private String expenseSubAccountNumber;
046:
047: private Chart incomeFinancialChartOfAccounts;
048: private ObjectCodeCurrent incomeFinancialObject;
049: private Account incomeAccount;
050: private Chart expenseFinancialChartOfAccounts;
051: private ObjectCodeCurrent expenseFinancialObject;
052: private Account expenseAccount;
053: private CreditCardType financialDocumentCreditCardType;
054: private SubAccount incomeSubAccount;
055: private SubAccount expenseSubAccount;
056: private SubObjCdCurrent incomeFinancialSubObject;
057: private SubObjCdCurrent expenseFinancialSubObject;
058:
059: /**
060: * Default constructor.
061: */
062: public CreditCardVendor() {
063:
064: }
065:
066: /**
067: * Gets the financialDocumentCreditCardVendorNumber attribute.
068: *
069: * @return Returns the financialDocumentCreditCardVendorNumber
070: */
071: public String getFinancialDocumentCreditCardVendorNumber() {
072: return financialDocumentCreditCardVendorNumber;
073: }
074:
075: /**
076: * Sets the financialDocumentCreditCardVendorNumber attribute.
077: *
078: * @param financialDocumentCreditCardVendorNumber The financialDocumentCreditCardVendorNumber to set.
079: */
080: public void setFinancialDocumentCreditCardVendorNumber(
081: String financialDocumentCreditCardVendorNumber) {
082: this .financialDocumentCreditCardVendorNumber = financialDocumentCreditCardVendorNumber;
083: }
084:
085: /**
086: * Gets the financialDocumentCreditCardVendorName attribute.
087: *
088: * @return Returns the financialDocumentCreditCardVendorName
089: */
090: public String getFinancialDocumentCreditCardVendorName() {
091: return financialDocumentCreditCardVendorName;
092: }
093:
094: /**
095: * Sets the financialDocumentCreditCardVendorName attribute.
096: *
097: * @param financialDocumentCreditCardVendorName The financialDocumentCreditCardVendorName to set.
098: */
099: public void setFinancialDocumentCreditCardVendorName(
100: String financialDocumentCreditCardVendorName) {
101: this .financialDocumentCreditCardVendorName = financialDocumentCreditCardVendorName;
102: }
103:
104: /**
105: * Gets the financialDocumentCreditCardTypeCode attribute.
106: *
107: * @return Returns the financialDocumentCreditCardTypeCode
108: */
109: public String getFinancialDocumentCreditCardTypeCode() {
110: return financialDocumentCreditCardTypeCode;
111: }
112:
113: /**
114: * Sets the financialDocumentCreditCardTypeCode attribute.
115: *
116: * @param financialDocumentCreditCardTypeCode The financialDocumentCreditCardTypeCode to set.
117: */
118: public void setFinancialDocumentCreditCardTypeCode(
119: String financialDocumentCreditCardTypeCode) {
120: this .financialDocumentCreditCardTypeCode = financialDocumentCreditCardTypeCode;
121: }
122:
123: /**
124: * Gets the incomeFinancialChartOfAccountsCode attribute.
125: *
126: * @return Returns the incomeFinancialChartOfAccountsCode
127: */
128: public String getIncomeFinancialChartOfAccountsCode() {
129: return incomeFinancialChartOfAccountsCode;
130: }
131:
132: /**
133: * Sets the incomeFinancialChartOfAccountsCode attribute.
134: *
135: * @param incomeFinancialChartOfAccountsCode The incomeFinancialChartOfAccountsCode to set.
136: */
137: public void setIncomeFinancialChartOfAccountsCode(
138: String incomeFinancialChartOfAccountsCode) {
139: this .incomeFinancialChartOfAccountsCode = incomeFinancialChartOfAccountsCode;
140: }
141:
142: /**
143: * Gets the incomeAccountNumber attribute.
144: *
145: * @return Returns the incomeAccountNumber
146: */
147: public String getIncomeAccountNumber() {
148: return incomeAccountNumber;
149: }
150:
151: /**
152: * Sets the incomeAccountNumber attribute.
153: *
154: * @param incomeAccountNumber The incomeAccountNumber to set.
155: */
156: public void setIncomeAccountNumber(String incomeAccountNumber) {
157: this .incomeAccountNumber = incomeAccountNumber;
158: }
159:
160: /**
161: * Gets the incomeFinancialObjectCode attribute.
162: *
163: * @return Returns the incomeFinancialObjectCode
164: */
165: public String getIncomeFinancialObjectCode() {
166: return incomeFinancialObjectCode;
167: }
168:
169: /**
170: * Sets the incomeFinancialObjectCode attribute.
171: *
172: * @param incomeFinancialObjectCode The incomeFinancialObjectCode to set.
173: */
174: public void setIncomeFinancialObjectCode(
175: String incomeFinancialObjectCode) {
176: this .incomeFinancialObjectCode = incomeFinancialObjectCode;
177: }
178:
179: /**
180: * Gets the incomeFinancialSubObjectCode attribute.
181: *
182: * @return Returns the incomeFinancialSubObjectCode
183: */
184: public String getIncomeFinancialSubObjectCode() {
185: return incomeFinancialSubObjectCode;
186: }
187:
188: /**
189: * Sets the incomeFinancialSubObjectCode attribute.
190: *
191: * @param incomeFinancialSubObjectCode The incomeFinancialSubObjectCode to set.
192: */
193: public void setIncomeFinancialSubObjectCode(
194: String incomeFinancialSubObjectCode) {
195: this .incomeFinancialSubObjectCode = incomeFinancialSubObjectCode;
196: }
197:
198: /**
199: * Gets the incomeSubAccountNumber attribute.
200: *
201: * @return Returns the incomeSubAccountNumber
202: */
203: public String getIncomeSubAccountNumber() {
204: return incomeSubAccountNumber;
205: }
206:
207: /**
208: * Sets the incomeSubAccountNumber attribute.
209: *
210: * @param incomeSubAccountNumber The incomeSubAccountNumber to set.
211: */
212: public void setIncomeSubAccountNumber(String incomeSubAccountNumber) {
213: this .incomeSubAccountNumber = incomeSubAccountNumber;
214: }
215:
216: /**
217: * Gets the expenseFinancialChartOfAccountsCode attribute.
218: *
219: * @return Returns the expenseFinancialChartOfAccountsCode
220: */
221: public String getExpenseFinancialChartOfAccountsCode() {
222: return expenseFinancialChartOfAccountsCode;
223: }
224:
225: /**
226: * Sets the expenseFinancialChartOfAccountsCode attribute.
227: *
228: * @param expenseFinancialChartOfAccountsCode The expenseFinancialChartOfAccountsCode to set.
229: */
230: public void setExpenseFinancialChartOfAccountsCode(
231: String expenseFinancialChartOfAccountsCode) {
232: this .expenseFinancialChartOfAccountsCode = expenseFinancialChartOfAccountsCode;
233: }
234:
235: /**
236: * Gets the expenseAccountNumber attribute.
237: *
238: * @return Returns the expenseAccountNumber
239: */
240: public String getExpenseAccountNumber() {
241: return expenseAccountNumber;
242: }
243:
244: /**
245: * Sets the expenseAccountNumber attribute.
246: *
247: * @param expenseAccountNumber The expenseAccountNumber to set.
248: */
249: public void setExpenseAccountNumber(String expenseAccountNumber) {
250: this .expenseAccountNumber = expenseAccountNumber;
251: }
252:
253: /**
254: * Gets the expenseFinancialObjectCode attribute.
255: *
256: * @return Returns the expenseFinancialObjectCode
257: */
258: public String getExpenseFinancialObjectCode() {
259: return expenseFinancialObjectCode;
260: }
261:
262: /**
263: * Sets the expenseFinancialObjectCode attribute.
264: *
265: * @param expenseFinancialObjectCode The expenseFinancialObjectCode to set.
266: */
267: public void setExpenseFinancialObjectCode(
268: String expenseFinancialObjectCode) {
269: this .expenseFinancialObjectCode = expenseFinancialObjectCode;
270: }
271:
272: /**
273: * Gets the expenseFinancialSubObjectCd attribute.
274: *
275: * @return Returns the expenseFinancialSubObjectCd
276: */
277: public String getExpenseFinancialSubObjectCode() {
278: return expenseFinancialSubObjectCode;
279: }
280:
281: /**
282: * Sets the expenseFinancialSubObjectCd attribute.
283: *
284: * @param expenseFinancialSubObjectCd The expenseFinancialSubObjectCd to set.
285: */
286: public void setExpenseFinancialSubObjectCode(
287: String expenseFinancialSubObjectCode) {
288: this .expenseFinancialSubObjectCode = expenseFinancialSubObjectCode;
289: }
290:
291: /**
292: * Gets the expenseSubAccountNumber attribute.
293: *
294: * @return Returns the expenseSubAccountNumber
295: */
296: public String getExpenseSubAccountNumber() {
297: return expenseSubAccountNumber;
298: }
299:
300: /**
301: * Sets the expenseSubAccountNumber attribute.
302: *
303: * @param expenseSubAccountNumber The expenseSubAccountNumber to set.
304: */
305: public void setExpenseSubAccountNumber(
306: String expenseSubAccountNumber) {
307: this .expenseSubAccountNumber = expenseSubAccountNumber;
308: }
309:
310: /**
311: * Gets the incomeFinancialChartOfAccounts attribute.
312: *
313: * @return Returns the incomeFinancialChartOfAccounts
314: */
315: public Chart getIncomeFinancialChartOfAccounts() {
316: return incomeFinancialChartOfAccounts;
317: }
318:
319: /**
320: * Sets the incomeFinancialChartOfAccounts attribute.
321: *
322: * @param incomeFinancialChartOfAccounts The incomeFinancialChartOfAccounts to set.
323: * @deprecated
324: */
325: public void setIncomeFinancialChartOfAccounts(
326: Chart incomeFinancialChartOfAccounts) {
327: this .incomeFinancialChartOfAccounts = incomeFinancialChartOfAccounts;
328: }
329:
330: /**
331: * Gets the incomeFinancialObject attribute.
332: *
333: * @return Returns the incomeFinancialObject
334: */
335: public ObjectCodeCurrent getIncomeFinancialObject() {
336: return incomeFinancialObject;
337: }
338:
339: /**
340: * Sets the incomeFinancialObject attribute.
341: *
342: * @param incomeFinancialObject The incomeFinancialObject to set.
343: * @deprecated
344: */
345: public void setIncomeFinancialObject(
346: ObjectCodeCurrent incomeFinancialObject) {
347: this .incomeFinancialObject = incomeFinancialObject;
348: }
349:
350: /**
351: * Gets the incomeAccount attribute.
352: *
353: * @return Returns the incomeAccount
354: */
355: public Account getIncomeAccount() {
356: return incomeAccount;
357: }
358:
359: /**
360: * Sets the incomeAccount attribute.
361: *
362: * @param incomeAccount The incomeAccount to set.
363: * @deprecated
364: */
365: public void setIncomeAccount(Account incomeAccount) {
366: this .incomeAccount = incomeAccount;
367: }
368:
369: /**
370: * Gets the expenseFinancialChartOfAccounts attribute.
371: *
372: * @return Returns the expenseFinancialChartOfAccounts
373: */
374: public Chart getExpenseFinancialChartOfAccounts() {
375: return expenseFinancialChartOfAccounts;
376: }
377:
378: /**
379: * Sets the expenseFinancialChartOfAccounts attribute.
380: *
381: * @param expenseFinancialChartOfAccounts The expenseFinancialChartOfAccounts to set.
382: * @deprecated
383: */
384: public void setExpenseFinancialChartOfAccounts(
385: Chart expenseFinancialChartOfAccounts) {
386: this .expenseFinancialChartOfAccounts = expenseFinancialChartOfAccounts;
387: }
388:
389: /**
390: * Gets the expenseFinancialObject attribute.
391: *
392: * @return Returns the expenseFinancialObject
393: */
394: public ObjectCodeCurrent getExpenseFinancialObject() {
395: return expenseFinancialObject;
396: }
397:
398: /**
399: * Sets the expenseFinancialObject attribute.
400: *
401: * @param expenseFinancialObject The expenseFinancialObject to set.
402: * @deprecated
403: */
404: public void setExpenseFinancialObject(
405: ObjectCodeCurrent expenseFinancialObject) {
406: this .expenseFinancialObject = expenseFinancialObject;
407: }
408:
409: /**
410: * Gets the expenseAccount attribute.
411: *
412: * @return Returns the expenseAccount
413: */
414: public Account getExpenseAccount() {
415: return expenseAccount;
416: }
417:
418: /**
419: * Sets the expenseAccount attribute.
420: *
421: * @param expenseAccount The expenseAccount to set.
422: * @deprecated
423: */
424: public void setExpenseAccount(Account expenseAccount) {
425: this .expenseAccount = expenseAccount;
426: }
427:
428: /**
429: * @return Returns the financialDocumentCreditCardType.
430: */
431: public CreditCardType getFinancialDocumentCreditCardType() {
432: return financialDocumentCreditCardType;
433: }
434:
435: /**
436: * @param financialDocumentCreditCardType The financialDocumentCreditCardType to set.
437: * @deprecated
438: */
439: public void setFinancialDocumentCreditCardType(
440: CreditCardType financialDocumentCreditCardType) {
441: this .financialDocumentCreditCardType = financialDocumentCreditCardType;
442: }
443:
444: /**
445: * Gets the expenseFinancialSubObject attribute.
446: *
447: * @return Returns the expenseFinancialSubObject.
448: */
449: public SubObjCdCurrent getExpenseFinancialSubObject() {
450: return expenseFinancialSubObject;
451: }
452:
453: /**
454: * Sets the expenseFinancialSubObject attribute value.
455: *
456: * @param expenseFinancialSubObject The expenseFinancialSubObject to set.
457: */
458: public void setExpenseFinancialSubObject(
459: SubObjCdCurrent expenseFinancialSubObject) {
460: this .expenseFinancialSubObject = expenseFinancialSubObject;
461: }
462:
463: /**
464: * Gets the expenseSubAccount attribute.
465: *
466: * @return Returns the expenseSubAccount.
467: */
468: public SubAccount getExpenseSubAccount() {
469: return expenseSubAccount;
470: }
471:
472: /**
473: * Sets the expenseSubAccount attribute value.
474: *
475: * @param expenseSubAccount The expenseSubAccount to set.
476: */
477: public void setExpenseSubAccount(SubAccount expenseSubAccount) {
478: this .expenseSubAccount = expenseSubAccount;
479: }
480:
481: /**
482: * Gets the incomeFinancialSubObject attribute.
483: *
484: * @return Returns the incomeFinancialSubObject.
485: */
486: public SubObjCdCurrent getIncomeFinancialSubObject() {
487: return incomeFinancialSubObject;
488: }
489:
490: /**
491: * Sets the incomeFinancialSubObject attribute value.
492: *
493: * @param incomeFinancialSubObject The incomeFinancialSubObject to set.
494: */
495: public void setIncomeFinancialSubObject(
496: SubObjCdCurrent incomeFinancialSubObject) {
497: this .incomeFinancialSubObject = incomeFinancialSubObject;
498: }
499:
500: /**
501: * Gets the incomeSubAccount attribute.
502: *
503: * @return Returns the incomeSubAccount.
504: */
505: public SubAccount getIncomeSubAccount() {
506: return incomeSubAccount;
507: }
508:
509: /**
510: * Sets the incomeSubAccount attribute value.
511: *
512: * @param incomeSubAccount The incomeSubAccount to set.
513: */
514: public void setIncomeSubAccount(SubAccount incomeSubAccount) {
515: this .incomeSubAccount = incomeSubAccount;
516: }
517:
518: /**
519: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
520: */
521: protected LinkedHashMap toStringMapper() {
522: LinkedHashMap m = new LinkedHashMap();
523: m.put("financialDocumentCreditCardVendorNumber",
524: this.financialDocumentCreditCardVendorNumber);
525: return m;
526: }
527:
528: }
|