public enum OMRSEventDirection extends Enum<OMRSEventDirection> 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 OMRSEventDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMRSEventDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMRSEventDirection UNKNOWN
public static final OMRSEventDirection INBOUND
public static final OMRSEventDirection OUTBOUND
public static OMRSEventDirection[] values()
for (OMRSEventDirection c : OMRSEventDirection.values()) System.out.println(c);
public static OMRSEventDirection 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<OMRSEventDirection>Copyright © 2018–2020 ODPi. All rights reserved.