SMSLib 3.5.3

org.smslib
Enum InboundMessage.MessageClasses

java.lang.Object
  extended by java.lang.Enum<InboundMessage.MessageClasses>
      extended by org.smslib.InboundMessage.MessageClasses
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InboundMessage.MessageClasses>
Enclosing class:
InboundMessage

public static enum InboundMessage.MessageClasses
extends java.lang.Enum<InboundMessage.MessageClasses>

Enumeration representing various message classes.


Enum Constant Summary
ALL
          All messages, whether read or unread.
READ
          Already-read messages.
UNREAD
          Not-read messages.
 
Method Summary
static InboundMessage.MessageClasses valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InboundMessage.MessageClasses[] 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

READ

public static final InboundMessage.MessageClasses READ
Already-read messages.


UNREAD

public static final InboundMessage.MessageClasses UNREAD
Not-read messages.


ALL

public static final InboundMessage.MessageClasses ALL
All messages, whether read or unread.

Method Detail

values

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

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

valueOf

public static InboundMessage.MessageClasses 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

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org