public enum PurposeOfUse extends Enum<PurposeOfUse>
| Modifier and Type | Method and Description |
|---|---|
static PurposeOfUse |
fromCode(CE code) |
CE |
getCode() |
static PurposeOfUse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurposeOfUse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurposeOfUse NORMAL
public static final PurposeOfUse EMERGENCY
public static PurposeOfUse[] values()
for (PurposeOfUse c : PurposeOfUse.values()) System.out.println(c);
public static PurposeOfUse 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 PurposeOfUse fromCode(CE code)
public CE getCode()
Copyright © 2019 Open eHealth Foundation. All rights reserved.