1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.tklm.time.missedpunch;
17
18 import org.kuali.kpme.core.assignment.Assignment;
19 import org.kuali.kpme.core.assignment.AssignmentDescriptionKey;
20 import org.kuali.kpme.core.department.Department;
21 import org.kuali.kpme.core.job.Job;
22 import org.kuali.kpme.core.service.HrServiceLocator;
23 import org.kuali.kpme.core.task.Task;
24 import org.kuali.kpme.core.workarea.WorkArea;
25 import org.kuali.kpme.tklm.api.time.missedpunch.MissedPunchDocumentContract;
26 import org.kuali.rice.krad.document.TransactionalDocumentBase;
27
28 import java.sql.Timestamp;
29 import java.util.Date;
30
31 public class MissedPunchDocument extends TransactionalDocumentBase implements MissedPunchDocumentContract {
32
33 private static final long serialVersionUID = -8759488155644037099L;
34
35 private String tkMissedPunchId;
36
37 private MissedPunch missedPunch = new MissedPunch();
38
39 private transient Job jobObj;
40 private transient WorkArea workAreaObj;
41 private transient Department departmentObj;
42 private transient Task taskObj;
43 public String getTkMissedPunchId() {
44 return tkMissedPunchId;
45 }
46
47 public void setTkMissedPunchId(String tkMissedPunchId) {
48 this.tkMissedPunchId = tkMissedPunchId;
49 }
50
51 public MissedPunch getMissedPunch() {
52 return missedPunch;
53 }
54
55 public void setMissedPunch(MissedPunch missedPunch) {
56 this.missedPunch = missedPunch;
57 }
58
59
60
61 public String getPrincipalId() {
62 return missedPunch.getPrincipalId();
63 }
64
65 public String getTimesheetDocumentId() {
66 return missedPunch.getTimesheetDocumentId();
67 }
68
69 public Long getJobNumber() {
70 return missedPunch.getJobNumber();
71 }
72
73 public Long getWorkArea() {
74 return missedPunch.getWorkArea();
75 }
76
77 public Long getTask() {
78 return missedPunch.getTask();
79 }
80
81 public Date getActionDateTime() {
82 return null;
83 }
84
85 public String getClockAction() {
86 return missedPunch.getClockAction();
87 }
88
89 public String getTkClockLogId() {
90 return missedPunch.getTkClockLogId();
91 }
92
93 public Timestamp getTimestamp() {
94 return missedPunch.getTimestamp();
95 }
96
97 public String getDepartment() {
98 return missedPunch.getDepartment();
99 }
100
101
102
103
104
105 public Task getTaskObj() {
106 return taskObj;
107 }
108
109 public Job getJobObj() {
110 return jobObj;
111 }
112
113 public WorkArea getWorkAreaObj() {
114 return workAreaObj;
115 }
116
117 public Department getDepartmentObj() {
118 return departmentObj;
119 }
120 }