1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.core.tkmdocument.tkmjob;
17
18 import org.kuali.kpme.core.assignment.AssignmentBo;
19 import org.kuali.kpme.core.job.JobBo;
20
21 import java.util.ArrayList;
22 import java.util.Date;
23 import java.util.List;
24
25
26
27
28 public class KhrEmployeeJob extends JobBo {
29
30 private static final long serialVersionUID = -2015621064979417200L;
31
32 private Date endDate;
33 private List<AssignmentBo> assignments = new ArrayList<AssignmentBo>();
34
35 private String jobNumberDisplay;
36
37
38 public Date getEndDate() {
39 return endDate;
40 }
41
42 public void setEndDate(Date endDate) {
43 this.endDate = endDate;
44 }
45
46 public List<AssignmentBo> getAssignments() {
47 return assignments;
48 }
49
50 public void setAssignments(List<AssignmentBo> assignments) {
51 this.assignments = assignments;
52 }
53
54
55 public String getJobNumberDisplay() {
56 Long currentJobNumber = this.getJobNumber();
57 if ( (currentJobNumber != null) && (currentJobNumber.compareTo(0L) >= 0 ) )
58 {
59 return currentJobNumber.toString();
60 }
61 else
62 {
63 return " ";
64 }
65 }
66 }
67