public enum EnumSmokingStatus extends java.lang.Enum<EnumSmokingStatus>
| Enum Constant and Description |
|---|
NO
The NO.
|
UNKNOWN
The UNKNOWN.
|
YES
The YES.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
This function returns the String value of this enum.
|
static EnumSmokingStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumSmokingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumSmokingStatus YES
public static final EnumSmokingStatus NO
public static final EnumSmokingStatus UNKNOWN
public static EnumSmokingStatus[] values()
for (EnumSmokingStatus c : EnumSmokingStatus.values()) System.out.println(c);
public static EnumSmokingStatus 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()