001 /**
002 * Copyright 2004-2013 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.hr.lm.accrual;
017
018 import java.math.BigDecimal;
019 import java.util.ArrayList;
020 import java.util.List;
021
022 import org.joda.time.Interval;
023 import org.kuali.hr.job.Job;
024 import org.kuali.hr.lm.leaveplan.LeavePlan;
025 import org.kuali.hr.lm.timeoff.SystemScheduledTimeOff;
026 import org.kuali.hr.time.principal.PrincipalHRAttributes;
027
028 public class RateRange {
029 private Interval range;
030 private List<Job> jobs = new ArrayList<Job>();
031 private BigDecimal accrualRatePercentageModifier = new BigDecimal("1.0");
032 private BigDecimal standardHours;
033 private PrincipalHRAttributes principalHRAttributes;
034 private PrincipalHRAttributes endPrincipalHRAttributes;
035 private LeavePlan leavePlan;
036 private List<AccrualCategory> acList = new ArrayList<AccrualCategory>();
037 private List<AccrualCategoryRule> acRuleList = new ArrayList<AccrualCategoryRule>();
038 private SystemScheduledTimeOff sysScheTimeOff;
039 private String leaveCalendarDocumentId;
040
041 private boolean statusChanged;
042
043 public Interval getRange() {
044 return range;
045 }
046 public void setRange(Interval range) {
047 this.range = range;
048 }
049 public List<Job> getJobs() {
050 return jobs;
051 }
052 public void setJobs(List<Job> jobs) {
053 this.jobs = jobs;
054 }
055 public BigDecimal getAccrualRatePercentageModifier() {
056 return accrualRatePercentageModifier;
057 }
058 public void setAccrualRatePercentageModifier(
059 BigDecimal accrualRatePercentageModifier) {
060 this.accrualRatePercentageModifier = accrualRatePercentageModifier;
061 }
062 public boolean isStatusChanged() {
063 return statusChanged;
064 }
065 public void setStatusChanged(boolean statusChanged) {
066 this.statusChanged = statusChanged;
067 }
068 public BigDecimal getStandardHours() {
069 return standardHours;
070 }
071 public void setStandardHours(BigDecimal standardHours) {
072 this.standardHours = standardHours;
073 }
074 public PrincipalHRAttributes getPrincipalHRAttributes() {
075 return principalHRAttributes;
076 }
077 public void setPrincipalHRAttributes(PrincipalHRAttributes principalHRAttributes) {
078 this.principalHRAttributes = principalHRAttributes;
079 }
080 public PrincipalHRAttributes getEndPrincipalHRAttributes() {
081 return endPrincipalHRAttributes;
082 }
083 public void setEndPrincipalHRAttributes(
084 PrincipalHRAttributes endPrincipalHRAttributes) {
085 this.endPrincipalHRAttributes = endPrincipalHRAttributes;
086 }
087 public LeavePlan getLeavePlan() {
088 return leavePlan;
089 }
090 public void setLeavePlan(LeavePlan leavePlan) {
091 this.leavePlan = leavePlan;
092 }
093 public List<AccrualCategory> getAcList() {
094 return acList;
095 }
096 public void setAcList(List<AccrualCategory> acList) {
097 this.acList = acList;
098 }
099 public List<AccrualCategoryRule> getAcRuleList() {
100 return acRuleList;
101 }
102 public void setAcRuleList(List<AccrualCategoryRule> acRuleList) {
103 this.acRuleList = acRuleList;
104 }
105
106 public SystemScheduledTimeOff getSysScheTimeOff() {
107 return sysScheTimeOff;
108 }
109 public void setSysScheTimeOff(SystemScheduledTimeOff sysScheTimeOff) {
110 this.sysScheTimeOff = sysScheTimeOff;
111 }
112 public String getLeaveCalendarDocumentId() {
113 return leaveCalendarDocumentId;
114 }
115 public void setLeaveCalendarDocumentId(String leaveCalendarDocumentId) {
116 this.leaveCalendarDocumentId = leaveCalendarDocumentId;
117 }
118 }