View Javadoc

1   /**
2    * Copyright 2004-2013 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.holidaycalendar;
17  
18  import java.util.ArrayList;
19  import java.util.List;
20  
21  import org.kuali.hr.core.KPMEConstants;
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  public class HolidayCalendar extends PersistableBusinessObjectBase {
25      public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "HolidayCalendar";
26  
27  	/**
28  	 * 
29  	 */
30  	private static final long serialVersionUID = 1L;
31  	private String hrHolidayCalendarId;
32  	private String holidayCalendarGroup;
33  	private String descr;
34  	private boolean active = true;
35  	
36  	private List<HolidayCalendarDateEntry> dateEntries = new ArrayList<HolidayCalendarDateEntry>();
37  
38  
39  	public String getHrHolidayCalendarId() {
40  		return hrHolidayCalendarId;
41  	}
42  
43  
44  	public void setHrHolidayCalendarId(String hrHolidayCalendarId) {
45  		this.hrHolidayCalendarId = hrHolidayCalendarId;
46  	}
47  
48  
49  	public String getHolidayCalendarGroup() {
50  		return holidayCalendarGroup;
51  	}
52  
53  
54  	public void setHolidayCalendarGroup(String holidayCalendarGroup) {
55  		this.holidayCalendarGroup = holidayCalendarGroup;
56  	}
57  
58  
59  	public String getDescr() {
60  		return descr;
61  	}
62  
63  
64  	public void setDescr(String descr) {
65  		this.descr = descr;
66  	}
67  
68  
69  	public List<HolidayCalendarDateEntry> getDateEntries() {
70  		return dateEntries;
71  	}
72  
73  
74  	public void setDateEntries(List<HolidayCalendarDateEntry> dateEntries) {
75  		this.dateEntries = dateEntries;
76  	}
77  
78  
79  	public boolean isActive() {
80  		return active;
81  	}
82  
83  
84  	public void setActive(boolean active) {
85  		this.active = active;
86  	}
87  
88  
89  }