001 /** 002 * Copyright 2004-2013 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.workschedule; 017 018 import java.sql.Date; 019 import java.sql.Timestamp; 020 import java.util.LinkedList; 021 import java.util.List; 022 023 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 024 025 public class WorkSchedule extends PersistableBusinessObjectBase { 026 027 /** 028 * 029 */ 030 private static final long serialVersionUID = 1L; 031 private Long hrWorkScheduleId; 032 private Long hrWorkSchedule; 033 034 private String workScheduleDesc; 035 private Date effectiveDate; 036 private Timestamp timestamp; 037 private boolean active; 038 private String userPrincipalId; 039 private String earnGroup; 040 041 public Long getHrWorkSchedule() { 042 return hrWorkSchedule; 043 } 044 045 public void setHrWorkSchedule(Long hrWorkSchedule) { 046 this.hrWorkSchedule = hrWorkSchedule; 047 } 048 049 public String getEarnGroup() { 050 return earnGroup; 051 } 052 053 public void setEarnGroup(String earnGroup) { 054 this.earnGroup = earnGroup; 055 } 056 057 public String getUserPrincipalId() { 058 return userPrincipalId; 059 } 060 061 062 public void setUserPrincipalId(String userPrincipalId) { 063 this.userPrincipalId = userPrincipalId; 064 } 065 066 067 private List<WorkScheduleEntry> workScheduleEntries = new LinkedList<WorkScheduleEntry>(); 068 069 070 071 public List<WorkScheduleEntry> getWorkScheduleEntries() { 072 return workScheduleEntries; 073 } 074 075 076 public void setWorkScheduleEntries(List<WorkScheduleEntry> workScheduleEntries) { 077 this.workScheduleEntries = workScheduleEntries; 078 } 079 080 public String getWorkScheduleDesc() { 081 return workScheduleDesc; 082 } 083 084 public void setWorkScheduleDesc(String workScheduleDesc) { 085 this.workScheduleDesc = workScheduleDesc; 086 } 087 088 089 public Date getEffectiveDate() { 090 return effectiveDate; 091 } 092 093 094 public void setEffectiveDate(Date effectiveDate) { 095 this.effectiveDate = effectiveDate; 096 } 097 098 public boolean isActive() { 099 return active; 100 } 101 102 103 public void setActive(boolean active) { 104 this.active = active; 105 } 106 107 108 public Timestamp getTimestamp() { 109 return timestamp; 110 } 111 112 113 public void setTimestamp(Timestamp timestamp) { 114 this.timestamp = timestamp; 115 } 116 117 118 public Long getHrWorkScheduleId() { 119 return hrWorkScheduleId; 120 } 121 122 123 public void setHrWorkScheduleId(Long hrWorkScheduleId) { 124 this.hrWorkScheduleId = hrWorkScheduleId; 125 } 126 }