org.csapi.jr.se.am
Class ChargingEventInfo

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

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

Defines the structure of data elements that specifies charging event information.

See Also:
Serialized Form

Constructor Summary
ChargingEventInfo()
          Creates a new ChargingEventInfo instance.
ChargingEventInfo(org.csapi.jr.se.am.ChargingEventName _chargingEventName, org.csapi.jr.se.am.BalanceInfo _currentBalanceInfo, java.lang.String _chargingEventTime)
          Creates a new ChargingEventInfo instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.am.ChargingEventName getChargingEventName()
          This method returns a chargingEventName.
 java.lang.String getChargingEventTime()
          This method returns a chargingEventTime.
 org.csapi.jr.se.am.BalanceInfo getCurrentBalanceInfo()
          This method returns a currentBalanceInfo.
 int hashCode()
          Returns a hashcode value for the object.
 void setChargingEventName(org.csapi.jr.se.am.ChargingEventName chargingEventName)
          This method sets a chargingEventName.
 void setChargingEventTime(java.lang.String chargingEventTime)
          This method sets a chargingEventTime.
 void setCurrentBalanceInfo(org.csapi.jr.se.am.BalanceInfo currentBalanceInfo)
          This method sets a currentBalanceInfo.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChargingEventInfo

public ChargingEventInfo()
Creates a new ChargingEventInfo instance.


ChargingEventInfo

public ChargingEventInfo(org.csapi.jr.se.am.ChargingEventName _chargingEventName,
                         org.csapi.jr.se.am.BalanceInfo _currentBalanceInfo,
                         java.lang.String _chargingEventTime)
Creates a new ChargingEventInfo instance.

Parameters:
_chargingEventName - The charging event for which notifications can be requested by the application.
_currentBalanceInfo - The current balance of the user's account.
_chargingEventTime - The time at which the charging event occurred.
Method Detail

getChargingEventName

public org.csapi.jr.se.am.ChargingEventName getChargingEventName()
This method returns a chargingEventName.

Returns:
a org.csapi.jr.se.am.ChargingEventName value

getCurrentBalanceInfo

public org.csapi.jr.se.am.BalanceInfo getCurrentBalanceInfo()
This method returns a currentBalanceInfo.

Returns:
a org.csapi.jr.se.am.BalanceInfo value

getChargingEventTime

public java.lang.String getChargingEventTime()
This method returns a chargingEventTime.

Returns:
a String value

setChargingEventName

public void setChargingEventName(org.csapi.jr.se.am.ChargingEventName chargingEventName)
This method sets a chargingEventName.


setCurrentBalanceInfo

public void setCurrentBalanceInfo(org.csapi.jr.se.am.BalanceInfo currentBalanceInfo)
This method sets a currentBalanceInfo.


setChargingEventTime

public void setChargingEventTime(java.lang.String chargingEventTime)
This method sets a chargingEventTime.


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