View Javadoc
1   /*
2    * Copyright 2006 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  
17  package org.kuali.ole.gl.businessobject;
18  
19  import java.util.LinkedHashMap;
20  
21  import org.kuali.rice.core.api.util.type.KualiDecimal;
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  /**
25   * This class represents a pending balances move
26   * 
27   */
28  public class PendingBalancesMove extends PersistableBusinessObjectBase {
29  
30      private String principalId;
31      private KualiDecimal appropriationBudget;
32      private KualiDecimal appropriationActual;
33      private KualiDecimal appropriationEncumbrance;
34      private KualiDecimal pendingBudget;
35      private KualiDecimal pendingActual;
36      private KualiDecimal pendingEncumbrance;
37  
38      /**
39       * Default constructor.
40       */
41      public PendingBalancesMove() {
42  
43      }
44  
45      /**
46       * Gets the principalId attribute.
47       * 
48       * @return Returns the principalId
49       */
50      public String getPrincipalId() {
51          return principalId;
52      }
53  
54      /**
55       * Sets the principalId attribute.
56       * 
57       * @param principalId The principalId to set.
58       */
59      public void setPrincipalId(String principalId) {
60          this.principalId = principalId;
61      }
62  
63  
64      /**
65       * Gets the appropriationBudget attribute.
66       * 
67       * @return Returns the appropriationBudget
68       */
69      public KualiDecimal getAppropriationBudget() {
70          return appropriationBudget;
71      }
72  
73      /**
74       * Sets the appropriationBudget attribute.
75       * 
76       * @param appropriationBudget The appropriationBudget to set.
77       */
78      public void setAppropriationBudget(KualiDecimal appropriationBudget) {
79          this.appropriationBudget = appropriationBudget;
80      }
81  
82  
83      /**
84       * Gets the appropriationActual attribute.
85       * 
86       * @return Returns the appropriationActual
87       */
88      public KualiDecimal getAppropriationActual() {
89          return appropriationActual;
90      }
91  
92      /**
93       * Sets the appropriationActual attribute.
94       * 
95       * @param appropriationActual The appropriationActual to set.
96       */
97      public void setAppropriationActual(KualiDecimal appropriationActual) {
98          this.appropriationActual = appropriationActual;
99      }
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