ie.ncl.sms.gsm
Class TypeOfAddress
java.lang.Object
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
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 |
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
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()
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