public enum AddressNature extends java.lang.Enum<AddressNature>
| Enum Constant and Description |
|---|
AD
An address that belongs to an advertisement (third party address)
|
ORDER
A delivery address for an webshop order
|
USER
An address that belongs to an user
|
| Modifier and Type | Method and Description |
|---|---|
static AddressNature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddressNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressNature USER
public static final AddressNature ORDER
public static final AddressNature AD
public static AddressNature[] values()
for (AddressNature c : AddressNature.values()) System.out.println(c);
public static AddressNature 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 null