1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.task;
17
18 import org.kuali.hr.core.KPMEConstants;
19 import org.kuali.hr.time.HrBusinessObject;
20 import org.kuali.hr.time.workarea.WorkArea;
21
22 public class Task extends HrBusinessObject {
23
24 private static final long serialVersionUID = -7536342291963303862L;
25
26 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "Task";
27
28 private String tkTaskId;
29 private Long task;
30 private Long workArea;
31 private String description;
32 private String administrativeDescription;
33 private String userPrincipalId;
34
35 private WorkArea workAreaObj;
36
37 public String getTkTaskId() {
38 return tkTaskId;
39 }
40
41 public void setTkTaskId(String tkTaskId) {
42 this.tkTaskId = tkTaskId;
43 }
44
45 public Long getTask() {
46 return task;
47 }
48
49 public void setTask(Long task) {
50 this.task = task;
51 }
52
53 public Long getWorkArea() {
54 return workArea;
55 }
56
57 public void setWorkArea(Long workArea) {
58 this.workArea = workArea;
59 }
60
61 public String getDescription() {
62 return description;
63 }
64
65 public void setDescription(String description) {
66 this.description = description;
67 }
68
69 public String getAdministrativeDescription() {
70 return administrativeDescription;
71 }
72
73 public void setAdministrativeDescription(String administrativeDescription) {
74 this.administrativeDescription = administrativeDescription;
75 }
76
77 public String getUserPrincipalId() {
78 return userPrincipalId;
79 }
80
81 public void setUserPrincipalId(String userPrincipalId) {
82 this.userPrincipalId = userPrincipalId;
83 }
84
85 public WorkArea getWorkAreaObj() {
86 return workAreaObj;
87 }
88
89 public void setWorkAreaObj(WorkArea workAreaObj) {
90 this.workAreaObj = workAreaObj;
91 }
92
93 @Override
94 public String getUniqueKey() {
95 return workArea + "_" + task;
96 }
97
98 @Override
99 public String getId() {
100 return getTkTaskId();
101 }
102
103 @Override
104 public void setId(String id) {
105 setTkTaskId(id);
106 }
107
108 }