001/**
002 * Copyright 2004-2014 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 */
016package org.kuali.kpme.tklm.time.timesheet.web;
017
018import java.util.List;
019import java.util.Map;
020
021import org.kuali.kpme.tklm.common.CalendarForm;
022import org.kuali.kpme.tklm.leave.transfer.BalanceTransfer;
023import org.kuali.kpme.tklm.time.timesheet.TimesheetDocument;
024
025public class TimesheetActionForm extends CalendarForm {
026
027        private static final long serialVersionUID = -1323339639503231411L;
028
029        private TimesheetDocument timesheetDocument;
030
031        /**Job Number -> Formatted department earn codes  */
032        private Map<Long,String> earnCodeDescriptions;
033        /** String (concat(job number, work_area, task)) -> Formatted Assignment Descriptions */
034        private Map<String,String>  assignmentDescriptions;
035        private String selectedAssignment;
036        private String selectedEarnCode;
037        private String transferAccrualCategory;
038
039        private String calNav;
040
041    private List<BalanceTransfer> forfeitures;
042
043        public TimesheetDocument getTimesheetDocument() {
044                return timesheetDocument;
045        }
046
047        public void setTimesheetDocument(TimesheetDocument timesheetDocument) {
048                this.timesheetDocument = timesheetDocument;
049        }
050
051        public Map<Long,String> getEarnCodeDescriptions() {
052                return earnCodeDescriptions;
053        }
054
055        public void setEarnCodeDescriptions(Map<Long,String> earnCodeDescriptions) {
056                this.earnCodeDescriptions = earnCodeDescriptions;
057        }
058
059        public Map<String,String>  getAssignmentDescriptions() {
060                return assignmentDescriptions;
061        }
062
063        public void setAssignmentDescriptions(Map<String,String>  assignmentDescriptions) {
064                this.assignmentDescriptions = assignmentDescriptions;
065        }
066
067        public String getSelectedAssignment() {
068                return selectedAssignment;
069        }
070
071        public void setSelectedAssignment(String selectedAssignment) {
072                this.selectedAssignment = selectedAssignment;
073        }
074
075        public String getSelectedEarnCode() {
076                return selectedEarnCode;
077        }
078
079        public void setSelectedEarnCode(String selectedEarnCode) {
080                this.selectedEarnCode = selectedEarnCode;
081        }
082
083        public String getCalNav() {
084                return calNav;
085        }
086
087        public void setCalNav(String calNav) {
088                this.calNav = calNav;
089        }
090
091        public String getTransferAccrualCategory() {
092                return transferAccrualCategory;
093        }
094
095        public void setTransferAccrualCategory(String transferAccrualCategory) {
096                this.transferAccrualCategory = transferAccrualCategory;
097        }
098
099        public List<BalanceTransfer> getForfeitures() {
100                return forfeitures;
101        }
102
103        public void setForfeitures(List<BalanceTransfer> forfeitures) {
104                this.forfeitures = forfeitures;
105        }
106}