public enum DeliveryReceiptState extends Enum<DeliveryReceiptState>
Enum Constant and Description |
---|
ACCEPTD
ACCEPTED
|
DELETED
DELETED
|
DELIVRD
DELIVERED
|
EXPIRED
EXPIRED
|
REJECTD
REJECTED
|
UNDELIV
UNDELIVERABLE
|
UNKNOWN
UNKNOWN
|
Modifier and Type | Method and Description |
---|---|
static DeliveryReceiptState |
getByName(String name) |
int |
value() |
static DeliveryReceiptState |
valueOf(int value) |
static DeliveryReceiptState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryReceiptState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryReceiptState DELIVRD
public static final DeliveryReceiptState EXPIRED
public static final DeliveryReceiptState DELETED
public static final DeliveryReceiptState UNDELIV
public static final DeliveryReceiptState ACCEPTD
public static final DeliveryReceiptState UNKNOWN
public static final DeliveryReceiptState REJECTD
public static DeliveryReceiptState[] values()
for (DeliveryReceiptState c : DeliveryReceiptState.values()) System.out.println(c);
public static DeliveryReceiptState 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 static DeliveryReceiptState getByName(String name)
public static DeliveryReceiptState valueOf(int value) throws IllegalArgumentException
IllegalArgumentException
public int value()