public enum DutyStatusDeferralType extends Enum<DutyStatusDeferralType> implements HasName
| Enum Constant and Description |
|---|
DAY_ONE
Day one of deferral.
|
DAY_TWO
Day two of deferral.
|
NONE
No deferral applied.
|
| Modifier and Type | Method and Description |
|---|---|
static DutyStatusDeferralType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DutyStatusDeferralType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DutyStatusDeferralType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DutyStatusDeferralType NONE
public static final DutyStatusDeferralType DAY_ONE
public static final DutyStatusDeferralType DAY_TWO
public static DutyStatusDeferralType[] values()
for (DutyStatusDeferralType c : DutyStatusDeferralType.values()) System.out.println(c);
public static DutyStatusDeferralType 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 int getCode()
public static DutyStatusDeferralType findOrDefault(String name)
Copyright © 2023. All rights reserved.