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:
24: /**
25: * Capital Asset Management Payment Change Account Business Object.
26: */
27: public class CapitalAssetManagementPaymentChangeAccount extends
28: PersistableBusinessObjectBase {
29:
30: private Integer capitalAssetManagementPaymentChangeIdentifier;
31: private Integer itemLineNumber;
32: private Integer generalLedgerPendingEntryIdentifier;
33: private KualiDecimal itemAccountTotalAmount;
34:
35: /**
36: * Default constructor.
37: */
38: public CapitalAssetManagementPaymentChangeAccount() {
39:
40: }
41:
42: public Integer getCapitalAssetManagementPaymentChangeIdentifier() {
43: return capitalAssetManagementPaymentChangeIdentifier;
44: }
45:
46: public void setCapitalAssetManagementPaymentChangeIdentifier(
47: Integer capitalAssetManagementPaymentChangeIdentifier) {
48: this .capitalAssetManagementPaymentChangeIdentifier = capitalAssetManagementPaymentChangeIdentifier;
49: }
50:
51: public Integer getGeneralLedgerPendingEntryIdentifier() {
52: return generalLedgerPendingEntryIdentifier;
53: }
54:
55: public void setGeneralLedgerPendingEntryIdentifier(
56: Integer generalLedgerPendingEntryIdentifier) {
57: this .generalLedgerPendingEntryIdentifier = generalLedgerPendingEntryIdentifier;
58: }
59:
60: public KualiDecimal getItemAccountTotalAmount() {
61: return itemAccountTotalAmount;
62: }
63:
64: public void setItemAccountTotalAmount(
65: KualiDecimal itemAccountTotalAmount) {
66: this .itemAccountTotalAmount = itemAccountTotalAmount;
67: }
68:
69: public Integer getItemLineNumber() {
70: return itemLineNumber;
71: }
72:
73: public void setItemLineNumber(Integer itemLineNumber) {
74: this .itemLineNumber = itemLineNumber;
75: }
76:
77: /**
78: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
79: */
80: protected LinkedHashMap toStringMapper() {
81: LinkedHashMap m = new LinkedHashMap();
82: if (this .capitalAssetManagementPaymentChangeIdentifier != null) {
83: m.put("capitalAssetManagementPaymentChangeIdentifier",
84: this .capitalAssetManagementPaymentChangeIdentifier
85: .toString());
86: }
87: if (this .itemLineNumber != null) {
88: m.put("itemLineNumber", this .itemLineNumber.toString());
89: }
90: if (this .generalLedgerPendingEntryIdentifier != null) {
91: m
92: .put("generalLedgerPendingEntryIdentifier",
93: this.generalLedgerPendingEntryIdentifier
94: .toString());
95: }
96: return m;
97: }
98: }
|