01: /*
02: * Copyright 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.purap.bo;
17:
18: import org.kuali.core.util.KualiDecimal;
19: import org.kuali.kfs.bo.SourceAccountingLine;
20:
21: /**
22: * Purap Summary Item Business Object.
23: */
24: public class PurApSummaryItem extends PurApItemBase {
25:
26: private KualiDecimal estimatedEncumberanceAmount;
27:
28: public PurApSummaryItem() {
29: this (KualiDecimal.ZERO);
30: }
31:
32: public PurApSummaryItem(KualiDecimal estimatedEncumberanceAmount) {
33: this .estimatedEncumberanceAmount = estimatedEncumberanceAmount;
34: }
35:
36: public KualiDecimal getEstimatedEncumberanceAmount() {
37: return estimatedEncumberanceAmount;
38: }
39:
40: public void setEstimatedEncumberanceAmount(
41: KualiDecimal estimatedEncumberanceAmount) {
42: this .estimatedEncumberanceAmount = estimatedEncumberanceAmount;
43: }
44:
45: /**
46: * @see org.kuali.module.purap.bo.PurApItem#getAccountingLineClass()
47: */
48: public Class getAccountingLineClass() {
49: return SourceAccountingLine.class;
50: }
51:
52: /**
53: * @see org.kuali.module.purap.bo.PurApItem#isConsideredEntered()
54: */
55: public boolean isConsideredEntered() {
56: return false;
57: }
58:
59: /**
60: * @see org.kuali.module.purap.bo.PurApItemBase#resetAccount()
61: */
62: @Override
63: public void resetAccount() {
64: // do nothing
65: }
66: }
|