org.mobicents.protocols.ss7.map.api.dialog
Enum NumberingPlan
java.lang.Object
java.lang.Enum<NumberingPlan>
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
| 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 |
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
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 © 2010. All Rights Reserved.