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.workschedule;
17  
18  import java.sql.Date;
19  import java.sql.Timestamp;
20  import java.util.LinkedList;
21  import java.util.List;
22  
23  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
24  
25  public class WorkSchedule extends PersistableBusinessObjectBase {
26  
27  	/**
28  	 *
29  	 */
30  	private static final long serialVersionUID = 1L;
31  	private Long hrWorkScheduleId;
32      private Long hrWorkSchedule;
33  
34  	private String workScheduleDesc;
35  	private Date effectiveDate;
36  	private Timestamp timestamp;
37  	private boolean active;
38  	private String userPrincipalId;
39      private String earnGroup;
40  
41      public Long getHrWorkSchedule() {
42          return hrWorkSchedule;
43      }
44  
45      public void setHrWorkSchedule(Long hrWorkSchedule) {
46          this.hrWorkSchedule = hrWorkSchedule;
47      }
48  
49      public String getEarnGroup() {
50          return earnGroup;
51      }
52  
53      public void setEarnGroup(String earnGroup) {
54          this.earnGroup = earnGroup;
55      }
56  
57      public String getUserPrincipalId() {
58  		return userPrincipalId;
59  	}
60  
61  
62  	public void setUserPrincipalId(String userPrincipalId) {
63  		this.userPrincipalId = userPrincipalId;
64  	}
65  
66  
67  	private List<WorkScheduleEntry> workScheduleEntries = new  LinkedList<WorkScheduleEntry>();
68  
69  
70  
71  	public List<WorkScheduleEntry> getWorkScheduleEntries() {
72  		return workScheduleEntries;
73  	}
74  
75  
76  	public void setWorkScheduleEntries(List<WorkScheduleEntry> workScheduleEntries) {
77  		this.workScheduleEntries = workScheduleEntries;
78  	}
79  
80  	public String getWorkScheduleDesc() {
81  		return workScheduleDesc;
82  	}
83  
84  	public void setWorkScheduleDesc(String workScheduleDesc) {
85  		this.workScheduleDesc = workScheduleDesc;
86  	}
87  
88  
89  	public Date getEffectiveDate() {
90  		return effectiveDate;
91  	}
92  
93  
94  	public void setEffectiveDate(Date effectiveDate) {
95  		this.effectiveDate = effectiveDate;
96  	}
97  
98  	public boolean isActive() {
99  		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 }