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.purap.bo;
18:
19: import java.util.LinkedHashMap;
20:
21: import org.kuali.core.bo.PersistableBusinessObjectBase;
22: import org.kuali.core.util.KualiDecimal;
23: import org.kuali.module.chart.bo.Chart;
24:
25: /**
26: * Payment Request Threshold Not To Exceed Business Object.
27: */
28: public class PaymentRequestThresholdNotToExceed extends
29: PersistableBusinessObjectBase {
30:
31: private String chartOfAccountsCode;
32: private KualiDecimal accountsPayableThresholdNotToExceedAmount;
33:
34: private Chart chartOfAccounts;
35:
36: /**
37: * Default constructor.
38: */
39: public PaymentRequestThresholdNotToExceed() {
40:
41: }
42:
43: public String getChartOfAccountsCode() {
44: return chartOfAccountsCode;
45: }
46:
47: public void setChartOfAccountsCode(String chartOfAccountsCode) {
48: this .chartOfAccountsCode = chartOfAccountsCode;
49: }
50:
51: public KualiDecimal getAccountsPayableThresholdNotToExceedAmount() {
52: return accountsPayableThresholdNotToExceedAmount;
53: }
54:
55: public void setAccountsPayableThresholdNotToExceedAmount(
56: KualiDecimal accountsPayableThresholdNotToExceedAmount) {
57: this .accountsPayableThresholdNotToExceedAmount = accountsPayableThresholdNotToExceedAmount;
58: }
59:
60: public Chart getChartOfAccounts() {
61: return chartOfAccounts;
62: }
63:
64: /**
65: * Sets the chartOfAccounts attribute.
66: *
67: * @param chartOfAccounts The chartOfAccounts to set.
68: * @deprecated
69: */
70: public void setChartOfAccounts(Chart chartOfAccounts) {
71: this .chartOfAccounts = chartOfAccounts;
72: }
73:
74: /**
75: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
76: */
77: protected LinkedHashMap toStringMapper() {
78: LinkedHashMap m = new LinkedHashMap();
79: m.put("chartOfAccountsCode", this.chartOfAccountsCode);
80: return m;
81: }
82:
83: }
|