public enum VendorRuleAddressStateZipFixture extends Enum<VendorRuleAddressStateZipFixture>
| Enum Constant and Description |
|---|
BOTH_US_BOTH_STATES_BOTH_ZIPS |
BOTH_US_BOTH_STATES_ONE_ZIP_ONE_EMPTY |
BOTH_US_BOTH_STATES_ONE_ZIP_ONE_NULL |
| Modifier and Type | Method and Description |
|---|---|
List<VendorAddress> |
populateAddresses()
This method does the setup for the tests which examine the implementation of the requirement that, if a vendor address's
country is the United States, the address must have a state and a zip code.
|
static VendorRuleAddressStateZipFixture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VendorRuleAddressStateZipFixture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VendorRuleAddressStateZipFixture BOTH_US_BOTH_STATES_BOTH_ZIPS
public static final VendorRuleAddressStateZipFixture BOTH_US_BOTH_STATES_ONE_ZIP_ONE_NULL
public static final VendorRuleAddressStateZipFixture BOTH_US_BOTH_STATES_ONE_ZIP_ONE_EMPTY
public static VendorRuleAddressStateZipFixture[] values()
for (VendorRuleAddressStateZipFixture c : VendorRuleAddressStateZipFixture.values()) System.out.println(c);
public static VendorRuleAddressStateZipFixture 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 List<VendorAddress> populateAddresses()
country1 - Any String, really, but possibly a country value from KFSConstants.zip1 - Also any String, intended to be a Zip code.country2 - Country for the second address of the collectionzip2 - Zip code for the second address of the collectionCopyright © 2004–2015 The Kuali Foundation. All rights reserved.