1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.core.position;
17
18 import org.kuali.kpme.core.api.position.PositionBaseContract;
19 import org.kuali.kpme.core.bo.HrBusinessObject;
20 import org.kuali.kpme.core.util.HrConstants;
21
22 import com.google.common.collect.ImmutableList;
23
24 public class PositionBase extends HrBusinessObject implements PositionBaseContract {
25
26 private static final long serialVersionUID = -3258249005786874634L;
27
28 public static final ImmutableList<String> EQUAL_TO_FIELDS = new ImmutableList.Builder<String>()
29 .add("positionNumber")
30 .build();
31
32 public static final String CACHE_NAME = HrConstants.CacheNamespace.NAMESPACE_PREFIX + "PositionBase";
33
34 private String hrPositionId;
35 private String positionNumber;
36 private String description;
37 private String history;
38
39
40 @Override
41 public String getId() {
42 return getHrPositionId();
43 }
44
45 @Override
46 public void setId(String id) {
47 setHrPositionId(id);
48 }
49
50 @Override
51 public String getUniqueKey() {
52 return positionNumber;
53 }
54
55 public String getHrPositionId() {
56 return hrPositionId;
57 }
58
59 public void setHrPositionId(String hrPositionId) {
60 this.hrPositionId = hrPositionId;
61 }
62
63 public String getPositionNumber() {
64 return positionNumber;
65 }
66
67 public void setPositionNumber(String positionNumber) {
68 this.positionNumber = positionNumber;
69 }
70
71 public String getDescription() {
72 return description;
73 }
74
75 public void setDescription(String description) {
76 this.description = description;
77 }
78
79 public String getHistory() {
80 return history;
81 }
82
83 public void setHistory(String history) {
84 this.history = history;
85 }
86
87 }