public enum AddressType2Code extends Enum<AddressType2Code>
Java-Klasse für AddressType2Code.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<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 and Description |
|---|---|
static AddressType2Code |
fromValue(String v) |
String |
value() |
static AddressType2Code |
valueOf(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(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 nullpublic String value()
public static AddressType2Code fromValue(String v)
Copyright © 2017. All rights reserved.