Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging
Enum DeliveryType

java.lang.Object
  extended by java.lang.Enum<DeliveryType>
      extended by oracle.sdp.messaging.DeliveryType
All Implemented Interfaces:
Serializable, java.lang.Comparable<DeliveryType>

public enum DeliveryType
extends java.lang.Enum<DeliveryType>

DeliveryType enumerates all available delivery types in the SDP Messaging.

Since:
11.0.0

Enum Constant Summary
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.
 
Method Summary
static DeliveryType getDeliveryType(java.lang.String name)
          Returns the enum constant of this type with the specified name (case insensitive).
static DeliveryType getDeliveryTypeFromExternalFormat(java.lang.String name)
          Returns the enum constant of this type with the specified name (case insensitive).
static DeliveryType valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EMAIL

public static final DeliveryType EMAIL
Email Delivery Type


SMS

public static final DeliveryType SMS
SMS Delivery Type


EMS

public static final DeliveryType EMS
EMS Delivery Type


MMS

public static final DeliveryType MMS
MMS Delivery Type


VOICE

public static final DeliveryType VOICE
Voice Delivery Type


FAX

public static final DeliveryType FAX
Fax Delivery Type


ONE_WAY_PAGER

public static final DeliveryType ONE_WAY_PAGER
One Way Pager Delivery Type


TWO_WAY_PAGER

public static final DeliveryType TWO_WAY_PAGER
Two Way Pager Delivery Type


IM

public static final DeliveryType IM
Instant Messaging Delivery Type


WAP_PUSH

public static final DeliveryType WAP_PUSH
WAP Push Delivery Type


MOBILE_PUSH

public static final DeliveryType MOBILE_PUSH
Mobile Push Delivery Type


WORKLIST

public static final DeliveryType WORKLIST
Worklist Delivery Type.
This type is used by Oracle Worklist.


URI

public static final DeliveryType URI
URI Delivery Type.
Typically an opaque identifer in which the URI scheme is used to determine routing characteristics.

Method Detail

values

public static DeliveryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DeliveryType c : DeliveryType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DeliveryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDeliveryType

public static DeliveryType getDeliveryType(java.lang.String name)
                                    throws java.lang.IllegalArgumentException
Returns the enum constant of this type with the specified name (case insensitive). The string can be in any case, but extraneous whitespace characters are not permitted.

Note: This extends the functionality offered by the standard valueOf method.

Parameters:
name - the case insensitive name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getDeliveryTypeFromExternalFormat

public static DeliveryType getDeliveryTypeFromExternalFormat(java.lang.String name)
                                                      throws java.lang.IllegalArgumentException
Returns the enum constant of this type with the specified name (case insensitive). The string can be in any case, with whitespace characters instead of underscore characters. Extraneous whitespace characters are not permitted.

Note: This extends the functionality offered by the standard valueOf method.

Parameters:
name - the case insensitive name of the enum constant to be returned, may have whitespace chars used in place of underscores.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.