View Javadoc

1   /**
2    * Copyright 2004-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.hr.lm.accrual;
17  
18  import java.math.BigDecimal;
19  import java.util.ArrayList;
20  import java.util.List;
21  
22  import org.joda.time.Interval;
23  import org.kuali.hr.job.Job;
24  import org.kuali.hr.lm.leaveplan.LeavePlan;
25  import org.kuali.hr.lm.timeoff.SystemScheduledTimeOff;
26  import org.kuali.hr.time.principal.PrincipalHRAttributes;
27  
28  public class RateRange {
29  	private Interval range;
30  	private List<Job> jobs = new ArrayList<Job>();
31  	private BigDecimal accrualRatePercentageModifier = new BigDecimal("1.0");
32  	private BigDecimal standardHours;
33  	private PrincipalHRAttributes principalHRAttributes;
34  	private PrincipalHRAttributes endPrincipalHRAttributes;
35  	private LeavePlan leavePlan;
36  	private List<AccrualCategory> acList = new ArrayList<AccrualCategory>();
37  	private List<AccrualCategoryRule> acRuleList = new ArrayList<AccrualCategoryRule>();
38  	private SystemScheduledTimeOff sysScheTimeOff;
39  	private String leaveCalendarDocumentId;
40  	
41  	private boolean statusChanged;
42  	
43  	public Interval getRange() {
44  		return range;
45  	}
46  	public void setRange(Interval range) {
47  		this.range = range;
48  	}
49  	public List<Job> getJobs() {
50  		return jobs;
51  	}
52  	public void setJobs(List<Job> jobs) {
53  		this.jobs = jobs;
54  	}
55  	public BigDecimal getAccrualRatePercentageModifier() {
56  		return accrualRatePercentageModifier;
57  	}
58  	public void setAccrualRatePercentageModifier(
59  			BigDecimal accrualRatePercentageModifier) {
60  		this.accrualRatePercentageModifier = accrualRatePercentageModifier;
61  	}
62  	public boolean isStatusChanged() {
63  		return statusChanged;
64  	}
65  	public void setStatusChanged(boolean statusChanged) {
66  		this.statusChanged = statusChanged;
67  	}
68  	public BigDecimal getStandardHours() {
69  		return standardHours;
70  	}
71  	public void setStandardHours(BigDecimal standardHours) {
72  		this.standardHours = standardHours;
73  	}
74  	public PrincipalHRAttributes getPrincipalHRAttributes() {
75  		return principalHRAttributes;
76  	}
77  	public void setPrincipalHRAttributes(PrincipalHRAttributes principalHRAttributes) {
78  		this.principalHRAttributes = principalHRAttributes;
79  	}
80  	public PrincipalHRAttributes getEndPrincipalHRAttributes() {
81  		return endPrincipalHRAttributes;
82  	}
83  	public void setEndPrincipalHRAttributes(
84  			PrincipalHRAttributes endPrincipalHRAttributes) {
85  		this.endPrincipalHRAttributes = endPrincipalHRAttributes;
86  	}
87  	public LeavePlan getLeavePlan() {
88  		return leavePlan;
89  	}
90  	public void setLeavePlan(LeavePlan leavePlan) {
91  		this.leavePlan = leavePlan;
92  	}
93  	public List<AccrualCategory> getAcList() {
94  		return acList;
95  	}
96  	public void setAcList(List<AccrualCategory> acList) {
97  		this.acList = acList;
98  	}
99  	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 }