public enum HRStatus extends Enum<HRStatus>
Enum Constant and Description |
---|
ACTIVE |
FAMILY_LEAVE |
LEAVE_OF_ABSENCE |
MATERNITY |
OTHER |
RETIRED |
SEPARATED |
SUSPENDED |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static HRStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HRStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HRStatus ACTIVE
public static final HRStatus FAMILY_LEAVE
public static final HRStatus LEAVE_OF_ABSENCE
public static final HRStatus MATERNITY
public static final HRStatus RETIRED
public static final HRStatus SEPARATED
public static final HRStatus SUSPENDED
public static final HRStatus TERMINATED
public static final HRStatus OTHER
public static HRStatus[] values()
for (HRStatus c : HRStatus.values()) System.out.println(c);
public static HRStatus 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 nullCopyright © 2010–2016. All rights reserved.