1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.pm.position;
17
18 import org.apache.commons.lang.StringUtils;
19 import org.kuali.kpme.pm.api.position.PositionQualificationContract;
20 import org.kuali.kpme.pm.pstnqlfrtype.PstnQlfrType;
21 import org.kuali.kpme.pm.service.base.PmServiceLocator;
22 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23
24 public class PositionQualification extends PersistableBusinessObjectBase implements PositionQualificationContract {
25 private static final long serialVersionUID = 1L;
26
27 private String pmQualificationId;
28 private String qualificationType;
29 private String typeValue;
30 private String qualifier;
31 private String qualificationValue;
32 private String hrPositionId;
33
34 public String getQualificationType() {
35 return qualificationType;
36 }
37
38 public void setQualificationType(String qualificationType) {
39 this.qualificationType = qualificationType;
40 }
41
42 public String getQualifier() {
43 return qualifier;
44 }
45
46 public void setQualifier(String qualifier) {
47 this.qualifier = qualifier;
48 }
49
50 public String getQualificationValue() {
51 return qualificationValue;
52 }
53
54 public void setQualificationValue(String qualificationValue) {
55 this.qualificationValue = qualificationValue;
56 }
57
58 public String getTypeValue() {
59 if(StringUtils.isNotEmpty(this.getQualificationType())) {
60 PstnQlfrType aTypeObj = PmServiceLocator.getPstnQlfrTypeService().getPstnQlfrTypeById(this.getQualificationType());
61 if(aTypeObj != null) {
62 return aTypeObj.getTypeValue();
63 }
64 }
65 return "";
66 }
67
68 public void setTypeValue(String typeValue) {
69 this.typeValue = typeValue;
70 }
71
72 public String getPmQualificationId() {
73 return pmQualificationId;
74 }
75
76 public void setPmQualificationId(String pmQualificationId) {
77 this.pmQualificationId = pmQualificationId;
78 }
79
80 public String getHrPositionId() {
81 return hrPositionId;
82 }
83
84 public void setHrPositionId(String hrPositionId) {
85 this.hrPositionId = hrPositionId;
86 }
87
88 }