public static enum Order.Validity extends Enum<Order.Validity>
| Enum Constant and Description |
|---|
DAY
Dia.
|
GOOD_TILL_DATE
Valida até uma data específica.
|
UNDEFINED
Valor especial, retornado quando o valor for desconhecido.
|
| Modifier and Type | Method and Description |
|---|---|
static Order.Validity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.Validity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.Validity DAY
public static final Order.Validity GOOD_TILL_DATE
public static final Order.Validity UNDEFINED
public static Order.Validity[] values()
for (Order.Validity c : Order.Validity.values()) System.out.println(c);
public static Order.Validity 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 null