public enum EnumCM_SmokingHistory extends java.lang.Enum<EnumCM_SmokingHistory>
| Enum Constant and Description |
|---|
CURRENT_SMOKER |
FORMER_SMOKER |
NO_HISTORY_OF_SMOKING |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
This function returns the String value of this enum.
|
static EnumCM_SmokingHistory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumCM_SmokingHistory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumCM_SmokingHistory NO_HISTORY_OF_SMOKING
public static final EnumCM_SmokingHistory CURRENT_SMOKER
public static final EnumCM_SmokingHistory FORMER_SMOKER
public static EnumCM_SmokingHistory[] values()
for (EnumCM_SmokingHistory c : EnumCM_SmokingHistory.values()) System.out.println(c);
public static EnumCM_SmokingHistory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()