Coverage Report - org.kuali.student.kim.identity.mock.EmployeeStatusEnum
 
Classes in this File Line Coverage Branch Coverage Complexity
EmployeeStatusEnum
0%
0/26
N/A
1
 
 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  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