1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.core.paygrade;
17
18 import java.math.BigDecimal;
19
20 import org.kuali.kpme.core.api.paygrade.PayGradeContract;
21 import org.kuali.kpme.core.bo.HrBusinessObject;
22 import org.kuali.kpme.core.util.HrConstants;
23
24 import com.google.common.collect.ImmutableList;
25
26 public class PayGrade extends HrBusinessObject implements PayGradeContract {
27
28 private static final long serialVersionUID = -5736949952127760566L;
29
30 public static final ImmutableList<String> EQUAL_TO_FIELDS = new ImmutableList.Builder<String>()
31 .add("payGrade")
32 .add("salGroup")
33 .build();
34
35 public static final String CACHE_NAME = HrConstants.CacheNamespace.NAMESPACE_PREFIX + "PayGrade";
36
37 private String hrPayGradeId;
38 private String payGrade;
39 private String description;
40 private String userPrincipalId;
41 private String salGroup;
42 private String institution;
43 private String location;
44 private String rateType;
45 private BigDecimal minRate;
46 private BigDecimal maxRate;
47 private BigDecimal midPointRate;
48 private BigDecimal maxHiringRate;
49 private String history;
50
51 public String getHrPayGradeId() {
52 return hrPayGradeId;
53 }
54
55 public void setHrPayGradeId(String hrPayGradeId) {
56 this.hrPayGradeId = hrPayGradeId;
57 }
58
59 public String getPayGrade() {
60 return payGrade;
61 }
62
63 public void setPayGrade(String payGrade) {
64 this.payGrade = payGrade;
65 }
66
67 public String getDescription() {
68 return description;
69 }
70
71 public void setDescription(String description) {
72 this.description = description;
73 }
74
75 public void setUserPrincipalId(String userPrincipalId) {
76 this.userPrincipalId = userPrincipalId;
77 }
78
79 public String getUserPrincipalId() {
80 return userPrincipalId;
81 }
82
83 @Override
84 public String getUniqueKey() {
85 return payGrade;
86 }
87
88 @Override
89 public String getId() {
90 return getHrPayGradeId();
91 }
92
93 @Override
94 public void setId(String id) {
95 setHrPayGradeId(id);
96 }
97
98 public String getSalGroup() {
99 return salGroup;
100 }
101
102 public void setSalGroup(String salGroup) {
103 this.salGroup = salGroup;
104 }
105
106 public String getInstitution() {
107 return institution;
108 }
109
110 public void setInstitution(String institution) {
111 this.institution = institution;
112 }
113
114 public String getRateType() {
115 return rateType;
116 }
117
118 public void setRateType(String rateType) {
119 this.rateType = rateType;
120 }
121
122 public BigDecimal getMinRate() {
123 return minRate;
124 }
125
126 public void setMinRate(BigDecimal minRate) {
127 this.minRate = minRate;
128 }
129
130 public BigDecimal getMaxRate() {
131 return maxRate;
132 }
133
134 public void setMaxRate(BigDecimal maxRate) {
135 this.maxRate = maxRate;
136 }
137
138 public BigDecimal getMidPointRate() {
139 return midPointRate;
140 }
141
142 public void setMidPointRate(BigDecimal midPointRate) {
143 this.midPointRate = midPointRate;
144 }
145
146 public BigDecimal getMaxHiringRate() {
147 return maxHiringRate;
148 }
149
150 public void setMaxHiringRate(BigDecimal maxHiringRate) {
151 this.maxHiringRate = maxHiringRate;
152 }
153
154 public String getHistory() {
155 return history;
156 }
157
158 public void setHistory(String history) {
159 this.history = history;
160 }
161
162 public String getLocation() {
163 return location;
164 }
165
166 public void setLocation(String location) {
167 this.location = location;
168 }
169
170 }