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