org.mobicents.protocols.ss7.sccp.parameter
Class GlobalTitle

java.lang.Object
  extended by org.mobicents.protocols.ss7.sccp.parameter.GlobalTitle
Direct Known Subclasses:
GT0001, GT0010, GT0011, GT0100

public abstract class GlobalTitle
extends java.lang.Object

Author:
Oleg Kulikov

Constructor Summary
GlobalTitle()
           
 
Method Summary
abstract  java.lang.String getDigits()
          Address string.
abstract  GlobalTitleIndicator getIndicator()
          Defines fields included into the global title.
static GlobalTitle getInstance(int tt, NumberingPlan np, NatureOfAddress noa, java.lang.String digits)
          Global title contains translation type, numbering plan, encoding scheme and nature of address indicator.
static GlobalTitle getInstance(int tt, NumberingPlan np, java.lang.String digits)
          Global title contains translation type, numbering plan and encoding scheme.
static GlobalTitle getInstance(int tt, java.lang.String digits)
          Global title contains translation type only.
static GlobalTitle getInstance(NatureOfAddress noa, java.lang.String digits)
          Global tite contains nature of address indicator only.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalTitle

public GlobalTitle()
Method Detail

getIndicator

public abstract GlobalTitleIndicator getIndicator()
Defines fields included into the global title.

Returns:

getDigits

public abstract java.lang.String getDigits()
Address string.

Returns:

getInstance

public static GlobalTitle getInstance(NatureOfAddress noa,
                                      java.lang.String digits)
Global tite contains nature of address indicator only.

Parameters:
noa - nature of address indicator.
digits - the address string
Returns:
Global title instance.

getInstance

public static GlobalTitle getInstance(int tt,
                                      java.lang.String digits)
Global title contains translation type only.

Parameters:
tt - translation type.
digits - the address string
Returns:
Global title instance

getInstance

public static GlobalTitle getInstance(int tt,
                                      NumberingPlan np,
                                      java.lang.String digits)
Global title contains translation type, numbering plan and encoding scheme.

Parameters:
tt - translation type
np - numbering plan
digits - the address string, if number of digits even the BCD even encoding scheme is used and BCD odd otherwise.
Returns:
Global title instance.

getInstance

public static GlobalTitle getInstance(int tt,
                                      NumberingPlan np,
                                      NatureOfAddress noa,
                                      java.lang.String digits)
Global title contains translation type, numbering plan, encoding scheme and nature of address indicator.

Parameters:
tt - translation type.
np - numbering plan
noa - nature of address indicator.
digits - the address string, if number of digits even the BCD even encoding scheme is used and BCD odd otherwise.
Returns:
Global title instance.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.