1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.position;
17
18 import java.sql.Timestamp;
19
20 import org.kuali.hr.core.KPMEConstants;
21 import org.kuali.hr.time.HrBusinessObject;
22 import org.kuali.hr.time.workarea.WorkArea;
23
24 public class Position extends HrBusinessObject {
25 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "Position";
26
27
28
29 private static final long serialVersionUID = 1L;
30
31 private String hrPositionId;
32 private String positionNumber;
33 private String description;
34 private String history;
35 private Long workArea;
36 private WorkArea workAreaObj;
37
38 public String getHrPositionId() {
39 return hrPositionId;
40 }
41
42 public void setHrPositionId(String hrPositionId) {
43 this.hrPositionId = hrPositionId;
44 }
45
46 public String getPositionNumber() {
47 return positionNumber;
48 }
49
50 public void setPositionNumber(String positionNumber) {
51 this.positionNumber = positionNumber;
52 }
53
54 public String getDescription() {
55 return description;
56 }
57
58 public void setDescription(String description) {
59 this.description = description;
60 }
61
62 public boolean isActive() {
63 return active;
64 }
65
66 public void setActive(boolean active) {
67 this.active = active;
68 }
69
70 public Timestamp getTimestamp() {
71 return timestamp;
72 }
73
74 public void setTimestamp(Timestamp timestamp) {
75 this.timestamp = timestamp;
76 }
77
78 @Override
79 public String getUniqueKey() {
80 return positionNumber + "";
81 }
82
83 public String getHistory() {
84 return history;
85 }
86
87 public void setHistory(String history) {
88 this.history = history;
89 }
90
91 @Override
92 public String getId() {
93 return getHrPositionId();
94 }
95
96 @Override
97 public void setId(String id) {
98 setHrPositionId(id);
99 }
100
101
102 public WorkArea getWorkAreaObj() {
103 return workAreaObj;
104 }
105
106 public void setWorkAreaObj(WorkArea workAreaObj) {
107 this.workAreaObj = workAreaObj;
108 }
109
110 public Long getWorkArea() {
111 return workArea;
112 }
113
114 public void setWorkArea(Long workArea) {
115 this.workArea = workArea;
116 }
117
118 }