org.csapi.jr.se.fw
Class SvcUnavailReason

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

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

Defines the reason why a SCF is unavailable.

See Also:
Serialized Form

Field Summary
static int _SERVICE_UNAVAILABLE_CLOSED
          The SCF has closed itself (for example to protect from fraud or malicious attack)
static int _SERVICE_UNAVAILABLE_GATEWAY_FAILURE
          The gateway API software or hardware has failed
static int _SERVICE_UNAVAILABLE_LOCAL_FAILURE
          The Local API software or hardware has failed
static int _SERVICE_UNAVAILABLE_OVERLOADED
          The SCF is fully overloaded
static int _SERVICE_UNAVAILABLE_UNDEFINED
          Undefined
static org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_CLOSED
          The SCF has closed itself (for example to protect from fraud or malicious attack)
static org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_GATEWAY_FAILURE
          The gateway API software or hardware has failed
static org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_LOCAL_FAILURE
          The Local API software or hardware has failed
static org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_OVERLOADED
          The SCF is fully overloaded
static org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_UNDEFINED
          Undefined
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.fw.SvcUnavailReason 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

_SERVICE_UNAVAILABLE_UNDEFINED

public static final int _SERVICE_UNAVAILABLE_UNDEFINED
Undefined

See Also:
Constant Field Values

SERVICE_UNAVAILABLE_UNDEFINED

public static final org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_UNDEFINED
Undefined


_SERVICE_UNAVAILABLE_LOCAL_FAILURE

public static final int _SERVICE_UNAVAILABLE_LOCAL_FAILURE
The Local API software or hardware has failed

See Also:
Constant Field Values

SERVICE_UNAVAILABLE_LOCAL_FAILURE

public static final org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_LOCAL_FAILURE
The Local API software or hardware has failed


_SERVICE_UNAVAILABLE_GATEWAY_FAILURE

public static final int _SERVICE_UNAVAILABLE_GATEWAY_FAILURE
The gateway API software or hardware has failed

See Also:
Constant Field Values

SERVICE_UNAVAILABLE_GATEWAY_FAILURE

public static final org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_GATEWAY_FAILURE
The gateway API software or hardware has failed


_SERVICE_UNAVAILABLE_OVERLOADED

public static final int _SERVICE_UNAVAILABLE_OVERLOADED
The SCF is fully overloaded

See Also:
Constant Field Values

SERVICE_UNAVAILABLE_OVERLOADED

public static final org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_OVERLOADED
The SCF is fully overloaded


_SERVICE_UNAVAILABLE_CLOSED

public static final int _SERVICE_UNAVAILABLE_CLOSED
The SCF has closed itself (for example to protect from fraud or malicious attack)

See Also:
Constant Field Values

SERVICE_UNAVAILABLE_CLOSED

public static final org.csapi.jr.se.fw.SvcUnavailReason SERVICE_UNAVAILABLE_CLOSED
The SCF has closed itself (for example to protect from fraud or malicious attack)

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

getObject

public static org.csapi.jr.se.fw.SvcUnavailReason 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