public enum DeliveryStatus extends Enum<DeliveryStatus>
Java class for DeliveryStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DeliveryStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DeliveredToTerminal"/>
<enumeration value="DeliveryUncertain"/>
<enumeration value="DeliveryImpossible"/>
<enumeration value="MessageWaiting"/>
<enumeration value="DeliveredToNetwork"/>
<enumeration value="DeliveryNotificationNotSupported"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DELIVERED_TO_NETWORK |
DELIVERED_TO_TERMINAL |
DELIVERY_IMPOSSIBLE |
DELIVERY_NOTIFICATION_NOT_SUPPORTED |
DELIVERY_UNCERTAIN |
MESSAGE_WAITING |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryStatus |
fromValue(String v) |
String |
value() |
static DeliveryStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryStatus DELIVERED_TO_TERMINAL
public static final DeliveryStatus DELIVERY_UNCERTAIN
public static final DeliveryStatus DELIVERY_IMPOSSIBLE
public static final DeliveryStatus MESSAGE_WAITING
public static final DeliveryStatus DELIVERED_TO_NETWORK
public static final DeliveryStatus DELIVERY_NOTIFICATION_NOT_SUPPORTED
public static DeliveryStatus[] values()
for (DeliveryStatus c : DeliveryStatus.values()) System.out.println(c);
public static DeliveryStatus 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 value()
public static DeliveryStatus fromValue(String v)
Copyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.