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