public enum ContactPhoneType extends java.lang.Enum<ContactPhoneType>
| Enum Constant and Description |
|---|
Home |
HomeFax |
Main |
Mobile |
Other |
Unknown |
Work |
WorkFax |
| Modifier and Type | Method and Description |
|---|---|
static ContactPhoneType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContactPhoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactPhoneType Mobile
public static final ContactPhoneType Work
public static final ContactPhoneType Home
public static final ContactPhoneType Main
public static final ContactPhoneType HomeFax
public static final ContactPhoneType WorkFax
public static final ContactPhoneType Other
public static final ContactPhoneType Unknown
public static ContactPhoneType[] values()
for (ContactPhoneType c : ContactPhoneType.values()) System.out.println(c);
public static ContactPhoneType 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 null