Clover Coverage Report - KS Services 0.0.1-SNAPSHOT (Aggregated)
Coverage timestamp: Mon May 23 2011 04:06:57 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
12   74   9   1.33
0   44   0.75   9
9     1  
1    
 
  EmployeeStatusEnum       Line # 21 12 0% 9 21 0% 0.0
 
No Tests
 
1    /*
2    * Copyright 2011 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.osedu.org/licenses/ECL-2.0
9    *
10    * Unless required by applicable law or agreed to in writing, software
11    * distributed under the License is distributed on an "AS IS" BASIS,
12    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13    * See the License for the specific language governing permissions and
14    * limitations under the License.
15    */
16    package org.kuali.student.kim.identity.mock;
17   
18    /**
19    * @author nwright
20    */
 
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   
 
35  0 toggle 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   
 
42  0 toggle public boolean isActive() {
43  0 return active;
44    }
45   
 
46  0 toggle public void setActive(boolean active) {
47  0 this.active = active;
48    }
49   
 
50  0 toggle public String getCode() {
51  0 return code;
52    }
53   
 
54  0 toggle public void setCode(String code) {
55  0 this.code = code;
56    }
57   
 
58  0 toggle public String getName() {
59  0 return name;
60    }
61   
 
62  0 toggle public void setName(String name) {
63  0 this.name = name;
64    }
65   
 
66  0 toggle public String getSort() {
67  0 return sort;
68    }
69   
 
70  0 toggle public void setSort(String sort) {
71  0 this.sort = sort;
72    }
73    }
74