public enum SupplyKind extends Enum<SupplyKind>
| Enum Constant and Description |
|---|
CENTRAL
Supply is stored and requested from central supply
|
NONSTOCK
Supply is not onsite and must be requested from an outside vendor using a non-stock requisition
|
NULL
added to help the parsers
|
| Modifier and Type | Method and Description |
|---|---|
static SupplyKind |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static SupplyKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupplyKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupplyKind CENTRAL
public static final SupplyKind NONSTOCK
public static final SupplyKind NULL
public static SupplyKind[] values()
for (SupplyKind c : SupplyKind.values()) System.out.println(c);
public static SupplyKind 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 static SupplyKind fromCode(String codeString) throws Exception
Exceptionpublic String getDefinition()
public String getDisplay()
Copyright © 2014–2018 University Health Network. All rights reserved.