jain.protocol.ss7.tcap
Class GTIndicator0100

java.lang.Object
  |
  +--jain.protocol.ss7.tcap.GlobalTitle
        |
        +--jain.protocol.ss7.tcap.GTIndicator0100

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.0
Author:
Colm Hayden & Phelim O'Doherty
See Also:
Serialized Form

Constructor Summary
GTIndicator0100()
          Constructs a new Global Title Indicator-0100.
 
Method Summary
 void clearAllParameters()
          Clears all previously set parameters.
 int getEncodingScheme()
          Gets the Encoding Scheme of this Global Title Indicator-0100.
 int getGTIndicator()
          This method returns the format of this Global Title.
 int getNatureOfAddrInd()
          Gets the Nature of Adrress Indicator of this Global Title Indicator-0100.
 int getNumberingPlan()
          Sets the Numbering Plan of this Global Title Indicator-0100.
 byte getTranslationType()
          Gets the Translation Type of this Global Title Indicator.
 boolean isEncodingSchemePresent()
          Indicates if the Encoding Scheme is present.
 boolean isNatureOfAddrIndPresent()
          Indicates if the Nature of Adrress Indicator 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-0100.
 void setNatureOfAddrInd(int natureOfAddrInd)
          Sets the Nature of Adrress 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
 java.lang.String toString()
          Returns a description of this class
 
Methods inherited from class jain.protocol.ss7.tcap.GlobalTitle
getAddressInformation, isAddressInformationPresent, setAddressInformation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GTIndicator0100

public GTIndicator0100()
Constructs a new Global Title Indicator-0100.
Method Detail

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

setNumberingPlan

public void setNumberingPlan(int numberingPlan)
Sets the Numbering Plan of this Global Title Indicator-0100.
Parameters:
numberingPlan - the Numbering Plan
  • NP_UNKOWN Indicates an unkown Numbering Plan
  • NP_ISDN_TELIndicates ISDN/Telephony Numbering Plan
  • NP_GENERIC Indicates a Generic Numbering Plan.
  • 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

isNumberingPlanPresent

public boolean isNumberingPlanPresent()
Indicates if the Numbering Plan is present.
Returns:
true if Numbering Plan has been set.

getNumberingPlan

public int getNumberingPlan()
                     throws ParameterNotSetException
Sets the Numbering Plan of this Global Title Indicator-0100.
Parameters:
numberingPlan - the Numbering Plan
  • NP_UNKOWN Indicates an unkown Numbering Plan
  • NP_ISDN_TELIndicates ISDN/Telephony Numbering Plan
  • NP_GENERIC Indicates a Generic Numbering Plan.
  • 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

setEncodingScheme

public void setEncodingScheme(int encodingScheme)
Sets the Encoding Scheme of this Global Title Indicator-0100.
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-0100.
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-0100.
Parameters:
natureOfAddrInd - one of the following:
  • NA_UNKNOWN Indicates an unknown Nature of Address Indicator
  • 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

isNatureOfAddrIndPresent

public boolean isNatureOfAddrIndPresent()
Indicates if the Nature of Adrress Indicator is present.
Returns:
true if Nature of Adrress Indicator has been set.

getNatureOfAddrInd

public int getNatureOfAddrInd()
                       throws ParameterNotSetException
Gets the Nature of Adrress Indicator of this Global Title Indicator-0100.
Returns:
one of the following:
  • NA_UNKNOWN Indicates an unknown Nature of Address Indicator
  • 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.Com

Copyright - 2000 Sun Microsystems