1 /*
2 * Copyright 2007 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
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.ole.module.purap.businessobject;
17
18 import org.kuali.ole.sys.businessobject.SourceAccountingLine;
19 import org.kuali.rice.core.api.util.type.KualiDecimal;
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(KualiDecimal estimatedEncumberanceAmount) {
41 this.estimatedEncumberanceAmount = estimatedEncumberanceAmount;
42 }
43
44 /**
45 * @see org.kuali.ole.module.purap.businessobject.PurApItem#getAccountingLineClass()
46 */
47 public Class getAccountingLineClass() {
48 return SourceAccountingLine.class;
49 }
50
51 public Class getUseTaxClass() {
52 return SummaryItemUseTax.class;
53 }
54
55 /**
56 * @see org.kuali.ole.module.purap.businessobject.PurApItem#isConsideredEntered()
57 */
58 public boolean isConsideredEntered() {
59 return false;
60 }
61
62 /**
63 * @see org.kuali.ole.module.purap.businessobject.PurApItemBase#resetAccount()
64 */
65 @Override
66 public void resetAccount() {
67 // do nothing
68 }
69 }