public enum OMRSRegistryEventType extends Enum<OMRSRegistryEventType> implements Serializable
| Enum Constant and Description |
|---|
RE_REGISTRATION_EVENT |
REFRESH_REGISTRATION_REQUEST |
REGISTRATION_ERROR_EVENT |
REGISTRATION_EVENT |
UN_REGISTRATION_EVENT |
UNKNOWN_REGISTRY_EVENT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for the enum value.
|
String |
getName()
Return the string name used for messages that include the enum.
|
int |
getOrdinal()
Return the int identifier used for indexing based on the enum.
|
String |
toString()
toString() JSON-style
|
static OMRSRegistryEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMRSRegistryEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMRSRegistryEventType UNKNOWN_REGISTRY_EVENT
public static final OMRSRegistryEventType REGISTRATION_EVENT
public static final OMRSRegistryEventType REFRESH_REGISTRATION_REQUEST
public static final OMRSRegistryEventType RE_REGISTRATION_EVENT
public static final OMRSRegistryEventType UN_REGISTRATION_EVENT
public static final OMRSRegistryEventType REGISTRATION_ERROR_EVENT
public static OMRSRegistryEventType[] values()
for (OMRSRegistryEventType c : OMRSRegistryEventType.values()) System.out.println(c);
public static OMRSRegistryEventType 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<OMRSRegistryEventType>Copyright © 2018–2020 ODPi. All rights reserved.