001/*
002 * Copyright 2006 The Kuali Foundation
003 * 
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 * 
008 * http://www.opensource.org/licenses/ecl2.php
009 * 
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017package org.kuali.ole.gl.businessobject;
018
019import java.util.LinkedHashMap;
020
021import org.kuali.rice.core.api.util.type.KualiDecimal;
022import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
023
024/**
025 * This class represents a pending balances move
026 * 
027 */
028public class PendingBalancesMove extends PersistableBusinessObjectBase {
029
030    private String principalId;
031    private KualiDecimal appropriationBudget;
032    private KualiDecimal appropriationActual;
033    private KualiDecimal appropriationEncumbrance;
034    private KualiDecimal pendingBudget;
035    private KualiDecimal pendingActual;
036    private KualiDecimal pendingEncumbrance;
037
038    /**
039     * Default constructor.
040     */
041    public PendingBalancesMove() {
042
043    }
044
045    /**
046     * Gets the principalId attribute.
047     * 
048     * @return Returns the principalId
049     */
050    public String getPrincipalId() {
051        return principalId;
052    }
053
054    /**
055     * Sets the principalId attribute.
056     * 
057     * @param principalId The principalId to set.
058     */
059    public void setPrincipalId(String principalId) {
060        this.principalId = principalId;
061    }
062
063
064    /**
065     * Gets the appropriationBudget attribute.
066     * 
067     * @return Returns the appropriationBudget
068     */
069    public KualiDecimal getAppropriationBudget() {
070        return appropriationBudget;
071    }
072
073    /**
074     * Sets the appropriationBudget attribute.
075     * 
076     * @param appropriationBudget The appropriationBudget to set.
077     */
078    public void setAppropriationBudget(KualiDecimal appropriationBudget) {
079        this.appropriationBudget = appropriationBudget;
080    }
081
082
083    /**
084     * Gets the appropriationActual attribute.
085     * 
086     * @return Returns the appropriationActual
087     */
088    public KualiDecimal getAppropriationActual() {
089        return appropriationActual;
090    }
091
092    /**
093     * Sets the appropriationActual attribute.
094     * 
095     * @param appropriationActual The appropriationActual to set.
096     */
097    public void setAppropriationActual(KualiDecimal appropriationActual) {
098        this.appropriationActual = appropriationActual;
099    }
100
101
102    /**
103     * Gets the appropriationEncumbrance attribute.
104     * 
105     * @return Returns the appropriationEncumbrance
106     */
107    public KualiDecimal getAppropriationEncumbrance() {
108        return appropriationEncumbrance;
109    }
110
111    /**
112     * Sets the appropriationEncumbrance attribute.
113     * 
114     * @param appropriationEncumbrance The appropriationEncumbrance to set.
115     */
116    public void setAppropriationEncumbrance(KualiDecimal appropriationEncumbrance) {
117        this.appropriationEncumbrance = appropriationEncumbrance;
118    }
119
120
121    /**
122     * Gets the pendingBudget attribute.
123     * 
124     * @return Returns the pendingBudget
125     */
126    public KualiDecimal getPendingBudget() {
127        return pendingBudget;
128    }
129
130    /**
131     * Sets the pendingBudget attribute.
132     * 
133     * @param pendingBudget The pendingBudget to set.
134     */
135    public void setPendingBudget(KualiDecimal pendingBudget) {
136        this.pendingBudget = pendingBudget;
137    }
138
139
140    /**
141     * Gets the pendingActual attribute.
142     * 
143     * @return Returns the pendingActual
144     */
145    public KualiDecimal getPendingActual() {
146        return pendingActual;
147    }
148
149    /**
150     * Sets the pendingActual attribute.
151     * 
152     * @param pendingActual The pendingActual to set.
153     */
154    public void setPendingActual(KualiDecimal pendingActual) {
155        this.pendingActual = pendingActual;
156    }
157
158
159    /**
160     * Gets the pendingEncumbrance attribute.
161     * 
162     * @return Returns the pendingEncumbrance
163     */
164    public KualiDecimal getPendingEncumbrance() {
165        return pendingEncumbrance;
166    }
167
168    /**
169     * Sets the pendingEncumbrance attribute.
170     * 
171     * @param pendingEncumbrance The pendingEncumbrance to set.
172     */
173    public void setPendingEncumbrance(KualiDecimal pendingEncumbrance) {
174        this.pendingEncumbrance = pendingEncumbrance;
175    }
176
177
178    /**
179     * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
180     */
181    protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
182        LinkedHashMap m = new LinkedHashMap();
183        m.put("principalId", this.principalId);
184        return m;
185    }
186}
187