1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.kim.identity.mock;
17
18 import org.kuali.student.r2.common.util.constants.KimIdentityServiceConstants;
19
20
21
22
23 public enum EmployeeStatusEnum {
24
25 ACTIVE(KimIdentityServiceConstants.ACTIVE_EMPLOYEE_STATUS_TYPE_KEY, "Active", true, "1"),
26 DECEASED(KimIdentityServiceConstants.DECEASED_EMPLOYEE_STATUS_TYPE_KEY, "Deceased", true, "99"),
27 LEAVE(KimIdentityServiceConstants.ON_NON_PAY_LEAVE_EMPLOYEE_STATUS_TYPE_KEY, "On Non-Pay Leave", true, "4"),
28 NOT_PROCESSED (KimIdentityServiceConstants.STATUS_NOT_YET_PROCESSED_EMPLOYEE_STATUS_TYPE_KEY, "Status Not Yet Processed", true, "3"),
29 PROCESSING(KimIdentityServiceConstants.PROCESSING_EMPLOYEE_STATUS_TYPE_KEY, "Processing", true, "2"),
30 RETIRED(KimIdentityServiceConstants.RETIRED_EMPLOYEE_STATUS_TYPE_KEY, "Retired", true, "10"),
31 TERMINATED(KimIdentityServiceConstants.TERMINATED_EMPLOYEE_STATUS_TYPE_KEY, "Terminated", true, "97");
32 private String code;
33 private String name;
34 private boolean active;
35 private String sort;
36
37 private EmployeeStatusEnum(String code, String name, boolean active, String sort) {
38 this.code = code;
39 this.name = name;
40 this.active = active;
41 this.sort = sort;
42 }
43
44 public boolean isActive() {
45 return active;
46 }
47
48 public void setActive(boolean active) {
49 this.active = active;
50 }
51
52 public String getCode() {
53 return code;
54 }
55
56 public void setCode(String code) {
57 this.code = code;
58 }
59
60 public String getName() {
61 return name;
62 }
63
64 public void setName(String name) {
65 this.name = name;
66 }
67
68 public String getSort() {
69 return sort;
70 }
71
72 public void setSort(String sort) {
73 this.sort = sort;
74 }
75 }
76