01: /*
02: * Copyright 2005-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: package org.kuali.module.chart.bo;
17:
18: import java.util.LinkedHashMap;
19:
20: import org.kuali.core.bo.PersistableBusinessObjectBase;
21:
22: /**
23: *
24: */
25: public class AcctType extends PersistableBusinessObjectBase {
26:
27: /**
28: * Default no-arg constructor.
29: */
30: public AcctType() {
31:
32: }
33:
34: private String accountTypeCode;
35: private String accountTypeName;
36:
37: /**
38: * Gets the accountTypeCode attribute.
39: *
40: * @return Returns the accountTypeCode
41: */
42: public String getAccountTypeCode() {
43: return accountTypeCode;
44: }
45:
46: /**
47: * Sets the accountTypeCode attribute.
48: *
49: * @param accountTypeCode The accountTypeCode to set.
50: */
51: public void setAccountTypeCode(String accountTypeCode) {
52: this .accountTypeCode = accountTypeCode;
53: }
54:
55: /**
56: * Gets the accountTypeName attribute.
57: *
58: * @return Returns the accountTypeName
59: */
60: public String getAccountTypeName() {
61: return accountTypeName;
62: }
63:
64: /**
65: * Sets the accountTypeName attribute.
66: *
67: * @param accountTypeName The accountTypeName to set.
68: */
69: public void setAccountTypeName(String accountTypeName) {
70: this .accountTypeName = accountTypeName;
71: }
72:
73: /**
74: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
75: */
76: protected LinkedHashMap toStringMapper() {
77: LinkedHashMap m = new LinkedHashMap();
78: m.put("accountTypeCode", this.accountTypeCode);
79: return m;
80: }
81: }
|