public static enum CommonEmailAddress.Purpose extends Enum<CommonEmailAddress.Purpose>
| Enum Constant and Description |
|---|
HOME |
OTHER |
UNSPECIFIED |
WORK |
| Modifier and Type | Method and Description |
|---|---|
static CommonEmailAddress.Purpose |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonEmailAddress.Purpose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonEmailAddress.Purpose WORK
public static final CommonEmailAddress.Purpose HOME
public static final CommonEmailAddress.Purpose OTHER
public static final CommonEmailAddress.Purpose UNSPECIFIED
public static CommonEmailAddress.Purpose[] values()
for (CommonEmailAddress.Purpose c : CommonEmailAddress.Purpose.values()) System.out.println(c);
public static CommonEmailAddress.Purpose 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 © 2020. All rights reserved.