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

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

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

Defines the Sequence of Data Elements that specify the call information requested. Information that was not requested is invalid. A callInfoReport will be generated at the end of user interaction and at the end of the connection with the associated address. This means that either the destination related information is present or the resource related information, but not both.

See Also:
Serialized Form

Constructor Summary
CallInfoReport()
          Creates a new CallInfoReport instance.
CallInfoReport(int _callInfoType, java.lang.String _callInitiationStartTime, java.lang.String _callConnectedToResourceTime, java.lang.String _callConnectedToDestinationTime, java.lang.String _callEndTime, org.csapi.jr.se.cc.gccs.CallReleaseCause _cause)
          Creates a new CallInfoReport instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getCallConnectedToDestinationTime()
          This method returns a callConnectedToDestinationTime.
 java.lang.String getCallConnectedToResourceTime()
          This method returns a callConnectedToResourceTime.
 java.lang.String getCallEndTime()
          This method returns a callEndTime.
 int getCallInfoType()
          This method returns a callInfoType.
 java.lang.String getCallInitiationStartTime()
          This method returns a callInitiationStartTime.
 org.csapi.jr.se.cc.gccs.CallReleaseCause getCause()
          This method returns a cause.
 int hashCode()
          Returns a hashcode value for the object.
 void setCallConnectedToDestinationTime(java.lang.String callConnectedToDestinationTime)
          This method sets a callConnectedToDestinationTime.
 void setCallConnectedToResourceTime(java.lang.String callConnectedToResourceTime)
          This method sets a callConnectedToResourceTime.
 void setCallEndTime(java.lang.String callEndTime)
          This method sets a callEndTime.
 void setCallInfoType(int callInfoType)
          This method sets a callInfoType.
 void setCallInitiationStartTime(java.lang.String callInitiationStartTime)
          This method sets a callInitiationStartTime.
 void setCause(org.csapi.jr.se.cc.gccs.CallReleaseCause cause)
          This method sets a cause.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallInfoReport

public CallInfoReport()
Creates a new CallInfoReport instance.


CallInfoReport

public CallInfoReport(int _callInfoType,
                      java.lang.String _callInitiationStartTime,
                      java.lang.String _callConnectedToResourceTime,
                      java.lang.String _callConnectedToDestinationTime,
                      java.lang.String _callEndTime,
                      org.csapi.jr.se.cc.gccs.CallReleaseCause _cause)
Creates a new CallInfoReport instance.

Parameters:
_callInfoType - The type of call report.
_callInitiationStartTime - The time and date when the call, or follow-on call, was started as a result of a routeReq.
_callConnectedToResourceTime - The date and time when the call was connected to the resource. This data element is only valid when information on user interaction is reported.
_callConnectedToDestinationTime - The date and time when the call was connected to the destination (that is when the destination answered the call). If the destination did not answer, the time is set to an empty string. This data element is invalid when information on user interaction is reported.
_callEndTime - The date and time when the call or follow-on call or user interaction was terminated.
_cause - The cause of the termination.
Method Detail

getCallInfoType

public int getCallInfoType()
This method returns a callInfoType.

Returns:
a int value

getCallInitiationStartTime

public java.lang.String getCallInitiationStartTime()
This method returns a callInitiationStartTime.

Returns:
a String value

getCallConnectedToResourceTime

public java.lang.String getCallConnectedToResourceTime()
This method returns a callConnectedToResourceTime.

Returns:
a String value

getCallConnectedToDestinationTime

public java.lang.String getCallConnectedToDestinationTime()
This method returns a callConnectedToDestinationTime.

Returns:
a String value

getCallEndTime

public java.lang.String getCallEndTime()
This method returns a callEndTime.

Returns:
a String value

getCause

public org.csapi.jr.se.cc.gccs.CallReleaseCause getCause()
This method returns a cause.

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

setCallInfoType

public void setCallInfoType(int callInfoType)
This method sets a callInfoType.


setCallInitiationStartTime

public void setCallInitiationStartTime(java.lang.String callInitiationStartTime)
This method sets a callInitiationStartTime.


setCallConnectedToResourceTime

public void setCallConnectedToResourceTime(java.lang.String callConnectedToResourceTime)
This method sets a callConnectedToResourceTime.


setCallConnectedToDestinationTime

public void setCallConnectedToDestinationTime(java.lang.String callConnectedToDestinationTime)
This method sets a callConnectedToDestinationTime.


setCallEndTime

public void setCallEndTime(java.lang.String callEndTime)
This method sets a callEndTime.


setCause

public void setCause(org.csapi.jr.se.cc.gccs.CallReleaseCause cause)
This method sets a cause.


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