JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7.tcap
Class GTIndicator0100

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

Deprecated. As of JAIN TCAP v1.1. This class is no longer needed as a result of the addition of the GTIndicator0100 class.

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.

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

Constructor Summary
GTIndicator0100()
          Deprecated. As of JAIN TCAP v1.1, this empty constructor should no longer be used as all paramters are mandatory in the GT Indicators.
GTIndicator0100(byte translationType, int numberingPlan, int encodingScheme, int natureOfAddrInd, byte[] addressInformation)
          Deprecated. Constructs a new Global Title Indicator-0100 with the relevent mandatory parameters.
 
Method Summary
 void clearAllParameters()
          Deprecated. Clears all previously set parameters.
 int getEncodingScheme()
          Deprecated. Gets the Encoding Scheme of this Global Title Indicator-0100.
 int getGTIndicator()
          Deprecated. This method returns the format of this Global Title.
 int getNatureOfAddrInd()
          Deprecated. Gets the Nature of Address Indicator of this Global Title Indicator-0100.
 int getNumberingPlan()
          Deprecated. Gets the Numbering Plan of this Global Title Indicator-0100.
 byte getTranslationType()
          Deprecated. Gets the Translation Type of this Global Title Indicator-0100, which directs the message to the appropriate global title translator.
 boolean isEncodingSchemePresent()
          Deprecated. As of JAIN TCAP API v1.1, the encoding scheme is mandatory therefore no longer needs an isPresent method .
 boolean isNatureOfAddrIndPresent()
          Deprecated. As of JAIN TCAP API v1.1, the nature of address indicator is mandatory therefore no longer needs an isPresent method .
 boolean isNumberingPlanPresent()
          Deprecated. As of JAIN TCAP API v1.1, the numbering Plan is mandatory therefore no longer needs an isPresent method .
 boolean isTranslationTypePresent()
          Deprecated. As of JAIN TCAP API v1.1, the translation type is mandatory therefore no longer needs an isPresent method .
 void setEncodingScheme(int encodingScheme)
          Deprecated. Sets the Encoding Scheme of this Global Title Indicator-0100.
 void setNatureOfAddrInd(int natureOfAddrInd)
          Deprecated. Sets the Nature of Address Indicator of this Global Title Indicator-0100.
 void setNumberingPlan(int numberingPlan)
          Deprecated. Sets the Numbering Plan of this Global Title Indicator-0100.
 void setTranslationType(byte translationType)
          Deprecated. Sets the Translation Type of this Global Title Indicator-0001, which directs the message to the appropriate global title translator.
 java.lang.String toString()
          Deprecated. String representation of class GTIndicator0100
 
Methods inherited from class jain.protocol.ss7.tcap.GlobalTitle
getAddressInformation, isAddressInformationPresent, setAddressInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GTIndicator0100

public GTIndicator0100()
Deprecated. As of JAIN TCAP v1.1, this empty constructor should no longer be used as all paramters are mandatory in the GT Indicators.


GTIndicator0100

public GTIndicator0100(byte translationType,
                       int numberingPlan,
                       int encodingScheme,
                       int natureOfAddrInd,
                       byte[] addressInformation)
Deprecated. 
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
Since:
JAIN TCAP v1.1
Method Detail

setTranslationType

public void setTranslationType(byte translationType)
Deprecated. 
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)
Deprecated. 
Sets the Numbering Plan of this Global Title Indicator-0100.
Parameters:
numberingPlan - one of the following:-
  • NP_UNKNOWN - 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:
TcapConstants

setEncodingScheme

public void setEncodingScheme(int encodingScheme)
Deprecated. 
Sets the Encoding Scheme of this Global Title Indicator-0100.
Parameters:
encodingScheme - The new Encoding Scheme value

setNatureOfAddrInd

public void setNatureOfAddrInd(int natureOfAddrInd)
Deprecated. 
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:
TcapConstants

isTranslationTypePresent

public boolean isTranslationTypePresent()
Deprecated. As of JAIN TCAP API v1.1, the translation type is mandatory therefore no longer needs an isPresent method .


getTranslationType

public byte getTranslationType()
                        throws MandatoryParameterNotSetException
Deprecated. 
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
Since:
JAIN TCAP v1.1

isNumberingPlanPresent

public boolean isNumberingPlanPresent()
Deprecated. As of JAIN TCAP API v1.1, the numbering Plan is mandatory therefore no longer needs an isPresent method .


getNumberingPlan

public int getNumberingPlan()
                     throws MandatoryParameterNotSetException
Deprecated. 
Gets the Numbering Plan of this Global Title Indicator-0100.
Returns:
the Numbering Plan - one of the following:-
  • NP_UNKNOWN - 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
Since:
JAIN TCAP v1.1
See Also:
TcapConstants

isEncodingSchemePresent

public boolean isEncodingSchemePresent()
Deprecated. As of JAIN TCAP API v1.1, the encoding scheme is mandatory therefore no longer needs an isPresent method .


getEncodingScheme

public int getEncodingScheme()
                      throws MandatoryParameterNotSetException
Deprecated. 
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
Since:
JAIN TCAP v1.1
See Also:
TcapConstants

isNatureOfAddrIndPresent

public boolean isNatureOfAddrIndPresent()
Deprecated. As of JAIN TCAP API v1.1, the nature of address indicator is mandatory therefore no longer needs an isPresent method .


getNatureOfAddrInd

public int getNatureOfAddrInd()
                       throws MandatoryParameterNotSetException
Deprecated. 
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
Since:
JAIN TCAP v1.1

getGTIndicator

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

clearAllParameters

public void clearAllParameters()
Deprecated. 
Clears all previously set parameters.
Overrides:
clearAllParameters in class GlobalTitle

toString

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

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]