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 org.kuali.hr.core.KPMEConstants;
19 import org.kuali.hr.time.HrBusinessObject;
20 import org.kuali.hr.time.workarea.WorkArea;
21
22 public class Position extends HrBusinessObject {
23
24 private static final long serialVersionUID = 7608620912959269845L;
25
26 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "Position";
27
28 private String hrPositionId;
29 private String positionNumber;
30 private String description;
31 private String history;
32 private Long workArea;
33 private WorkArea workAreaObj;
34
35 public String getHrPositionId() {
36 return hrPositionId;
37 }
38
39 public void setHrPositionId(String hrPositionId) {
40 this.hrPositionId = hrPositionId;
41 }
42
43 public String getPositionNumber() {
44 return positionNumber;
45 }
46
47 public void setPositionNumber(String positionNumber) {
48 this.positionNumber = positionNumber;
49 }
50
51 public String getDescription() {
52 return description;
53 }
54
55 public void setDescription(String description) {
56 this.description = description;
57 }
58
59 @Override
60 public String getUniqueKey() {
61 return positionNumber + "";
62 }
63
64 public String getHistory() {
65 return history;
66 }
67
68 public void setHistory(String history) {
69 this.history = history;
70 }
71
72 @Override
73 public String getId() {
74 return getHrPositionId();
75 }
76
77 @Override
78 public void setId(String id) {
79 setHrPositionId(id);
80 }
81
82
83 public WorkArea getWorkAreaObj() {
84 return workAreaObj;
85 }
86
87 public void setWorkAreaObj(WorkArea workAreaObj) {
88 this.workAreaObj = workAreaObj;
89 }
90
91 public Long getWorkArea() {
92 return workArea;
93 }
94
95 public void setWorkArea(Long workArea) {
96 this.workArea = workArea;
97 }
98
99 }