JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7
Class GTIndicator0100

java.lang.Object
  |
  +--jain.protocol.ss7.GlobalTitle
        |
        +--jain.protocol.ss7.GTIndicator0100
All Implemented Interfaces:
java.io.Serializable

public final class GTIndicator0100
extends GlobalTitle

This class represents a Global Title Indicator-0100, it can be used to store, create and retrieve GlobalTitle-0100 entries. It is specific only to ITU, as it not assigned in US Networks. It supports the following protocol standards:

Version:
1.1
Author:
Sun Microsystems Inc.
See Also:
Serialized Form

Constructor Summary
GTIndicator0100(byte translationType, int numberingPlan, int encodingScheme, int natureOfAddrInd, byte[] addressInformation)
          Constructs a new Global Title Indicator-0100 with the relevent mandatory parameters.
 
Method Summary
 int getEncodingScheme()
          Gets the Encoding Scheme of this Global Title Indicator-0100.
 int getGTIndicator()
          This method returns the format of this Global Title - GTINDICATOR_0100
 int getNatureOfAddrInd()
          Gets the Nature of Address Indicator of this Global Title Indicator-0100.
 int getNumberingPlan()
          Gets the Numbering Plan of this Global Title Indicator-0100.
 byte getTranslationType()
          Gets the Translation Type of this Global Title Indicator-0100, which directs the message to the appropriate global title translator.
 void setEncodingScheme(int encodingScheme)
          Sets the Encoding Scheme of this Global Title Indicator-0100.
 void setNatureOfAddrInd(int natureOfAddrInd)
          Sets the Nature of Address Indicator of this Global Title Indicator-0100.
 void setNumberingPlan(int numberingPlan)
          Sets the Numbering Plan of this Global Title Indicator-0100.
 void setTranslationType(byte translationType)
          Sets the Translation Type of this Global Title Indicator-0001, which directs the message to the appropriate global title translator.
 java.lang.String toString()
          String representation of class GTIndicator0100
 
Methods inherited from class jain.protocol.ss7.GlobalTitle
getAddressInformation, setAddressInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GTIndicator0100

public GTIndicator0100(byte translationType,
                       int numberingPlan,
                       int encodingScheme,
                       int natureOfAddrInd,
                       byte[] addressInformation)
Constructs a new Global Title Indicator-0100 with the relevent mandatory parameters.
Parameters:
translationType - the new Translation Type supplied to the constructor
numberingPlan - the new Numbering Plan supplied to the constructor
encodingScheme - the new Encoding Scheme supplied to the constructor
natureOfAddrInd - the new Nature Of Address Indicator supplied to the constructor
addressInformation - the new Address Information supplied to the constructor
Method Detail

setTranslationType

public void setTranslationType(byte translationType)
Sets the Translation Type of this Global Title Indicator-0001, which directs the message to the appropriate global title translator. The coding and definition of the translation type for GTIndicator-0011 is for further study.
Parameters:
translationType - The new Translation Type value

setNumberingPlan

public void setNumberingPlan(int numberingPlan)
Sets the Numbering Plan of this Global Title Indicator-0100.
Parameters:
numberingPlan - one of the following:-
  • NP_UNKOWN - Indicates an unknown Numbering Plan
  • NP_ISDN_TEL - Indicates ISDN/Telephony Numbering Plan
  • NP_RESERVED - Indicates a reserved Numbering plan in ANSI.
  • NP_DATA - Indicates Data Numbering Plan
  • NP_TELEX - Indicates a Telex Numbering Plan
  • NP_MARITIME_MOBILE - Indicates a Maritime Mobile Numbering Plan
  • NP_LAND_MOBILE - Indicates a Land Mobile Numbering Plan
  • NP_ISDN_MOBILE - Indicates an ISDN Mobile Numbering Plan
See Also:
AddressConstants

setEncodingScheme

public void setEncodingScheme(int encodingScheme)
Sets the Encoding Scheme of this Global Title Indicator-0100.
Parameters:
encodingScheme - - one of the following:-
  • ES_UNKNOWN - Indicates an unknown encoding scheme.
  • ES_ODD - Indicates BCD, odd number of digits
  • ES_EVEN - Indicates BCD, even number of digits
  • ES_NATIONAL_SPECIFIC - Indicates a national specific
See Also:
AddressConstants

setNatureOfAddrInd

public void setNatureOfAddrInd(int natureOfAddrInd)
Sets the Nature of Address Indicator of this Global Title Indicator-0100.
Parameters:
natureOfAddrInd - one of the following:
  • NA_UNKNOWN - Indicates a unknown Nature of Address
  • NA_SUBSCRIBER - Indicates 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
See Also:
AddressConstants

getTranslationType

public byte getTranslationType()
                        throws MandatoryParameterNotSetException
Gets the Translation Type of this Global Title Indicator-0100, which directs the message to the appropriate global title translator. The coding and definition of the translation type for GTIndicator-0100 is for further study.
Returns:
The Translation Type value
Throws:
MandatoryParameterNotSetException - thrown if this mandatory parameter has not been set

getNumberingPlan

public int getNumberingPlan()
                     throws MandatoryParameterNotSetException
Gets the Numbering Plan of this Global Title Indicator-0100.
Returns:
the Numbering Plan - one of the following:-
  • NP_UNKOWN - Indicates an unknown Numbering Plan
  • NP_ISDN_TEL - Indicates ISDN/Telephony Numbering Plan
  • NP_RESERVED - Indicates a reserved Numbering plan in ANSI.
  • NP_DATA - Indicates Data Numbering Plan
  • NP_TELEX - Indicates a Telex Numbering Plan
  • NP_MARITIME_MOBILE - Indicates a Maritime Mobile Numbering Plan
  • NP_LAND_MOBILE - Indicates a Land Mobile Numbering Plan
  • NP_ISDN_MOBILE - Indicates an ISDN Mobile Numbering Plan
Throws:
MandatoryParameterNotSetException - thrown if this mandatory parameter has not been set
See Also:
AddressConstants

getEncodingScheme

public int getEncodingScheme()
                      throws MandatoryParameterNotSetException
Gets the Encoding Scheme of this Global Title Indicator-0100.
Returns:
the Encoding Scheme - one of the following:-
  • ES_UNKNOWN - Indicates an unknown encoding scheme.
  • ES_ODD - Indicates BCD, odd number of digits
  • ES_EVEN - Indicates BCD, even number of digits
  • ES_NATIONAL_SPECIFIC - Indicates a national specific
Throws:
MandatoryParameterNotSetException - thrown if this mandatory parameter has not been set
See Also:
AddressConstants

getNatureOfAddrInd

public int getNatureOfAddrInd()
                       throws MandatoryParameterNotSetException
Gets the Nature of Address Indicator of this Global Title Indicator-0100.
Returns:
The NatureOfAddrInd value - one of the following:
  • NA_UNKNOWN - Indicates a unknown Nature of Address
  • NA_SUBSCRIBER - Indicates 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:
MandatoryParameterNotSetException - thrown if this mandatory parameter has not been set
See Also:
AddressConstants

getGTIndicator

public int getGTIndicator()
This method returns the format of this Global Title - GTINDICATOR_0100
Overrides:
getGTIndicator in class GlobalTitle
Returns:
The Global Title Indicator value

toString

public java.lang.String toString()
String representation of class GTIndicator0100
Overrides:
toString in class GlobalTitle
Returns:
String provides description of class GTIndicator0100

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]