java.io.Serializable
, java.lang.Comparable<AddressType2Code>
public enum AddressType2Code extends java.lang.Enum<AddressType2Code>
Java class for AddressType2Code.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AddressType2Code"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="ADDR"/> <enumeration value="PBOX"/> <enumeration value="HOME"/> <enumeration value="BIZZ"/> <enumeration value="MLTO"/> <enumeration value="DLVY"/> </restriction> </simpleType>
Modifier and Type | Method | 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)
Copyright © 2018. All rights reserved.