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.util.LinkedHashMap; 020 021 import org.kuali.kfs.coa.businessobject.Chart; 022 import org.kuali.kfs.coa.businessobject.ObjectLevel; 023 import org.kuali.kfs.coa.businessobject.ObjectConsolidation; 024 import org.kuali.kfs.coa.businessobject.Organization; 025 import org.kuali.kfs.coa.businessobject.SubFundGroup; 026 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 027 import org.kuali.rice.kns.util.KualiInteger; 028 029 /** 030 * 031 */ 032 public class BudgetConstructionMonthSummary extends PersistableBusinessObjectBase { 033 034 private String principalId; 035 private String organizationChartOfAccountsCode; 036 private String organizationCode; 037 private String subFundGroupCode; 038 private String chartOfAccountsCode; 039 private String incomeExpenseCode; 040 private String financialConsolidationSortCode; 041 private String financialLevelSortCode; 042 private String financialObjectCode; 043 private String financialSubObjectCode; 044 private KualiInteger accountLineAnnualBalanceAmount; 045 private KualiInteger financialDocumentMonth1LineAmount; 046 private KualiInteger financialDocumentMonth2LineAmount; 047 private KualiInteger financialDocumentMonth3LineAmount; 048 private KualiInteger financialDocumentMonth4LineAmount; 049 private KualiInteger financialDocumentMonth5LineAmount; 050 private KualiInteger financialDocumentMonth6LineAmount; 051 private KualiInteger financialDocumentMonth7LineAmount; 052 private KualiInteger financialDocumentMonth8LineAmount; 053 private KualiInteger financialDocumentMonth9LineAmount; 054 private KualiInteger financialDocumentMonth10LineAmount; 055 private KualiInteger financialDocumentMonth11LineAmount; 056 private KualiInteger financialDocumentMonth12LineAmount; 057 private String financialConsolidationObjectCode; 058 private String financialObjectLevelCode; 059 060 private Chart organizationChartOfAccounts; 061 private Organization organization; 062 private Chart chartOfAccounts; 063 private SubFundGroup subFundGroup; 064 private ObjectLevel financialObjectLevel; 065 private ObjectConsolidation financialConsolidationObject; 066 067 /** 068 * Default constructor. 069 */ 070 public BudgetConstructionMonthSummary() { 071 072 } 073 074 /** 075 * Gets the principalId attribute. 076 * 077 * @return Returns the principalId 078 */ 079 public String getPrincipalId() { 080 return principalId; 081 } 082 083 /** 084 * Sets the principalId attribute. 085 * 086 * @param principalId The principalId to set. 087 */ 088 public void setPrincipalId(String principalId) { 089 this.principalId = principalId; 090 } 091 092 093 /** 094 * Gets the organizationChartOfAccountsCode attribute. 095 * 096 * @return Returns the organizationChartOfAccountsCode 097 */ 098 public String getOrganizationChartOfAccountsCode() { 099 return organizationChartOfAccountsCode; 100 } 101 102 /** 103 * Sets the organizationChartOfAccountsCode attribute. 104 * 105 * @param organizationChartOfAccountsCode The organizationChartOfAccountsCode to set. 106 */ 107 public void setOrganizationChartOfAccountsCode(String organizationChartOfAccountsCode) { 108 this.organizationChartOfAccountsCode = organizationChartOfAccountsCode; 109 } 110 111 112 /** 113 * Gets the organizationCode attribute. 114 * 115 * @return Returns the organizationCode 116 */ 117 public String getOrganizationCode() { 118 return organizationCode; 119 } 120 121 /** 122 * Sets the organizationCode attribute. 123 * 124 * @param organizationCode The organizationCode to set. 125 */ 126 public void setOrganizationCode(String organizationCode) { 127 this.organizationCode = organizationCode; 128 } 129 130 131 /** 132 * Gets the subFundGroupCode attribute. 133 * 134 * @return Returns the subFundGroupCode 135 */ 136 public String getSubFundGroupCode() { 137 return subFundGroupCode; 138 } 139 140 /** 141 * Sets the subFundGroupCode attribute. 142 * 143 * @param subFundGroupCode The subFundGroupCode to set. 144 */ 145 public void setSubFundGroupCode(String subFundGroupCode) { 146 this.subFundGroupCode = subFundGroupCode; 147 } 148 149 150 /** 151 * Gets the chartOfAccountsCode attribute. 152 * 153 * @return Returns the chartOfAccountsCode 154 */ 155 public String getChartOfAccountsCode() { 156 return chartOfAccountsCode; 157 } 158 159 /** 160 * Sets the chartOfAccountsCode attribute. 161 * 162 * @param chartOfAccountsCode The chartOfAccountsCode to set. 163 */ 164 public void setChartOfAccountsCode(String chartOfAccountsCode) { 165 this.chartOfAccountsCode = chartOfAccountsCode; 166 } 167 168 169 /** 170 * Gets the incomeExpenseCode attribute. 171 * 172 * @return Returns the incomeExpenseCode 173 */ 174 public String getIncomeExpenseCode() { 175 return incomeExpenseCode; 176 } 177 178 /** 179 * Sets the incomeExpenseCode attribute. 180 * 181 * @param incomeExpenseCode The incomeExpenseCode to set. 182 */ 183 public void setIncomeExpenseCode(String incomeExpenseCode) { 184 this.incomeExpenseCode = incomeExpenseCode; 185 } 186 187 188 /** 189 * Gets the financialConsolidationSortCode attribute. 190 * 191 * @return Returns the financialConsolidationSortCode 192 */ 193 public String getFinancialConsolidationSortCode() { 194 return financialConsolidationSortCode; 195 } 196 197 /** 198 * Sets the financialConsolidationSortCode attribute. 199 * 200 * @param financialConsolidationSortCode The financialConsolidationSortCode to set. 201 */ 202 public void setFinancialConsolidationSortCode(String financialConsolidationSortCode) { 203 this.financialConsolidationSortCode = financialConsolidationSortCode; 204 } 205 206 207 /** 208 * Gets the financialLevelSortCode attribute. 209 * 210 * @return Returns the financialLevelSortCode 211 */ 212 public String getFinancialLevelSortCode() { 213 return financialLevelSortCode; 214 } 215 216 /** 217 * Sets the financialLevelSortCode attribute. 218 * 219 * @param financialLevelSortCode The financialLevelSortCode to set. 220 */ 221 public void setFinancialLevelSortCode(String financialLevelSortCode) { 222 this.financialLevelSortCode = financialLevelSortCode; 223 } 224 225 226 /** 227 * Gets the financialObjectCode attribute. 228 * 229 * @return Returns the financialObjectCode 230 */ 231 public String getFinancialObjectCode() { 232 return financialObjectCode; 233 } 234 235 /** 236 * Sets the financialObjectCode attribute. 237 * 238 * @param financialObjectCode The financialObjectCode to set. 239 */ 240 public void setFinancialObjectCode(String financialObjectCode) { 241 this.financialObjectCode = financialObjectCode; 242 } 243 244 245 /** 246 * Gets the financialSubObjectCode attribute. 247 * 248 * @return Returns the financialSubObjectCode 249 */ 250 public String getFinancialSubObjectCode() { 251 return financialSubObjectCode; 252 } 253 254 /** 255 * Sets the financialSubObjectCode attribute. 256 * 257 * @param financialSubObjectCode The financialSubObjectCode to set. 258 */ 259 public void setFinancialSubObjectCode(String financialSubObjectCode) { 260 this.financialSubObjectCode = financialSubObjectCode; 261 } 262 263 264 /** 265 * Gets the accountLineAnnualBalanceAmount attribute. 266 * 267 * @return Returns the accountLineAnnualBalanceAmount. 268 */ 269 public KualiInteger getAccountLineAnnualBalanceAmount() { 270 return accountLineAnnualBalanceAmount; 271 } 272 273 /** 274 * Sets the accountLineAnnualBalanceAmount attribute value. 275 * 276 * @param accountLineAnnualBalanceAmount The accountLineAnnualBalanceAmount to set. 277 */ 278 public void setAccountLineAnnualBalanceAmount(KualiInteger accountLineAnnualBalanceAmount) { 279 this.accountLineAnnualBalanceAmount = accountLineAnnualBalanceAmount; 280 } 281 282 /** 283 * Gets the financialDocumentMonth10LineAmount attribute. 284 * 285 * @return Returns the financialDocumentMonth10LineAmount. 286 */ 287 public KualiInteger getFinancialDocumentMonth10LineAmount() { 288 return financialDocumentMonth10LineAmount; 289 } 290 291 /** 292 * Sets the financialDocumentMonth10LineAmount attribute value. 293 * 294 * @param financialDocumentMonth10LineAmount The financialDocumentMonth10LineAmount to set. 295 */ 296 public void setFinancialDocumentMonth10LineAmount(KualiInteger financialDocumentMonth10LineAmount) { 297 this.financialDocumentMonth10LineAmount = financialDocumentMonth10LineAmount; 298 } 299 300 /** 301 * Gets the financialDocumentMonth11LineAmount attribute. 302 * 303 * @return Returns the financialDocumentMonth11LineAmount. 304 */ 305 public KualiInteger getFinancialDocumentMonth11LineAmount() { 306 return financialDocumentMonth11LineAmount; 307 } 308 309 /** 310 * Sets the financialDocumentMonth11LineAmount attribute value. 311 * 312 * @param financialDocumentMonth11LineAmount The financialDocumentMonth11LineAmount to set. 313 */ 314 public void setFinancialDocumentMonth11LineAmount(KualiInteger financialDocumentMonth11LineAmount) { 315 this.financialDocumentMonth11LineAmount = financialDocumentMonth11LineAmount; 316 } 317 318 /** 319 * Gets the financialDocumentMonth12LineAmount attribute. 320 * 321 * @return Returns the financialDocumentMonth12LineAmount. 322 */ 323 public KualiInteger getFinancialDocumentMonth12LineAmount() { 324 return financialDocumentMonth12LineAmount; 325 } 326 327 /** 328 * Sets the financialDocumentMonth12LineAmount attribute value. 329 * 330 * @param financialDocumentMonth12LineAmount The financialDocumentMonth12LineAmount to set. 331 */ 332 public void setFinancialDocumentMonth12LineAmount(KualiInteger financialDocumentMonth12LineAmount) { 333 this.financialDocumentMonth12LineAmount = financialDocumentMonth12LineAmount; 334 } 335 336 /** 337 * Gets the financialDocumentMonth1LineAmount attribute. 338 * 339 * @return Returns the financialDocumentMonth1LineAmount. 340 */ 341 public KualiInteger getFinancialDocumentMonth1LineAmount() { 342 return financialDocumentMonth1LineAmount; 343 } 344 345 /** 346 * Sets the financialDocumentMonth1LineAmount attribute value. 347 * 348 * @param financialDocumentMonth1LineAmount The financialDocumentMonth1LineAmount to set. 349 */ 350 public void setFinancialDocumentMonth1LineAmount(KualiInteger financialDocumentMonth1LineAmount) { 351 this.financialDocumentMonth1LineAmount = financialDocumentMonth1LineAmount; 352 } 353 354 /** 355 * Gets the financialDocumentMonth2LineAmount attribute. 356 * 357 * @return Returns the financialDocumentMonth2LineAmount. 358 */ 359 public KualiInteger getFinancialDocumentMonth2LineAmount() { 360 return financialDocumentMonth2LineAmount; 361 } 362 363 /** 364 * Sets the financialDocumentMonth2LineAmount attribute value. 365 * 366 * @param financialDocumentMonth2LineAmount The financialDocumentMonth2LineAmount to set. 367 */ 368 public void setFinancialDocumentMonth2LineAmount(KualiInteger financialDocumentMonth2LineAmount) { 369 this.financialDocumentMonth2LineAmount = financialDocumentMonth2LineAmount; 370 } 371 372 /** 373 * Gets the financialDocumentMonth3LineAmount attribute. 374 * 375 * @return Returns the financialDocumentMonth3LineAmount. 376 */ 377 public KualiInteger getFinancialDocumentMonth3LineAmount() { 378 return financialDocumentMonth3LineAmount; 379 } 380 381 /** 382 * Sets the financialDocumentMonth3LineAmount attribute value. 383 * 384 * @param financialDocumentMonth3LineAmount The financialDocumentMonth3LineAmount to set. 385 */ 386 public void setFinancialDocumentMonth3LineAmount(KualiInteger financialDocumentMonth3LineAmount) { 387 this.financialDocumentMonth3LineAmount = financialDocumentMonth3LineAmount; 388 } 389 390 /** 391 * Gets the financialDocumentMonth4LineAmount attribute. 392 * 393 * @return Returns the financialDocumentMonth4LineAmount. 394 */ 395 public KualiInteger getFinancialDocumentMonth4LineAmount() { 396 return financialDocumentMonth4LineAmount; 397 } 398 399 /** 400 * Sets the financialDocumentMonth4LineAmount attribute value. 401 * 402 * @param financialDocumentMonth4LineAmount The financialDocumentMonth4LineAmount to set. 403 */ 404 public void setFinancialDocumentMonth4LineAmount(KualiInteger financialDocumentMonth4LineAmount) { 405 this.financialDocumentMonth4LineAmount = financialDocumentMonth4LineAmount; 406 } 407 408 /** 409 * Gets the financialDocumentMonth5LineAmount attribute. 410 * 411 * @return Returns the financialDocumentMonth5LineAmount. 412 */ 413 public KualiInteger getFinancialDocumentMonth5LineAmount() { 414 return financialDocumentMonth5LineAmount; 415 } 416 417 /** 418 * Sets the financialDocumentMonth5LineAmount attribute value. 419 * 420 * @param financialDocumentMonth5LineAmount The financialDocumentMonth5LineAmount to set. 421 */ 422 public void setFinancialDocumentMonth5LineAmount(KualiInteger financialDocumentMonth5LineAmount) { 423 this.financialDocumentMonth5LineAmount = financialDocumentMonth5LineAmount; 424 } 425 426 /** 427 * Gets the financialDocumentMonth6LineAmount attribute. 428 * 429 * @return Returns the financialDocumentMonth6LineAmount. 430 */ 431 public KualiInteger getFinancialDocumentMonth6LineAmount() { 432 return financialDocumentMonth6LineAmount; 433 } 434 435 /** 436 * Sets the financialDocumentMonth6LineAmount attribute value. 437 * 438 * @param financialDocumentMonth6LineAmount The financialDocumentMonth6LineAmount to set. 439 */ 440 public void setFinancialDocumentMonth6LineAmount(KualiInteger financialDocumentMonth6LineAmount) { 441 this.financialDocumentMonth6LineAmount = financialDocumentMonth6LineAmount; 442 } 443 444 /** 445 * Gets the financialDocumentMonth7LineAmount attribute. 446 * 447 * @return Returns the financialDocumentMonth7LineAmount. 448 */ 449 public KualiInteger getFinancialDocumentMonth7LineAmount() { 450 return financialDocumentMonth7LineAmount; 451 } 452 453 /** 454 * Sets the financialDocumentMonth7LineAmount attribute value. 455 * 456 * @param financialDocumentMonth7LineAmount The financialDocumentMonth7LineAmount to set. 457 */ 458 public void setFinancialDocumentMonth7LineAmount(KualiInteger financialDocumentMonth7LineAmount) { 459 this.financialDocumentMonth7LineAmount = financialDocumentMonth7LineAmount; 460 } 461 462 /** 463 * Gets the financialDocumentMonth8LineAmount attribute. 464 * 465 * @return Returns the financialDocumentMonth8LineAmount. 466 */ 467 public KualiInteger getFinancialDocumentMonth8LineAmount() { 468 return financialDocumentMonth8LineAmount; 469 } 470 471 /** 472 * Sets the financialDocumentMonth8LineAmount attribute value. 473 * 474 * @param financialDocumentMonth8LineAmount The financialDocumentMonth8LineAmount to set. 475 */ 476 public void setFinancialDocumentMonth8LineAmount(KualiInteger financialDocumentMonth8LineAmount) { 477 this.financialDocumentMonth8LineAmount = financialDocumentMonth8LineAmount; 478 } 479 480 /** 481 * Gets the financialDocumentMonth9LineAmount attribute. 482 * 483 * @return Returns the financialDocumentMonth9LineAmount. 484 */ 485 public KualiInteger getFinancialDocumentMonth9LineAmount() { 486 return financialDocumentMonth9LineAmount; 487 } 488 489 /** 490 * Sets the financialDocumentMonth9LineAmount attribute value. 491 * 492 * @param financialDocumentMonth9LineAmount The financialDocumentMonth9LineAmount to set. 493 */ 494 public void setFinancialDocumentMonth9LineAmount(KualiInteger financialDocumentMonth9LineAmount) { 495 this.financialDocumentMonth9LineAmount = financialDocumentMonth9LineAmount; 496 } 497 498 /** 499 * Gets the financialConsolidationObjectCode attribute. 500 * 501 * @return Returns the financialConsolidationObjectCode 502 */ 503 public String getFinancialConsolidationObjectCode() { 504 return financialConsolidationObjectCode; 505 } 506 507 /** 508 * Sets the financialConsolidationObjectCode attribute. 509 * 510 * @param financialConsolidationObjectCode The financialConsolidationObjectCode to set. 511 */ 512 public void setFinancialConsolidationObjectCode(String financialConsolidationObjectCode) { 513 this.financialConsolidationObjectCode = financialConsolidationObjectCode; 514 } 515 516 517 /** 518 * Gets the financialObjectLevelCode attribute. 519 * 520 * @return Returns the financialObjectLevelCode 521 */ 522 public String getFinancialObjectLevelCode() { 523 return financialObjectLevelCode; 524 } 525 526 /** 527 * Sets the financialObjectLevelCode attribute. 528 * 529 * @param financialObjectLevelCode The financialObjectLevelCode to set. 530 */ 531 public void setFinancialObjectLevelCode(String financialObjectLevelCode) { 532 this.financialObjectLevelCode = financialObjectLevelCode; 533 } 534 535 536 /** 537 * Gets the organizationChartOfAccounts attribute. 538 * 539 * @return Returns the organizationChartOfAccounts 540 */ 541 public Chart getOrganizationChartOfAccounts() { 542 return organizationChartOfAccounts; 543 } 544 545 /** 546 * Sets the organizationChartOfAccounts attribute. 547 * 548 * @param organizationChartOfAccounts The organizationChartOfAccounts to set. 549 * @deprecated 550 */ 551 public void setOrganizationChartOfAccounts(Chart organizationChartOfAccounts) { 552 this.organizationChartOfAccounts = organizationChartOfAccounts; 553 } 554 555 /** 556 * Gets the organization attribute. 557 * 558 * @return Returns the organization 559 */ 560 public Organization getOrganization() { 561 return organization; 562 } 563 564 /** 565 * Sets the organization attribute. 566 * 567 * @param organization The organization to set. 568 * @deprecated 569 */ 570 public void setOrganization(Organization organization) { 571 this.organization = organization; 572 } 573 574 /** 575 * Gets the chartOfAccounts attribute. 576 * 577 * @return Returns the chartOfAccounts 578 */ 579 public Chart getChartOfAccounts() { 580 return chartOfAccounts; 581 } 582 583 /** 584 * Sets the chartOfAccounts attribute. 585 * 586 * @param chartOfAccounts The chartOfAccounts to set. 587 * @deprecated 588 */ 589 public void setChartOfAccounts(Chart chartOfAccounts) { 590 this.chartOfAccounts = chartOfAccounts; 591 } 592 593 /** 594 * Gets the financialObjectLevel attribute. 595 * 596 * @return Returns the financialObjectLevel. 597 */ 598 public ObjectLevel getFinancialObjectLevel() { 599 return financialObjectLevel; 600 } 601 602 /** 603 * Sets the financialObjectLevel attribute value. 604 * 605 * @param financialObjectLevel The financialObjectLevel to set. 606 * @deprecated 607 */ 608 public void setFinancialObjectLevel(ObjectLevel financialObjectLevel) { 609 this.financialObjectLevel = financialObjectLevel; 610 } 611 612 /** 613 * Gets the subFundGroup attribute. 614 * 615 * @return Returns the subFundGroup. 616 */ 617 public SubFundGroup getSubFundGroup() { 618 return subFundGroup; 619 } 620 621 /** 622 * Sets the subFundGroup attribute value. 623 * 624 * @param subFundGroup The subFundGroup to set. 625 * @deprecated 626 */ 627 public void setSubFundGroup(SubFundGroup subFundGroup) { 628 this.subFundGroup = subFundGroup; 629 } 630 631 /** 632 * Gets the financialConsolidationObject attribute. 633 * 634 * @return Returns the financialConsolidationObject. 635 */ 636 public ObjectConsolidation getFinancialConsolidationObject() { 637 return financialConsolidationObject; 638 } 639 640 /** 641 * Sets the financialConsolidationObject attribute value. 642 * 643 * @param financialConsolidationObject The financialConsolidationObject to set. 644 * @deprecated 645 */ 646 public void setFinancialConsolidationObject(ObjectConsolidation financialConsolidationObject) { 647 this.financialConsolidationObject = financialConsolidationObject; 648 } 649 650 /** 651 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 652 */ 653 protected LinkedHashMap toStringMapper() { 654 LinkedHashMap m = new LinkedHashMap(); 655 m.put("principalId", this.principalId); 656 m.put("organizationChartOfAccountsCode", this.organizationChartOfAccountsCode); 657 m.put("organizationCode", this.organizationCode); 658 m.put("subFundGroupCode", this.subFundGroupCode); 659 m.put("chartOfAccountsCode", this.chartOfAccountsCode); 660 m.put("incomeExpenseCode", this.incomeExpenseCode); 661 m.put("financialConsolidationSortCode", this.financialConsolidationSortCode); 662 m.put("financialLevelSortCode", this.financialLevelSortCode); 663 m.put("financialObjectCode", this.financialObjectCode); 664 m.put("financialSubObjectCode", this.financialSubObjectCode); 665 return m; 666 } 667 668 } 669