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