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.List;
19  import java.util.Map;
20  
21  import org.kuali.hr.lm.leaveblock.LeaveBlock;
22  import org.kuali.hr.lm.leaveblock.LeaveBlockHistory;
23  import org.kuali.hr.lm.workflow.LeaveRequestDocument;
24  import org.kuali.hr.time.base.web.TkForm;
25  
26  public class LeaveRequestForm extends TkForm {
27  
28  	private List<LeaveBlock> plannedLeaves;
29  	private List<LeaveBlock> pendingLeaves;
30  	private List<LeaveBlock> approvedLeaves;
31  	private List<LeaveBlockHistory> disapprovedLeaves;
32      private Map<String, LeaveRequestDocument> documents;
33  
34  	public List<LeaveBlock> getPlannedLeaves() {
35  		return plannedLeaves;
36  	}
37  
38  	public void setPlannedLeaves(List<LeaveBlock> plannedLeaves) {
39  		this.plannedLeaves = plannedLeaves;
40  	}
41  
42  	public List<LeaveBlock> getPendingLeaves() {
43  		return pendingLeaves;
44  	}
45  
46  	public void setPendingLeaves(List<LeaveBlock> pendingLeaves) {
47  		this.pendingLeaves = pendingLeaves;
48  	}
49  
50  	public List<LeaveBlock> getApprovedLeaves() {
51  		return approvedLeaves;
52  	}
53  
54  	public void setApprovedLeaves(List<LeaveBlock> approvedLeaves) {
55  		this.approvedLeaves = approvedLeaves;
56  	}
57  
58  	public List<LeaveBlockHistory> getDisapprovedLeaves() {
59  		return disapprovedLeaves;
60  	}
61  
62  	public void setDisapprovedLeaves(List<LeaveBlockHistory> disapprovedLeaves) {
63  		this.disapprovedLeaves = disapprovedLeaves;
64  	}
65  
66      public Map<String, LeaveRequestDocument> getDocuments() {
67          return documents;
68      }
69  
70      public void setDocuments(Map<String, LeaveRequestDocument> documents) {
71          this.documents = documents;
72      }
73  
74  }