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 package org.kuali.kfs.module.external.kc.businessobject; 017 018 import java.util.LinkedHashMap; 019 020 import org.kuali.kfs.coa.businessobject.Account; 021 import org.kuali.kfs.coa.businessobject.AccountType; 022 import org.kuali.kfs.coa.businessobject.BudgetRecordingLevel; 023 import org.kuali.kfs.coa.businessobject.Chart; 024 import org.kuali.kfs.coa.businessobject.HigherEducationFunction; 025 import org.kuali.kfs.coa.businessobject.IndirectCostRecoveryType; 026 import org.kuali.kfs.coa.businessobject.Organization; 027 import org.kuali.kfs.coa.businessobject.SubFundGroup; 028 import org.kuali.kfs.coa.businessobject.SufficientFundsCode; 029 import org.kuali.kfs.integration.cg.ContractsAndGrantsUnit; 030 import org.kuali.kfs.sys.context.SpringContext; 031 import org.kuali.rice.kim.bo.Person; 032 import org.kuali.rice.kns.bo.Campus; 033 import org.kuali.rice.kns.bo.Inactivateable; 034 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 035 import org.kuali.rice.kns.bo.PostalCode; 036 import org.kuali.rice.kns.bo.State; 037 import org.kuali.rice.kns.service.KualiModuleService; 038 import org.kuali.rice.kns.service.PostalCodeService; 039 040 /** 041 * 042 */ 043 public class AccountAutoCreateDefaults extends PersistableBusinessObjectBase implements Inactivateable { 044 protected static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(AccountAutoCreateDefaults.class); 045 private Integer accountDefaultId; 046 private String kcUnit; 047 //private KCUnit kcUnit; 048 private String kcUnitName; 049 private Chart chartOfAccounts; 050 private String chartOfAccountsCode; 051 private Organization organization; 052 private String organizationCode; 053 private String accountZipCode; 054 private PostalCode postalZipCode; 055 private String accountCityName; 056 private String accountStateCode; 057 private State accountState; 058 private String accountStreetAddress; 059 private AccountType accountType; 060 private String accountTypeCode; 061 private String accountPhysicalCampusCode; 062 private Campus accountPhysicalCampus; 063 private SubFundGroup subFundGroup; 064 private String subFundGroupCode; 065 private boolean accountsFringesBnftIndicator; 066 protected Chart fringeBenefitsChartOfAccount; 067 private String reportsToChartOfAccountsCode; 068 private String reportsToAccountNumber; 069 private String accountFiscalOfficerSystemIdentifier; 070 private String accountsSupervisorySystemsIdentifier; 071 private String accountManagerSystemIdentifier; 072 private Account reportsToAccount; 073 protected Chart continuationChartOfAccount; 074 private String continuationFinChrtOfAcctCd; 075 private Account continuationAccount; 076 private String continuationAccountNumber; 077 private Account incomeStreamAccount; 078 protected Chart incomeStreamChartOfAccounts; 079 private String incomeStreamFinancialCoaCode; 080 private String incomeStreamAccountNumber; 081 private String budgetRecordingLevelCode; 082 private BudgetRecordingLevel budgetRecordingLevel; 083 private SufficientFundsCode sufficientFundsCode; 084 private String accountSufficientFundsCode; 085 private boolean pendingAcctSufficientFundsIndicator; 086 private boolean extrnlFinEncumSufficntFndIndicator; 087 private boolean intrnlFinEncumSufficntFndIndicator; 088 private boolean finPreencumSufficientFundIndicator; 089 private boolean financialObjectivePrsctrlIndicator; 090 protected Chart indirectCostRcvyChartOfAccounts; 091 private String indirectCostRcvyFinCoaCode; 092 private Account indirectCostRecoveryAcct; 093 private String indirectCostRecoveryAcctNbr; 094 private Integer contractsAndGrantsAccountResponsibilityId; 095 private String accountDescriptionCampusCode; 096 private String accountDescriptionBuildingCode; 097 private boolean active; 098 099 // 100 private Person accountFiscalOfficerUser; 101 private Person accountSupervisoryUser; 102 private Person accountManagerUser; 103 private ContractsAndGrantsUnit unitDTO; 104 105 /** 106 * Default no-arg constructor. 107 */ 108 public AccountAutoCreateDefaults() { 109 active = true; // assume active until otherwise set 110 } 111 112 /** 113 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 114 */ 115 protected LinkedHashMap toStringMapper() { 116 LinkedHashMap m = new LinkedHashMap(); 117 m.put("chartOfAccountsCode", this.chartOfAccountsCode); 118 return m; 119 } 120 121 /** 122 * Gets the kcUnit attribute. 123 * @return Returns the kcUnit. 124 */ 125 public String getKcUnit() { 126 return kcUnit; 127 } 128 129 /** 130 * Sets the kcUnit attribute value. 131 * @param kcUnit The kcUnit to set. 132 */ 133 public void setKcUnit(String kcUnit) { 134 this.kcUnit = kcUnit; 135 } 136 137 /** 138 * Gets the kcUnitName attribute. 139 * @return Returns the kcUnitName. 140 */ 141 public String getKcUnitName() { 142 return kcUnitName; 143 } 144 145 /** 146 * Sets the kcUnitName attribute value. 147 * @param kcUnitName The kcUnitName to set. 148 */ 149 public void setKcUnitName(String kcUnitName) { 150 this.kcUnitName = kcUnitName; 151 } 152 153 /** 154 * Gets the chartOfAccounts attribute. 155 * @return Returns the chartOfAccounts. 156 */ 157 public Chart getChartOfAccounts() { 158 return chartOfAccounts; 159 } 160 161 /** 162 * Sets the chartOfAccounts attribute value. 163 * @param chartOfAccounts The chartOfAccounts to set. 164 */ 165 public void setChartOfAccounts(Chart chartOfAccounts) { 166 this.chartOfAccounts = chartOfAccounts; 167 } 168 169 /** 170 * Gets the chartOfAccountsCode attribute. 171 * @return Returns the chartOfAccountsCode. 172 */ 173 public String getChartOfAccountsCode() { 174 return chartOfAccountsCode; 175 } 176 177 /** 178 * Sets the chartOfAccountsCode attribute value. 179 * @param chartOfAccountsCode The chartOfAccountsCode to set. 180 */ 181 public void setChartOfAccountsCode(String chartOfAccountsCode) { 182 this.chartOfAccountsCode = chartOfAccountsCode; 183 } 184 185 /** 186 * Gets the organization attribute. 187 * @return Returns the organization. 188 */ 189 public Organization getOrganization() { 190 return organization; 191 } 192 193 /** 194 * Sets the organization attribute value. 195 * @param organization The organization to set. 196 */ 197 public void setOrganization(Organization organization) { 198 this.organization = organization; 199 } 200 201 /** 202 * Gets the organizationCode attribute. 203 * @return Returns the organizationCode. 204 */ 205 public String getOrganizationCode() { 206 return organizationCode; 207 } 208 209 /** 210 * Sets the organizationCode attribute value. 211 * @param organizationCode The organizationCode to set. 212 */ 213 public void setOrganizationCode(String organizationCode) { 214 this.organizationCode = organizationCode; 215 } 216 217 /** 218 * Gets the accountZipCode attribute. 219 * @return Returns the accountZipCode. 220 */ 221 public String getAccountZipCode() { 222 return accountZipCode; 223 } 224 225 /** 226 * Sets the accountZipCode attribute value. 227 * @param accountZipCode The accountZipCode to set. 228 */ 229 public void setAccountZipCode(String accountZipCode) { 230 this.accountZipCode = accountZipCode; 231 } 232 233 /** 234 * Gets the postalZipCode attribute. 235 * @return Returns the postalZipCode. 236 */ 237 public PostalCode getPostalZipCode() { 238 postalZipCode = SpringContext.getBean(PostalCodeService.class).getByPostalCodeInDefaultCountryIfNecessary(accountZipCode, postalZipCode); 239 return postalZipCode; 240 } 241 242 /** 243 * Sets the postalZipCode attribute value. 244 * @param postalZipCode The postalZipCode to set. 245 */ 246 public void setPostalZipCode(PostalCode postalZipCode) { 247 this.postalZipCode = postalZipCode; 248 } 249 250 /** 251 * Gets the accountCityName attribute. 252 * @return Returns the accountCityName. 253 */ 254 public String getAccountCityName() { 255 return accountCityName; 256 } 257 258 /** 259 * Sets the accountCityName attribute value. 260 * @param accountCityName The accountCityName to set. 261 */ 262 public void setAccountCityName(String accountCityName) { 263 this.accountCityName = accountCityName; 264 } 265 266 /** 267 * Gets the accountStateCode attribute. 268 * @return Returns the accountStateCode. 269 */ 270 public String getAccountStateCode() { 271 return accountStateCode; 272 } 273 274 /** 275 * Sets the accountStateCode attribute value. 276 * @param accountStateCode The accountStateCode to set. 277 */ 278 public void setAccountStateCode(String accountStateCode) { 279 this.accountStateCode = accountStateCode; 280 } 281 282 /** 283 * Gets the accountState attribute. 284 * @return Returns the accountState. 285 */ 286 public State getAccountState() { 287 return accountState; 288 } 289 290 /** 291 * Sets the accountState attribute value. 292 * @param accountState The accountState to set. 293 */ 294 public void setAccountState(State accountState) { 295 this.accountState = accountState; 296 } 297 298 /** 299 * Gets the accountStreetAddress attribute. 300 * @return Returns the accountStreetAddress. 301 */ 302 public String getAccountStreetAddress() { 303 return accountStreetAddress; 304 } 305 306 /** 307 * Sets the accountStreetAddress attribute value. 308 * @param accountStreetAddress The accountStreetAddress to set. 309 */ 310 public void setAccountStreetAddress(String accountStreetAddress) { 311 this.accountStreetAddress = accountStreetAddress; 312 } 313 314 /** 315 * Gets the accountType attribute. 316 * @return Returns the accountType. 317 */ 318 public AccountType getAccountType() { 319 return accountType; 320 } 321 322 /** 323 * Sets the accountType attribute value. 324 * @param accountType The accountType to set. 325 */ 326 public void setAccountType(AccountType accountType) { 327 this.accountType = accountType; 328 } 329 330 /** 331 * Gets the accountTypeCode attribute. 332 * @return Returns the accountTypeCode. 333 */ 334 public String getAccountTypeCode() { 335 return accountTypeCode; 336 } 337 338 /** 339 * Sets the accountTypeCode attribute value. 340 * @param accountTypeCode The accountTypeCode to set. 341 */ 342 public void setAccountTypeCode(String accountTypeCode) { 343 this.accountTypeCode = accountTypeCode; 344 } 345 346 /** 347 * Gets the accountPhysicalCampusCode attribute. 348 * @return Returns the accountPhysicalCampusCode. 349 */ 350 public String getAccountPhysicalCampusCode() { 351 return accountPhysicalCampusCode; 352 } 353 354 /** 355 * Sets the accountPhysicalCampusCode attribute value. 356 * @param accountPhysicalCampusCode The accountPhysicalCampusCode to set. 357 */ 358 public void setAccountPhysicalCampusCode(String accountPhysicalCampusCode) { 359 this.accountPhysicalCampusCode = accountPhysicalCampusCode; 360 } 361 362 /** 363 * Gets the accountPhysicalCampus attribute. 364 * @return Returns the accountPhysicalCampus. 365 */ 366 public Campus getAccountPhysicalCampus() { 367 return accountPhysicalCampus; 368 } 369 370 /** 371 * Sets the accountPhysicalCampus attribute value. 372 * @param accountPhysicalCampus The accountPhysicalCampus to set. 373 */ 374 public void setAccountPhysicalCampus(Campus accountPhysicalCampus) { 375 this.accountPhysicalCampus = accountPhysicalCampus; 376 } 377 378 /** 379 * Gets the subFundGroup attribute. 380 * @return Returns the subFundGroup. 381 */ 382 public SubFundGroup getSubFundGroup() { 383 return subFundGroup; 384 } 385 386 /** 387 * Sets the subFundGroup attribute value. 388 * @param subFundGroup The subFundGroup to set. 389 */ 390 public void setSubFundGroup(SubFundGroup subFundGroup) { 391 this.subFundGroup = subFundGroup; 392 } 393 394 /** 395 * Gets the subFundGroupCode attribute. 396 * @return Returns the subFundGroupCode. 397 */ 398 public String getSubFundGroupCode() { 399 return subFundGroupCode; 400 } 401 402 /** 403 * Sets the subFundGroupCode attribute value. 404 * @param subFundGroupCode The subFundGroupCode to set. 405 */ 406 public void setSubFundGroupCode(String subFundGroupCode) { 407 this.subFundGroupCode = subFundGroupCode; 408 } 409 410 /** 411 * Gets the accountsFringesBnftIndicator attribute. 412 * @return Returns the accountsFringesBnftIndicator. 413 */ 414 public boolean isAccountsFringesBnftIndicator() { 415 return accountsFringesBnftIndicator; 416 } 417 418 /** 419 * Sets the accountsFringesBnftIndicator attribute value. 420 * @param accountsFringesBnftIndicator The accountsFringesBnftIndicator to set. 421 */ 422 public void setAccountsFringesBnftIndicator(boolean accountsFringesBnftIndicator) { 423 this.accountsFringesBnftIndicator = accountsFringesBnftIndicator; 424 } 425 426 /** 427 * Gets the fringeBenefitsChartOfAccount attribute. 428 * @return Returns the fringeBenefitsChartOfAccount. 429 */ 430 public Chart getFringeBenefitsChartOfAccount() { 431 return fringeBenefitsChartOfAccount; 432 } 433 434 /** 435 * Sets the fringeBenefitsChartOfAccount attribute value. 436 * @param fringeBenefitsChartOfAccount The fringeBenefitsChartOfAccount to set. 437 */ 438 public void setFringeBenefitsChartOfAccount(Chart fringeBenefitsChartOfAccount) { 439 this.fringeBenefitsChartOfAccount = fringeBenefitsChartOfAccount; 440 } 441 442 /** 443 * Gets the reportsToChartOfAccountsCode attribute. 444 * @return Returns the reportsToChartOfAccountsCode. 445 */ 446 public String getReportsToChartOfAccountsCode() { 447 return reportsToChartOfAccountsCode; 448 } 449 450 /** 451 * Sets the reportsToChartOfAccountsCode attribute value. 452 * @param reportsToChartOfAccountsCode The reportsToChartOfAccountsCode to set. 453 */ 454 public void setReportsToChartOfAccountsCode(String reportsToChartOfAccountsCode) { 455 this.reportsToChartOfAccountsCode = reportsToChartOfAccountsCode; 456 } 457 458 459 /** 460 * @return Returns the reportsToAccountNumber. 461 */ 462 public String getReportsToAccountNumber() { 463 return reportsToAccountNumber; 464 } 465 466 /** 467 * @param reportsToAccountNumber The reportsToAccountNumber to set. 468 */ 469 public void setReportsToAccountNumber(String reportsToAccountNumber) { 470 this.reportsToAccountNumber = reportsToAccountNumber; 471 } 472 473 /** 474 * Gets the reportsToAccount attribute. 475 * 476 * @return Returns the reportsToAccount 477 */ 478 public Account getReportsToAccount() { 479 return reportsToAccount; 480 } 481 482 /** 483 * Sets the reportsToAccount attribute. 484 * 485 * @param reportsToAccount The reportsToAccount to set. 486 * @deprecated 487 */ 488 public void setReportsToAccount(Account reportsToAccount) { 489 this.reportsToAccount = reportsToAccount; 490 } 491 492 /** 493 * Gets the accountFiscalOfficerSystemIdentifier attribute. 494 * @return Returns the accountFiscalOfficerSystemIdentifier. 495 */ 496 public String getAccountFiscalOfficerSystemIdentifier() { 497 return accountFiscalOfficerSystemIdentifier; 498 } 499 500 /** 501 * @return Returns the accountFiscalOfficerSystemIdentifier. 502 */ 503 public String getAccountFiscalOfficerSystemIdentifierForSearching() { 504 return getAccountFiscalOfficerSystemIdentifier(); 505 } 506 507 /** 508 * @return Returns the accountsSupervisorySystemsIdentifier. 509 */ 510 public String getAccountsSupervisorySystemsIdentifierForSearching() { 511 return accountsSupervisorySystemsIdentifier; 512 } 513 514 /** 515 * Sets the accountFiscalOfficerSystemIdentifier attribute value. 516 * @param accountFiscalOfficerSystemIdentifier The accountFiscalOfficerSystemIdentifier to set. 517 */ 518 public void setAccountFiscalOfficerSystemIdentifier(String accountFiscalOfficerSystemIdentifier) { 519 this.accountFiscalOfficerSystemIdentifier = accountFiscalOfficerSystemIdentifier; 520 } 521 522 /** 523 * Gets the accountsSupervisorySystemsIdentifier attribute. 524 * @return Returns the accountsSupervisorySystemsIdentifier. 525 */ 526 public String getAccountsSupervisorySystemsIdentifier() { 527 return accountsSupervisorySystemsIdentifier; 528 } 529 530 /** 531 * Sets the accountsSupervisorySystemsIdentifier attribute value. 532 * @param accountsSupervisorySystemsIdentifier The accountsSupervisorySystemsIdentifier to set. 533 */ 534 public void setAccountsSupervisorySystemsIdentifier(String accountsSupervisorySystemsIdentifier) { 535 this.accountsSupervisorySystemsIdentifier = accountsSupervisorySystemsIdentifier; 536 } 537 538 /** 539 * Gets the accountManagerSystemIdentifier attribute. 540 * @return Returns the accountManagerSystemIdentifier. 541 */ 542 public String getAccountManagerSystemIdentifier() { 543 return accountManagerSystemIdentifier; 544 } 545 /** 546 * @return Returns the accountManagerSystemIdentifier. 547 */ 548 public String getAccountManagerSystemIdentifierForSearching() { 549 return getAccountManagerSystemIdentifier(); 550 } 551 552 553 /** 554 * Sets the accountManagerSystemIdentifier attribute value. 555 * @param accountManagerSystemIdentifier The accountManagerSystemIdentifier to set. 556 */ 557 public void setAccountManagerSystemIdentifier(String accountManagerSystemIdentifier) { 558 this.accountManagerSystemIdentifier = accountManagerSystemIdentifier; 559 } 560 561 /** 562 * Gets the continuationChartOfAccount attribute. 563 * @return Returns the continuationChartOfAccount. 564 */ 565 public Chart getContinuationChartOfAccount() { 566 return continuationChartOfAccount; 567 } 568 569 /** 570 * Sets the continuationChartOfAccount attribute value. 571 * @param continuationChartOfAccount The continuationChartOfAccount to set. 572 */ 573 public void setContinuationChartOfAccount(Chart continuationChartOfAccount) { 574 this.continuationChartOfAccount = continuationChartOfAccount; 575 } 576 577 /** 578 * Gets the continuationFinChrtOfAcctCd attribute. 579 * @return Returns the continuationFinChrtOfAcctCd. 580 */ 581 public String getContinuationFinChrtOfAcctCd() { 582 return continuationFinChrtOfAcctCd; 583 } 584 585 /** 586 * Sets the continuationFinChrtOfAcctCd attribute value. 587 * @param continuationFinChrtOfAcctCd The continuationFinChrtOfAcctCd to set. 588 */ 589 public void setContinuationFinChrtOfAcctCd(String continuationFinChrtOfAcctCd) { 590 this.continuationFinChrtOfAcctCd = continuationFinChrtOfAcctCd; 591 } 592 593 /** 594 * Gets the continuationAccount attribute. 595 * @return Returns the continuationAccount. 596 */ 597 public Account getContinuationAccount() { 598 return continuationAccount; 599 } 600 601 /** 602 * Sets the continuationAccount attribute value. 603 * @param continuationAccount The continuationAccount to set. 604 */ 605 public void setContinuationAccount(Account continuationAccount) { 606 this.continuationAccount = continuationAccount; 607 } 608 609 /** 610 * Gets the continuationAccountNumber attribute. 611 * @return Returns the continuationAccountNumber. 612 */ 613 public String getContinuationAccountNumber() { 614 return continuationAccountNumber; 615 } 616 617 /** 618 * Sets the continuationAccountNumber attribute value. 619 * @param continuationAccountNumber The continuationAccountNumber to set. 620 */ 621 public void setContinuationAccountNumber(String continuationAccountNumber) { 622 this.continuationAccountNumber = continuationAccountNumber; 623 } 624 625 /** 626 * Gets the incomeStreamAccount attribute. 627 * @return Returns the incomeStreamAccount. 628 */ 629 public Account getIncomeStreamAccount() { 630 return incomeStreamAccount; 631 } 632 633 /** 634 * Sets the incomeStreamAccount attribute value. 635 * @param incomeStreamAccount The incomeStreamAccount to set. 636 */ 637 public void setIncomeStreamAccount(Account incomeStreamAccount) { 638 this.incomeStreamAccount = incomeStreamAccount; 639 } 640 641 /** 642 * Gets the incomeStreamChartOfAccounts attribute. 643 * @return Returns the incomeStreamChartOfAccounts. 644 */ 645 public Chart getIncomeStreamChartOfAccounts() { 646 return incomeStreamChartOfAccounts; 647 } 648 649 /** 650 * Sets the incomeStreamChartOfAccounts attribute value. 651 * @param incomeStreamChartOfAccounts The incomeStreamChartOfAccounts to set. 652 */ 653 public void setIncomeStreamChartOfAccounts(Chart incomeStreamChartOfAccounts) { 654 this.incomeStreamChartOfAccounts = incomeStreamChartOfAccounts; 655 } 656 657 /** 658 * Gets the incomeStreamFinancialCoaCode attribute. 659 * @return Returns the incomeStreamFinancialCoaCode. 660 */ 661 public String getIncomeStreamFinancialCoaCode() { 662 return incomeStreamFinancialCoaCode; 663 } 664 665 /** 666 * Sets the incomeStreamFinancialCoaCode attribute value. 667 * @param incomeStreamFinancialCoaCode The incomeStreamFinancialCoaCode to set. 668 */ 669 public void setIncomeStreamFinancialCoaCode(String incomeStreamFinancialCoaCode) { 670 this.incomeStreamFinancialCoaCode = incomeStreamFinancialCoaCode; 671 } 672 673 /** 674 * Gets the incomeStreamAccountNumber attribute. 675 * @return Returns the incomeStreamAccountNumber. 676 */ 677 public String getIncomeStreamAccountNumber() { 678 return incomeStreamAccountNumber; 679 } 680 681 /** 682 * Sets the incomeStreamAccountNumber attribute value. 683 * @param incomeStreamAccountNumber The incomeStreamAccountNumber to set. 684 */ 685 public void setIncomeStreamAccountNumber(String incomeStreamAccountNumber) { 686 this.incomeStreamAccountNumber = incomeStreamAccountNumber; 687 } 688 689 /** 690 * Gets the budgetRecordingLevelCode attribute. 691 * @return Returns the budgetRecordingLevelCode. 692 */ 693 public String getBudgetRecordingLevelCode() { 694 return budgetRecordingLevelCode; 695 } 696 697 /** 698 * Sets the budgetRecordingLevelCode attribute value. 699 * @param budgetRecordingLevelCode The budgetRecordingLevelCode to set. 700 */ 701 public void setBudgetRecordingLevelCode(String budgetRecordingLevelCode) { 702 this.budgetRecordingLevelCode = budgetRecordingLevelCode; 703 } 704 705 /** 706 * Gets the budgetRecordingLevel attribute. 707 * 708 * @return Returns the budgetRecordingLevel. 709 */ 710 public BudgetRecordingLevel getBudgetRecordingLevel() { 711 return budgetRecordingLevel; 712 } 713 714 /** 715 * Sets the budgetRecordingLevel attribute value. 716 * 717 * @param budgetRecordingLevel The budgetRecordingLevel to set. 718 */ 719 public void setBudgetRecordingLevel(BudgetRecordingLevel budgetRecordingLevel) { 720 this.budgetRecordingLevel = budgetRecordingLevel; 721 } 722 723 /** 724 /** 725 * Gets the sufficientFundsCode attribute. 726 * @return Returns the sufficientFundsCode. 727 */ 728 public SufficientFundsCode getSufficientFundsCode() { 729 return sufficientFundsCode; 730 } 731 732 /** 733 * Sets the sufficientFundsCode attribute value. 734 * @param sufficientFundsCode The sufficientFundsCode to set. 735 */ 736 public void setSufficientFundsCode(SufficientFundsCode sufficientFundsCode) { 737 this.sufficientFundsCode = sufficientFundsCode; 738 } 739 740 /** 741 * Gets the accountSufficientFundsCode attribute. 742 * @return Returns the accountSufficientFundsCode. 743 */ 744 public String getAccountSufficientFundsCode() { 745 return accountSufficientFundsCode; 746 } 747 748 /** 749 * Sets the accountSufficientFundsCode attribute value. 750 * @param accountSufficientFundsCode The accountSufficientFundsCode to set. 751 */ 752 public void setAccountSufficientFundsCode(String accountSufficientFundsCode) { 753 this.accountSufficientFundsCode = accountSufficientFundsCode; 754 } 755 756 /** 757 * Gets the pendingAcctSufficientFundsIndicator attribute. 758 * @return Returns the pendingAcctSufficientFundsIndicator. 759 */ 760 public boolean isPendingAcctSufficientFundsIndicator() { 761 return pendingAcctSufficientFundsIndicator; 762 } 763 764 /** 765 * Sets the pendingAcctSufficientFundsIndicator attribute value. 766 * @param pendingAcctSufficientFundsIndicator The pendingAcctSufficientFundsIndicator to set. 767 */ 768 public void setPendingAcctSufficientFundsIndicator(boolean pendingAcctSufficientFundsIndicator) { 769 this.pendingAcctSufficientFundsIndicator = pendingAcctSufficientFundsIndicator; 770 } 771 772 /** 773 * Gets the extrnlFinEncumSufficntFndIndicator attribute. 774 * @return Returns the extrnlFinEncumSufficntFndIndicator. 775 */ 776 public boolean isExtrnlFinEncumSufficntFndIndicator() { 777 return extrnlFinEncumSufficntFndIndicator; 778 } 779 780 /** 781 * Sets the extrnlFinEncumSufficntFndIndicator attribute value. 782 * @param extrnlFinEncumSufficntFndIndicator The extrnlFinEncumSufficntFndIndicator to set. 783 */ 784 public void setExtrnlFinEncumSufficntFndIndicator(boolean extrnlFinEncumSufficntFndIndicator) { 785 this.extrnlFinEncumSufficntFndIndicator = extrnlFinEncumSufficntFndIndicator; 786 } 787 788 /** 789 * Gets the intrnlFinEncumSufficntFndIndicator attribute. 790 * @return Returns the intrnlFinEncumSufficntFndIndicator. 791 */ 792 public boolean isIntrnlFinEncumSufficntFndIndicator() { 793 return intrnlFinEncumSufficntFndIndicator; 794 } 795 796 /** 797 * Sets the intrnlFinEncumSufficntFndIndicator attribute value. 798 * @param intrnlFinEncumSufficntFndIndicator The intrnlFinEncumSufficntFndIndicator to set. 799 */ 800 public void setIntrnlFinEncumSufficntFndIndicator(boolean intrnlFinEncumSufficntFndIndicator) { 801 this.intrnlFinEncumSufficntFndIndicator = intrnlFinEncumSufficntFndIndicator; 802 } 803 804 /** 805 * Gets the finPreencumSufficientFundIndicator attribute. 806 * @return Returns the finPreencumSufficientFundIndicator. 807 */ 808 public boolean isFinPreencumSufficientFundIndicator() { 809 return finPreencumSufficientFundIndicator; 810 } 811 812 /** 813 * Sets the finPreencumSufficientFundIndicator attribute value. 814 * @param finPreencumSufficientFundIndicator The finPreencumSufficientFundIndicator to set. 815 */ 816 public void setFinPreencumSufficientFundIndicator(boolean finPreencumSufficientFundIndicator) { 817 this.finPreencumSufficientFundIndicator = finPreencumSufficientFundIndicator; 818 } 819 820 /** 821 * Gets the financialObjectivePrsctrlIndicator attribute. 822 * @return Returns the financialObjectivePrsctrlIndicator. 823 */ 824 public boolean isFinancialObjectivePrsctrlIndicator() { 825 return financialObjectivePrsctrlIndicator; 826 } 827 828 /** 829 * Sets the financialObjectivePrsctrlIndicator attribute value. 830 * @param financialObjectivePrsctrlIndicator The financialObjectivePrsctrlIndicator to set. 831 */ 832 public void setFinancialObjectivePrsctrlIndicator(boolean financialObjectivePrsctrlIndicator) { 833 this.financialObjectivePrsctrlIndicator = financialObjectivePrsctrlIndicator; 834 } 835 836 /** 837 * Gets the indirectCostRcvyChartOfAccounts attribute. 838 * @return Returns the indirectCostRcvyChartOfAccounts. 839 */ 840 public Chart getIndirectCostRcvyChartOfAccounts() { 841 return indirectCostRcvyChartOfAccounts; 842 } 843 844 /** 845 * Sets the indirectCostRcvyChartOfAccounts attribute value. 846 * @param indirectCostRcvyChartOfAccounts The indirectCostRcvyChartOfAccounts to set. 847 */ 848 public void setIndirectCostRcvyChartOfAccounts(Chart indirectCostRcvyChartOfAccounts) { 849 this.indirectCostRcvyChartOfAccounts = indirectCostRcvyChartOfAccounts; 850 } 851 852 /** 853 * Gets the indirectCostRcvyFinCoaCode attribute. 854 * @return Returns the indirectCostRcvyFinCoaCode. 855 */ 856 public String getIndirectCostRcvyFinCoaCode() { 857 return indirectCostRcvyFinCoaCode; 858 } 859 860 /** 861 * Sets the indirectCostRcvyFinCoaCode attribute value. 862 * @param indirectCostRcvyFinCoaCode The indirectCostRcvyFinCoaCode to set. 863 */ 864 public void setIndirectCostRcvyFinCoaCode(String indirectCostRcvyFinCoaCode) { 865 this.indirectCostRcvyFinCoaCode = indirectCostRcvyFinCoaCode; 866 } 867 868 /** 869 * Gets the indirectCostRecoveryAcct attribute. 870 * @return Returns the indirectCostRecoveryAcct. 871 */ 872 public Account getIndirectCostRecoveryAcct() { 873 return indirectCostRecoveryAcct; 874 } 875 876 /** 877 * Sets the indirectCostRecoveryAcct attribute value. 878 * @param indirectCostRecoveryAcct The indirectCostRecoveryAcct to set. 879 */ 880 public void setIndirectCostRecoveryAcct(Account indirectCostRecoveryAcct) { 881 this.indirectCostRecoveryAcct = indirectCostRecoveryAcct; 882 } 883 884 /** 885 * Gets the indirectCostRecoveryAcctNbr attribute. 886 * @return Returns the indirectCostRecoveryAcctNbr. 887 */ 888 public String getIndirectCostRecoveryAcctNbr() { 889 return indirectCostRecoveryAcctNbr; 890 } 891 892 /** 893 * Sets the indirectCostRecoveryAcctNbr attribute value. 894 * @param indirectCostRecoveryAcctNbr The indirectCostRecoveryAcctNbr to set. 895 */ 896 public void setIndirectCostRecoveryAcctNbr(String indirectCostRecoveryAcctNbr) { 897 this.indirectCostRecoveryAcctNbr = indirectCostRecoveryAcctNbr; 898 } 899 900 /** 901 * Gets the contractsAndGrantsAccountResponsibilityId attribute. 902 * @return Returns the contractsAndGrantsAccountResponsibilityId. 903 */ 904 public Integer getContractsAndGrantsAccountResponsibilityId() { 905 return contractsAndGrantsAccountResponsibilityId; 906 } 907 908 /** 909 * Sets the contractsAndGrantsAccountResponsibilityId attribute value. 910 * @param contractsAndGrantsAccountResponsibilityId The contractsAndGrantsAccountResponsibilityId to set. 911 */ 912 public void setContractsAndGrantsAccountResponsibilityId(Integer contractsAndGrantsAccountResponsibilityId) { 913 this.contractsAndGrantsAccountResponsibilityId = contractsAndGrantsAccountResponsibilityId; 914 } 915 916 /** 917 * Gets the accountDescriptionCampusCode attribute. 918 * @return Returns the accountDescriptionCampusCode. 919 */ 920 public String getAccountDescriptionCampusCode() { 921 return accountDescriptionCampusCode; 922 } 923 924 /** 925 * Sets the accountDescriptionCampusCode attribute value. 926 * @param accountDescriptionCampusCode The accountDescriptionCampusCode to set. 927 */ 928 public void setAccountDescriptionCampusCode(String accountDescriptionCampusCode) { 929 this.accountDescriptionCampusCode = accountDescriptionCampusCode; 930 } 931 932 /** 933 * Gets the accountDescriptionBuildingCode attribute. 934 * @return Returns the accountDescriptionBuildingCode. 935 */ 936 public String getAccountDescriptionBuildingCode() { 937 return accountDescriptionBuildingCode; 938 } 939 940 /** 941 * Sets the accountDescriptionBuildingCode attribute value. 942 * @param accountDescriptionBuildingCode The accountDescriptionBuildingCode to set. 943 */ 944 public void setAccountDescriptionBuildingCode(String accountDescriptionBuildingCode) { 945 this.accountDescriptionBuildingCode = accountDescriptionBuildingCode; 946 } 947 948 /** 949 * Gets the active attribute. 950 * @return Returns the active. 951 */ 952 public boolean isActive() { 953 return active; 954 } 955 956 /** 957 * Sets the active attribute value. 958 * @param active The active to set. 959 */ 960 public void setActive(boolean active) { 961 this.active = active; 962 } 963 964 /** 965 * Gets the accountFiscalOfficerUser attribute. 966 * @return Returns the accountFiscalOfficerUser. 967 */ 968 public Person getAccountFiscalOfficerUser() { 969 accountFiscalOfficerUser = SpringContext.getBean(org.kuali.rice.kim.service.PersonService.class).updatePersonIfNecessary(accountFiscalOfficerSystemIdentifier, accountFiscalOfficerUser); 970 return accountFiscalOfficerUser; 971 } 972 973 /** 974 * Sets the accountFiscalOfficerUser attribute value. 975 * @param accountFiscalOfficerUser The accountFiscalOfficerUser to set. 976 */ 977 public void setAccountFiscalOfficerUser(Person accountFiscalOfficerUser) { 978 this.accountFiscalOfficerUser = accountFiscalOfficerUser; 979 } 980 981 /** 982 * Gets the accountSupervisoryUser attribute. 983 * @return Returns the accountSupervisoryUser. 984 */ 985 public Person getAccountSupervisoryUser() { 986 accountSupervisoryUser = SpringContext.getBean(org.kuali.rice.kim.service.PersonService.class).updatePersonIfNecessary(accountsSupervisorySystemsIdentifier, accountSupervisoryUser); 987 return accountSupervisoryUser; 988 } 989 990 /** 991 * Sets the accountSupervisoryUser attribute value. 992 * @param accountSupervisoryUser The accountSupervisoryUser to set. 993 */ 994 public void setAccountSupervisoryUser(Person accountSupervisoryUser) { 995 this.accountSupervisoryUser = accountSupervisoryUser; 996 } 997 998 /** 999 * Gets the accountManagerUser attribute. 1000 * @return Returns the accountManagerUser. 1001 */ 1002 public Person getAccountManagerUser() { 1003 accountManagerUser = SpringContext.getBean(org.kuali.rice.kim.service.PersonService.class).updatePersonIfNecessary(accountManagerSystemIdentifier, accountManagerUser); 1004 return accountManagerUser; 1005 } 1006 1007 /** 1008 * Sets the accountManagerUser attribute value. 1009 * @param accountManagerUser The accountManagerUser to set. 1010 */ 1011 public void setAccountManagerUser(Person accountManagerUser) { 1012 this.accountManagerUser = accountManagerUser; 1013 } 1014 1015 public ContractsAndGrantsUnit getUnitDTO() { 1016 return unitDTO = (ContractsAndGrantsUnit) SpringContext.getBean(KualiModuleService.class).getResponsibleModuleService(ContractsAndGrantsUnit.class).retrieveExternalizableBusinessObjectIfNecessary(this, unitDTO, "unitDTO"); 1017 } 1018 1019 public void setUnitDTO(ContractsAndGrantsUnit unitDTO) { 1020 this.unitDTO = unitDTO; 1021 } 1022 1023 /** 1024 * 1025 */ 1026 public Integer getAccountDefaultId() { 1027 return accountDefaultId; 1028 } 1029 1030 /** 1031 * 1032 */ 1033 public void setAccountDefaultId(Integer accountDefaultId) { 1034 this.accountDefaultId = accountDefaultId; 1035 } 1036 1037 }