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