org.csapi.jr.se.cc
Class ReleaseCause

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

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

Defines the reason for a release.

See Also:
Serialized Form

Field Summary
static int _BUSY
          The user is busy.
static int _CALL_RESTRICTED
          The call was subject of restrictions
static int _DISCONNECTED
          A disconnect was received.
static int _GENERAL_FAILURE
          A general network failure occurred.
static int _NO_ANSWER
          No answer was received
static int _NOT_REACHABLE
          The user terminal is not reachable
static int _PREMATURE_DISCONNECT
          The user disconnected the call / call leg during the setup phase.
static int _ROUTING_FAILURE
          A routing failure occurred.
static int _TIMER_EXPIRY
          The call / call leg was released because an activity timer expired.
static int _UNAVAILABLE_RESOURCE
          The request could not be carried out as no resources were available.
static int _UNDEFINED
          The reason of release is not known, because no info was received from the network.
static int _UNSUPPORTED_MEDIA
          The call / call leg was released either because the message body of the request is in a format not supported or because the media is not supported.
static int _USER_NOT_AVAILABLE
          The user is not available in the network.
static org.csapi.jr.se.cc.ReleaseCause BUSY
          The user is busy.
static org.csapi.jr.se.cc.ReleaseCause CALL_RESTRICTED
          The call was subject of restrictions
static org.csapi.jr.se.cc.ReleaseCause DISCONNECTED
          A disconnect was received.
static org.csapi.jr.se.cc.ReleaseCause GENERAL_FAILURE
          A general network failure occurred.
static org.csapi.jr.se.cc.ReleaseCause NO_ANSWER
          No answer was received
static org.csapi.jr.se.cc.ReleaseCause NOT_REACHABLE
          The user terminal is not reachable
static org.csapi.jr.se.cc.ReleaseCause PREMATURE_DISCONNECT
          The user disconnected the call / call leg during the setup phase.
static org.csapi.jr.se.cc.ReleaseCause ROUTING_FAILURE
          A routing failure occurred.
static org.csapi.jr.se.cc.ReleaseCause TIMER_EXPIRY
          The call / call leg was released because an activity timer expired.
static org.csapi.jr.se.cc.ReleaseCause UNAVAILABLE_RESOURCE
          The request could not be carried out as no resources were available.
static org.csapi.jr.se.cc.ReleaseCause UNDEFINED
          The reason of release is not known, because no info was received from the network.
static org.csapi.jr.se.cc.ReleaseCause UNSUPPORTED_MEDIA
          The call / call leg was released either because the message body of the request is in a format not supported or because the media is not supported.
static org.csapi.jr.se.cc.ReleaseCause USER_NOT_AVAILABLE
          The user is not available in the network.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cc.ReleaseCause getObject(int value)
          Accepts values in the range of 0 to 12
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_UNDEFINED

public static final int _UNDEFINED
The reason of release is not known, because no info was received from the network.

See Also:
Constant Field Values

UNDEFINED

public static final org.csapi.jr.se.cc.ReleaseCause UNDEFINED
The reason of release is not known, because no info was received from the network.


_USER_NOT_AVAILABLE

public static final int _USER_NOT_AVAILABLE
The user is not available in the network. This means that the number is not allocated or that the user is not registered.

See Also:
Constant Field Values

USER_NOT_AVAILABLE

public static final org.csapi.jr.se.cc.ReleaseCause USER_NOT_AVAILABLE
The user is not available in the network. This means that the number is not allocated or that the user is not registered.


_BUSY

public static final int _BUSY
The user is busy.

See Also:
Constant Field Values

BUSY

public static final org.csapi.jr.se.cc.ReleaseCause BUSY
The user is busy.


_NO_ANSWER

public static final int _NO_ANSWER
No answer was received

See Also:
Constant Field Values

NO_ANSWER

public static final org.csapi.jr.se.cc.ReleaseCause NO_ANSWER
No answer was received


_NOT_REACHABLE

public static final int _NOT_REACHABLE
The user terminal is not reachable

See Also:
Constant Field Values

NOT_REACHABLE

public static final org.csapi.jr.se.cc.ReleaseCause NOT_REACHABLE
The user terminal is not reachable


_ROUTING_FAILURE

public static final int _ROUTING_FAILURE
A routing failure occurred. For example an invalid address was received

See Also:
Constant Field Values

ROUTING_FAILURE

public static final org.csapi.jr.se.cc.ReleaseCause ROUTING_FAILURE
A routing failure occurred. For example an invalid address was received


_PREMATURE_DISCONNECT

public static final int _PREMATURE_DISCONNECT
The user disconnected the call / call leg during the setup phase.

See Also:
Constant Field Values

PREMATURE_DISCONNECT

public static final org.csapi.jr.se.cc.ReleaseCause PREMATURE_DISCONNECT
The user disconnected the call / call leg during the setup phase.


_DISCONNECTED

public static final int _DISCONNECTED
A disconnect was received.

See Also:
Constant Field Values

DISCONNECTED

public static final org.csapi.jr.se.cc.ReleaseCause DISCONNECTED
A disconnect was received.


_CALL_RESTRICTED

public static final int _CALL_RESTRICTED
The call was subject of restrictions

See Also:
Constant Field Values

CALL_RESTRICTED

public static final org.csapi.jr.se.cc.ReleaseCause CALL_RESTRICTED
The call was subject of restrictions


_UNAVAILABLE_RESOURCE

public static final int _UNAVAILABLE_RESOURCE
The request could not be carried out as no resources were available.

See Also:
Constant Field Values

UNAVAILABLE_RESOURCE

public static final org.csapi.jr.se.cc.ReleaseCause UNAVAILABLE_RESOURCE
The request could not be carried out as no resources were available.


_GENERAL_FAILURE

public static final int _GENERAL_FAILURE
A general network failure occurred.

See Also:
Constant Field Values

GENERAL_FAILURE

public static final org.csapi.jr.se.cc.ReleaseCause GENERAL_FAILURE
A general network failure occurred.


_TIMER_EXPIRY

public static final int _TIMER_EXPIRY
The call / call leg was released because an activity timer expired.

See Also:
Constant Field Values

TIMER_EXPIRY

public static final org.csapi.jr.se.cc.ReleaseCause TIMER_EXPIRY
The call / call leg was released because an activity timer expired.


_UNSUPPORTED_MEDIA

public static final int _UNSUPPORTED_MEDIA
The call / call leg was released either because the message body of the request is in a format not supported or because the media is not supported.

See Also:
Constant Field Values

UNSUPPORTED_MEDIA

public static final org.csapi.jr.se.cc.ReleaseCause UNSUPPORTED_MEDIA
The call / call leg was released either because the message body of the request is in a format not supported or because the media is not supported.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the ReleaseCause object

getObject

public static org.csapi.jr.se.cc.ReleaseCause getObject(int value)
                                                 throws InvalidEnumValueException
Accepts values in the range of 0 to 12

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

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