|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jain.protocol.ss7.GlobalTitle | +--jain.protocol.ss7.GTIndicator0001
This class represents a Global Title Indicator-0001, it can be used to store, create and retrieve GlobalTitle-0001 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):
Bit 8 |
Odd/Even |
0 |
Even number of address signals |
1 |
Odd number of address signals |
isOddIndicator
will return true when there is an odd
number of address_signals/digits/numbers and false when there is
an even number of address_signals/digits/numbers.
GlobalTitle
, Serialized FormConstructor Summary | |
GTIndicator0001(byte translationType,
int numberingPlan,
int encodingScheme,
byte[] addressInformation)
Constructs a new Global Title Indicator-0001 for an ANSI implementation of the JAIN TCAP API with the relevent mandatory parameters. |
|
GTIndicator0001(int natureAddrIndicator,
boolean isOddIndicator,
byte[] addressInformation)
Constructs a new Global Title Indicator-0001 for an ITU implementation of the JAIN TCAP API with the relevent mandatory parameters. |
Method Summary | |
int |
getEncodingScheme()
Gets the Encoding Scheme of this Global Title Indicator-0001. |
int |
getGTIndicator()
This method returns the format of this Global Title - GTINDICATOR-0001 |
int |
getNatureOfAddrInd()
Gets the Nature of Address Indicator of this Global Title Indicator-0001. |
int |
getNumberingPlan()
Gets the Numbering Plan of this Global Title Indicator-0001. |
byte |
getTranslationType()
Gets the Translation Type of this Global Title Indicator-0001, which directs the message to the appropriate global title translator. |
boolean |
isOddIndicator()
Gets the Odd Indicator, bit 8 of the Nature of Address Indicator. |
void |
setEncodingScheme(int encodingScheme)
Sets the Encoding Scheme of this Global Title Indicator-0001. |
void |
setNatureOfAddrInd(int natureOfAddrInd)
Sets the Nature of Address Indicator of this Global Title Indicator-0001. |
void |
setNumberingPlan(int numberingPlan)
Sets the Numbering Plan of this Global Title Indicator-0001. |
void |
setOddIndicator(boolean oddIndicator)
Sets the Odd Indicator, bit 8 of the Nature of Address Indicator. |
void |
setTranslationType(byte translationType)
Sets the Translation Type of this Global Title Indicator-0001, which directs the message to the appropriate global title translator. |
java.lang.String |
toString()
String representation of class GTIndicator0001 |
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 |
public GTIndicator0001(int natureAddrIndicator, boolean isOddIndicator, byte[] addressInformation)
natureAddrIndicator
- the new nature of address supplied to the constructorisOddIndicator
- the new Odd Indicator supplied to the constructoraddressInformation
- the new address Information supplied to the constructorpublic GTIndicator0001(byte translationType, int numberingPlan, int encodingScheme, byte[] addressInformation)
translationType
- the new translation type supplied to the constructornumberingPlam
- the new numbering Plan supplied to the constructorencodingScheme
- the new encoding scheme supplied to the constructoraddressInformation
- the new address Information supplied to the constructorMethod Detail |
public void setTranslationType(byte translationType)
translationType
- The new Translation Type valuepublic void setNumberingPlan(int numberingPlan)
numberingPlan
- one of the following:-
AddressConstants
public void setEncodingScheme(int encodingScheme)
encodingScheme
- one of the following:-
AddressConstants
public void setNatureOfAddrInd(int natureOfAddrInd)
natureOfAddrInd
- The new Nature Of Address Indicator valuepublic void setOddIndicator(boolean oddIndicator)
oddIndicator
- one of the following:-
public byte getTranslationType() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown when this parameter
has not been set.public int getNumberingPlan() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown when this mandatory parameter
has not been set.AddressConstants
public int getEncodingScheme() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown if this mandatory
parameter has not been set.AddressConstants
public int getNatureOfAddrInd() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown if this mandatory
parameter has not been setAddressConstants
public boolean isOddIndicator()
public int getGTIndicator()
getGTIndicator
in class GlobalTitle
public java.lang.String toString()
toString
in class GlobalTitle
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |