public enum AddressType2Code extends java.lang.Enum<AddressType2Code>
Enum Constant and Description |
---|
ADDR
Address is the complete postal address.
|
BIZZ
Address is the business address.
|
DLVY
Address is the address to which delivery is to take place.
|
HOME
Address is the home address.
|
MLTO
Address is the address to which mail is sent.
|
PBOX
Address is a postal office (PO) box.
|
Modifier and Type | Method and Description |
---|---|
static AddressType2Code |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static AddressType2Code |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddressType2Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressType2Code ADDR
public static final AddressType2Code PBOX
public static final AddressType2Code HOME
public static final AddressType2Code BIZZ
public static final AddressType2Code MLTO
public static final AddressType2Code DLVY
public static AddressType2Code[] values()
for (AddressType2Code c : AddressType2Code.values()) System.out.println(c);
public static AddressType2Code 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 nullpublic java.lang.String value()
public static AddressType2Code fromValue(java.lang.String v)