|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.csapi.jr.se.am.VoucherError
Defines an error that is reported as a result of a voucher request.
| Field Summary | |
static int |
_VOUCHER_OK
No error occurred while processing the request |
static int |
_VOUCHER_SYSTEM_FAILURE
System failure. |
static int |
_VOUCHER_UNAUTHORIZED_APPLICATION
Application is not authorized |
static int |
_VOUCHER_UNDEFINED
General error, unspecified |
static int |
_VOUCHER_UNKNOWN_SUBSCRIBER
Subscriber is unknown |
static VoucherError |
VOUCHER_OK
No error occurred while processing the request |
static VoucherError |
VOUCHER_SYSTEM_FAILURE
System failure. |
static VoucherError |
VOUCHER_UNAUTHORIZED_APPLICATION
Application is not authorized |
static VoucherError |
VOUCHER_UNDEFINED
General error, unspecified |
static VoucherError |
VOUCHER_UNKNOWN_SUBSCRIBER
Subscriber is unknown |
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
static VoucherError |
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 |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int _VOUCHER_OK
public static final VoucherError VOUCHER_OK
public static final int _VOUCHER_UNDEFINED
public static final VoucherError VOUCHER_UNDEFINED
public static final int _VOUCHER_UNKNOWN_SUBSCRIBER
public static final VoucherError VOUCHER_UNKNOWN_SUBSCRIBER
public static final int _VOUCHER_UNAUTHORIZED_APPLICATION
public static final VoucherError VOUCHER_UNAUTHORIZED_APPLICATION
public static final int _VOUCHER_SYSTEM_FAILURE
public static final VoucherError VOUCHER_SYSTEM_FAILURE
| Method Detail |
public int getValue()
public java.lang.String getValueText()
public static VoucherError getObject(int value)
throws InvalidEnumValueException
value - number representing type of object, this is defined within the class
InvalidEnumValueException - thrown if invalid value is passed into methodpublic boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||