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.leave.web;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.kuali.hr.lm.accrual.AccrualCategory;
22  import org.kuali.hr.lm.leaveblock.LeaveBlockHistory;
23  import org.kuali.hr.time.base.web.TkForm;
24  
25  public class LeaveBlockDisplayForm extends TkForm {
26  
27  	private static final long serialVersionUID = 1438955879572170167L;
28  	
29  	private String targetName;
30  	private int year;
31  	private String navString;
32  	private List<AccrualCategory> accrualCategories = new ArrayList<AccrualCategory>();
33  	private List<LeaveBlockDisplay> leaveEntries;
34  	private List<LeaveBlockHistory> correctedLeaveEntries;
35  	private List<LeaveBlockHistory> inActiveLeaveEntries;
36  	
37  	public String getTargetName() {
38  		return targetName;
39  	}
40  
41  	public void setTargetName(String targetName) {
42  		this.targetName = targetName;
43  	}
44  	
45  	public int getYear() {
46  		return year;
47  	}
48  
49  	public void setYear(int year) {
50  		this.year = year;
51  	}
52  
53  	public String getNavString() {
54  		return navString;
55  	}
56  
57  	public void setNavString(String navString) {
58  		this.navString = navString;
59  	}
60  	
61  	public List<AccrualCategory> getAccrualCategories() {
62  		return accrualCategories;
63  	}
64  
65  	public void setAccrualCategories(List<AccrualCategory> accrualCategories) {
66  		this.accrualCategories = accrualCategories;
67  	}
68  	
69  	public List<LeaveBlockDisplay> getLeaveEntries() {
70  		return leaveEntries;
71  	}
72  
73  	public void setLeaveEntries(List<LeaveBlockDisplay> leaveEntries) {
74  		this.leaveEntries = leaveEntries;
75  	}
76  	
77  	public List<LeaveBlockHistory> getCorrectedLeaveEntries() {
78  		return correctedLeaveEntries;
79  	}
80  
81  	public void setCorrectedLeaveEntries(List<LeaveBlockHistory> correctedLeaveEntries) {
82  		this.correctedLeaveEntries = correctedLeaveEntries;
83  	}
84  
85  	public List<LeaveBlockHistory> getInActiveLeaveEntries() {
86  		return inActiveLeaveEntries;
87  	}
88  
89  	public void setInActiveLeaveEntries(List<LeaveBlockHistory> inActiveLeaveEntries) {
90  		this.inActiveLeaveEntries = inActiveLeaveEntries;
91  	}
92  	
93  }