View Javadoc

1   /**
2    * Copyright 2004-2014 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.kpme.tklm.leave.request.web;
17  
18  import java.util.List;
19  import java.util.Map;
20  
21  import org.kuali.kpme.core.web.KPMEForm;
22  import org.kuali.kpme.tklm.leave.block.LeaveBlock;
23  import org.kuali.kpme.tklm.leave.block.LeaveBlockHistory;
24  import org.kuali.kpme.tklm.leave.workflow.LeaveRequestDocument;
25  
26  public class LeaveRequestForm extends KPMEForm {
27  
28      private int year;
29      private String navString;
30  	private List<LeaveBlock> plannedLeaves;
31  	private List<LeaveBlock> pendingLeaves;
32  	private List<LeaveBlock> approvedLeaves;
33  	private List<LeaveBlockHistory> disapprovedLeaves;
34      private Map<String, LeaveRequestDocument> documents;
35  
36  	public List<LeaveBlock> getPlannedLeaves() {
37  		return plannedLeaves;
38  	}
39  
40  	public void setPlannedLeaves(List<LeaveBlock> plannedLeaves) {
41  		this.plannedLeaves = plannedLeaves;
42  	}
43  
44  	public List<LeaveBlock> getPendingLeaves() {
45  		return pendingLeaves;
46  	}
47  
48  	public void setPendingLeaves(List<LeaveBlock> pendingLeaves) {
49  		this.pendingLeaves = pendingLeaves;
50  	}
51  
52  	public List<LeaveBlock> getApprovedLeaves() {
53  		return approvedLeaves;
54  	}
55  
56  	public void setApprovedLeaves(List<LeaveBlock> approvedLeaves) {
57  		this.approvedLeaves = approvedLeaves;
58  	}
59  
60  	public List<LeaveBlockHistory> getDisapprovedLeaves() {
61  		return disapprovedLeaves;
62  	}
63  
64  	public void setDisapprovedLeaves(List<LeaveBlockHistory> disapprovedLeaves) {
65  		this.disapprovedLeaves = disapprovedLeaves;
66  	}
67  
68      public Map<String, LeaveRequestDocument> getDocuments() {
69          return documents;
70      }
71  
72      public void setDocuments(Map<String, LeaveRequestDocument> documents) {
73          this.documents = documents;
74      }
75  
76      public int getYear() {
77          return year;
78      }
79  
80      public void setYear(int year) {
81          this.year = year;
82      }
83  
84      public String getNavString() {
85          return navString;
86      }
87  
88      public void setNavString(String navString) {
89          this.navString = navString;
90      }
91  
92  
93  }