001    /*
002     * Copyright 2011 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    
017    package org.kuali.kfs.module.bc.businessobject;
018    
019    import java.math.BigDecimal;
020    import java.util.LinkedHashMap;
021    
022    import org.kuali.kfs.coa.businessobject.Chart;
023    import org.kuali.kfs.coa.businessobject.ObjectLevel;
024    import org.kuali.kfs.coa.businessobject.ObjectConsolidation;
025    import org.kuali.kfs.coa.businessobject.Organization;
026    import org.kuali.kfs.coa.businessobject.SubFundGroup;
027    import org.kuali.rice.kns.bo.PersistableBusinessObjectBase;
028    import org.kuali.rice.kns.util.KualiInteger;
029    
030    /**
031     * 
032     */
033    public class BudgetConstructionObjectSummary extends PersistableBusinessObjectBase {
034    
035        private String principalId;
036        private String organizationChartOfAccountsCode;
037        private String organizationCode;
038        private String subFundGroupCode;
039        private String chartOfAccountsCode;
040        private String incomeExpenseCode;
041        private String financialConsolidationSortCode;
042        private String financialLevelSortCode;
043        private String financialObjectCode;
044        private KualiInteger accountLineAnnualBalanceAmount;
045        private KualiInteger financialBeginningBalanceLineAmount;
046        private String financialConsolidationObjectCode;
047        private String financialObjectLevelCode;
048        private BigDecimal appointmentRequestedCsfFteQuantity;
049        private BigDecimal appointmentRequestedFteQuantity;
050        private BigDecimal csfFullTimeEmploymentQuantity;
051        private BigDecimal positionCsfLeaveFteQuantity;
052    
053        private Chart organizationChartOfAccounts;
054        private Organization organization;
055        private Chart chartOfAccounts;
056        private SubFundGroup subFundGroup;
057        private ObjectLevel financialObjectLevel;
058        private ObjectConsolidation financialConsolidationObject;
059    
060        /**
061         * Default constructor.
062         */
063        public BudgetConstructionObjectSummary() {
064    
065        }
066    
067        /**
068         * Gets the principalId attribute.
069         * 
070         * @return Returns the principalId
071         */
072        public String getPrincipalId() {
073            return principalId;
074        }
075    
076        /**
077         * Sets the principalId attribute.
078         * 
079         * @param principalId The principalId to set.
080         */
081        public void setPrincipalId(String principalId) {
082            this.principalId = principalId;
083        }
084    
085    
086        /**
087         * Gets the organizationChartOfAccountsCode attribute.
088         * 
089         * @return Returns the organizationChartOfAccountsCode
090         */
091        public String getOrganizationChartOfAccountsCode() {
092            return organizationChartOfAccountsCode;
093        }
094    
095        /**
096         * Sets the organizationChartOfAccountsCode attribute.
097         * 
098         * @param organizationChartOfAccountsCode The organizationChartOfAccountsCode to set.
099         */
100        public void setOrganizationChartOfAccountsCode(String organizationChartOfAccountsCode) {
101            this.organizationChartOfAccountsCode = organizationChartOfAccountsCode;
102        }
103    
104    
105        /**
106         * Gets the organizationCode attribute.
107         * 
108         * @return Returns the organizationCode
109         */
110        public String getOrganizationCode() {
111            return organizationCode;
112        }
113    
114        /**
115         * Sets the organizationCode attribute.
116         * 
117         * @param organizationCode The organizationCode to set.
118         */
119        public void setOrganizationCode(String organizationCode) {
120            this.organizationCode = organizationCode;
121        }
122    
123    
124        /**
125         * Gets the subFundGroupCode attribute.
126         * 
127         * @return Returns the subFundGroupCode
128         */
129        public String getSubFundGroupCode() {
130            return subFundGroupCode;
131        }
132    
133        /**
134         * Sets the subFundGroupCode attribute.
135         * 
136         * @param subFundGroupCode The subFundGroupCode to set.
137         */
138        public void setSubFundGroupCode(String subFundGroupCode) {
139            this.subFundGroupCode = subFundGroupCode;
140        }
141    
142    
143        /**
144         * Gets the chartOfAccountsCode attribute.
145         * 
146         * @return Returns the chartOfAccountsCode
147         */
148        public String getChartOfAccountsCode() {
149            return chartOfAccountsCode;
150        }
151    
152        /**
153         * Sets the chartOfAccountsCode attribute.
154         * 
155         * @param chartOfAccountsCode The chartOfAccountsCode to set.
156         */
157        public void setChartOfAccountsCode(String chartOfAccountsCode) {
158            this.chartOfAccountsCode = chartOfAccountsCode;
159        }
160    
161    
162        /**
163         * Gets the incomeExpenseCode attribute.
164         * 
165         * @return Returns the incomeExpenseCode
166         */
167        public String getIncomeExpenseCode() {
168            return incomeExpenseCode;
169        }
170    
171        /**
172         * Sets the incomeExpenseCode attribute.
173         * 
174         * @param incomeExpenseCode The incomeExpenseCode to set.
175         */
176        public void setIncomeExpenseCode(String incomeExpenseCode) {
177            this.incomeExpenseCode = incomeExpenseCode;
178        }
179    
180    
181        /**
182         * Gets the financialConsolidationSortCode attribute.
183         * 
184         * @return Returns the financialConsolidationSortCode
185         */
186        public String getFinancialConsolidationSortCode() {
187            return financialConsolidationSortCode;
188        }
189    
190        /**
191         * Sets the financialConsolidationSortCode attribute.
192         * 
193         * @param financialConsolidationSortCode The financialConsolidationSortCode to set.
194         */
195        public void setFinancialConsolidationSortCode(String financialConsolidationSortCode) {
196            this.financialConsolidationSortCode = financialConsolidationSortCode;
197        }
198    
199    
200        /**
201         * Gets the financialLevelSortCode attribute.
202         * 
203         * @return Returns the financialLevelSortCode
204         */
205        public String getFinancialLevelSortCode() {
206            return financialLevelSortCode;
207        }
208    
209        /**
210         * Sets the financialLevelSortCode attribute.
211         * 
212         * @param financialLevelSortCode The financialLevelSortCode to set.
213         */
214        public void setFinancialLevelSortCode(String financialLevelSortCode) {
215            this.financialLevelSortCode = financialLevelSortCode;
216        }
217    
218    
219        /**
220         * Gets the financialObjectCode attribute.
221         * 
222         * @return Returns the financialObjectCode
223         */
224        public String getFinancialObjectCode() {
225            return financialObjectCode;
226        }
227    
228        /**
229         * Sets the financialObjectCode attribute.
230         * 
231         * @param financialObjectCode The financialObjectCode to set.
232         */
233        public void setFinancialObjectCode(String financialObjectCode) {
234            this.financialObjectCode = financialObjectCode;
235        }
236    
237    
238        /**
239         * Gets the accountLineAnnualBalanceAmount attribute.
240         * 
241         * @return Returns the accountLineAnnualBalanceAmount.
242         */
243        public KualiInteger getAccountLineAnnualBalanceAmount() {
244            return accountLineAnnualBalanceAmount;
245        }
246    
247        /**
248         * Sets the accountLineAnnualBalanceAmount attribute value.
249         * 
250         * @param accountLineAnnualBalanceAmount The accountLineAnnualBalanceAmount to set.
251         */
252        public void setAccountLineAnnualBalanceAmount(KualiInteger accountLineAnnualBalanceAmount) {
253            this.accountLineAnnualBalanceAmount = accountLineAnnualBalanceAmount;
254        }
255    
256        /**
257         * Gets the financialBeginningBalanceLineAmount attribute.
258         * 
259         * @return Returns the financialBeginningBalanceLineAmount.
260         */
261        public KualiInteger getFinancialBeginningBalanceLineAmount() {
262            return financialBeginningBalanceLineAmount;
263        }
264    
265        /**
266         * Sets the financialBeginningBalanceLineAmount attribute value.
267         * 
268         * @param financialBeginningBalanceLineAmount The financialBeginningBalanceLineAmount to set.
269         */
270        public void setFinancialBeginningBalanceLineAmount(KualiInteger financialBeginningBalanceLineAmount) {
271            this.financialBeginningBalanceLineAmount = financialBeginningBalanceLineAmount;
272        }
273    
274        /**
275         * Gets the financialConsolidationObjectCode attribute.
276         * 
277         * @return Returns the financialConsolidationObjectCode
278         */
279        public String getFinancialConsolidationObjectCode() {
280            return financialConsolidationObjectCode;
281        }
282    
283        /**
284         * Sets the financialConsolidationObjectCode attribute.
285         * 
286         * @param financialConsolidationObjectCode The financialConsolidationObjectCode to set.
287         */
288        public void setFinancialConsolidationObjectCode(String financialConsolidationObjectCode) {
289            this.financialConsolidationObjectCode = financialConsolidationObjectCode;
290        }
291    
292    
293        /**
294         * Gets the financialObjectLevelCode attribute.
295         * 
296         * @return Returns the financialObjectLevelCode
297         */
298        public String getFinancialObjectLevelCode() {
299            return financialObjectLevelCode;
300        }
301    
302        /**
303         * Sets the financialObjectLevelCode attribute.
304         * 
305         * @param financialObjectLevelCode The financialObjectLevelCode to set.
306         */
307        public void setFinancialObjectLevelCode(String financialObjectLevelCode) {
308            this.financialObjectLevelCode = financialObjectLevelCode;
309        }
310    
311    
312        /**
313         * Gets the appointmentRequestedCsfFteQuantity attribute.
314         * 
315         * @return Returns the appointmentRequestedCsfFteQuantity
316         */
317        public BigDecimal getAppointmentRequestedCsfFteQuantity() {
318            return appointmentRequestedCsfFteQuantity;
319        }
320    
321        /**
322         * Sets the appointmentRequestedCsfFteQuantity attribute.
323         * 
324         * @param appointmentRequestedCsfFteQuantity The appointmentRequestedCsfFteQuantity to set.
325         */
326        public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) {
327            this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity;
328        }
329    
330    
331        /**
332         * Gets the appointmentRequestedFteQuantity attribute.
333         * 
334         * @return Returns the appointmentRequestedFteQuantity
335         */
336        public BigDecimal getAppointmentRequestedFteQuantity() {
337            return appointmentRequestedFteQuantity;
338        }
339    
340        /**
341         * Sets the appointmentRequestedFteQuantity attribute.
342         * 
343         * @param appointmentRequestedFteQuantity The appointmentRequestedFteQuantity to set.
344         */
345        public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) {
346            this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity;
347        }
348    
349    
350        /**
351         * Gets the csfFullTimeEmploymentQuantity attribute.
352         * 
353         * @return Returns the csfFullTimeEmploymentQuantity
354         */
355        public BigDecimal getCsfFullTimeEmploymentQuantity() {
356            return csfFullTimeEmploymentQuantity;
357        }
358    
359        /**
360         * Sets the csfFullTimeEmploymentQuantity attribute.
361         * 
362         * @param csfFullTimeEmploymentQuantity The csfFullTimeEmploymentQuantity to set.
363         */
364        public void setCsfFullTimeEmploymentQuantity(BigDecimal csfFullTimeEmploymentQuantity) {
365            this.csfFullTimeEmploymentQuantity = csfFullTimeEmploymentQuantity;
366        }
367    
368    
369        /**
370         * Gets the positionCsfLeaveFteQuantity attribute.
371         * 
372         * @return Returns the positionCsfLeaveFteQuantity
373         */
374        public BigDecimal getPositionCsfLeaveFteQuantity() {
375            return positionCsfLeaveFteQuantity;
376        }
377    
378        /**
379         * Sets the positionCsfLeaveFteQuantity attribute.
380         * 
381         * @param positionCsfLeaveFteQuantity The positionCsfLeaveFteQuantity to set.
382         */
383        public void setPositionCsfLeaveFteQuantity(BigDecimal positionCsfLeaveFteQuantity) {
384            this.positionCsfLeaveFteQuantity = positionCsfLeaveFteQuantity;
385        }
386    
387    
388        /**
389         * Gets the organizationChartOfAccounts attribute.
390         * 
391         * @return Returns the organizationChartOfAccounts
392         */
393        public Chart getOrganizationChartOfAccounts() {
394            return organizationChartOfAccounts;
395        }
396    
397        /**
398         * Sets the organizationChartOfAccounts attribute.
399         * 
400         * @param organizationChartOfAccounts The organizationChartOfAccounts to set.
401         * @deprecated
402         */
403        public void setOrganizationChartOfAccounts(Chart organizationChartOfAccounts) {
404            this.organizationChartOfAccounts = organizationChartOfAccounts;
405        }
406    
407        /**
408         * Gets the organization attribute.
409         * 
410         * @return Returns the organization
411         */
412        public Organization getOrganization() {
413            return organization;
414        }
415    
416        /**
417         * Sets the organization attribute.
418         * 
419         * @param organization The organization to set.
420         * @deprecated
421         */
422        public void setOrganization(Organization organization) {
423            this.organization = organization;
424        }
425    
426        /**
427         * Gets the chartOfAccounts attribute.
428         * 
429         * @return Returns the chartOfAccounts
430         */
431        public Chart getChartOfAccounts() {
432            return chartOfAccounts;
433        }
434    
435        /**
436         * Sets the chartOfAccounts attribute.
437         * 
438         * @param chartOfAccounts The chartOfAccounts to set.
439         * @deprecated
440         */
441        public void setChartOfAccounts(Chart chartOfAccounts) {
442            this.chartOfAccounts = chartOfAccounts;
443        }
444    
445        /**
446         * Gets the financialObjectLevel attribute.
447         * 
448         * @return Returns the financialObjectLevel.
449         */
450        public ObjectLevel getFinancialObjectLevel() {
451            return financialObjectLevel;
452        }
453    
454        /**
455         * Sets the financialObjectLevel attribute value.
456         * 
457         * @param financialObjectLevel The financialObjectLevel to set.
458         * @deprecated
459         */
460        public void setFinancialObjectLevel(ObjectLevel financialObjectLevel) {
461            this.financialObjectLevel = financialObjectLevel;
462        }
463    
464        /**
465         * Gets the subFundGroup attribute.
466         * 
467         * @return Returns the subFundGroup.
468         */
469        public SubFundGroup getSubFundGroup() {
470            return subFundGroup;
471        }
472    
473        /**
474         * Sets the subFundGroup attribute value.
475         * 
476         * @param subFundGroup The subFundGroup to set.
477         * @deprecated
478         */
479        public void setSubFundGroup(SubFundGroup subFundGroup) {
480            this.subFundGroup = subFundGroup;
481        }
482    
483        /**
484         * Gets the financialConsolidationObject attribute.
485         * 
486         * @return Returns the financialConsolidationObject.
487         */
488        public ObjectConsolidation getFinancialConsolidationObject() {
489            return financialConsolidationObject;
490        }
491    
492        /**
493         * Sets the financialConsolidationObject attribute value.
494         * 
495         * @param financialConsolidationObject The financialConsolidationObject to set.
496         * @deprecated
497         */
498        public void setFinancialConsolidationObject(ObjectConsolidation financialConsolidationObject) {
499            this.financialConsolidationObject = financialConsolidationObject;
500        }
501    
502        /**
503         * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper()
504         */
505        protected LinkedHashMap toStringMapper() {
506            LinkedHashMap m = new LinkedHashMap();
507            m.put("principalId", this.principalId);
508            m.put("organizationChartOfAccountsCode", this.organizationChartOfAccountsCode);
509            m.put("organizationCode", this.organizationCode);
510            m.put("subFundGroupCode", this.subFundGroupCode);
511            m.put("chartOfAccountsCode", this.chartOfAccountsCode);
512            m.put("incomeExpenseCode", this.incomeExpenseCode);
513            m.put("financialConsolidationSortCode", this.financialConsolidationSortCode);
514            m.put("financialLevelSortCode", this.financialLevelSortCode);
515            m.put("financialObjectCode", this.financialObjectCode);
516            return m;
517        }
518    }
519