public enum AllergenType extends Enum<AllergenType>
| Enum Constant and Description |
|---|
DRUG |
ENVIRONMENT |
FOOD |
OTHER |
| Modifier and Type | Method and Description |
|---|---|
static AllergenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllergenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllergenType DRUG
public static final AllergenType FOOD
public static final AllergenType ENVIRONMENT
public static final AllergenType OTHER
public static AllergenType[] values()
for (AllergenType c : AllergenType.values()) System.out.println(c);
public static AllergenType 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 nullCopyright © 2024 OpenMRS Inc.. All rights reserved.