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.sql.Date; 021 import java.util.LinkedHashMap; 022 023 import org.kuali.kfs.coa.businessobject.ResponsibilityCenter; 024 import org.kuali.rice.kns.bo.PersistableBusinessObjectBase; 025 026 /** 027 * 028 */ 029 public class BudgetConstructionPositionInitializationMove extends PersistableBusinessObjectBase { 030 031 private String principalId; 032 private String positionNumber; 033 private Integer universityFiscalYear; 034 private Date positionEffectiveDate; 035 private String positionEffectiveStatus; 036 private String positionStatus; 037 private String budgetedPosition; 038 private String confidentialPosition; 039 private BigDecimal positionStandardHoursDefault; 040 private String positionRegularTemporary; 041 private BigDecimal positionFullTimeEquivalency; 042 private Integer iuNormalWorkMonths; 043 private Integer iuPayMonths; 044 private String positionDescription; 045 private String setidDepartment; 046 private String positionDepartmentIdentifier; 047 private String responsibilityCenterCode; 048 private String positionUnionCode; 049 private String positionSalaryPlanDefault; 050 private String positionGradeDefault; 051 private String setidJobCode; 052 private String jobCode; 053 private String jobCodeDescription; 054 private String setidSalary; 055 private String iuDefaultObjectCode; 056 private String iuPositionType; 057 058 private ResponsibilityCenter responsibilityCenter; 059 060 /** 061 * Default constructor. 062 */ 063 public BudgetConstructionPositionInitializationMove() { 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 positionNumber attribute. 088 * 089 * @return Returns the positionNumber 090 */ 091 public String getPositionNumber() { 092 return positionNumber; 093 } 094 095 /** 096 * Sets the positionNumber attribute. 097 * 098 * @param positionNumber The positionNumber to set. 099 */ 100 public void setPositionNumber(String positionNumber) { 101 this.positionNumber = positionNumber; 102 } 103 104 105 /** 106 * Gets the universityFiscalYear attribute. 107 * 108 * @return Returns the universityFiscalYear 109 */ 110 public Integer getUniversityFiscalYear() { 111 return universityFiscalYear; 112 } 113 114 /** 115 * Sets the universityFiscalYear attribute. 116 * 117 * @param universityFiscalYear The universityFiscalYear to set. 118 */ 119 public void setUniversityFiscalYear(Integer universityFiscalYear) { 120 this.universityFiscalYear = universityFiscalYear; 121 } 122 123 124 /** 125 * Gets the positionEffectiveDate attribute. 126 * 127 * @return Returns the positionEffectiveDate 128 */ 129 public Date getPositionEffectiveDate() { 130 return positionEffectiveDate; 131 } 132 133 /** 134 * Sets the positionEffectiveDate attribute. 135 * 136 * @param positionEffectiveDate The positionEffectiveDate to set. 137 */ 138 public void setPositionEffectiveDate(Date positionEffectiveDate) { 139 this.positionEffectiveDate = positionEffectiveDate; 140 } 141 142 143 /** 144 * Gets the positionEffectiveStatus attribute. 145 * 146 * @return Returns the positionEffectiveStatus 147 */ 148 public String getPositionEffectiveStatus() { 149 return positionEffectiveStatus; 150 } 151 152 /** 153 * Sets the positionEffectiveStatus attribute. 154 * 155 * @param positionEffectiveStatus The positionEffectiveStatus to set. 156 */ 157 public void setPositionEffectiveStatus(String positionEffectiveStatus) { 158 this.positionEffectiveStatus = positionEffectiveStatus; 159 } 160 161 162 /** 163 * Gets the positionStatus attribute. 164 * 165 * @return Returns the positionStatus 166 */ 167 public String getPositionStatus() { 168 return positionStatus; 169 } 170 171 /** 172 * Sets the positionStatus attribute. 173 * 174 * @param positionStatus The positionStatus to set. 175 */ 176 public void setPositionStatus(String positionStatus) { 177 this.positionStatus = positionStatus; 178 } 179 180 181 /** 182 * Gets the budgetedPosition attribute. 183 * 184 * @return Returns the budgetedPosition 185 */ 186 public String getBudgetedPosition() { 187 return budgetedPosition; 188 } 189 190 /** 191 * Sets the budgetedPosition attribute. 192 * 193 * @param budgetedPosition The budgetedPosition to set. 194 */ 195 public void setBudgetedPosition(String budgetedPosition) { 196 this.budgetedPosition = budgetedPosition; 197 } 198 199 200 /** 201 * Gets the confidentialPosition attribute. 202 * 203 * @return Returns the confidentialPosition 204 */ 205 public String getConfidentialPosition() { 206 return confidentialPosition; 207 } 208 209 /** 210 * Sets the confidentialPosition attribute. 211 * 212 * @param confidentialPosition The confidentialPosition to set. 213 */ 214 public void setConfidentialPosition(String confidentialPosition) { 215 this.confidentialPosition = confidentialPosition; 216 } 217 218 219 /** 220 * Gets the positionStandardHoursDefault attribute. 221 * 222 * @return Returns the positionStandardHoursDefault 223 */ 224 public BigDecimal getPositionStandardHoursDefault() { 225 return positionStandardHoursDefault; 226 } 227 228 /** 229 * Sets the positionStandardHoursDefault attribute. 230 * 231 * @param positionStandardHoursDefault The positionStandardHoursDefault to set. 232 */ 233 public void setPositionStandardHoursDefault(BigDecimal positionStandardHoursDefault) { 234 this.positionStandardHoursDefault = positionStandardHoursDefault; 235 } 236 237 238 /** 239 * Gets the positionRegularTemporary attribute. 240 * 241 * @return Returns the positionRegularTemporary 242 */ 243 public String getPositionRegularTemporary() { 244 return positionRegularTemporary; 245 } 246 247 /** 248 * Sets the positionRegularTemporary attribute. 249 * 250 * @param positionRegularTemporary The positionRegularTemporary to set. 251 */ 252 public void setPositionRegularTemporary(String positionRegularTemporary) { 253 this.positionRegularTemporary = positionRegularTemporary; 254 } 255 256 257 /** 258 * Gets the positionFullTimeEquivalency attribute. 259 * 260 * @return Returns the positionFullTimeEquivalency 261 */ 262 public BigDecimal getPositionFullTimeEquivalency() { 263 return positionFullTimeEquivalency; 264 } 265 266 /** 267 * Sets the positionFullTimeEquivalency attribute. 268 * 269 * @param positionFullTimeEquivalency The positionFullTimeEquivalency to set. 270 */ 271 public void setPositionFullTimeEquivalency(BigDecimal positionFullTimeEquivalency) { 272 this.positionFullTimeEquivalency = positionFullTimeEquivalency; 273 } 274 275 276 /** 277 * Gets the iuNormalWorkMonths attribute. 278 * 279 * @return Returns the iuNormalWorkMonths 280 */ 281 public Integer getIuNormalWorkMonths() { 282 return iuNormalWorkMonths; 283 } 284 285 /** 286 * Sets the iuNormalWorkMonths attribute. 287 * 288 * @param iuNormalWorkMonths The iuNormalWorkMonths to set. 289 */ 290 public void setIuNormalWorkMonths(Integer iuNormalWorkMonths) { 291 this.iuNormalWorkMonths = iuNormalWorkMonths; 292 } 293 294 295 /** 296 * Gets the iuPayMonths attribute. 297 * 298 * @return Returns the iuPayMonths 299 */ 300 public Integer getIuPayMonths() { 301 return iuPayMonths; 302 } 303 304 /** 305 * Sets the iuPayMonths attribute. 306 * 307 * @param iuPayMonths The iuPayMonths to set. 308 */ 309 public void setIuPayMonths(Integer iuPayMonths) { 310 this.iuPayMonths = iuPayMonths; 311 } 312 313 314 /** 315 * Gets the positionDescription attribute. 316 * 317 * @return Returns the positionDescription 318 */ 319 public String getPositionDescription() { 320 return positionDescription; 321 } 322 323 /** 324 * Sets the positionDescription attribute. 325 * 326 * @param positionDescription The positionDescription to set. 327 */ 328 public void setPositionDescription(String positionDescription) { 329 this.positionDescription = positionDescription; 330 } 331 332 333 /** 334 * Gets the setidDepartment attribute. 335 * 336 * @return Returns the setidDepartment 337 */ 338 public String getSetidDepartment() { 339 return setidDepartment; 340 } 341 342 /** 343 * Sets the setidDepartment attribute. 344 * 345 * @param setidDepartment The setidDepartment to set. 346 */ 347 public void setSetidDepartment(String setidDepartment) { 348 this.setidDepartment = setidDepartment; 349 } 350 351 352 /** 353 * Gets the positionDepartmentIdentifier attribute. 354 * 355 * @return Returns the positionDepartmentIdentifier 356 */ 357 public String getPositionDepartmentIdentifier() { 358 return positionDepartmentIdentifier; 359 } 360 361 /** 362 * Sets the positionDepartmentIdentifier attribute. 363 * 364 * @param positionDepartmentIdentifier The positionDepartmentIdentifier to set. 365 */ 366 public void setPositionDepartmentIdentifier(String positionDepartmentIdentifier) { 367 this.positionDepartmentIdentifier = positionDepartmentIdentifier; 368 } 369 370 371 /** 372 * Gets the responsibilityCenterCode attribute. 373 * 374 * @return Returns the responsibilityCenterCode 375 */ 376 public String getResponsibilityCenterCode() { 377 return responsibilityCenterCode; 378 } 379 380 /** 381 * Sets the responsibilityCenterCode attribute. 382 * 383 * @param responsibilityCenterCode The responsibilityCenterCode to set. 384 */ 385 public void setResponsibilityCenterCode(String responsibilityCenterCode) { 386 this.responsibilityCenterCode = responsibilityCenterCode; 387 } 388 389 390 /** 391 * Gets the positionUnionCode attribute. 392 * 393 * @return Returns the positionUnionCode 394 */ 395 public String getPositionUnionCode() { 396 return positionUnionCode; 397 } 398 399 /** 400 * Sets the positionUnionCode attribute. 401 * 402 * @param positionUnionCode The positionUnionCode to set. 403 */ 404 public void setPositionUnionCode(String positionUnionCode) { 405 this.positionUnionCode = positionUnionCode; 406 } 407 408 409 /** 410 * Gets the positionSalaryPlanDefault attribute. 411 * 412 * @return Returns the positionSalaryPlanDefault 413 */ 414 public String getPositionSalaryPlanDefault() { 415 return positionSalaryPlanDefault; 416 } 417 418 /** 419 * Sets the positionSalaryPlanDefault attribute. 420 * 421 * @param positionSalaryPlanDefault The positionSalaryPlanDefault to set. 422 */ 423 public void setPositionSalaryPlanDefault(String positionSalaryPlanDefault) { 424 this.positionSalaryPlanDefault = positionSalaryPlanDefault; 425 } 426 427 428 /** 429 * Gets the positionGradeDefault attribute. 430 * 431 * @return Returns the positionGradeDefault 432 */ 433 public String getPositionGradeDefault() { 434 return positionGradeDefault; 435 } 436 437 /** 438 * Sets the positionGradeDefault attribute. 439 * 440 * @param positionGradeDefault The positionGradeDefault to set. 441 */ 442 public void setPositionGradeDefault(String positionGradeDefault) { 443 this.positionGradeDefault = positionGradeDefault; 444 } 445 446 447 /** 448 * Gets the setidJobCode attribute. 449 * 450 * @return Returns the setidJobCode 451 */ 452 public String getSetidJobCode() { 453 return setidJobCode; 454 } 455 456 /** 457 * Sets the setidJobCode attribute. 458 * 459 * @param setidJobCode The setidJobCode to set. 460 */ 461 public void setSetidJobCode(String setidJobCode) { 462 this.setidJobCode = setidJobCode; 463 } 464 465 466 /** 467 * Gets the jobCode attribute. 468 * 469 * @return Returns the jobCode 470 */ 471 public String getJobCode() { 472 return jobCode; 473 } 474 475 /** 476 * Sets the jobCode attribute. 477 * 478 * @param jobCode The jobCode to set. 479 */ 480 public void setJobCode(String jobCode) { 481 this.jobCode = jobCode; 482 } 483 484 485 /** 486 * Gets the jobCodeDescription attribute. 487 * 488 * @return Returns the jobCodeDescription 489 */ 490 public String getJobCodeDescription() { 491 return jobCodeDescription; 492 } 493 494 /** 495 * Sets the jobCodeDescription attribute. 496 * 497 * @param jobCodeDescription The jobCodeDescription to set. 498 */ 499 public void setJobCodeDescription(String jobCodeDescription) { 500 this.jobCodeDescription = jobCodeDescription; 501 } 502 503 504 /** 505 * Gets the setidSalary attribute. 506 * 507 * @return Returns the setidSalary 508 */ 509 public String getSetidSalary() { 510 return setidSalary; 511 } 512 513 /** 514 * Sets the setidSalary attribute. 515 * 516 * @param setidSalary The setidSalary to set. 517 */ 518 public void setSetidSalary(String setidSalary) { 519 this.setidSalary = setidSalary; 520 } 521 522 523 /** 524 * Gets the iuDefaultObjectCode attribute. 525 * 526 * @return Returns the iuDefaultObjectCode 527 */ 528 public String getIuDefaultObjectCode() { 529 return iuDefaultObjectCode; 530 } 531 532 /** 533 * Sets the iuDefaultObjectCode attribute. 534 * 535 * @param iuDefaultObjectCode The iuDefaultObjectCode to set. 536 */ 537 public void setIuDefaultObjectCode(String iuDefaultObjectCode) { 538 this.iuDefaultObjectCode = iuDefaultObjectCode; 539 } 540 541 542 /** 543 * Gets the iuPositionType attribute. 544 * 545 * @return Returns the iuPositionType 546 */ 547 public String getIuPositionType() { 548 return iuPositionType; 549 } 550 551 /** 552 * Sets the iuPositionType attribute. 553 * 554 * @param iuPositionType The iuPositionType to set. 555 */ 556 public void setIuPositionType(String iuPositionType) { 557 this.iuPositionType = iuPositionType; 558 } 559 560 /** 561 * Gets the responsibilityCenter attribute. 562 * 563 * @return Returns the responsibilityCenter. 564 */ 565 public ResponsibilityCenter getResponsibilityCenter() { 566 return responsibilityCenter; 567 } 568 569 /** 570 * Sets the responsibilityCenter attribute value. 571 * 572 * @param responsibilityCenter The responsibilityCenter to set. 573 * @deprecated 574 */ 575 public void setResponsibilityCenter(ResponsibilityCenter responsibilityCenter) { 576 this.responsibilityCenter = responsibilityCenter; 577 } 578 579 /** 580 * @see org.kuali.rice.kns.bo.BusinessObjectBase#toStringMapper() 581 */ 582 protected LinkedHashMap toStringMapper() { 583 LinkedHashMap m = new LinkedHashMap(); 584 m.put("principalId", this.principalId); 585 m.put("positionNumber", this.positionNumber); 586 if (this.universityFiscalYear != null) { 587 m.put("universityFiscalYear", this.universityFiscalYear.toString()); 588 } 589 return m; 590 } 591 592 } 593