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.Account; 023 import org.kuali.kfs.coa.businessobject.Chart; 024 import org.kuali.kfs.coa.businessobject.ObjectCode; 025 import org.kuali.kfs.coa.businessobject.SubAccount; 026 import org.kuali.kfs.coa.businessobject.SubObjectCode; 027 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 028 import org.kuali.rice.kns.util.KualiInteger; 029 030 /** 031 * 032 */ 033 public class BudgetConstructionAppointmentFundingLoad01Move extends PersistableBusinessObjectBase { 034 035 private Integer universityFiscalYear; 036 private String chartOfAccountsCode; 037 private String accountNumber; 038 private String subAccountNumber; 039 private String financialObjectCode; 040 private String financialSubObjectCode; 041 private String positionNumber; 042 private String emplid; 043 private String appointmentFundingDurationCode; 044 private KualiInteger appointmentRequestedCsfAmount; 045 private BigDecimal appointmentRequestedCsfFteQuantity; 046 private BigDecimal appointmentRequestedCsfTimePercent; 047 private KualiInteger appointmentTotalIntendedAmount; 048 private BigDecimal appointmentTotalIntendedFteQuantity; 049 private KualiInteger appointmentRequestedAmount; 050 private BigDecimal appointmentRequestedTimePercent; 051 private BigDecimal appointmentRequestedFteQuantity; 052 private BigDecimal appointmentRequestedPayRate; 053 private boolean appointmentFundingDeleteIndicator; 054 private Integer appointmentFundingMonth; 055 private String newChartOfAccountsCode; 056 private String newAccountNumber; 057 058 private ObjectCode financialObject; 059 private BudgetConstructionSalaryFunding budgetConstructionSalaryFunding; 060 private Chart chartOfAccounts; 061 private Account account; 062 private SubAccount subAccount; 063 private SubObjectCode financialSubObject; 064 private Chart newChartOfAccounts; 065 private Account newAccount; 066 067 /** 068 * Default constructor. 069 */ 070 public BudgetConstructionAppointmentFundingLoad01Move() { 071 072 } 073 074 /** 075 * Gets the universityFiscalYear attribute. 076 * 077 * @return Returns the universityFiscalYear 078 */ 079 public Integer getUniversityFiscalYear() { 080 return universityFiscalYear; 081 } 082 083 /** 084 * Sets the universityFiscalYear attribute. 085 * 086 * @param universityFiscalYear The universityFiscalYear to set. 087 */ 088 public void setUniversityFiscalYear(Integer universityFiscalYear) { 089 this.universityFiscalYear = universityFiscalYear; 090 } 091 092 093 /** 094 * Gets the chartOfAccountsCode attribute. 095 * 096 * @return Returns the chartOfAccountsCode 097 */ 098 public String getChartOfAccountsCode() { 099 return chartOfAccountsCode; 100 } 101 102 /** 103 * Sets the chartOfAccountsCode attribute. 104 * 105 * @param chartOfAccountsCode The chartOfAccountsCode to set. 106 */ 107 public void setChartOfAccountsCode(String chartOfAccountsCode) { 108 this.chartOfAccountsCode = chartOfAccountsCode; 109 } 110 111 112 /** 113 * Gets the accountNumber attribute. 114 * 115 * @return Returns the accountNumber 116 */ 117 public String getAccountNumber() { 118 return accountNumber; 119 } 120 121 /** 122 * Sets the accountNumber attribute. 123 * 124 * @param accountNumber The accountNumber to set. 125 */ 126 public void setAccountNumber(String accountNumber) { 127 this.accountNumber = accountNumber; 128 } 129 130 131 /** 132 * Gets the subAccountNumber attribute. 133 * 134 * @return Returns the subAccountNumber 135 */ 136 public String getSubAccountNumber() { 137 return subAccountNumber; 138 } 139 140 /** 141 * Sets the subAccountNumber attribute. 142 * 143 * @param subAccountNumber The subAccountNumber to set. 144 */ 145 public void setSubAccountNumber(String subAccountNumber) { 146 this.subAccountNumber = subAccountNumber; 147 } 148 149 150 /** 151 * Gets the financialObjectCode attribute. 152 * 153 * @return Returns the financialObjectCode 154 */ 155 public String getFinancialObjectCode() { 156 return financialObjectCode; 157 } 158 159 /** 160 * Sets the financialObjectCode attribute. 161 * 162 * @param financialObjectCode The financialObjectCode to set. 163 */ 164 public void setFinancialObjectCode(String financialObjectCode) { 165 this.financialObjectCode = financialObjectCode; 166 } 167 168 169 /** 170 * Gets the financialSubObjectCode attribute. 171 * 172 * @return Returns the financialSubObjectCode 173 */ 174 public String getFinancialSubObjectCode() { 175 return financialSubObjectCode; 176 } 177 178 /** 179 * Sets the financialSubObjectCode attribute. 180 * 181 * @param financialSubObjectCode The financialSubObjectCode to set. 182 */ 183 public void setFinancialSubObjectCode(String financialSubObjectCode) { 184 this.financialSubObjectCode = financialSubObjectCode; 185 } 186 187 188 /** 189 * Gets the positionNumber attribute. 190 * 191 * @return Returns the positionNumber 192 */ 193 public String getPositionNumber() { 194 return positionNumber; 195 } 196 197 /** 198 * Sets the positionNumber attribute. 199 * 200 * @param positionNumber The positionNumber to set. 201 */ 202 public void setPositionNumber(String positionNumber) { 203 this.positionNumber = positionNumber; 204 } 205 206 207 /** 208 * Gets the emplid attribute. 209 * 210 * @return Returns the emplid 211 */ 212 public String getEmplid() { 213 return emplid; 214 } 215 216 /** 217 * Sets the emplid attribute. 218 * 219 * @param emplid The emplid to set. 220 */ 221 public void setEmplid(String emplid) { 222 this.emplid = emplid; 223 } 224 225 226 /** 227 * Gets the appointmentFundingDurationCode attribute. 228 * 229 * @return Returns the appointmentFundingDurationCode 230 */ 231 public String getAppointmentFundingDurationCode() { 232 return appointmentFundingDurationCode; 233 } 234 235 /** 236 * Sets the appointmentFundingDurationCode attribute. 237 * 238 * @param appointmentFundingDurationCode The appointmentFundingDurationCode to set. 239 */ 240 public void setAppointmentFundingDurationCode(String appointmentFundingDurationCode) { 241 this.appointmentFundingDurationCode = appointmentFundingDurationCode; 242 } 243 244 245 /** 246 * Gets the appointmentRequestedCsfAmount attribute. 247 * 248 * @return Returns the appointmentRequestedCsfAmount. 249 */ 250 public KualiInteger getAppointmentRequestedCsfAmount() { 251 return appointmentRequestedCsfAmount; 252 } 253 254 /** 255 * Sets the appointmentRequestedCsfAmount attribute value. 256 * 257 * @param appointmentRequestedCsfAmount The appointmentRequestedCsfAmount to set. 258 */ 259 public void setAppointmentRequestedCsfAmount(KualiInteger appointmentRequestedCsfAmount) { 260 this.appointmentRequestedCsfAmount = appointmentRequestedCsfAmount; 261 } 262 263 /** 264 * Gets the appointmentRequestedCsfFteQuantity attribute. 265 * 266 * @return Returns the appointmentRequestedCsfFteQuantity 267 */ 268 public BigDecimal getAppointmentRequestedCsfFteQuantity() { 269 return appointmentRequestedCsfFteQuantity; 270 } 271 272 /** 273 * Sets the appointmentRequestedCsfFteQuantity attribute. 274 * 275 * @param appointmentRequestedCsfFteQuantity The appointmentRequestedCsfFteQuantity to set. 276 */ 277 public void setAppointmentRequestedCsfFteQuantity(BigDecimal appointmentRequestedCsfFteQuantity) { 278 this.appointmentRequestedCsfFteQuantity = appointmentRequestedCsfFteQuantity; 279 } 280 281 282 /** 283 * Gets the appointmentRequestedCsfTimePercent attribute. 284 * 285 * @return Returns the appointmentRequestedCsfTimePercent 286 */ 287 public BigDecimal getAppointmentRequestedCsfTimePercent() { 288 return appointmentRequestedCsfTimePercent; 289 } 290 291 /** 292 * Sets the appointmentRequestedCsfTimePercent attribute. 293 * 294 * @param appointmentRequestedCsfTimePercent The appointmentRequestedCsfTimePercent to set. 295 */ 296 public void setAppointmentRequestedCsfTimePercent(BigDecimal appointmentRequestedCsfTimePercent) { 297 this.appointmentRequestedCsfTimePercent = appointmentRequestedCsfTimePercent; 298 } 299 300 301 /** 302 * Gets the appointmentTotalIntendedAmount attribute. 303 * 304 * @return Returns the appointmentTotalIntendedAmount. 305 */ 306 public KualiInteger getAppointmentTotalIntendedAmount() { 307 return appointmentTotalIntendedAmount; 308 } 309 310 /** 311 * Sets the appointmentTotalIntendedAmount attribute value. 312 * 313 * @param appointmentTotalIntendedAmount The appointmentTotalIntendedAmount to set. 314 */ 315 public void setAppointmentTotalIntendedAmount(KualiInteger appointmentTotalIntendedAmount) { 316 this.appointmentTotalIntendedAmount = appointmentTotalIntendedAmount; 317 } 318 319 /** 320 * Gets the appointmentTotalIntendedFteQuantity attribute. 321 * 322 * @return Returns the appointmentTotalIntendedFteQuantity 323 */ 324 public BigDecimal getAppointmentTotalIntendedFteQuantity() { 325 return appointmentTotalIntendedFteQuantity; 326 } 327 328 /** 329 * Sets the appointmentTotalIntendedFteQuantity attribute. 330 * 331 * @param appointmentTotalIntendedFteQuantity The appointmentTotalIntendedFteQuantity to set. 332 */ 333 public void setAppointmentTotalIntendedFteQuantity(BigDecimal appointmentTotalIntendedFteQuantity) { 334 this.appointmentTotalIntendedFteQuantity = appointmentTotalIntendedFteQuantity; 335 } 336 337 338 /** 339 * Gets the appointmentRequestedAmount attribute. 340 * 341 * @return Returns the appointmentRequestedAmount. 342 */ 343 public KualiInteger getAppointmentRequestedAmount() { 344 return appointmentRequestedAmount; 345 } 346 347 /** 348 * Sets the appointmentRequestedAmount attribute value. 349 * 350 * @param appointmentRequestedAmount The appointmentRequestedAmount to set. 351 */ 352 public void setAppointmentRequestedAmount(KualiInteger appointmentRequestedAmount) { 353 this.appointmentRequestedAmount = appointmentRequestedAmount; 354 } 355 356 /** 357 * Gets the appointmentRequestedTimePercent attribute. 358 * 359 * @return Returns the appointmentRequestedTimePercent 360 */ 361 public BigDecimal getAppointmentRequestedTimePercent() { 362 return appointmentRequestedTimePercent; 363 } 364 365 /** 366 * Sets the appointmentRequestedTimePercent attribute. 367 * 368 * @param appointmentRequestedTimePercent The appointmentRequestedTimePercent to set. 369 */ 370 public void setAppointmentRequestedTimePercent(BigDecimal appointmentRequestedTimePercent) { 371 this.appointmentRequestedTimePercent = appointmentRequestedTimePercent; 372 } 373 374 375 /** 376 * Gets the appointmentRequestedFteQuantity attribute. 377 * 378 * @return Returns the appointmentRequestedFteQuantity 379 */ 380 public BigDecimal getAppointmentRequestedFteQuantity() { 381 return appointmentRequestedFteQuantity; 382 } 383 384 /** 385 * Sets the appointmentRequestedFteQuantity attribute. 386 * 387 * @param appointmentRequestedFteQuantity The appointmentRequestedFteQuantity to set. 388 */ 389 public void setAppointmentRequestedFteQuantity(BigDecimal appointmentRequestedFteQuantity) { 390 this.appointmentRequestedFteQuantity = appointmentRequestedFteQuantity; 391 } 392 393 394 /** 395 * Gets the appointmentRequestedPayRate attribute. 396 * 397 * @return Returns the appointmentRequestedPayRate 398 */ 399 public BigDecimal getAppointmentRequestedPayRate() { 400 return appointmentRequestedPayRate; 401 } 402 403 /** 404 * Sets the appointmentRequestedPayRate attribute. 405 * 406 * @param appointmentRequestedPayRate The appointmentRequestedPayRate to set. 407 */ 408 public void setAppointmentRequestedPayRate(BigDecimal appointmentRequestedPayRate) { 409 this.appointmentRequestedPayRate = appointmentRequestedPayRate; 410 } 411 412 413 /** 414 * Gets the appointmentFundingDeleteIndicator attribute. 415 * 416 * @return Returns the appointmentFundingDeleteIndicator 417 */ 418 public boolean isAppointmentFundingDeleteIndicator() { 419 return appointmentFundingDeleteIndicator; 420 } 421 422 423 /** 424 * Sets the appointmentFundingDeleteIndicator attribute. 425 * 426 * @param appointmentFundingDeleteIndicator The appointmentFundingDeleteIndicator to set. 427 */ 428 public void setAppointmentFundingDeleteIndicator(boolean appointmentFundingDeleteIndicator) { 429 this.appointmentFundingDeleteIndicator = appointmentFundingDeleteIndicator; 430 } 431 432 433 /** 434 * Gets the appointmentFundingMonth attribute. 435 * 436 * @return Returns the appointmentFundingMonth 437 */ 438 public Integer getAppointmentFundingMonth() { 439 return appointmentFundingMonth; 440 } 441 442 /** 443 * Sets the appointmentFundingMonth attribute. 444 * 445 * @param appointmentFundingMonth The appointmentFundingMonth to set. 446 */ 447 public void setAppointmentFundingMonth(Integer appointmentFundingMonth) { 448 this.appointmentFundingMonth = appointmentFundingMonth; 449 } 450 451 /** 452 * Gets the financialObject attribute. 453 * 454 * @return Returns the financialObject 455 */ 456 public ObjectCode getFinancialObject() { 457 return financialObject; 458 } 459 460 /** 461 * Sets the financialObject attribute. 462 * 463 * @param financialObject The financialObject to set. 464 * @deprecated 465 */ 466 public void setFinancialObject(ObjectCode financialObject) { 467 this.financialObject = financialObject; 468 } 469 470 /** 471 * Gets the budgetConstructionSalaryFunding attribute. 472 * 473 * @return Returns the budgetConstructionSalaryFunding 474 */ 475 public BudgetConstructionSalaryFunding getBudgetConstructionSalaryFunding() { 476 return budgetConstructionSalaryFunding; 477 } 478 479 /** 480 * Sets the budgetConstructionSalaryFunding attribute. 481 * 482 * @param budgetConstructionSalaryFunding The budgetConstructionSalaryFunding to set. 483 * @deprecated 484 */ 485 public void setBudgetConstructionSalaryFunding(BudgetConstructionSalaryFunding budgetConstructionSalaryFunding) { 486 this.budgetConstructionSalaryFunding = budgetConstructionSalaryFunding; 487 } 488 489 /** 490 * Gets the chartOfAccounts attribute. 491 * 492 * @return Returns the chartOfAccounts 493 */ 494 public Chart getChartOfAccounts() { 495 return chartOfAccounts; 496 } 497 498 /** 499 * Sets the chartOfAccounts attribute. 500 * 501 * @param chartOfAccounts The chartOfAccounts to set. 502 * @deprecated 503 */ 504 public void setChartOfAccounts(Chart chartOfAccounts) { 505 this.chartOfAccounts = chartOfAccounts; 506 } 507 508 /** 509 * Gets the account attribute. 510 * 511 * @return Returns the account 512 */ 513 public Account getAccount() { 514 return account; 515 } 516 517 /** 518 * Sets the account attribute. 519 * 520 * @param account The account to set. 521 * @deprecated 522 */ 523 public void setAccount(Account account) { 524 this.account = account; 525 } 526 527 /** 528 * Gets the financialSubObject attribute. 529 * 530 * @return Returns the financialSubObject. 531 */ 532 public SubObjectCode getFinancialSubObject() { 533 return financialSubObject; 534 } 535 536 /** 537 * Sets the financialSubObject attribute value. 538 * 539 * @param financialSubObject The financialSubObject to set. 540 * @deprecated 541 */ 542 public void setFinancialSubObject(SubObjectCode financialSubObject) { 543 this.financialSubObject = financialSubObject; 544 } 545 546 /** 547 * Gets the subAccount attribute. 548 * 549 * @return Returns the subAccount. 550 */ 551 public SubAccount getSubAccount() { 552 return subAccount; 553 } 554 555 /** 556 * Sets the subAccount attribute value. 557 * 558 * @param subAccount The subAccount to set. 559 * @deprecated 560 */ 561 public void setSubAccount(SubAccount subAccount) { 562 this.subAccount = subAccount; 563 } 564 565 /** 566 * Gets the newAccountNumber attribute. 567 * 568 * @return Returns the newAccountNumber. 569 */ 570 public String getNewAccountNumber() { 571 return newAccountNumber; 572 } 573 574 /** 575 * Sets the newAccountNumber attribute value. 576 * 577 * @param newAccountNumber The newAccountNumber to set. 578 */ 579 public void setNewAccountNumber(String newAccountNumber) { 580 this.newAccountNumber = newAccountNumber; 581 } 582 583 /** 584 * Gets the newChartOfAccountsCode attribute. 585 * 586 * @return Returns the newChartOfAccountsCode. 587 */ 588 public String getNewChartOfAccountsCode() { 589 return newChartOfAccountsCode; 590 } 591 592 /** 593 * Sets the newChartOfAccountsCode attribute value. 594 * 595 * @param newChartOfAccountsCode The newChartOfAccountsCode to set. 596 */ 597 public void setNewChartOfAccountsCode(String newChartOfAccountsCode) { 598 this.newChartOfAccountsCode = newChartOfAccountsCode; 599 } 600 601 /** 602 * Gets the newAccount attribute. 603 * 604 * @return Returns the newAccount. 605 */ 606 public Account getNewAccount() { 607 return newAccount; 608 } 609 610 /** 611 * Sets the newAccount attribute value. 612 * 613 * @param newAccount The newAccount to set. 614 * @deprecated 615 */ 616 public void setNewAccount(Account newAccount) { 617 this.newAccount = newAccount; 618 } 619 620 /** 621 * Gets the newChartOfAccounts attribute. 622 * 623 * @return Returns the newChartOfAccounts. 624 */ 625 public Chart getNewChartOfAccounts() { 626 return newChartOfAccounts; 627 } 628 629 /** 630 * Sets the newChartOfAccounts attribute value. 631 * 632 * @param newChartOfAccounts The newChartOfAccounts to set. 633 * @deprecated 634 */ 635 public void setNewChartOfAccounts(Chart newChartOfAccounts) { 636 this.newChartOfAccounts = newChartOfAccounts; 637 } 638 639 /** 640 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 641 */ 642 protected LinkedHashMap toStringMapper() { 643 LinkedHashMap m = new LinkedHashMap(); 644 if (this.universityFiscalYear != null) { 645 m.put("universityFiscalYear", this.universityFiscalYear.toString()); 646 } 647 m.put("chartOfAccountsCode", this.chartOfAccountsCode); 648 m.put("accountNumber", this.accountNumber); 649 m.put("subAccountNumber", this.subAccountNumber); 650 m.put("financialObjectCode", this.financialObjectCode); 651 m.put("financialSubObjectCode", this.financialSubObjectCode); 652 m.put("positionNumber", this.positionNumber); 653 m.put("emplid", this.emplid); 654 return m; 655 } 656 657 }