1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.pm.classification;
17
18 import java.math.BigDecimal;
19 import java.util.LinkedList;
20 import java.util.List;
21
22 import org.kuali.kpme.core.bo.HrBusinessObject;
23 import org.kuali.kpme.core.location.Location;
24 import org.kuali.kpme.pm.api.classification.ClassificationContract;
25 import org.kuali.kpme.pm.classification.duty.ClassificationDuty;
26 import org.kuali.kpme.pm.classification.flag.ClassificationFlag;
27 import org.kuali.kpme.pm.classification.qual.ClassificationQualification;
28
29 import com.google.common.collect.ImmutableList;
30
31 public class Classification extends HrBusinessObject implements ClassificationContract {
32
33 private static final long serialVersionUID = 1L;
34 public static final ImmutableList<String> EQUAL_TO_FIELDS = new ImmutableList.Builder<String>()
35 .add("positionClass")
36 .add("classificationTitle")
37 .add("institution")
38 .add("location")
39 .build();
40 private String pmPositionClassId;
41 private String positionClass;
42 private String classificationTitle;
43 private String institution;
44 private String location;
45
46 private String salaryGroup;
47 private BigDecimal percentTime;
48 private String benefitsEligible;
49 private String leaveEligible;
50 private String leavePlan;
51 private String positionReportGroup;
52 private String positionType;
53 private String poolEligible;
54 private String tenureEligible;
55 private String externalReference;
56
57 private List<ClassificationQualification> qualificationList = new LinkedList<ClassificationQualification>();
58 private List<ClassificationDuty> dutyList = new LinkedList<ClassificationDuty>();
59 private List<ClassificationFlag> flagList = new LinkedList<ClassificationFlag>();
60
61
62
63 private Location locationObj;
64
65 @Override
66 public String getId() {
67 return this.getPmPositionClassId();
68 }
69
70 @Override
71 public void setId(String id) {
72 this.setPmPositionClassId(id);
73 }
74
75 @Override
76 protected String getUniqueKey() {
77 return this.getPositionClass();
78 }
79
80 public String getPositionClass() {
81 return positionClass;
82 }
83
84 public void setPositionClass(String positionClass) {
85 this.positionClass = positionClass;
86 }
87
88 public String getClassificationTitle() {
89 return classificationTitle;
90 }
91
92 public void setClassificationTitle(String classificationTitle) {
93 this.classificationTitle = classificationTitle;
94 }
95
96 public String getInstitution() {
97 return institution;
98 }
99
100 public void setInstitution(String institution) {
101 this.institution = institution;
102 }
103
104 public String getLocation() {
105 return location;
106 }
107
108 public void setLocation(String location) {
109 this.location = location;
110 }
111
112 public String getSalaryGroup() {
113 return salaryGroup;
114 }
115
116 public void setSalaryGroup(String salaryGroup) {
117 this.salaryGroup = salaryGroup;
118 }
119
120 public BigDecimal getPercentTime() {
121 return percentTime;
122 }
123
124 public void setPercentTime(BigDecimal percentTime) {
125 this.percentTime = percentTime;
126 }
127
128 public String getBenefitsEligible() {
129 return benefitsEligible;
130 }
131
132 public void setBenefitsEligible(String benefitsEligible) {
133 this.benefitsEligible = benefitsEligible;
134 }
135
136 public String getLeaveEligible() {
137 return leaveEligible;
138 }
139
140 public void setLeaveEligible(String leaveEligible) {
141 this.leaveEligible = leaveEligible;
142 }
143
144 public String getLeavePlan() {
145 return leavePlan;
146 }
147
148 public void setLeavePlan(String leavePlan) {
149 this.leavePlan = leavePlan;
150 }
151
152 public String getPositionReportGroup() {
153 return positionReportGroup;
154 }
155
156 public void setPositionReportGroup(String positionReportGroup) {
157 this.positionReportGroup = positionReportGroup;
158 }
159
160 public String getPositionType() {
161 return positionType;
162 }
163
164 public void setPositionType(String positionType) {
165 this.positionType = positionType;
166 }
167
168 public String getPoolEligible() {
169 return poolEligible;
170 }
171
172 public void setPoolEligible(String poolEligible) {
173 this.poolEligible = poolEligible;
174 }
175
176 public String getTenureEligible() {
177 return tenureEligible;
178 }
179
180 public void setTenureEligible(String tenureEligible) {
181 this.tenureEligible = tenureEligible;
182 }
183
184 public String getExternalReference() {
185 return externalReference;
186 }
187
188 public void setExternalReference(String externalReference) {
189 this.externalReference = externalReference;
190 }
191
192 public List<ClassificationQualification> getQualificationList() {
193 return qualificationList;
194 }
195
196 public void setQualificationList(
197 List<ClassificationQualification> qualificationList) {
198 this.qualificationList = qualificationList;
199 }
200
201 public String getPmPositionClassId() {
202 return pmPositionClassId;
203 }
204
205 public void setPmPositionClassId(String pmPositionClassId) {
206 this.pmPositionClassId = pmPositionClassId;
207 }
208
209 public Location getLocationObj() {
210 return locationObj;
211 }
212
213 public void setLocationObj(Location locationObj) {
214 this.locationObj = locationObj;
215 }
216
217 public List<ClassificationDuty> getDutyList() {
218 return dutyList;
219 }
220
221 public void setDutyList(List<ClassificationDuty> dutyList) {
222 this.dutyList = dutyList;
223 }
224
225 public List<ClassificationFlag> getFlagList() {
226 return flagList;
227 }
228
229 public void setFlagList(List<ClassificationFlag> flagList) {
230 this.flagList = flagList;
231 }
232
233 }