JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7
Class GlobalTitle

java.lang.Object
  |
  +--jain.protocol.ss7.GlobalTitle
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GTIndicator0001, GTIndicator0010, GTIndicator0011, GTIndicator0100

public class GlobalTitle
extends java.lang.Object
implements java.io.Serializable

When instantiated this class represents a Global Title format which informs the user that the GlobalTitle is not included, its Global Title Indicator is of value '0000'. The various Global Title Indicators that extend this class are:

The complete combination of GlobalTitles included support the following standards:

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

Constructor Summary
GlobalTitle()
          Constructs a new Global Title of format GTINDICATOR_0000, which indicates that the GlobalTitle is not included.
 
Method Summary
 byte[] getAddressInformation()
          Gets the Address Information of the sub-classed Global Title Indicators.
 int getGTIndicator()
          Gets the format of the Global Title.
 void setAddressInformation(byte[] addressInformation)
          Sets the Address Information of this Global Title of the subclassed GTIndicators.
 java.lang.String toString()
          String representation of class GlobalTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalTitle

public GlobalTitle()
Constructs a new Global Title of format GTINDICATOR_0000, which indicates that the GlobalTitle is not included. That is no Address Information included.
Method Detail

setAddressInformation

public void setAddressInformation(byte[] addressInformation)
Sets the Address Information of this Global Title of the subclassed GTIndicators.

Note to developers :- An Address Information is forbidden an instantiation of this class, that is GTindicator-0000.

Parameters:
addressInformation - The new Address Information

getGTIndicator

public int getGTIndicator()
Gets the format of the Global Title. The Global Title format of this class is GTINDICATOR_0000.
Returns:
The Global Title Indicator value

getAddressInformation

public byte[] getAddressInformation()
                             throws ParameterNotSetException,
                                    MandatoryParameterNotSetException
Gets the Address Information of the sub-classed Global Title Indicators.

Note to developers :- An Address Information is forbidden an instantiation of this class, that is GTindicator-0000.

Returns:
- the GlobalTitle Address Information subparameter is composed of digits in the form of Binary Coded Decimal(BCD).
Throws:
MandatoryParameterNotSetException - this exception is thrown if this parameter has not been set.
ParameterNotSetException - this exception is thrown if this method is invoked when the GlobalTitle is of type GTIndicator0000, that is an instantiation of the GlobalTitle class.

toString

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

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]