com.ecebs.rtd.enabler.types
Enum Outcome.Code

java.lang.Object
  extended by java.lang.Enum<Outcome.Code>
      extended by com.ecebs.rtd.enabler.types.Outcome.Code
All Implemented Interfaces:
Serializable, Comparable<Outcome.Code>
Enclosing class:
Outcome

public static enum Outcome.Code
extends Enum<Outcome.Code>

Represents the reason for an operation finishing

Author:
kyleb

Enum Constant Summary
DENIED_ALREADY_CARRIED_OUT
           
DENIED_BLOCKED_ORIGINATOR
           
DENIED_ISRN_INVALID
           
DENIED_PARAMETER_VALIDATION
           
DENIED_PRODUCT_INVALID
           
DENIED_PRODUCT_UNKNOWN
           
DENIED_PRODUCT_UNSUITABLE_FOR_CM
           
DENIED_REQUEST_ID_INVALID
           
DENIED_UNKNOWN_ORIGINATOR
           
DENIED_VGXREF_REQUIRED
           
DENIED_XML_INVALID
           
ERROR_CM_APDU_SW
           
ERROR_CM_INCORRECT
           
ERROR_CM_IO
           
ERROR_CM_MULTIPLE_PRESENT
           
ERROR_CM_NOT_PRESENT
           
ERROR_CM_UNSUPPORTED
           
ERROR_RTD_CANCELLED
           
ERROR_RTD_CARD_BLOCKED
           
ERROR_RTD_CARD_CORRUPT
           
ERROR_RTD_CARD_EXPIRED
           
ERROR_RTD_CARD_NOT_SUPPORTED
           
ERROR_RTD_COMMS
           
ERROR_RTD_COMMS_AUTHENTICATION_REQUIRED
           
ERROR_RTD_ISAM_ALLOCATION_ERROR
           
ERROR_RTD_ISAM_ERROR
           
ERROR_RTD_NO_TXN
           
ERROR_RTD_NOT_PERFORMED
           
ERROR_RTD_REQUEST_DETAILS_REQUIRED
           
ERROR_RTD_UNSPECIFIED
           
SUCCESS
           
SUCCESS_REQUESTS_PENDING
           
 
Method Summary
 boolean isTransient()
          Determine whether this code represents a transient error
static Outcome.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Outcome.Code[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final Outcome.Code SUCCESS

SUCCESS_REQUESTS_PENDING

public static final Outcome.Code SUCCESS_REQUESTS_PENDING

ERROR_CM_IO

public static final Outcome.Code ERROR_CM_IO

ERROR_CM_APDU_SW

public static final Outcome.Code ERROR_CM_APDU_SW

ERROR_CM_INCORRECT

public static final Outcome.Code ERROR_CM_INCORRECT

ERROR_CM_UNSUPPORTED

public static final Outcome.Code ERROR_CM_UNSUPPORTED

ERROR_CM_NOT_PRESENT

public static final Outcome.Code ERROR_CM_NOT_PRESENT

ERROR_CM_MULTIPLE_PRESENT

public static final Outcome.Code ERROR_CM_MULTIPLE_PRESENT

DENIED_UNKNOWN_ORIGINATOR

public static final Outcome.Code DENIED_UNKNOWN_ORIGINATOR

DENIED_BLOCKED_ORIGINATOR

public static final Outcome.Code DENIED_BLOCKED_ORIGINATOR

DENIED_XML_INVALID

public static final Outcome.Code DENIED_XML_INVALID

DENIED_ISRN_INVALID

public static final Outcome.Code DENIED_ISRN_INVALID

DENIED_PRODUCT_UNKNOWN

public static final Outcome.Code DENIED_PRODUCT_UNKNOWN

DENIED_PRODUCT_INVALID

public static final Outcome.Code DENIED_PRODUCT_INVALID

DENIED_VGXREF_REQUIRED

public static final Outcome.Code DENIED_VGXREF_REQUIRED

DENIED_PRODUCT_UNSUITABLE_FOR_CM

public static final Outcome.Code DENIED_PRODUCT_UNSUITABLE_FOR_CM

DENIED_PARAMETER_VALIDATION

public static final Outcome.Code DENIED_PARAMETER_VALIDATION

DENIED_REQUEST_ID_INVALID

public static final Outcome.Code DENIED_REQUEST_ID_INVALID

DENIED_ALREADY_CARRIED_OUT

public static final Outcome.Code DENIED_ALREADY_CARRIED_OUT

ERROR_RTD_NOT_PERFORMED

public static final Outcome.Code ERROR_RTD_NOT_PERFORMED

ERROR_RTD_NO_TXN

public static final Outcome.Code ERROR_RTD_NO_TXN

ERROR_RTD_CARD_CORRUPT

public static final Outcome.Code ERROR_RTD_CARD_CORRUPT

ERROR_RTD_CARD_EXPIRED

public static final Outcome.Code ERROR_RTD_CARD_EXPIRED

ERROR_RTD_CARD_NOT_SUPPORTED

public static final Outcome.Code ERROR_RTD_CARD_NOT_SUPPORTED

ERROR_RTD_CARD_BLOCKED

public static final Outcome.Code ERROR_RTD_CARD_BLOCKED

ERROR_RTD_ISAM_ERROR

public static final Outcome.Code ERROR_RTD_ISAM_ERROR

ERROR_RTD_ISAM_ALLOCATION_ERROR

public static final Outcome.Code ERROR_RTD_ISAM_ALLOCATION_ERROR

ERROR_RTD_REQUEST_DETAILS_REQUIRED

public static final Outcome.Code ERROR_RTD_REQUEST_DETAILS_REQUIRED

ERROR_RTD_UNSPECIFIED

public static final Outcome.Code ERROR_RTD_UNSPECIFIED

ERROR_RTD_CANCELLED

public static final Outcome.Code ERROR_RTD_CANCELLED

ERROR_RTD_COMMS

public static final Outcome.Code ERROR_RTD_COMMS

ERROR_RTD_COMMS_AUTHENTICATION_REQUIRED

public static final Outcome.Code ERROR_RTD_COMMS_AUTHENTICATION_REQUIRED
Method Detail

values

public static Outcome.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Outcome.Code c : Outcome.Code.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Outcome.Code valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isTransient

public boolean isTransient()
Determine whether this code represents a transient error

Returns:
true if transient, else false


Copyright © 2013 Ecebs Ltd. All Rights Reserved.