public static enum EmployeeStatutoryLeaveBalance.LeaveTypeEnum extends Enum<EmployeeStatutoryLeaveBalance.LeaveTypeEnum>
| Enum Constant and Description |
|---|
ADOPTION |
MATERNITY |
PATERNITY |
SHAREDPARENTAL |
SICK |
| Modifier and Type | Method and Description |
|---|---|
static EmployeeStatutoryLeaveBalance.LeaveTypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static EmployeeStatutoryLeaveBalance.LeaveTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmployeeStatutoryLeaveBalance.LeaveTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmployeeStatutoryLeaveBalance.LeaveTypeEnum SICK
public static final EmployeeStatutoryLeaveBalance.LeaveTypeEnum ADOPTION
public static final EmployeeStatutoryLeaveBalance.LeaveTypeEnum MATERNITY
public static final EmployeeStatutoryLeaveBalance.LeaveTypeEnum PATERNITY
public static final EmployeeStatutoryLeaveBalance.LeaveTypeEnum SHAREDPARENTAL
public static EmployeeStatutoryLeaveBalance.LeaveTypeEnum[] values()
for (EmployeeStatutoryLeaveBalance.LeaveTypeEnum c : EmployeeStatutoryLeaveBalance.LeaveTypeEnum.values()) System.out.println(c);
public static EmployeeStatutoryLeaveBalance.LeaveTypeEnum 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 String getValue()
public String toString()
toString in class Enum<EmployeeStatutoryLeaveBalance.LeaveTypeEnum>public static EmployeeStatutoryLeaveBalance.LeaveTypeEnum fromValue(String value)
Copyright © 2020. All rights reserved.