public static enum AddressData.Requirements extends Enum<AddressData.Requirements>
| Enum Constant and Description | 
|---|
FULL_ADDRESS
All fields have to be filled 
 | 
NONE
Each value within the address can filled or empty 
 | 
NOT_PARTIAL
If one of the fields is filled, all others have to be filled 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AddressData.Requirements | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static AddressData.Requirements[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final AddressData.Requirements NONE
public static final AddressData.Requirements NOT_PARTIAL
public static final AddressData.Requirements FULL_ADDRESS
public static AddressData.Requirements[] values()
for (AddressData.Requirements c : AddressData.Requirements.values()) System.out.println(c);
public static AddressData.Requirements 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 nullCopyright © 2018. All rights reserved.