public enum CommonMessageID extends Enum<CommonMessageID> implements MessageID
| Enum Constant and Description |
|---|
INVALID_ARG |
MISSING_ARG |
MISSING_CONFIG |
NOT_FOUND |
SERVICE_FAILURE |
SERVICE_NOT_AVAILABLE |
SERVICE_TIMEOUT |
SUCCESS |
SUCCESSFULL_UPDATE |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Message |
getMessage() |
Message |
getMessage(String message) |
Message.MessageType |
getMessageType() |
String |
getSysId() |
void |
setSysId(String sysId) |
static CommonMessageID |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonMessageID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonMessageID SERVICE_NOT_AVAILABLE
public static final CommonMessageID SUCCESS
public static final CommonMessageID SUCCESSFULL_UPDATE
public static final CommonMessageID SERVICE_TIMEOUT
public static final CommonMessageID SERVICE_FAILURE
public static final CommonMessageID MISSING_ARG
public static final CommonMessageID MISSING_CONFIG
public static final CommonMessageID INVALID_ARG
public static final CommonMessageID NOT_FOUND
public static CommonMessageID[] values()
for (CommonMessageID c : CommonMessageID.values()) System.out.println(c);
public static CommonMessageID valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Message getMessage()
public void setSysId(String sysId)
public Message.MessageType getMessageType()
getMessageType in interface MessageIDCopyright © 2018–2019 Butor Inc.. All rights reserved.