org.jsmpp.bean
Enum NumberingPlanIndicator

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

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

This enum is defined Numbering Plan Indicator.

Since:
1.0
Version:
1.0
Author:
uudashr

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

UNKNOWN

public static final NumberingPlanIndicator UNKNOWN

ISDN

public static final NumberingPlanIndicator ISDN

DATA

public static final NumberingPlanIndicator DATA

TELEX

public static final NumberingPlanIndicator TELEX

LAND_MOBILE

public static final NumberingPlanIndicator LAND_MOBILE

NATIONAL

public static final NumberingPlanIndicator NATIONAL

PRIVATE

public static final NumberingPlanIndicator PRIVATE

ERMES

public static final NumberingPlanIndicator ERMES

INTERNET

public static final NumberingPlanIndicator INTERNET

WAP

public static final NumberingPlanIndicator WAP
Method Detail

values

public static 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 (NumberingPlanIndicator c : 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 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 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.