public enum OMRSEventCategory extends Enum<OMRSEventCategory> implements Serializable
| Enum Constant and Description |
|---|
GENERIC |
INSTANCE |
REGISTRY |
TYPEDEF |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the event category.
|
String |
getName()
Return the name of the event category.
|
int |
getOrdinal()
Return the code number for the event category.
|
String |
toString()
toString() JSON-style
|
static OMRSEventCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMRSEventCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMRSEventCategory UNKNOWN
public static final OMRSEventCategory REGISTRY
public static final OMRSEventCategory TYPEDEF
public static final OMRSEventCategory INSTANCE
public static final OMRSEventCategory GENERIC
public static OMRSEventCategory[] values()
for (OMRSEventCategory c : OMRSEventCategory.values()) System.out.println(c);
public static OMRSEventCategory 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<OMRSEventCategory>Copyright © 2018–2020 ODPi. All rights reserved.