|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OrderService.ORDER_STATUS> org.openmrs.api.OrderService.ORDER_STATUS
public static enum OrderService.ORDER_STATUS
The type of status to match on an order. Used in getOrder* methods
Enum Constant Summary | |
---|---|
ANY
All orders match on this status |
|
COMPLETE
Only orders that the patient has completed |
|
CURRENT
The patient is considered to be currently on this order |
|
NOTVOIDED
All orders that have not been voided/deleted |
Method Summary | |
---|---|
static OrderService.ORDER_STATUS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OrderService.ORDER_STATUS[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OrderService.ORDER_STATUS CURRENT
public static final OrderService.ORDER_STATUS ANY
public static final OrderService.ORDER_STATUS COMPLETE
public static final OrderService.ORDER_STATUS NOTVOIDED
Method Detail |
---|
public static OrderService.ORDER_STATUS[] values()
for (OrderService.ORDER_STATUS c : OrderService.ORDER_STATUS.values()) System.out.println(c);
public static OrderService.ORDER_STATUS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |