public static enum DeliveryContract.CycleEnum extends Enum<DeliveryContract.CycleEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryContract.CycleEnum.Adapter |
| Enum Constant and Description |
|---|
BI_QUARTERLY |
BI_WEEKLY |
QUARTERLY |
WEEKLY |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryContract.CycleEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static DeliveryContract.CycleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryContract.CycleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryContract.CycleEnum WEEKLY
public static final DeliveryContract.CycleEnum BI_WEEKLY
public static final DeliveryContract.CycleEnum QUARTERLY
public static final DeliveryContract.CycleEnum BI_QUARTERLY
public static DeliveryContract.CycleEnum[] values()
for (DeliveryContract.CycleEnum c : DeliveryContract.CycleEnum.values()) System.out.println(c);
public static DeliveryContract.CycleEnum 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<DeliveryContract.CycleEnum>public static DeliveryContract.CycleEnum fromValue(String value)
Copyright © 2021. All rights reserved.