public static enum UserIdentity.Type extends java.lang.Enum<UserIdentity.Type>
| Enum Constant and Description |
|---|
CUSTOMER |
EMAIL |
FACEBOOK |
GOOGLE |
MICROSOFT |
OTHER |
OTHER2 |
OTHER3 |
OTHER4 |
TWITTER |
YAHOO |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static UserIdentity.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserIdentity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserIdentity.Type OTHER
public static final UserIdentity.Type CUSTOMER
public static final UserIdentity.Type FACEBOOK
public static final UserIdentity.Type TWITTER
public static final UserIdentity.Type GOOGLE
public static final UserIdentity.Type MICROSOFT
public static final UserIdentity.Type YAHOO
public static final UserIdentity.Type EMAIL
public static final UserIdentity.Type OTHER2
public static final UserIdentity.Type OTHER3
public static final UserIdentity.Type OTHER4
public static UserIdentity.Type[] values()
for (UserIdentity.Type c : UserIdentity.Type.values()) System.out.println(c);
public static UserIdentity.Type 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 toString()
toString in class java.lang.Enum<UserIdentity.Type>