org.jsmpp.util
Enum DeliveryReceiptState

java.lang.Object
  extended by java.lang.Enum<DeliveryReceiptState>
      extended by org.jsmpp.util.DeliveryReceiptState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DeliveryReceiptState>

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

Since:
1.0
Version:
1.0
Author:
uudashr

Enum Constant Summary
ACCEPTD
          ACCEPTED
DELETED
          DELETED
DELIVRD
          DELIVERED
EXPIRED
          EXPIRED
REJECTD
          REJECTED
UNDELIV
          UNDELIVERABLE
UNKNOWN
          UNKNOWN
 
Method Summary
static DeliveryReceiptState getByName(java.lang.String name)
           
 int value()
           
static DeliveryReceiptState valueOf(int value)
           
static DeliveryReceiptState valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DELIVRD

public static final DeliveryReceiptState DELIVRD
DELIVERED


EXPIRED

public static final DeliveryReceiptState EXPIRED
EXPIRED


DELETED

public static final DeliveryReceiptState DELETED
DELETED


UNDELIV

public static final DeliveryReceiptState UNDELIV
UNDELIVERABLE


ACCEPTD

public static final DeliveryReceiptState ACCEPTD
ACCEPTED


UNKNOWN

public static final DeliveryReceiptState UNKNOWN
UNKNOWN


REJECTD

public static final DeliveryReceiptState REJECTD
REJECTED

Method Detail

values

public static DeliveryReceiptState[] 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 (DeliveryReceiptState c : DeliveryReceiptState.values())
    System.out.println(c);

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

valueOf

public static DeliveryReceiptState 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

getByName

public static DeliveryReceiptState getByName(java.lang.String name)

valueOf

public static DeliveryReceiptState valueOf(int value)
                                    throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

value

public int value()