public final class CMCStatus
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CMCStatus |
FAILED
CMCStatus Code of FAILED - Value = 2
|
static CMCStatus |
NO_SUPPORT
CMCStatus Code of NO_SUPPORT - Value = 4
|
static CMCStatus |
PENDING
CMCStatus Code of PENDING - Value = 3
|
static CMCStatus |
SUCCESS
CMCStatus Code of SUCCESS - Value = 0
|
| Constructor and Description |
|---|
CMCStatus(int code, java.lang.String message)
Create a
CMCStatus instance with the specified values. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this
CMCStatus to the specified object. |
int |
getStatusCode()
Returns the status code.
|
java.lang.String |
getStatusString()
Returns the status message.
|
public static final CMCStatus SUCCESS
public static final CMCStatus FAILED
public static final CMCStatus PENDING
public static final CMCStatus NO_SUPPORT
public CMCStatus(int code,
java.lang.String message)
CMCStatus instance with the specified values.code - The status code.message - The status message.public int getStatusCode()
public java.lang.String getStatusString()
public boolean equals(java.lang.Object o)
CMCStatus to the specified object. Returns true if and only if the argument is not null and is an CMCStatus object which has the same code as this object.equals in class java.lang.Object