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

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

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

Defines the Sequence of Data Elements that specify the cause of the release of a call. NOTE: The Value and Location are specified as in ITU-T Recommendation Q.850. The following example was taken from ITU-T Recommendation Q.850 to aid understanding: Equivalent Call Report Cause Value Set by Application Cause Value from Network P_CALL_REPORT_BUSY 17 17 P_CALL_REPORT_NO_ANSWER 19 18, 19, 21 P_CALL_REPORT_DISCONNECT 16 16 P_CALL_REPORT_REDIRECTED 23 23 P_CALL_REPORT_SERVICE_CODE 31 NA P_CALL_REPORT_NOT_REACHABLE 20 20 P_CALL_REPORT_ROUTING_FAILURE 3 Any other value

See Also:
Serialized Form

Constructor Summary
CallReleaseCause()
          Creates a new CallReleaseCause instance.
CallReleaseCause(int _value, int _location)
          Creates a new CallReleaseCause instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getLocation()
          This method returns a location.
 int getValue()
          This method returns a value.
 int hashCode()
          Returns a hashcode value for the object.
 void setLocation(int location)
          This method sets a location.
 void setValue(int value)
          This method sets a value.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallReleaseCause

public CallReleaseCause()
Creates a new CallReleaseCause instance.


CallReleaseCause

public CallReleaseCause(int _value,
                        int _location)
Creates a new CallReleaseCause instance.

Parameters:
_value -
_location -
Method Detail

getValue

public int getValue()
This method returns a value.

Returns:
a int value

getLocation

public int getLocation()
This method returns a location.

Returns:
a int value

setValue

public void setValue(int value)
This method sets a value.


setLocation

public void setLocation(int location)
This method sets a location.


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