public static enum UserConfig.ContactType extends Enum<UserConfig.ContactType>
Enum Constant and Description |
---|
email |
homePhone |
microblog |
mobilePhone |
numericPage |
pagerEmail |
textPage |
workPhone |
xmppAddress |
Modifier and Type | Method and Description |
---|---|
static UserConfig.ContactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserConfig.ContactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserConfig.ContactType email
public static final UserConfig.ContactType pagerEmail
public static final UserConfig.ContactType xmppAddress
public static final UserConfig.ContactType microblog
public static final UserConfig.ContactType numericPage
public static final UserConfig.ContactType textPage
public static final UserConfig.ContactType workPhone
public static final UserConfig.ContactType mobilePhone
public static final UserConfig.ContactType homePhone
public static UserConfig.ContactType[] values()
for (UserConfig.ContactType c : UserConfig.ContactType.values()) System.out.println(c);
public static UserConfig.ContactType 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 © 2016. All rights reserved.