public enum OMRSEventErrorCode extends Enum<OMRSEventErrorCode> implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the enum, used when there is not natural
language resource bundle available.
|
String |
getName()
Return the name for the enum, used for message content.
|
int |
getOrdinal()
Return the identifier for the enum, used for indexing arrays etc with the enum.
|
String |
toString()
toString() JSON-style
|
static OMRSEventErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMRSEventErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMRSEventErrorCode NOT_IN_USE
public static final OMRSEventErrorCode INVALID_EVENT_FORMAT
public static final OMRSEventErrorCode INVALID_REGISTRY_EVENT
public static final OMRSEventErrorCode INVALID_TYPEDEF_EVENT
public static final OMRSEventErrorCode INVALID_INSTANCE_EVENT
public static final OMRSEventErrorCode CONFLICTING_COLLECTION_ID
public static final OMRSEventErrorCode BAD_REMOTE_CONNECTION
public static final OMRSEventErrorCode CONFLICTING_TYPEDEFS
public static final OMRSEventErrorCode CONFLICTING_ATTRIBUTE_TYPEDEFS
public static final OMRSEventErrorCode TYPEDEF_PATCH_MISMATCH
public static final OMRSEventErrorCode CONFLICTING_INSTANCES
public static final OMRSEventErrorCode CONFLICTING_TYPE
public static final OMRSEventErrorCode UNKNOWN_ERROR_CODE
public static OMRSEventErrorCode[] values()
for (OMRSEventErrorCode c : OMRSEventErrorCode.values()) System.out.println(c);
public static OMRSEventErrorCode 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<OMRSEventErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.