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

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

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

-- 000 unknown -- 001 international number -- 010 national significant number -- 011 network specific number -- 100 subscriber number -- 101 reserved -- 110 abbreviated number -- 111 reserved for extension See also AddressString

Author:
amit bhayani

Enum Constant Summary
abbreviated_number
           
international_number
           
national_significant_number
           
network_specific_number
           
reserved
           
reserved_for_extension
           
subscriber_number
           
unknown
           
 
Method Summary
 int getIndicator()
           
static AddressNature getInstance(int indication)
           
static AddressNature valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AddressNature[] 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 AddressNature unknown

international_number

public static final AddressNature international_number

national_significant_number

public static final AddressNature national_significant_number

network_specific_number

public static final AddressNature network_specific_number

subscriber_number

public static final AddressNature subscriber_number

reserved

public static final AddressNature reserved

abbreviated_number

public static final AddressNature abbreviated_number

reserved_for_extension

public static final AddressNature reserved_for_extension
Method Detail

values

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

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

valueOf

public static AddressNature 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 AddressNature getInstance(int indication)


Copyright © 2010. All Rights Reserved.