1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.timeblock;
17
18 import org.kuali.rice.kim.api.identity.Person;
19
20 public class TimeBlockHistoryDetail extends TimeHourDetail{
21
22 private static final long serialVersionUID = 1L;
23 private String tkTimeBlockHistoryDetailId;
24 private String tkTimeBlockHistoryId;
25
26 private TimeBlockHistory timeBlockHistory;
27
28 private Person principal;
29 private Person userPrincipal;
30
31 public String getTkTimeBlockHistoryDetailId() {
32 return tkTimeBlockHistoryDetailId;
33 }
34
35 public void setTkTimeBlockHistoryDetailId(String tkTimeBlockHistoryDetailId) {
36 this.tkTimeBlockHistoryDetailId = tkTimeBlockHistoryDetailId;
37 }
38
39 public String getTkTimeBlockHistoryId() {
40 return tkTimeBlockHistoryId;
41 }
42
43 public void setTkTimeBlockHistoryId(String tkTimeBlockHistoryId) {
44 this.tkTimeBlockHistoryId = tkTimeBlockHistoryId;
45 }
46
47
48 public TimeBlockHistoryDetail(TimeHourDetail thd) {
49 this.setEarnCode(thd.getEarnCode());
50 this.setAmount(thd.getAmount());
51 this.setHours(thd.getHours());
52 }
53
54 protected TimeBlockHistoryDetail(TimeBlockHistoryDetail t) {
55 this.tkTimeBlockHistoryDetailId = t.tkTimeBlockHistoryDetailId;
56 this.tkTimeBlockHistoryId = t.tkTimeBlockHistoryId;
57 this.setEarnCode(t.getEarnCode());
58 this.setHours(t.getHours());
59 this.setAmount(t.getAmount());
60 }
61
62 public TimeBlockHistoryDetail copy() {
63 return new TimeBlockHistoryDetail(this);
64 }
65 public TimeBlockHistoryDetail() {
66 }
67
68 public TimeBlockHistory getTimeBlockHistory() {
69 return timeBlockHistory;
70 }
71
72 public void setTimeBlockHistory(TimeBlockHistory timeBlockHistory) {
73 this.timeBlockHistory = timeBlockHistory;
74 }
75
76 public Person getPrincipal() {
77 return principal;
78 }
79
80 public void setPrincipal(Person principal) {
81 this.principal = principal;
82 }
83
84 public Person getUserPrincipal() {
85 return userPrincipal;
86 }
87
88 public void setUserPrincipal(Person userPrincipal) {
89 this.userPrincipal = userPrincipal;
90 }
91
92 public java.sql.Date getBeginDate() {
93 return timeBlockHistory.getBeginDate();
94 }
95
96
97
98 }