View Javadoc

1   /**
2    * Copyright 2004-2012 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.time.base.web;
17  
18  import java.util.ArrayList;
19  import java.util.HashMap;
20  import java.util.List;
21  import java.util.Map;
22  
23  public class TkCommonCalendarForm extends TkForm {
24  	private static final long serialVersionUID = 1L;
25  	
26  	private List<String> calendarYears = new ArrayList<String>();
27      private Map<String,String> payPeriodsMap = new HashMap<String,String>();
28      
29      private String selectedCalendarYear;
30      private String selectedPayPeriod;
31      private boolean onCurrentPeriod;
32      
33  	public List<String> getCalendarYears() {
34  		return calendarYears;
35  	}
36  	public void setCalendarYears(List<String> calendarYears) {
37  		this.calendarYears = calendarYears;
38  	}
39  	
40  	public String getSelectedCalendarYear() {
41  		return selectedCalendarYear;
42  	}
43  	public void setSelectedCalendarYear(String selectedCalendarYear) {
44  		this.selectedCalendarYear = selectedCalendarYear;
45  	}
46  	public String getSelectedPayPeriod() {
47  		return selectedPayPeriod;
48  	}
49  	public void setSelectedPayPeriod(String selectedPayPeriod) {
50  		this.selectedPayPeriod = selectedPayPeriod;
51  	}
52  	public Map<String, String> getPayPeriodsMap() {
53  		return payPeriodsMap;
54  	}
55  	public void setPayPeriodsMap(Map<String, String> payPeriodsMap) {
56  		this.payPeriodsMap = payPeriodsMap;
57  	}
58  	public boolean isOnCurrentPeriod() {
59  		return onCurrentPeriod;
60  	}
61  	public void setOnCurrentPeriod(boolean onCurrentPeriod) {
62  		this.onCurrentPeriod = onCurrentPeriod;
63  	}
64  }