SMSLib 3.5.3

org.smslib.smpp
Enum Address.NumberingPlanIndicator

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

public static enum Address.NumberingPlanIndicator
extends java.lang.Enum<Address.NumberingPlanIndicator>


Enum Constant Summary
DATA
           
ERMES
           
INTERNET
           
ISDN
           
LAND_MOBILE
           
NATIONAL
           
PRIVATE
           
TELEX
           
UNKNOWN
           
WAP
           
 
Method Summary
 byte value()
          Return the value of NPI.
static Address.NumberingPlanIndicator valueOf(byte value)
          Get the associated NumberingPlanIndicator by it's value.
static Address.NumberingPlanIndicator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Address.NumberingPlanIndicator[] 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

UNKNOWN

public static final Address.NumberingPlanIndicator UNKNOWN

ISDN

public static final Address.NumberingPlanIndicator ISDN

DATA

public static final Address.NumberingPlanIndicator DATA

TELEX

public static final Address.NumberingPlanIndicator TELEX

LAND_MOBILE

public static final Address.NumberingPlanIndicator LAND_MOBILE

NATIONAL

public static final Address.NumberingPlanIndicator NATIONAL

PRIVATE

public static final Address.NumberingPlanIndicator PRIVATE

ERMES

public static final Address.NumberingPlanIndicator ERMES

INTERNET

public static final Address.NumberingPlanIndicator INTERNET

WAP

public static final Address.NumberingPlanIndicator WAP
Method Detail

values

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

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

valueOf

public static Address.NumberingPlanIndicator 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

value

public byte value()
Return the value of NPI.

Returns:
the value of NPI.

valueOf

public static Address.NumberingPlanIndicator valueOf(byte value)
                                              throws java.lang.IllegalArgumentException
Get the associated NumberingPlanIndicator by it's value.

Parameters:
value - is the value.
Returns:
the associated enum const for specified value.
Throws:
java.lang.IllegalArgumentException - if there is no enum const associated with specified value.

SMSLib 3.5.3

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