Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.sms.gsm
Class TypeOfAddress

java.lang.Object
  extended by ie.ncl.sms.gsm.TypeOfAddress
All Implemented Interfaces:
java.io.Serializable

public class TypeOfAddress
extends java.lang.Object
implements java.io.Serializable

Type Of Address.

See Also:
Serialized Form

Field Summary
static int INTERNATIONAL
           
static int NATIONAL
           
static int NPI_DATA
           
static int NPI_E164
           
static int NPI_ERMES
           
static int NPI_ISDN
           
static int NPI_NATIONAL
           
static int NPI_PRIVATE
           
static int NPI_TELEX
           
static int NPI_UNKNOWN
           
static int NPI_X121
           
static int TON_ABBREVIATED
           
static int TON_ALPHANUMERIC
           
static int TON_INTERNATIONAL
           
static int TON_NATIONAL
           
static int TON_NETWORK_SPECIFIC
           
static int TON_RESERVED
           
static int TON_SUBSCRIBER
           
static int TON_UNKNOWN
           
static int UNKNOWN
           
 
Constructor Summary
TypeOfAddress()
           
TypeOfAddress(int type)
          Specify the type of number as NATIONAL, INTERNATIONAL or UNKNOWN.
TypeOfAddress(int ton, int npi)
           
 
Method Summary
 int getNPI()
           
 int getTON()
           
 byte getTonNpi()
          Get the TON and NPI in byte form where the TON is placed in most significant 4 bits, and the NPI is placed in the first 4 bits.
 int intValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TON_UNKNOWN

public static final int TON_UNKNOWN
See Also:
Constant Field Values

TON_INTERNATIONAL

public static final int TON_INTERNATIONAL
See Also:
Constant Field Values

TON_NATIONAL

public static final int TON_NATIONAL
See Also:
Constant Field Values

TON_NETWORK_SPECIFIC

public static final int TON_NETWORK_SPECIFIC
See Also:
Constant Field Values

TON_SUBSCRIBER

public static final int TON_SUBSCRIBER
See Also:
Constant Field Values

TON_ALPHANUMERIC

public static final int TON_ALPHANUMERIC
See Also:
Constant Field Values

TON_ABBREVIATED

public static final int TON_ABBREVIATED
See Also:
Constant Field Values

TON_RESERVED

public static final int TON_RESERVED
See Also:
Constant Field Values

NPI_UNKNOWN

public static final int NPI_UNKNOWN
See Also:
Constant Field Values

NPI_ISDN

public static final int NPI_ISDN
See Also:
Constant Field Values

NPI_E164

public static final int NPI_E164
See Also:
Constant Field Values

NPI_DATA

public static final int NPI_DATA
See Also:
Constant Field Values

NPI_X121

public static final int NPI_X121
See Also:
Constant Field Values

NPI_TELEX

public static final int NPI_TELEX
See Also:
Constant Field Values

NPI_NATIONAL

public static final int NPI_NATIONAL
See Also:
Constant Field Values

NPI_PRIVATE

public static final int NPI_PRIVATE
See Also:
Constant Field Values

NPI_ERMES

public static final int NPI_ERMES
See Also:
Constant Field Values

NATIONAL

public static final int NATIONAL
See Also:
Constant Field Values

INTERNATIONAL

public static final int INTERNATIONAL
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values
Constructor Detail

TypeOfAddress

public TypeOfAddress(int ton,
                     int npi)

TypeOfAddress

public TypeOfAddress(int type)
Specify the type of number as NATIONAL, INTERNATIONAL or UNKNOWN.

See Also:
NATIONAL, INTERNATIONAL, UNKNOWN

TypeOfAddress

public TypeOfAddress()
Method Detail

getTON

public int getTON()

getNPI

public int getNPI()

getTonNpi

public byte getTonNpi()
Get the TON and NPI in byte form where the TON is placed in most significant 4 bits, and the NPI is placed in the first 4 bits.


intValue

public int intValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit