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 | |
|
19 | |
|
20 | |
|
21 | 0 | public enum EmployeeStatusEnum { |
22 | |
|
23 | 0 | ACTIVE("A", "Active", true, "1"), |
24 | 0 | DECEASED("D", "Deceased", true, "99"), |
25 | 0 | LEAVE("L", "On Non-Pay Leave", true, "4"), |
26 | 0 | NOT_PROCESSED("N", "Status Not Yet Processed", true, "3"), |
27 | 0 | PROCESSING("P", "Processing", true, "2"), |
28 | 0 | RETIRED("R", "Retired", true, "10"), |
29 | 0 | TERMINATED("T", "Terminated", true, "97"); |
30 | |
private String code; |
31 | |
private String name; |
32 | |
private boolean active; |
33 | |
private String sort; |
34 | |
|
35 | 0 | private EmployeeStatusEnum(String code, String name, boolean active, String sort) { |
36 | 0 | this.code = code; |
37 | 0 | this.name = name; |
38 | 0 | this.active = active; |
39 | 0 | this.sort = sort; |
40 | 0 | } |
41 | |
|
42 | |
public boolean isActive() { |
43 | 0 | return active; |
44 | |
} |
45 | |
|
46 | |
public void setActive(boolean active) { |
47 | 0 | this.active = active; |
48 | 0 | } |
49 | |
|
50 | |
public String getCode() { |
51 | 0 | return code; |
52 | |
} |
53 | |
|
54 | |
public void setCode(String code) { |
55 | 0 | this.code = code; |
56 | 0 | } |
57 | |
|
58 | |
public String getName() { |
59 | 0 | return name; |
60 | |
} |
61 | |
|
62 | |
public void setName(String name) { |
63 | 0 | this.name = name; |
64 | 0 | } |
65 | |
|
66 | |
public String getSort() { |
67 | 0 | return sort; |
68 | |
} |
69 | |
|
70 | |
public void setSort(String sort) { |
71 | 0 | this.sort = sort; |
72 | 0 | } |
73 | |
} |
74 | |
|