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.time.timesheet.web;
17  
18  import java.util.List;
19  import java.util.Map;
20  
21  import org.kuali.kpme.tklm.common.CalendarForm;
22  import org.kuali.kpme.tklm.leave.transfer.BalanceTransfer;
23  import org.kuali.kpme.tklm.time.timesheet.TimesheetDocument;
24  
25  public class TimesheetActionForm extends CalendarForm {
26  
27  	private static final long serialVersionUID = -1323339639503231411L;
28  
29  	private TimesheetDocument timesheetDocument;
30  
31  	/**Job Number -> Formatted department earn codes  */
32  	private Map<Long,String> earnCodeDescriptions;
33  	/** String (concat(job number, work_area, task)) -> Formatted Assignment Descriptions */
34  	private Map<String,String>  assignmentDescriptions;
35  	private String selectedAssignment;
36  	private String selectedEarnCode;
37  	private String transferAccrualCategory;
38  
39  	private String calNav;
40  
41      private List<BalanceTransfer> forfeitures;
42  
43  	public TimesheetDocument getTimesheetDocument() {
44  		return timesheetDocument;
45  	}
46  
47  	public void setTimesheetDocument(TimesheetDocument timesheetDocument) {
48  		this.timesheetDocument = timesheetDocument;
49  	}
50  
51  	public Map<Long,String> getEarnCodeDescriptions() {
52  		return earnCodeDescriptions;
53  	}
54  
55  	public void setEarnCodeDescriptions(Map<Long,String> earnCodeDescriptions) {
56  		this.earnCodeDescriptions = earnCodeDescriptions;
57  	}
58  
59  	public Map<String,String>  getAssignmentDescriptions() {
60  		return assignmentDescriptions;
61  	}
62  
63  	public void setAssignmentDescriptions(Map<String,String>  assignmentDescriptions) {
64  		this.assignmentDescriptions = assignmentDescriptions;
65  	}
66  
67  	public String getSelectedAssignment() {
68  		return selectedAssignment;
69  	}
70  
71  	public void setSelectedAssignment(String selectedAssignment) {
72  		this.selectedAssignment = selectedAssignment;
73  	}
74  
75  	public String getSelectedEarnCode() {
76  		return selectedEarnCode;
77  	}
78  
79  	public void setSelectedEarnCode(String selectedEarnCode) {
80  		this.selectedEarnCode = selectedEarnCode;
81  	}
82  
83  	public String getCalNav() {
84  		return calNav;
85  	}
86  
87  	public void setCalNav(String calNav) {
88  		this.calNav = calNav;
89  	}
90  
91  	public String getTransferAccrualCategory() {
92  		return transferAccrualCategory;
93  	}
94  
95  	public void setTransferAccrualCategory(String transferAccrualCategory) {
96  		this.transferAccrualCategory = transferAccrualCategory;
97  	}
98  
99  	public List<BalanceTransfer> getForfeitures() {
100 		return forfeitures;
101 	}
102 
103 	public void setForfeitures(List<BalanceTransfer> forfeitures) {
104 		this.forfeitures = forfeitures;
105 	}
106 }