public enum IdentifierType extends Enum<IdentifierType>
| Enum Constant and Description |
|---|
EMAIL |
EMAIL_AND_MOBILE_NUMBER |
MOBILE_NUMBER |
PERSONAL_IDENTIFICATION_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static IdentifierType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentifierType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentifierType PERSONAL_IDENTIFICATION_NUMBER
public static final IdentifierType EMAIL
public static final IdentifierType MOBILE_NUMBER
public static final IdentifierType EMAIL_AND_MOBILE_NUMBER
public static IdentifierType[] values()
for (IdentifierType c : IdentifierType.values()) System.out.println(c);
public static IdentifierType 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 nullCopyright © 2018 Digipost. All rights reserved.