JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7
Class GTIndicator0010

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

public final class GTIndicator0010
extends GlobalTitle

This class represents a Global Title Indicator-0010, it can be used to store, create and retrieve GlobalTitle-0010 entries. It contains the accessor methods for the following parameters in order to accommodate the difference in the protocol variants supported, namely ANSI SCCP T1.112 (1992), ANSI SCCP T1.112 (1996), ITU SCCP Q711-716 (03/1993) and ITU SCCP Q711-716 (07/1996):

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

Constructor Summary
GTIndicator0010(byte translationType, byte[] addressInformation)
          Constructs a new Global Title Indicator-0010 with the mandatory fields required for an ANSI and ITU implementation of the GTIndicator-0010.
 
Method Summary
 int getGTIndicator()
          This method returns the format of this Global Title - GTINDICATOR_0010.
 byte getTranslationType()
          Gets the Translation Type of this Global Title Indicator-0010, which directs the message to the appropriate global title translator.
 void setTranslationType(byte translationType)
          Sets the Translation Type of this Global Title Indicator-0010, which directs the message to the appropriate global title translator.
 java.lang.String toString()
          String representation of class GTIndicator0010
 
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

GTIndicator0010

public GTIndicator0010(byte translationType,
                       byte[] addressInformation)
Constructs a new Global Title Indicator-0010 with the mandatory fields required for an ANSI and ITU implementation of the GTIndicator-0010.
Parameters:
translationType - the new translation type supplied to the constructor
addressInformation - the new address Information supplied to the constructo
Method Detail

setTranslationType

public void setTranslationType(byte translationType)
Sets the Translation Type of this Global Title Indicator-0010, which directs the message to the appropriate global title translator. In the case of GTIndicator-0010 the translation type may also imply the encoding scheme, used to encode the address information and the numbering plan.
Parameters:
translationType - The new Translation Type value

getTranslationType

public byte getTranslationType()
                        throws MandatoryParameterNotSetException
Gets the Translation Type of this Global Title Indicator-0010, which directs the message to the appropriate global title translator. In the case of GTIndicator-0010 the translation type may also imply the encoding scheme, used to encode the address information and the numbering plan.
Returns:
The Translation Type value
Throws:
MandatoryParameterNotSetException - thrown when this mandatory parameter has not been set.

getGTIndicator

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

toString

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

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]