Nature of Address Indicator for ITU
in order to accommodate the difference in the protocol variants supported.
For GT0001 address information it is expected that for non BCD numbers
to be raw data and when BCD encoding, to be 2 BCD numbers per byte (i.e
2 address_signals/digits/numbers per byte when BCD encoding).
The nature of address indicator for GT0001, only uses bits 1 to 7 for
its coding, therefore bit 8 of the octet contains the even/odd indicator
which is coded as 0 for even or 1 for odd number of address_signals/digits/numbers.
Bit 8 |
Odd/Even |
0 |
Even number of address signals |
1 |
Odd number of address signals |
Global title format for indicator 0001

- Version:
- 1.0
- Author:
- Colm Hayden & Phelim O'Doherty
- See Also:
- Serialized Form
Constructor Summary |
GTIndicator0001()
Constructs a new Global Title Indicator-0001. |
Method Summary |
void |
clearAllParameters()
Clears all previously set parameters. |
int |
getEncodingScheme()
Gets the Encoding Scheme of this Global Title Indicator-0001. |
int |
getGTIndicator()
This method returns the format of this Global Title. |
int |
getNatureOfAddrInd()
Gets the Nature of Adrress Indicator of this Global Title Indicator-0001. |
int |
getNumberingPlan()
Gets the Numbering Plan of this Global Title Indicator-0001. |
byte |
getTranslationType()
Gets the Translation Type of this Global Title Indicator. |
boolean |
isEncodingSchemePresent()
Indicates if the Encoding Scheme is present. |
boolean |
isNumberingPlanPresent()
Indicates if the Numbering Plan is present. |
boolean |
isTranslationTypePresent()
Indicates if the Translation Type is present. |
void |
setEncodingScheme(int encodingScheme)
Sets the Encoding Scheme of this Global Title Indicator-0001. |
void |
setNatureOfAddrInd(int natureOfAddrInd)
Sets the Nature of Adrress Indicator of this Global Title Indicator-0001. |
void |
setNumberingPlan(int numberingPlan)
Gets the Numbering Plan of this Global Title Indicator-0001. |
void |
setTranslationType(byte translationType)
Sets the Translation Type of this Global Title Indicator |
java.lang.String |
toString()
Returns a description of this class |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
GTIndicator0001
public GTIndicator0001()
- Constructs a new Global Title Indicator-0001.
isTranslationTypePresent
public boolean isTranslationTypePresent()
- Indicates if the Translation Type is present.
- Returns:
- true if Translation Type has been set.
getTranslationType
public byte getTranslationType()
throws ParameterNotSetException
- Gets the Translation Type of this Global Title Indicator.
- Returns:
- the Translation Type
- Throws:
- ParameterNotSetException - this exception is thrown if this
parameter has not yet been set
setTranslationType
public void setTranslationType(byte translationType)
- Sets the Translation Type of this Global Title Indicator
- Parameters:
translationType
- the Translation Type
isNumberingPlanPresent
public boolean isNumberingPlanPresent()
- Indicates if the Numbering Plan is present.
- Returns:
- true if Numbering Plan has been set.
setNumberingPlan
public void setNumberingPlan(int numberingPlan)
- Gets the Numbering Plan of this Global Title Indicator-0001.
- Returns:
- the Numbering Plan
- NP_UNKOWN Indicates an unkown Numbering Plan
- NP_ISDN_TELIndicates ISDN/Telephony Numbering Plan
- NP_RESERVED Indicates a resrved Numbering plan in ANSI.
- NP_DATA Indicates Data Numbering Plan
- NP_TELEX Indicates a Telex Numbering Plan
- NP_MARITIME_MOBILEIndicates a Maritime Mobile Numbering Plan
- NP_LAND_MOBILE Indicates a Land Mobile Numbering Plan
- NP_ISDN_MOBILE Indicates an ISDN Mobile Numbering Plan
getNumberingPlan
public int getNumberingPlan()
throws ParameterNotSetException
- Gets the Numbering Plan of this Global Title Indicator-0001.
- Returns:
- the Numbering Plan
- NP_UNKOWN Indicates an unkown Numbering Plan
- NP_ISDN_TELIndicates ISDN/Telephony Numbering Plan
- NP_RESERVED Indicates a resrved Numbering plan in ANSI.
- NP_DATA Indicates Data Numbering Plan
- NP_TELEX Indicates a Telex Numbering Plan
- NP_MARITIME_MOBILEIndicates a Maritime Mobile Numbering Plan
- NP_LAND_MOBILE Indicates a Land Mobile Numbering Plan
- NP_ISDN_MOBILE Indicates an ISDN Mobile Numbering Plan
- Throws:
- ParameterNotSetException - this exception is thrown if this
parameter has not yet been set
setEncodingScheme
public void setEncodingScheme(int encodingScheme)
- Sets the Encoding Scheme of this Global Title Indicator-0001.
- Parameters:
encodingScheme
- the Encoding Scheme
- ES_UNKNOWN Indicates an unknown encoding scheme.
- ES_ODDIndicates BCD, odd number of digits
- ES_EVEN Indicates BCD, even number of digits
- ES_NATIONAL_SPECIFIC Indicates a national specific
isEncodingSchemePresent
public boolean isEncodingSchemePresent()
- Indicates if the Encoding Scheme is present.
- Returns:
- true if Encoding Scheme has been set.
getEncodingScheme
public int getEncodingScheme()
throws ParameterNotSetException
- Gets the Encoding Scheme of this Global Title Indicator-0001.
- Returns:
- the Encoding Scheme
- ES_UNKNOWN Indicates an unknown encoding scheme.
- ES_ODDIndicates BCD, odd number of digits
- ES_EVEN Indicates BCD, even number of digits
- ES_NATIONAL_SPECIFIC Indicates a national specific
- Throws:
- ParameterNotSetException - this exception is thrown if this
parameter has not yet been set
setNatureOfAddrInd
public void setNatureOfAddrInd(int natureOfAddrInd)
- Sets the Nature of Adrress Indicator of this Global Title Indicator-0001.
The Nature of address indicator is only specific to the ITU varient.
- Parameters:
natureOfAddrInd
- one of the following:
- NA_UNKNOWN Indicates a unknown Nature of Address
- NA_SUBSCRIBERIndicates a subscriber number
- NA_RESERVED RESERVED for national use Nature of Address Indicator
- NA_NATIONAL_SIGNIFICANT Indicates a National Significant Number
- NA_INTERNATIONAL Indicates an international number
getNatureOfAddrInd
public int getNatureOfAddrInd()
throws ParameterNotSetException
- Gets the Nature of Adrress Indicator of this Global Title Indicator-0001.
The nature of address indicator is only specific to the ITU varient.
- Returns:
- one of the following:
- NA_UNKNOWN Indicates a unknown Nature of Address
- NA_SUBSCRIBERIndicates a subscriber number
- NA_RESERVED Reserved for national use Nature of Address Indicator
- NA_NATIONAL_SIGNIFICANT Indicates a National Significant Number
- NA_INTERNATIONAL Indicates an international number
- Throws:
- ParameterNotSetException - this exception is thrown if this
parameter has not yet been set
getGTIndicator
public int getGTIndicator()
- This method returns the format of this Global Title.
- Overrides:
- getGTIndicator in class GlobalTitle
clearAllParameters
public void clearAllParameters()
- Clears all previously set parameters.
- Overrides:
- clearAllParameters in class GlobalTitle
toString
public java.lang.String toString()
- Returns a description of this class
- Overrides:
- toString in class java.lang.Object
28 June 2000
If you have any comments or queries, please mail them to JainTcapApiFeedback@AePONA.ComCopyright - 2000 Sun Microsystems