001    /**
002     * Copyright 2004-2012 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.time.base.web;
017    
018    import java.util.ArrayList;
019    import java.util.HashMap;
020    import java.util.List;
021    import java.util.Map;
022    
023    public class TkCommonCalendarForm extends TkForm {
024            private static final long serialVersionUID = 1L;
025            
026            private List<String> calendarYears = new ArrayList<String>();
027        private Map<String,String> payPeriodsMap = new HashMap<String,String>();
028        
029        private String selectedCalendarYear;
030        private String selectedPayPeriod;
031        private boolean onCurrentPeriod;
032        
033            public List<String> getCalendarYears() {
034                    return calendarYears;
035            }
036            public void setCalendarYears(List<String> calendarYears) {
037                    this.calendarYears = calendarYears;
038            }
039            
040            public String getSelectedCalendarYear() {
041                    return selectedCalendarYear;
042            }
043            public void setSelectedCalendarYear(String selectedCalendarYear) {
044                    this.selectedCalendarYear = selectedCalendarYear;
045            }
046            public String getSelectedPayPeriod() {
047                    return selectedPayPeriod;
048            }
049            public void setSelectedPayPeriod(String selectedPayPeriod) {
050                    this.selectedPayPeriod = selectedPayPeriod;
051            }
052            public Map<String, String> getPayPeriodsMap() {
053                    return payPeriodsMap;
054            }
055            public void setPayPeriodsMap(Map<String, String> payPeriodsMap) {
056                    this.payPeriodsMap = payPeriodsMap;
057            }
058            public boolean isOnCurrentPeriod() {
059                    return onCurrentPeriod;
060            }
061            public void setOnCurrentPeriod(boolean onCurrentPeriod) {
062                    this.onCurrentPeriod = onCurrentPeriod;
063            }
064    }