org.csapi.jr.se.dsc
Class DataSessionReleaseCause

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

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

Defines the Sequence of Data Elements that specify the cause of the release of a data session. NOTE: the Value and Location are specified as in ITU-T Recommendation Q.850.

See Also:
Serialized Form

Constructor Summary
DataSessionReleaseCause()
          Creates a new DataSessionReleaseCause instance.
DataSessionReleaseCause(int _value, int _location)
          Creates a new DataSessionReleaseCause 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

DataSessionReleaseCause

public DataSessionReleaseCause()
Creates a new DataSessionReleaseCause instance.


DataSessionReleaseCause

public DataSessionReleaseCause(int _value,
                               int _location)
Creates a new DataSessionReleaseCause 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