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