org.csapi.jr.se.cc.gccs
Class CallEventCriteria

java.lang.Object
  |
  +--org.csapi.jr.se.cc.gccs.CallEventCriteria
All Implemented Interfaces:
java.io.Serializable

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

Defines the Sequence of Data Elements that specify the criteria for an event notification. 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
CallEventCriteria()
          Creates a new CallEventCriteria instance.
CallEventCriteria(org.csapi.jr.se.AddressRange _destinationAddress, org.csapi.jr.se.AddressRange _originatingAddress, int _callEventName, org.csapi.jr.se.cc.gccs.CallNotificationType _callNotificationType, org.csapi.jr.se.cc.CallMonitorMode _monitorMode)
          Creates a new CallEventCriteria instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getCallEventName()
          This method returns a callEventName.
 org.csapi.jr.se.cc.gccs.CallNotificationType getCallNotificationType()
          This method returns a callNotificationType.
 org.csapi.jr.se.AddressRange getDestinationAddress()
          This method returns a destinationAddress.
 org.csapi.jr.se.cc.CallMonitorMode getMonitorMode()
          This method returns a monitorMode.
 org.csapi.jr.se.AddressRange getOriginatingAddress()
          This method returns a originatingAddress.
 int hashCode()
          Returns a hashcode value for the object.
 void setCallEventName(int callEventName)
          This method sets a callEventName.
 void setCallNotificationType(org.csapi.jr.se.cc.gccs.CallNotificationType callNotificationType)
          This method sets a callNotificationType.
 void setDestinationAddress(org.csapi.jr.se.AddressRange destinationAddress)
          This method sets a destinationAddress.
 void setMonitorMode(org.csapi.jr.se.cc.CallMonitorMode monitorMode)
          This method sets a monitorMode.
 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

CallEventCriteria

public CallEventCriteria()
Creates a new CallEventCriteria instance.


CallEventCriteria

public CallEventCriteria(org.csapi.jr.se.AddressRange _destinationAddress,
                         org.csapi.jr.se.AddressRange _originatingAddress,
                         int _callEventName,
                         org.csapi.jr.se.cc.gccs.CallNotificationType _callNotificationType,
                         org.csapi.jr.se.cc.CallMonitorMode _monitorMode)
Creates a new CallEventCriteria instance.

Parameters:
_destinationAddress - Defines the destination address or address range for which the notification is requested.
_originatingAddress - Defines the origination address or an address range for which the notification is requested.
_callEventName - Name of the event(s)
_callNotificationType - Indicates whether it is related to the originating or the terminating user in the call.
_monitorMode - Defines the mode that the call is in following the notification. Monitor mode P_CALL_MONITOR_MODE_DO_NOT_MONITOR is not a legal value here.
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

getCallEventName

public int getCallEventName()
This method returns a callEventName.

Returns:
a int value

getCallNotificationType

public org.csapi.jr.se.cc.gccs.CallNotificationType getCallNotificationType()
This method returns a callNotificationType.

Returns:
a org.csapi.jr.se.cc.gccs.CallNotificationType value

getMonitorMode

public org.csapi.jr.se.cc.CallMonitorMode getMonitorMode()
This method returns a monitorMode.

Returns:
a org.csapi.jr.se.cc.CallMonitorMode 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.


setCallEventName

public void setCallEventName(int callEventName)
This method sets a callEventName.


setCallNotificationType

public void setCallNotificationType(org.csapi.jr.se.cc.gccs.CallNotificationType callNotificationType)
This method sets a callNotificationType.


setMonitorMode

public void setMonitorMode(org.csapi.jr.se.cc.CallMonitorMode monitorMode)
This method sets a monitorMode.


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