org.csapi.jr.se.cc.mmccs
Class CallSuperviseVolume

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

public final class CallSuperviseVolume
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
CallSuperviseVolume()
          Creates a new CallSuperviseVolume instance.
CallSuperviseVolume(int _volumeQuantity, int _volumeUnit)
          Creates a new CallSuperviseVolume 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

CallSuperviseVolume

public CallSuperviseVolume()
Creates a new CallSuperviseVolume instance.


CallSuperviseVolume

public CallSuperviseVolume(int _volumeQuantity,
                           int _volumeUnit)
Creates a new CallSuperviseVolume 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.
_volumeUnit - This data type is identical to a TpInt32, and defines the unit of the granted volume that can be transmitted for the specific connection. Unit must be specified as 10^n number of bytes, where n denotes the power. When the unit is for example in kilobytes, VolumeUnit must 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