public enum DOBType extends Enum<DOBType>
| Enum Constant and Description |
|---|
APPROXIMATE
The approximate.
|
DECLARED
The declared.
|
VERIFIED
The verified.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDobType()
Gets the dob type.
|
static Optional<DOBType> |
getType(String dobType)
Gets the type.
|
static Boolean |
isTypePresent(String dobType)
Checks if is type present.
|
static DOBType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DOBType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOBType VERIFIED
public static final DOBType DECLARED
public static final DOBType APPROXIMATE
public static DOBType[] values()
for (DOBType c : DOBType.values()) System.out.println(c);
public static DOBType 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 getDobType()
public static Boolean isTypePresent(String dobType)
dobType - the dob typeCopyright © 2020. All rights reserved.