|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webct.platform.sdk.systemintegrationapi.common.StatusCode
public class StatusCode
This class provides for type-safe status code constants, allowing lookup of a constant instance given either a String label or an int value.
| Field Summary | |
|---|---|
static StatusCode |
FAILURE
FAILURE |
static int |
FAILURE_ID
|
static StatusCode |
PARTIAL_FAILURE
PARTIAL_FAILURE |
static int |
PARTIAL_FAILURE_ID
|
static StatusCode |
SUCCESS
SUCCESS |
static int |
SUCCESS_ID
|
static StatusCode |
UNPROCESSED
UNPROCESSED |
static int |
UNPROCESSED_ID
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a clone. |
boolean |
equals(java.lang.Object obj)
Evaluates for equivalence. |
int |
hashCode()
Returns a unique identifier for this instance. |
int |
intValue()
Returns the integer value. |
static StatusCode |
lookup(int value)
Gets the appropriate StatusCode given an integer value. |
static StatusCode |
lookup(java.lang.String value)
Gets the appropriate StatusCode given a string value. |
java.lang.String |
toString()
Returns the string representation. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int UNPROCESSED_ID
public static final int SUCCESS_ID
public static final int PARTIAL_FAILURE_ID
public static final int FAILURE_ID
public static final StatusCode UNPROCESSED
StatusCode
public static final StatusCode SUCCESS
StatusCode
public static final StatusCode PARTIAL_FAILURE
StatusCode
public static final StatusCode FAILURE
StatusCode
| Method Detail |
|---|
public static StatusCode lookup(int value)
StatusCode
public static StatusCode lookup(java.lang.String value)
StatusCode
public final int intValue()
StatusCode
public final java.lang.String toString()
StatusCode
toString in class java.lang.Objectpublic int hashCode()
StatusCode
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
StatusCode
equals in class java.lang.Objectobj - object of comparison
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
StatusCode
clone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||