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.holidaycalendar;
017    
018    import java.util.ArrayList;
019    import java.util.List;
020    
021    import org.kuali.hr.core.KPMEConstants;
022    import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
023    
024    public class HolidayCalendar extends PersistableBusinessObjectBase {
025        public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "HolidayCalendar";
026    
027            /**
028             * 
029             */
030            private static final long serialVersionUID = 1L;
031            private String hrHolidayCalendarId;
032            private String holidayCalendarGroup;
033            private String descr;
034            private boolean active = true;
035            
036            private List<HolidayCalendarDateEntry> dateEntries = new ArrayList<HolidayCalendarDateEntry>();
037    
038    
039            public String getHrHolidayCalendarId() {
040                    return hrHolidayCalendarId;
041            }
042    
043    
044            public void setHrHolidayCalendarId(String hrHolidayCalendarId) {
045                    this.hrHolidayCalendarId = hrHolidayCalendarId;
046            }
047    
048    
049            public String getHolidayCalendarGroup() {
050                    return holidayCalendarGroup;
051            }
052    
053    
054            public void setHolidayCalendarGroup(String holidayCalendarGroup) {
055                    this.holidayCalendarGroup = holidayCalendarGroup;
056            }
057    
058    
059            public String getDescr() {
060                    return descr;
061            }
062    
063    
064            public void setDescr(String descr) {
065                    this.descr = descr;
066            }
067    
068    
069            public List<HolidayCalendarDateEntry> getDateEntries() {
070                    return dateEntries;
071            }
072    
073    
074            public void setDateEntries(List<HolidayCalendarDateEntry> dateEntries) {
075                    this.dateEntries = dateEntries;
076            }
077    
078    
079            public boolean isActive() {
080                    return active;
081            }
082    
083    
084            public void setActive(boolean active) {
085                    this.active = active;
086            }
087    
088    
089    }