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 List<LeaveBlock> plannedLeaves;
029 private List<LeaveBlock> pendingLeaves;
030 private List<LeaveBlock> approvedLeaves;
031 private List<LeaveBlockHistory> disapprovedLeaves;
032 private Map<String, LeaveRequestDocument> documents;
033
034 public List<LeaveBlock> getPlannedLeaves() {
035 return plannedLeaves;
036 }
037
038 public void setPlannedLeaves(List<LeaveBlock> plannedLeaves) {
039 this.plannedLeaves = plannedLeaves;
040 }
041
042 public List<LeaveBlock> getPendingLeaves() {
043 return pendingLeaves;
044 }
045
046 public void setPendingLeaves(List<LeaveBlock> pendingLeaves) {
047 this.pendingLeaves = pendingLeaves;
048 }
049
050 public List<LeaveBlock> getApprovedLeaves() {
051 return approvedLeaves;
052 }
053
054 public void setApprovedLeaves(List<LeaveBlock> approvedLeaves) {
055 this.approvedLeaves = approvedLeaves;
056 }
057
058 public List<LeaveBlockHistory> getDisapprovedLeaves() {
059 return disapprovedLeaves;
060 }
061
062 public void setDisapprovedLeaves(List<LeaveBlockHistory> disapprovedLeaves) {
063 this.disapprovedLeaves = disapprovedLeaves;
064 }
065
066 public Map<String, LeaveRequestDocument> getDocuments() {
067 return documents;
068 }
069
070 public void setDocuments(Map<String, LeaveRequestDocument> documents) {
071 this.documents = documents;
072 }
073
074 }