public enum IdentityType extends java.lang.Enum<IdentityType>
| Enum Constant and Description |
|---|
EMAIL |
EXT |
FACEBOOK |
FAX |
GOOGLE |
MACHINE |
MSISDN
More types can be added on demand
|
OPENID |
TWITTER |
UID |
USERNAME |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidIdentityType(java.lang.String type) |
static IdentityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdentityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityType MSISDN
public static final IdentityType USERNAME
public static final IdentityType EXT
public static final IdentityType EMAIL
public static final IdentityType MACHINE
public static final IdentityType UID
public static final IdentityType FACEBOOK
public static final IdentityType GOOGLE
public static final IdentityType TWITTER
public static final IdentityType OPENID
public static final IdentityType FAX
public static IdentityType[] values()
for (IdentityType c : IdentityType.values()) System.out.println(c);
public static IdentityType 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 static boolean isValidIdentityType(java.lang.String type)