public enum MedicalNeedEnumeration extends Enum<MedicalNeedEnumeration>
Java class for MedicalNeedEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MedicalNeedEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="allergic"/>
<enumeration value="heartCondition"/>
<enumeration value="otherMedicalNeed"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALLERGIC |
HEART_CONDITION |
OTHER_MEDICAL_NEED |
| Modifier and Type | Method and Description |
|---|---|
static MedicalNeedEnumeration |
fromValue(String v) |
String |
value() |
static MedicalNeedEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MedicalNeedEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MedicalNeedEnumeration ALLERGIC
public static final MedicalNeedEnumeration HEART_CONDITION
public static final MedicalNeedEnumeration OTHER_MEDICAL_NEED
public static MedicalNeedEnumeration[] values()
for (MedicalNeedEnumeration c : MedicalNeedEnumeration.values()) System.out.println(c);
public static MedicalNeedEnumeration 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 String value()
public static MedicalNeedEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.