01: /*
02: * Copyright 2006-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.kuali.module.financial.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22:
23: /**
24: * This class represents the different types of credit card types
25: */
26: public class CreditCardType extends PersistableBusinessObjectBase {
27:
28: private String financialDocumentCreditCardTypeCode;
29: private String financialDocumentCreditCardCompanyName;
30:
31: /**
32: * Default constructor.
33: */
34: public CreditCardType() {
35:
36: }
37:
38: /**
39: * Gets the financialDocumentCreditCardTypeCode attribute.
40: *
41: * @return Returns the financialDocumentCreditCardTypeCode
42: */
43: public String getFinancialDocumentCreditCardTypeCode() {
44: return financialDocumentCreditCardTypeCode;
45: }
46:
47: /**
48: * Sets the financialDocumentCreditCardTypeCode attribute.
49: *
50: * @param financialDocumentCreditCardTypeCode The financialDocumentCreditCardTypeCode to set.
51: */
52: public void setFinancialDocumentCreditCardTypeCode(
53: String financialDocumentCreditCardTypeCode) {
54: this .financialDocumentCreditCardTypeCode = financialDocumentCreditCardTypeCode;
55: }
56:
57: /**
58: * Gets the financialDocumentCreditCardCompanyName attribute.
59: *
60: * @return Returns the financialDocumentCreditCardCompanyName
61: */
62: public String getFinancialDocumentCreditCardCompanyName() {
63: return financialDocumentCreditCardCompanyName;
64: }
65:
66: /**
67: * Sets the financialDocumentCreditCardCompanyName attribute.
68: *
69: * @param financialDocumentCreditCardCompanyName The financialDocumentCreditCardCompanyName to set.
70: */
71: public void setFinancialDocumentCreditCardCompanyName(
72: String financialDocumentCreditCardCompanyName) {
73: this .financialDocumentCreditCardCompanyName = financialDocumentCreditCardCompanyName;
74: }
75:
76: /**
77: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
78: */
79: protected LinkedHashMap toStringMapper() {
80: LinkedHashMap m = new LinkedHashMap();
81: m.put("financialDocumentCreditCardTypeCode",
82: this.financialDocumentCreditCardTypeCode);
83: return m;
84: }
85: }
|