jain.protocol.ss7.tcap
Class GTIndicator0011

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

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.

Version:
1.0
Author:
Colm Hayden & Phelim O'Doherty
See Also:
Serialized Form

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

Constructor Detail

GTIndicator0011

public GTIndicator0011()
Constructs a new Global Title Indicator-0011.
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-0011.
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
Gets the Numbering Plan of this Global Title Indicator-0011.
Returns:
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
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

setEncodingScheme

public void setEncodingScheme(int encodingScheme)
Sets the Encoding Scheme of this Global Title Indicator-0011.
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-0011.
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

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


01 September 99
If you have any comments or queries, please mail them to JainTcap@Sun.Com

Copyright - 1999 Sun Microsystems