public enum OMRSInstanceEventErrorCode extends Enum<OMRSInstanceEventErrorCode> implements Serializable
| Enum Constant and Description |
|---|
CONFLICTING_INSTANCES |
CONFLICTING_TYPE |
NOT_IN_USE |
UNKNOWN_ERROR_CODE |
| 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.
|
OMRSEventErrorCode |
getEncoding()
Return the encoding to use in OMRSEvents.
|
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 OMRSInstanceEventErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMRSInstanceEventErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMRSInstanceEventErrorCode NOT_IN_USE
public static final OMRSInstanceEventErrorCode CONFLICTING_INSTANCES
public static final OMRSInstanceEventErrorCode CONFLICTING_TYPE
public static final OMRSInstanceEventErrorCode UNKNOWN_ERROR_CODE
public static OMRSInstanceEventErrorCode[] values()
for (OMRSInstanceEventErrorCode c : OMRSInstanceEventErrorCode.values()) System.out.println(c);
public static OMRSInstanceEventErrorCode 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 OMRSEventErrorCode getEncoding()
public String toString()
toString in class Enum<OMRSInstanceEventErrorCode>Copyright © 2018–2019 ODPi. All rights reserved.