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