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.leave.web; 017 018 import java.util.ArrayList; 019 import java.util.List; 020 021 import org.kuali.hr.lm.accrual.AccrualCategory; 022 import org.kuali.hr.lm.leaveblock.LeaveBlockHistory; 023 import org.kuali.hr.time.base.web.TkForm; 024 025 public class LeaveBlockDisplayForm extends TkForm { 026 027 private static final long serialVersionUID = 1438955879572170167L; 028 029 private String targetName; 030 private int year; 031 private String navString; 032 private List<AccrualCategory> accrualCategories = new ArrayList<AccrualCategory>(); 033 private List<LeaveBlockDisplay> leaveEntries; 034 private List<LeaveBlockHistory> correctedLeaveEntries; 035 private List<LeaveBlockHistory> inActiveLeaveEntries; 036 037 public String getTargetName() { 038 return targetName; 039 } 040 041 public void setTargetName(String targetName) { 042 this.targetName = targetName; 043 } 044 045 public int getYear() { 046 return year; 047 } 048 049 public void setYear(int year) { 050 this.year = year; 051 } 052 053 public String getNavString() { 054 return navString; 055 } 056 057 public void setNavString(String navString) { 058 this.navString = navString; 059 } 060 061 public List<AccrualCategory> getAccrualCategories() { 062 return accrualCategories; 063 } 064 065 public void setAccrualCategories(List<AccrualCategory> accrualCategories) { 066 this.accrualCategories = accrualCategories; 067 } 068 069 public List<LeaveBlockDisplay> getLeaveEntries() { 070 return leaveEntries; 071 } 072 073 public void setLeaveEntries(List<LeaveBlockDisplay> leaveEntries) { 074 this.leaveEntries = leaveEntries; 075 } 076 077 public List<LeaveBlockHistory> getCorrectedLeaveEntries() { 078 return correctedLeaveEntries; 079 } 080 081 public void setCorrectedLeaveEntries(List<LeaveBlockHistory> correctedLeaveEntries) { 082 this.correctedLeaveEntries = correctedLeaveEntries; 083 } 084 085 public List<LeaveBlockHistory> getInActiveLeaveEntries() { 086 return inActiveLeaveEntries; 087 } 088 089 public void setInActiveLeaveEntries(List<LeaveBlockHistory> inActiveLeaveEntries) { 090 this.inActiveLeaveEntries = inActiveLeaveEntries; 091 } 092 093 }