org.csapi.jr.se.am
Class BalanceQueryError

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

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

Defines an error that is reported by the Charging service capability feature as a result of a balance query request.

See Also:
Serialized Form

Field Summary
static int _BALANCE_QUERY_ERROR_UNDEFINED
          General error, unspecified
static int _BALANCE_QUERY_OK
          No error occurred while processing the request
static int _BALANCE_QUERY_SYSTEM_FAILURE
          System failure.
static int _BALANCE_QUERY_UNAUTHORIZED_APPLICATION
          Application is not authorized to query balance
static int _BALANCE_QUERY_UNKNOWN_SUBSCRIBER
          Subscriber for which balance is queried is unknown
static org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_ERROR_UNDEFINED
          General error, unspecified
static org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_OK
          No error occurred while processing the request
static org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_SYSTEM_FAILURE
          System failure.
static org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_UNAUTHORIZED_APPLICATION
          Application is not authorized to query balance
static org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_UNKNOWN_SUBSCRIBER
          Subscriber for which balance is queried is unknown
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.am.BalanceQueryError 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

_BALANCE_QUERY_OK

public static final int _BALANCE_QUERY_OK
No error occurred while processing the request

See Also:
Constant Field Values

BALANCE_QUERY_OK

public static final org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_OK
No error occurred while processing the request


_BALANCE_QUERY_ERROR_UNDEFINED

public static final int _BALANCE_QUERY_ERROR_UNDEFINED
General error, unspecified

See Also:
Constant Field Values

BALANCE_QUERY_ERROR_UNDEFINED

public static final org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_ERROR_UNDEFINED
General error, unspecified


_BALANCE_QUERY_UNKNOWN_SUBSCRIBER

public static final int _BALANCE_QUERY_UNKNOWN_SUBSCRIBER
Subscriber for which balance is queried is unknown

See Also:
Constant Field Values

BALANCE_QUERY_UNKNOWN_SUBSCRIBER

public static final org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_UNKNOWN_SUBSCRIBER
Subscriber for which balance is queried is unknown


_BALANCE_QUERY_UNAUTHORIZED_APPLICATION

public static final int _BALANCE_QUERY_UNAUTHORIZED_APPLICATION
Application is not authorized to query balance

See Also:
Constant Field Values

BALANCE_QUERY_UNAUTHORIZED_APPLICATION

public static final org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_UNAUTHORIZED_APPLICATION
Application is not authorized to query balance


_BALANCE_QUERY_SYSTEM_FAILURE

public static final int _BALANCE_QUERY_SYSTEM_FAILURE
System failure. The request could not be handled

See Also:
Constant Field Values

BALANCE_QUERY_SYSTEM_FAILURE

public static final org.csapi.jr.se.am.BalanceQueryError BALANCE_QUERY_SYSTEM_FAILURE
System failure. The request could not be handled

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 BalanceQueryError object

getObject

public static org.csapi.jr.se.am.BalanceQueryError 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