OpenScape
V3.2, Revision 044 20100322

com.siemens.symphonia.bcom.bcommon.external
Interface PrivateAddress

All Superinterfaces:
ComEndpoint, EndpointAddress
All Known Subinterfaces:
PrivateAddressInternal
All Known Implementing Classes:
PrivateAddressImpl, PrivateAddressInternalImpl

public interface PrivateAddress
extends EndpointAddress

Provides some details of a private number.

The normalized number (as provided by the method getNormalizedNumber) of a private number contains the number itself and the context under which it is valid. The methods of this class allow to seperate this two parts.


Field Summary
 
Fields inherited from interface com.siemens.symphonia.bcom.bcommon.external.EndpointAddress
TON_GLOBAL_NUMBER, TON_INVALID_NUMBER, TON_PASS_THRU_NUMBER, TON_PRIVATE_NUMBER
 
Method Summary
 java.lang.String getPhoneContext()
          Provides the context under which the private number is valid.
 java.lang.String getPrivateNumber()
          Provides the private number only.
 
Methods inherited from interface com.siemens.symphonia.bcom.bcommon.external.EndpointAddress
getNormalizedNumber, getTypeOfNumber
 

Method Detail

getPrivateNumber

java.lang.String getPrivateNumber()
Provides the private number only.

Example:
Given the normalized number "441234;phone-context=private.mch-priv" this method returns "441234".

Returns:
Sequence of digits composing the private number.

getPhoneContext

java.lang.String getPhoneContext()
Provides the context under which the private number is valid.

Example:
Given the normalized number "441234;phone-context=private.mch-priv" this method returns "mch-priv".

Returns:
Sequence of characters composing the context.

OpenScape
V3.2, Revision 044 20100322

Copyright (c) 2014 Unify, Germany
All rights reserved.

This software is the confidential and proprietary information of Unify, Germany