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

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

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

Defines the Sequence of Data Elements that specify the reason for the call ending.

See Also:
Serialized Form

Constructor Summary
CallEndedReport()
          Creates a new CallEndedReport instance.
CallEndedReport(int _callLegSessionID, org.csapi.jr.se.cc.gccs.CallReleaseCause _cause)
          Creates a new CallEndedReport instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getCallLegSessionID()
          This method returns a callLegSessionID.
 org.csapi.jr.se.cc.gccs.CallReleaseCause getCause()
          This method returns a cause.
 int hashCode()
          Returns a hashcode value for the object.
 void setCallLegSessionID(int callLegSessionID)
          This method sets a callLegSessionID.
 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

CallEndedReport

public CallEndedReport()
Creates a new CallEndedReport instance.


CallEndedReport

public CallEndedReport(int _callLegSessionID,
                       org.csapi.jr.se.cc.gccs.CallReleaseCause _cause)
Creates a new CallEndedReport instance.

Parameters:
_callLegSessionID - The leg that initiated the release of the call. If the call release was not initiated by the leg, then this value is set to -1.
_cause - The cause of the termination.
Method Detail

getCallLegSessionID

public int getCallLegSessionID()
This method returns a callLegSessionID.

Returns:
a int 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

setCallLegSessionID

public void setCallLegSessionID(int callLegSessionID)
This method sets a callLegSessionID.


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