hp.opencall.media.ccapi
Class ISDNSignallingParty

java.lang.Object
  extended byhp.opencall.media.ccapi.SignallingParty
      extended byhp.opencall.media.ccapi.ISDNSignallingParty
All Implemented Interfaces:
Serializable

public class ISDNSignallingParty
extends SignallingParty

An ISDN signalling party is an extention dedicated to the ISDN network (I.E ISUP). This class gives access both to Presentation Indicator and to Screening information

Since:
OCMP 2.4
See Also:
Serialized Form

Constructor Summary
ISDNSignallingParty(E164Address anAddress)
          Instanciate an ISDN signalling party without a human readable party identification
ISDNSignallingParty(E164Address anAddress, String aDisplayName)
          Instanciate an ISDN signalling party
 
Method Summary
 int getDisplayNamePresentationIndicator()
          Access the privacy level required for the Display Name presentation information.
 int getPresentationIndicator()
          Access the privacy level required for the number presentation information.
 int getScreeningInformation()
          Access the screening information indicating wheither the address was provided by the user or network.
 void setDisplayNamePresentationIndicator(int value)
          set the privacy level required for the display Name presentation information.
 void setPresentationIndicator(int value)
          set the privacy level required for the numbering presentation information.
 void setScreeningInformation(int value)
          Set the screening information indicating wheither the address was provided by the user or network.
 String toString()
          Display-name + the address
 
Methods inherited from class hp.opencall.media.ccapi.SignallingParty
getAddress, getDisplayName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ISDNSignallingParty

public ISDNSignallingParty(E164Address anAddress)
Instanciate an ISDN signalling party without a human readable party identification

Parameters:
anAddress - the signalling party Address

ISDNSignallingParty

public ISDNSignallingParty(E164Address anAddress,
                           String aDisplayName)
Instanciate an ISDN signalling party

Parameters:
anAddress - the signalling party Address
aDisplayName - the human readable party identification
Method Detail

getPresentationIndicator

public int getPresentationIndicator()
Access the privacy level required for the number presentation information.

Returns:
int Possible value are defined by the PresentationIndicatorConstants interface

setPresentationIndicator

public void setPresentationIndicator(int value)
                              throws CCBadParamsException
set the privacy level required for the numbering presentation information.

Parameters:
value - Possible value are defined by the PresentationIndicatorConstants interface
Throws:
CCBadParamsException - If the value is out of the range defined by the PresentationIndicatorConstants interface

getDisplayNamePresentationIndicator

public int getDisplayNamePresentationIndicator()
Access the privacy level required for the Display Name presentation information.

Returns:
int Possible value are defined by the PresentationIndicatorConstants interface

setDisplayNamePresentationIndicator

public void setDisplayNamePresentationIndicator(int value)
                                         throws CCBadParamsException
set the privacy level required for the display Name presentation information.

Parameters:
value - Possible value are defined by the PresentationIndicatorConstants interface
Throws:
CCBadParamsException - If the value is out of the range defined by the PresentationIndicatorConstants interface

getScreeningInformation

public int getScreeningInformation()
Access the screening information indicating wheither the address was provided by the user or network.

Returns:
int Possible value are defined by the ScreeningIndicatorConstants interface

setScreeningInformation

public void setScreeningInformation(int value)
                             throws CCBadParamsException
Set the screening information indicating wheither the address was provided by the user or network.

Parameters:
value - Possible value are defined by the ScreeningIndicatorConstants interface
Throws:
CCBadParamsException - If the value is out of the range defined by the {

toString

public String toString()
Display-name + the address

Overrides:
toString in class SignallingParty
Returns:
java.lang.String