org.csapi.jr.se.cc
Class CallNotificationScope

java.lang.Object
  |
  +--org.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(org.csapi.jr.se.AddressRange _destinationAddress, org.csapi.jr.se.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.
 org.csapi.jr.se.AddressRange getDestinationAddress()
          This method returns a destinationAddress.
 org.csapi.jr.se.AddressRange getOriginatingAddress()
          This method returns a originatingAddress.
 int hashCode()
          Returns a hashcode value for the object.
 void setDestinationAddress(org.csapi.jr.se.AddressRange destinationAddress)
          This method sets a destinationAddress.
 void setOriginatingAddress(org.csapi.jr.se.AddressRange originatingAddress)
          This method sets a originatingAddress.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallNotificationScope

public CallNotificationScope()
Creates a new CallNotificationScope instance.


CallNotificationScope

public CallNotificationScope(org.csapi.jr.se.AddressRange _destinationAddress,
                             org.csapi.jr.se.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 org.csapi.jr.se.AddressRange getDestinationAddress()
This method returns a destinationAddress.

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

getOriginatingAddress

public org.csapi.jr.se.AddressRange getOriginatingAddress()
This method returns a originatingAddress.

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

setDestinationAddress

public void setDestinationAddress(org.csapi.jr.se.AddressRange destinationAddress)
This method sets a destinationAddress.


setOriginatingAddress

public void setOriginatingAddress(org.csapi.jr.se.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.

Overrides:
equals in class java.lang.Object

hashCode

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

Overrides:
hashCode in class java.lang.Object