org.mobicents.protocols.ss7.map.api.dialog
Enum NumberingPlan

java.lang.Object
  extended by java.lang.Enum<NumberingPlan>
      extended by org.mobicents.protocols.ss7.map.api.dialog.NumberingPlan
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NumberingPlan>

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

-- 0000 unknown -- 0001 ISDN/Telephony Numbering Plan (Rec CCITT E.164) -- 0010 spare -- 0011 data numbering plan (CCITT Rec X.121) -- 0100 telex numbering plan (CCITT Rec F.69) -- 0101 spare -- 0110 land mobile numbering plan (CCITT Rec E.212) -- 0111 spare -- 1000 national numbering plan -- 1001 private numbering plan -- 1111 reserved for extension -- all other values are reserved.

Author:
amit bhayani

Enum Constant Summary
data
           
ISDN
           
land_mobile
           
national
           
private_plan
           
reserved
           
spare_2
           
spare_5
           
spare_7
           
telex
           
unknown
           
 
Method Summary
 int getIndicator()
           
static NumberingPlan getInstance(int indication)
           
static NumberingPlan valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NumberingPlan[] 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 NumberingPlan unknown

ISDN

public static final NumberingPlan ISDN

spare_2

public static final NumberingPlan spare_2

data

public static final NumberingPlan data

telex

public static final NumberingPlan telex

spare_5

public static final NumberingPlan spare_5

land_mobile

public static final NumberingPlan land_mobile

spare_7

public static final NumberingPlan spare_7

national

public static final NumberingPlan national

private_plan

public static final NumberingPlan private_plan

reserved

public static final NumberingPlan reserved
Method Detail

values

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

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

valueOf

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

getIndicator

public int getIndicator()

getInstance

public static NumberingPlan getInstance(int indication)


Copyright © 2011. All Rights Reserved.