org.csapi.jr.se.cc
Class CallNotificationScope

java.lang.Object
  extended byorg.csapi.jr.se.cc.CallNotificationScope
All Implemented Interfaces:
java.io.Serializable

public final class CallNotificationScope
extends java.lang.Object
implements java.io.Serializable

Defines the sequence of Data elements that specify the scope of a notification request. Of the addresses only the Plan and the AddrString are used for the purpose of matching the notifications against the criteria.

See Also:
Serialized Form

Constructor Summary
CallNotificationScope()
          Creates a new CallNotificationScope instance.
CallNotificationScope(AddressRange _destinationAddress, AddressRange _originatingAddress)
          Creates a new CallNotificationScope instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 AddressRange getDestinationAddress()
          This method returns a destinationAddress.
 AddressRange getOriginatingAddress()
          This method returns a originatingAddress.
 int hashCode()
          Returns a hashcode value for the object.
 void setDestinationAddress(AddressRange destinationAddress)
          This method sets a destinationAddress.
 void setOriginatingAddress(AddressRange originatingAddress)
          This method sets a originatingAddress.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallNotificationScope

public CallNotificationScope()
Creates a new CallNotificationScope instance.


CallNotificationScope

public CallNotificationScope(AddressRange _destinationAddress,
                             AddressRange _originatingAddress)
Creates a new CallNotificationScope instance.

Parameters:
_destinationAddress - Defines the destination address or address range for which the notification is requested.
_originatingAddress - Defines the origination address or address range for which the notification is requested.
Method Detail

getDestinationAddress

public AddressRange getDestinationAddress()
This method returns a destinationAddress.

Returns:
a org.csapi.jr.se.AddressRange value

getOriginatingAddress

public AddressRange getOriginatingAddress()
This method returns a originatingAddress.

Returns:
a org.csapi.jr.se.AddressRange value

setDestinationAddress

public void setDestinationAddress(AddressRange destinationAddress)
This method sets a destinationAddress.


setOriginatingAddress

public void setOriginatingAddress(AddressRange originatingAddress)
This method sets a originatingAddress.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.