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