org.csapi.jr.se
Class ChargeAdviceInfo

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

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

Defines the Sequence of Data Elements that specify the two sets of Advice of Charge parameters. The first set defines the current tariff. The second set may be used in case of a tariff switch in the network.

See Also:
Serialized Form

Constructor Summary
ChargeAdviceInfo()
          Creates a new ChargeAdviceInfo instance.
ChargeAdviceInfo(org.csapi.jr.se.CAIElements _currentCAI, org.csapi.jr.se.CAIElements _nextCAI)
          Creates a new ChargeAdviceInfo instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.CAIElements getCurrentCAI()
          This method returns a currentCAI.
 org.csapi.jr.se.CAIElements getNextCAI()
          This method returns a nextCAI.
 int hashCode()
          Returns a hashcode value for the object.
 void setCurrentCAI(org.csapi.jr.se.CAIElements currentCAI)
          This method sets a currentCAI.
 void setNextCAI(org.csapi.jr.se.CAIElements nextCAI)
          This method sets a nextCAI.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChargeAdviceInfo

public ChargeAdviceInfo()
Creates a new ChargeAdviceInfo instance.


ChargeAdviceInfo

public ChargeAdviceInfo(org.csapi.jr.se.CAIElements _currentCAI,
                        org.csapi.jr.se.CAIElements _nextCAI)
Creates a new ChargeAdviceInfo instance.

Parameters:
_currentCAI - Current tariff
_nextCAI - Next tariff after tariff switch
Method Detail

getCurrentCAI

public org.csapi.jr.se.CAIElements getCurrentCAI()
This method returns a currentCAI.

Returns:
a org.csapi.jr.se.CAIElements value

getNextCAI

public org.csapi.jr.se.CAIElements getNextCAI()
This method returns a nextCAI.

Returns:
a org.csapi.jr.se.CAIElements value

setCurrentCAI

public void setCurrentCAI(org.csapi.jr.se.CAIElements currentCAI)
This method sets a currentCAI.


setNextCAI

public void setNextCAI(org.csapi.jr.se.CAIElements nextCAI)
This method sets a nextCAI.


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