org.csapi.jr.se.cc
Class CallLegInfoReport

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

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

Defines the Sequence of Data Elements that specify the call leg information requested.

See Also:
Serialized Form

Constructor Summary
CallLegInfoReport()
          Creates a new CallLegInfoReport instance.
CallLegInfoReport(int _callLegInfoType, java.lang.String _callLegStartTime, java.lang.String _callLegConnectedToResourceTime, java.lang.String _callLegConnectedToAddressTime, java.lang.String _callLegEndTime, org.csapi.jr.se.Address _connectedAddress, org.csapi.jr.se.cc.ReleaseCause _callLegReleaseCause, org.csapi.jr.se.cc.CallAppInfo[] _callAppInfo)
          Creates a new CallLegInfoReport instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.cc.CallAppInfo[] getCallAppInfo()
          This method returns a callAppInfo.
 java.lang.String getCallLegConnectedToAddressTime()
          This method returns a callLegConnectedToAddressTime.
 java.lang.String getCallLegConnectedToResourceTime()
          This method returns a callLegConnectedToResourceTime.
 java.lang.String getCallLegEndTime()
          This method returns a callLegEndTime.
 int getCallLegInfoType()
          This method returns a callLegInfoType.
 org.csapi.jr.se.cc.ReleaseCause getCallLegReleaseCause()
          This method returns a callLegReleaseCause.
 java.lang.String getCallLegStartTime()
          This method returns a callLegStartTime.
 org.csapi.jr.se.Address getConnectedAddress()
          This method returns a connectedAddress.
 int hashCode()
          Returns a hashcode value for the object.
 void setCallAppInfo(org.csapi.jr.se.cc.CallAppInfo[] callAppInfo)
          This method sets a callAppInfo.
 void setCallLegConnectedToAddressTime(java.lang.String callLegConnectedToAddressTime)
          This method sets a callLegConnectedToAddressTime.
 void setCallLegConnectedToResourceTime(java.lang.String callLegConnectedToResourceTime)
          This method sets a callLegConnectedToResourceTime.
 void setCallLegEndTime(java.lang.String callLegEndTime)
          This method sets a callLegEndTime.
 void setCallLegInfoType(int callLegInfoType)
          This method sets a callLegInfoType.
 void setCallLegReleaseCause(org.csapi.jr.se.cc.ReleaseCause callLegReleaseCause)
          This method sets a callLegReleaseCause.
 void setCallLegStartTime(java.lang.String callLegStartTime)
          This method sets a callLegStartTime.
 void setConnectedAddress(org.csapi.jr.se.Address connectedAddress)
          This method sets a connectedAddress.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallLegInfoReport

public CallLegInfoReport()
Creates a new CallLegInfoReport instance.


CallLegInfoReport

public CallLegInfoReport(int _callLegInfoType,
                         java.lang.String _callLegStartTime,
                         java.lang.String _callLegConnectedToResourceTime,
                         java.lang.String _callLegConnectedToAddressTime,
                         java.lang.String _callLegEndTime,
                         org.csapi.jr.se.Address _connectedAddress,
                         org.csapi.jr.se.cc.ReleaseCause _callLegReleaseCause,
                         org.csapi.jr.se.cc.CallAppInfo[] _callAppInfo)
Creates a new CallLegInfoReport instance.

Parameters:
_callLegInfoType - The type of call leg information.
_callLegStartTime - The time and date when the call leg was started (that is the leg was routed).
_callLegConnectedToResourceTime - The date and time when the call leg was connected to the resource. If no resource was connected the time is set to an empty string. Either this element is valid or the CallLegConnectedToAddressTime is valid, depending on whether the report is sent as a result of user interaction.
_callLegConnectedToAddressTime - The date and time when the call leg 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. Either this element is valid or the CallConnectedToResourceTime is valid, depending on whether the report is sent as a result of user interaction.
_callLegEndTime - The date and time when the call leg was released.
_connectedAddress - The address of the party associated with the leg. If during the call the connected address was received from the party then this is returned, otherwise the destination address (for legs connected to a destination) or the originating address (for legs connected to the origination) is returned.
_callLegReleaseCause - The cause of the termination. May be present with P_CALL_LEG_INFO_RELEASE_CAUSE was specified.
_callAppInfo - Additional information for the leg. May be present with P_CALL_LEG_INFO_APPINFO was specified.
Method Detail

getCallLegInfoType

public int getCallLegInfoType()
This method returns a callLegInfoType.

Returns:
a int value

getCallLegStartTime

public java.lang.String getCallLegStartTime()
This method returns a callLegStartTime.

Returns:
a String value

getCallLegConnectedToResourceTime

public java.lang.String getCallLegConnectedToResourceTime()
This method returns a callLegConnectedToResourceTime.

Returns:
a String value

getCallLegConnectedToAddressTime

public java.lang.String getCallLegConnectedToAddressTime()
This method returns a callLegConnectedToAddressTime.

Returns:
a String value

getCallLegEndTime

public java.lang.String getCallLegEndTime()
This method returns a callLegEndTime.

Returns:
a String value

getConnectedAddress

public org.csapi.jr.se.Address getConnectedAddress()
This method returns a connectedAddress.

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

getCallLegReleaseCause

public org.csapi.jr.se.cc.ReleaseCause getCallLegReleaseCause()
This method returns a callLegReleaseCause.

Returns:
a org.csapi.jr.se.cc.ReleaseCause value

getCallAppInfo

public org.csapi.jr.se.cc.CallAppInfo[] getCallAppInfo()
This method returns a callAppInfo.

Returns:
a org.csapi.jr.se.cc.CallAppInfo[] value

setCallLegInfoType

public void setCallLegInfoType(int callLegInfoType)
This method sets a callLegInfoType.


setCallLegStartTime

public void setCallLegStartTime(java.lang.String callLegStartTime)
This method sets a callLegStartTime.


setCallLegConnectedToResourceTime

public void setCallLegConnectedToResourceTime(java.lang.String callLegConnectedToResourceTime)
This method sets a callLegConnectedToResourceTime.


setCallLegConnectedToAddressTime

public void setCallLegConnectedToAddressTime(java.lang.String callLegConnectedToAddressTime)
This method sets a callLegConnectedToAddressTime.


setCallLegEndTime

public void setCallLegEndTime(java.lang.String callLegEndTime)
This method sets a callLegEndTime.


setConnectedAddress

public void setConnectedAddress(org.csapi.jr.se.Address connectedAddress)
This method sets a connectedAddress.


setCallLegReleaseCause

public void setCallLegReleaseCause(org.csapi.jr.se.cc.ReleaseCause callLegReleaseCause)
This method sets a callLegReleaseCause.


setCallAppInfo

public void setCallAppInfo(org.csapi.jr.se.cc.CallAppInfo[] callAppInfo)
This method sets a callAppInfo.


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