org.csapi.jr.se
Class CAIElements

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

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

Defines the Sequence of Data Elements that specify the Charging Advice Information elements according to TS 122 024.

See Also:
Serialized Form

Constructor Summary
CAIElements()
          Creates a new CAIElements instance.
CAIElements(int _unitsPerInterval, int _secondsPerTimeInterval, int _scalingFactor, int _unitIncrement, int _unitsPerDataInterval, int _segmentsPerDataInterval, int _initialSecsPerTimeInterval)
          Creates a new CAIElements instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getInitialSecsPerTimeInterval()
          This method returns a initialSecsPerTimeInterval.
 int getScalingFactor()
          This method returns a scalingFactor.
 int getSecondsPerTimeInterval()
          This method returns a secondsPerTimeInterval.
 int getSegmentsPerDataInterval()
          This method returns a segmentsPerDataInterval.
 int getUnitIncrement()
          This method returns a unitIncrement.
 int getUnitsPerDataInterval()
          This method returns a unitsPerDataInterval.
 int getUnitsPerInterval()
          This method returns a unitsPerInterval.
 int hashCode()
          Returns a hashcode value for the object.
 void setInitialSecsPerTimeInterval(int initialSecsPerTimeInterval)
          This method sets a initialSecsPerTimeInterval.
 void setScalingFactor(int scalingFactor)
          This method sets a scalingFactor.
 void setSecondsPerTimeInterval(int secondsPerTimeInterval)
          This method sets a secondsPerTimeInterval.
 void setSegmentsPerDataInterval(int segmentsPerDataInterval)
          This method sets a segmentsPerDataInterval.
 void setUnitIncrement(int unitIncrement)
          This method sets a unitIncrement.
 void setUnitsPerDataInterval(int unitsPerDataInterval)
          This method sets a unitsPerDataInterval.
 void setUnitsPerInterval(int unitsPerInterval)
          This method sets a unitsPerInterval.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAIElements

public CAIElements()
Creates a new CAIElements instance.


CAIElements

public CAIElements(int _unitsPerInterval,
                   int _secondsPerTimeInterval,
                   int _scalingFactor,
                   int _unitIncrement,
                   int _unitsPerDataInterval,
                   int _segmentsPerDataInterval,
                   int _initialSecsPerTimeInterval)
Creates a new CAIElements instance.

Parameters:
_unitsPerInterval - Units per interval
_secondsPerTimeInterval - Seconds per time interval
_scalingFactor - Scaling factor
_unitIncrement - Unit increment
_unitsPerDataInterval - Units per data interval
_segmentsPerDataInterval - Segments per data interval
_initialSecsPerTimeInterval - Initial secs per time interval
Method Detail

getUnitsPerInterval

public int getUnitsPerInterval()
This method returns a unitsPerInterval.

Returns:
a int value

getSecondsPerTimeInterval

public int getSecondsPerTimeInterval()
This method returns a secondsPerTimeInterval.

Returns:
a int value

getScalingFactor

public int getScalingFactor()
This method returns a scalingFactor.

Returns:
a int value

getUnitIncrement

public int getUnitIncrement()
This method returns a unitIncrement.

Returns:
a int value

getUnitsPerDataInterval

public int getUnitsPerDataInterval()
This method returns a unitsPerDataInterval.

Returns:
a int value

getSegmentsPerDataInterval

public int getSegmentsPerDataInterval()
This method returns a segmentsPerDataInterval.

Returns:
a int value

getInitialSecsPerTimeInterval

public int getInitialSecsPerTimeInterval()
This method returns a initialSecsPerTimeInterval.

Returns:
a int value

setUnitsPerInterval

public void setUnitsPerInterval(int unitsPerInterval)
This method sets a unitsPerInterval.


setSecondsPerTimeInterval

public void setSecondsPerTimeInterval(int secondsPerTimeInterval)
This method sets a secondsPerTimeInterval.


setScalingFactor

public void setScalingFactor(int scalingFactor)
This method sets a scalingFactor.


setUnitIncrement

public void setUnitIncrement(int unitIncrement)
This method sets a unitIncrement.


setUnitsPerDataInterval

public void setUnitsPerDataInterval(int unitsPerDataInterval)
This method sets a unitsPerDataInterval.


setSegmentsPerDataInterval

public void setSegmentsPerDataInterval(int segmentsPerDataInterval)
This method sets a segmentsPerDataInterval.


setInitialSecsPerTimeInterval

public void setInitialSecsPerTimeInterval(int initialSecsPerTimeInterval)
This method sets a initialSecsPerTimeInterval.


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