JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7
Class GTIndicator0011

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

public final class GTIndicator0011
extends GlobalTitle

This class represents a Global Title Indicator-0011, it can be used to store, create and retrieve GlobalTitle-0011 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:
GlobalTitle, Serialized Form

Constructor Summary
GTIndicator0011(byte translationType, int numberingPlan, int encodingScheme, byte[] addressInformation)
          Constructs a new ITU Global Title Indicator-0011 with the relevent mandatory parameters.
 
Method Summary
 int getEncodingScheme()
          Gets the Encoding Scheme of this Global Title Indicator-0011.
 int getGTIndicator()
          This method returns the format of this Global Title - GTINDICATOR_0011
 int getNumberingPlan()
          Gets the Numbering Plan of this Global Title Indicator-0011.
 byte getTranslationType()
          Gets the Translation Type of this Global Title Indicator-0001, which directs the message to the appropriate global title translator.
 void setEncodingScheme(int encodingScheme)
          Sets the Encoding Scheme of this Global Title Indicator-0011.
 void setNumberingPlan(int numberingPlan)
          Sets the Numbering Plan of this Global Title Indicator-0011.
 void setTranslationType(byte translationType)
          Sets the Translation Type of this Global Title Indicator-0011, which directs the message to the appropriate global title translator.
 java.lang.String toString()
          String representation of class GTIndicator0011
 
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

GTIndicator0011

public GTIndicator0011(byte translationType,
                       int numberingPlan,
                       int encodingScheme,
                       byte[] addressInformation)
Constructs a new ITU Global Title Indicator-0011 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
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-0011, 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-0011.
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-0011.
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

getTranslationType

public byte getTranslationType()
                        throws MandatoryParameterNotSetException
Gets 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.
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-0011.
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-0011.
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

getGTIndicator

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

toString

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

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]