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.List;
019 import java.util.Map;
020
021 import org.kuali.hr.lm.leaveblock.LeaveBlock;
022 import org.kuali.hr.lm.leaveblock.LeaveBlockHistory;
023 import org.kuali.hr.lm.workflow.LeaveRequestDocument;
024 import org.kuali.hr.time.base.web.TkForm;
025
026 public class LeaveRequestForm extends TkForm {
027
028 private int year;
029 private String navString;
030 private List<LeaveBlock> plannedLeaves;
031 private List<LeaveBlock> pendingLeaves;
032 private List<LeaveBlock> approvedLeaves;
033 private List<LeaveBlockHistory> disapprovedLeaves;
034 private Map<String, LeaveRequestDocument> documents;
035
036 public List<LeaveBlock> getPlannedLeaves() {
037 return plannedLeaves;
038 }
039
040 public void setPlannedLeaves(List<LeaveBlock> plannedLeaves) {
041 this.plannedLeaves = plannedLeaves;
042 }
043
044 public List<LeaveBlock> getPendingLeaves() {
045 return pendingLeaves;
046 }
047
048 public void setPendingLeaves(List<LeaveBlock> pendingLeaves) {
049 this.pendingLeaves = pendingLeaves;
050 }
051
052 public List<LeaveBlock> getApprovedLeaves() {
053 return approvedLeaves;
054 }
055
056 public void setApprovedLeaves(List<LeaveBlock> approvedLeaves) {
057 this.approvedLeaves = approvedLeaves;
058 }
059
060 public List<LeaveBlockHistory> getDisapprovedLeaves() {
061 return disapprovedLeaves;
062 }
063
064 public void setDisapprovedLeaves(List<LeaveBlockHistory> disapprovedLeaves) {
065 this.disapprovedLeaves = disapprovedLeaves;
066 }
067
068 public Map<String, LeaveRequestDocument> getDocuments() {
069 return documents;
070 }
071
072 public void setDocuments(Map<String, LeaveRequestDocument> documents) {
073 this.documents = documents;
074 }
075
076 public int getYear() {
077 return year;
078 }
079
080 public void setYear(int year) {
081 this.year = year;
082 }
083
084 public String getNavString() {
085 return navString;
086 }
087
088 public void setNavString(String navString) {
089 this.navString = navString;
090 }
091
092
093 }