org.csapi.jr.se.dsc
Class DataSessionSuperviseVolume

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

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

Defines the Sequence of Data Elements that specify the amount of volume that is allowed to be transmitted for the specific connection.

See Also:
Serialized Form

Constructor Summary
DataSessionSuperviseVolume()
          Creates a new DataSessionSuperviseVolume instance.
DataSessionSuperviseVolume(int _volumeQuantity, int _volumeUnit)
          Creates a new DataSessionSuperviseVolume instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getVolumeQuantity()
          This method returns a volumeQuantity.
 int getVolumeUnit()
          This method returns a volumeUnit.
 int hashCode()
          Returns a hashcode value for the object.
 void setVolumeQuantity(int volumeQuantity)
          This method sets a volumeQuantity.
 void setVolumeUnit(int volumeUnit)
          This method sets a volumeUnit.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSessionSuperviseVolume

public DataSessionSuperviseVolume()
Creates a new DataSessionSuperviseVolume instance.


DataSessionSuperviseVolume

public DataSessionSuperviseVolume(int _volumeQuantity,
                                  int _volumeUnit)
Creates a new DataSessionSuperviseVolume instance.

Parameters:
_volumeQuantity - This data type is identical to a TpInt32, and defines the quantity of the granted volume that can be transmitted for the specific connection. The volume specifies the sum of uplink and downlink transfer data volumes.
_volumeUnit - In Order to enlarge the range of the volume quantity value the exponent of a scaling factor (10^VolumeUnit) is provided. When the unit is for example in kilobytes, VolumeUnit shall be set to 3.
Method Detail

getVolumeQuantity

public int getVolumeQuantity()
This method returns a volumeQuantity.

Returns:
a int value

getVolumeUnit

public int getVolumeUnit()
This method returns a volumeUnit.

Returns:
a int value

setVolumeQuantity

public void setVolumeQuantity(int volumeQuantity)
This method sets a volumeQuantity.


setVolumeUnit

public void setVolumeUnit(int volumeUnit)
This method sets a volumeUnit.


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