View Javadoc
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.gl.businessobject;
17  
18  import java.util.LinkedHashMap;
19  
20  import org.kuali.ole.gl.OJBUtility;
21  import org.kuali.rice.core.api.util.type.KualiDecimal;
22  import org.kuali.rice.krad.bo.TransientBusinessObjectBase;
23  
24  /**
25   * This class represents the transient balance inquiry attributes which is typically used as a "dummy business object"
26   */
27  public class TransientBalanceInquiryAttributes extends TransientBusinessObjectBase {
28  
29      private String pendingEntryOption;
30      private String consolidationOption;
31      private String amountViewOption;
32      private String costShareOption;
33      private String blankLineOption;
34      private String linkButtonOption;
35      private KualiDecimal genericAmount;
36      private String genericText;
37  
38      private String consolidationObjectCode;
39      private String reportingSortCode;
40      private String consolidationReportingSortCode;
41      private String levelObjectCode;
42      private String debitCreditOption;
43      private String zeroEncumbranceOption;
44  
45  
46      /**
47       * Constructs a DummyBusinessObject.java.
48       */
49      public TransientBalanceInquiryAttributes() {
50          super();
51          this.pendingEntryOption = "";
52          this.consolidationOption = "";
53          this.genericAmount = KualiDecimal.ZERO;
54      }
55  
56      /**
57       * @see org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
58       */
59      protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
60          return (LinkedHashMap) OJBUtility.buildPropertyMap(this);
61      }
62  
63      /**
64       * Gets the pendingEntryOption attribute.
65       * 
66       * @return Returns the pendingEntryOption.
67       */
68      public String getPendingEntryOption() {
69          return pendingEntryOption;
70      }
71  
72      /**
73       * Sets the pendingEntryOption attribute value.
74       * 
75       * @param pendingEntryOption The pendingEntryOption to set.
76       */
77      public void setPendingEntryOption(String pendingEntryOption) {
78          this.pendingEntryOption = pendingEntryOption;
79      }
80  
81      /**
82       * Gets the consolidationOption attribute.
83       * 
84       * @return Returns the consolidationOption.
85       */
86      public String getConsolidationOption() {
87          return consolidationOption;
88      }
89  
90      /**
91       * Sets the consolidationOption attribute value.
92       * 
93       * @param consolidationOption The consolidationOption to set.
94       */
95      public void setConsolidationOption(String consolidationOption) {
96          this.consolidationOption = consolidationOption;
97      }
98  
99      /**
100      * Gets the linkButtonOption attribute.
101      * 
102      * @return Returns the linkButtonOption.
103      */
104     public String getLinkButtonOption() {
105         return linkButtonOption;
106     }
107 
108     /**
109      * Sets the linkButtonOption attribute value.
110      * 
111      * @param linkButtonOption The linkButtonOption to set.
112      */
113     public void setLinkButtonOption(String linkButtonOption) {
114         this.linkButtonOption = linkButtonOption;
115     }
116 
117     /**
118      * Gets the genericAmount attribute.
119      * 
120      * @return Returns the genericAmount.
121      */
122     public KualiDecimal getGenericAmount() {
123         return genericAmount;
124     }
125 
126     /**
127      * Sets the genericAmount attribute value.
128      * 
129      * @param genericAmount The genericDecimal to set.
130      */
131     public void setGenericAmount(KualiDecimal genericAmount) {
132         this.genericAmount = genericAmount;
133     }
134 
135     /**
136      * Gets the amountViewOption attribute.
137      * 
138      * @return Returns the amountViewOption.
139      */
140     public String getAmountViewOption() {
141         return amountViewOption;
142     }
143 
144     /**
145      * Sets the amountViewOption attribute value.
146      * 
147      * @param amountViewOption The amountViewOption to set.
148      */
149     public void setAmountViewOption(String amountViewOption) {
150         this.amountViewOption = amountViewOption;
151     }
152 
153     /**
154      * Gets the costShareOption attribute.
155      * 
156      * @return Returns the costShareOption.
157      */
158     public String getCostShareOption() {
159         return costShareOption;
160     }
161 
162     /**
163      * Sets the costShareOption attribute value.
164      * 
165      * @param costShareOption The costShareOption to set.
166      */
167     public void setCostShareOption(String costShareOption) {
168         this.costShareOption = costShareOption;
169     }
170 
171     /**
172      * Gets the consolidationObjectCode attribute.
173      * 
174      * @return Returns the consolidationObjectCode.
175      */
176     public String getConsolidationObjectCode() {
177         return consolidationObjectCode;
178     }
179 
180     /**
181      * Sets the consolidationObjectCode attribute value.
182      * 
183      * @param consolidationObjectCode The consolidationObjectCode to set.
184      */
185     public void setConsolidationObjectCode(String consolidationObjectCode) {
186         this.consolidationObjectCode = consolidationObjectCode;
187     }
188 
189     /**
190      * Gets the consolidationReportingSortCode attribute.
191      * 
192      * @return Returns the consolidationReportingSortCode.
193      */
194     public String getConsolidationReportingSortCode() {
195         return consolidationReportingSortCode;
196     }
197 
198     /**
199      * Sets the consolidationReportingSortCode attribute value.
200      * 
201      * @param consolidationReportingSortCode The consolidationReportingSortCode to set.
202      */
203     public void setConsolidationReportingSortCode(String consolidationReportingSortCode) {
204         this.consolidationReportingSortCode = consolidationReportingSortCode;
205     }
206 
207     /**
208      * Gets the reportingSortCode attribute.
209      * 
210      * @return Returns the reportingSortCode.
211      */
212     public String getReportingSortCode() {
213         return reportingSortCode;
214     }
215 
216     /**
217      * Sets the reportingSortCode attribute value.
218      * 
219      * @param reportingSortCode The reportingSortCode to set.
220      */
221     public void setReportingSortCode(String reportingSortCode) {
222         this.reportingSortCode = reportingSortCode;
223     }
224 
225     /**
226      * Gets the levelObjectCode attribute.
227      * 
228      * @return Returns the levelObjectCode.
229      */
230     public String getLevelObjectCode() {
231         return levelObjectCode;
232     }
233 
234     /**
235      * Sets the levelObjectCode attribute value.
236      * 
237      * @param levelObjectCode The levelObjectCode to set.
238      */
239     public void setLevelObjectCode(String levelObjectCode) {
240         this.levelObjectCode = levelObjectCode;
241     }
242 
243     /**
244      * Gets the genericText attribute.
245      * 
246      * @return Returns the genericText.
247      */
248     public String getGenericText() {
249         return genericText;
250     }
251 
252     /**
253      * Sets the genericText attribute value.
254      * 
255      * @param genericText The genericText to set.
256      */
257     public void setGenericText(String genericText) {
258         this.genericText = genericText;
259     }
260 
261     /**
262      * Gets the blankLineOption attribute.
263      * 
264      * @return Returns the blankLineOption.
265      */
266     public String getBlankLineOption() {
267         return blankLineOption;
268     }
269 
270     /**
271      * Sets the blankLineOption attribute value.
272      * 
273      * @param blankLineOption The blankLineOption to set.
274      */
275     public void setBlankLineOption(String blankLineOption) {
276         this.blankLineOption = blankLineOption;
277     }
278     
279     
280     /**
281      * 
282      * Gets the debitCreditOption attribute value.
283      * 
284      * @return Returns the debitCreditOption
285      */
286     public String getDebitCreditOption() {
287         return debitCreditOption;
288     }
289 
290     /**
291      * 
292      * Sets the debitCreditOption attribute
293      * @param debitCreditOption The debitCreditOption to set.
294      */
295     public void setDebitCreditOption(String debitCreditOption) {
296         this.debitCreditOption = debitCreditOption;
297     }
298 
299     /**
300      * @return the include option for encumbrances which have gone to zero
301      */
302     public String getZeroEncumbranceOption() {
303         return zeroEncumbranceOption;
304     }
305 
306     /**
307      * Sets the include option for encumbrances which have gone to zero
308      * @param includeZeroEncumbranceOption the include option for encumbrances which have gone to zero
309      */
310     public void setZeroEncumbranceOption(String zeroEncumbranceOption) {
311         this.zeroEncumbranceOption = zeroEncumbranceOption;
312     }
313 }