public enum DeliveryType extends Enum<DeliveryType>
DeliveryType enumerates all available delivery types
in the SDP Messaging.| Enum Constant and Description |
|---|
EMAIL
Email Delivery Type
|
EMS
EMS Delivery Type
|
FAX
Fax Delivery Type
|
IM
Instant Messaging Delivery Type
|
MMS
MMS Delivery Type
|
MOBILE_PUSH
Mobile Push Delivery Type
|
ONE_WAY_PAGER
One Way Pager Delivery Type
|
SMS
SMS Delivery Type
|
TWO_WAY_PAGER
Two Way Pager Delivery Type
|
URI
URI Delivery Type.
Typically an opaque identifer in which the URI scheme is used to determine routing characteristics. |
VOICE
Voice Delivery Type
|
WAP_PUSH
WAP Push Delivery Type
|
WORKLIST
Worklist Delivery Type.
This type is used by Oracle Worklist. |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryType |
getDeliveryType(String name)
Returns the enum constant of this type with the specified name
(case insensitive).
|
static DeliveryType |
getDeliveryTypeFromExternalFormat(String name)
Returns the enum constant of this type with the specified name
(case insensitive).
|
static DeliveryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryType EMAIL
public static final DeliveryType SMS
public static final DeliveryType EMS
public static final DeliveryType MMS
public static final DeliveryType VOICE
public static final DeliveryType FAX
public static final DeliveryType ONE_WAY_PAGER
public static final DeliveryType TWO_WAY_PAGER
public static final DeliveryType IM
public static final DeliveryType WAP_PUSH
public static final DeliveryType MOBILE_PUSH
public static final DeliveryType WORKLIST
public static final DeliveryType URI
public static DeliveryType[] values()
for (DeliveryType c : DeliveryType.values()) System.out.println(c);
public static DeliveryType 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 DeliveryType getDeliveryType(String name) throws IllegalArgumentException
Note: This extends the functionality offered by the standard
valueOf method.
name - the case insensitive name of the enum constant to be
returned.IllegalArgumentException - if this enum type has no constant with the specified
namepublic static DeliveryType getDeliveryTypeFromExternalFormat(String name) throws IllegalArgumentException
Note: This extends the functionality offered by the standard
valueOf method.
name - the case insensitive name of the enum constant to be
returned, may have whitespace chars used in place of
underscores.IllegalArgumentException - if this enum type has no constant with the specified
nameCopyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.