org.csapi.jr.se.am
Class ChargingEventName

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

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

Defines the charging event for which notifications can be requested by the application.

See Also:
Serialized Form

Field Summary
static int _AM_ACCOUNT_DISABLED
          Account has been disabled
static int _AM_ACCOUNT_LOW
          Account balance is below the balance threshold
static int _AM_ACCOUNT_ZERO
          Account balance is at zero
static int _AM_CHARGING
          End user's account has been charged by an application
static int _AM_RECHARGING
          End user has recharged the account
static org.csapi.jr.se.am.ChargingEventName AM_ACCOUNT_DISABLED
          Account has been disabled
static org.csapi.jr.se.am.ChargingEventName AM_ACCOUNT_LOW
          Account balance is below the balance threshold
static org.csapi.jr.se.am.ChargingEventName AM_ACCOUNT_ZERO
          Account balance is at zero
static org.csapi.jr.se.am.ChargingEventName AM_CHARGING
          End user's account has been charged by an application
static org.csapi.jr.se.am.ChargingEventName AM_RECHARGING
          End user has recharged the account
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.am.ChargingEventName getObject(int value)
          Accepts values in the range of 0 to 4
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_AM_CHARGING

public static final int _AM_CHARGING
End user's account has been charged by an application

See Also:
Constant Field Values

AM_CHARGING

public static final org.csapi.jr.se.am.ChargingEventName AM_CHARGING
End user's account has been charged by an application


_AM_RECHARGING

public static final int _AM_RECHARGING
End user has recharged the account

See Also:
Constant Field Values

AM_RECHARGING

public static final org.csapi.jr.se.am.ChargingEventName AM_RECHARGING
End user has recharged the account


_AM_ACCOUNT_LOW

public static final int _AM_ACCOUNT_LOW
Account balance is below the balance threshold

See Also:
Constant Field Values

AM_ACCOUNT_LOW

public static final org.csapi.jr.se.am.ChargingEventName AM_ACCOUNT_LOW
Account balance is below the balance threshold


_AM_ACCOUNT_ZERO

public static final int _AM_ACCOUNT_ZERO
Account balance is at zero

See Also:
Constant Field Values

AM_ACCOUNT_ZERO

public static final org.csapi.jr.se.am.ChargingEventName AM_ACCOUNT_ZERO
Account balance is at zero


_AM_ACCOUNT_DISABLED

public static final int _AM_ACCOUNT_DISABLED
Account has been disabled

See Also:
Constant Field Values

AM_ACCOUNT_DISABLED

public static final org.csapi.jr.se.am.ChargingEventName AM_ACCOUNT_DISABLED
Account has been disabled

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the ChargingEventName object

getObject

public static org.csapi.jr.se.am.ChargingEventName getObject(int value)
                                                      throws InvalidEnumValueException
Accepts values in the range of 0 to 4

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

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