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