public enum EmployeeStatusEnum extends Enum<EmployeeStatusEnum>
Enum Constant and Description |
---|
ACTIVE |
DECEASED |
LEAVE |
NOT_PROCESSED |
PROCESSING |
RETIRED |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getName() |
String |
getSort() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setCode(String code) |
void |
setName(String name) |
void |
setSort(String sort) |
static EmployeeStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmployeeStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmployeeStatusEnum ACTIVE
public static final EmployeeStatusEnum DECEASED
public static final EmployeeStatusEnum LEAVE
public static final EmployeeStatusEnum NOT_PROCESSED
public static final EmployeeStatusEnum PROCESSING
public static final EmployeeStatusEnum RETIRED
public static final EmployeeStatusEnum TERMINATED
public static EmployeeStatusEnum[] values()
for (EmployeeStatusEnum c : EmployeeStatusEnum.values()) System.out.println(c);
public static EmployeeStatusEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isActive()
public void setActive(boolean active)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.