Package formflow.library.inputs
Enum Class AddressParts
- All Implemented Interfaces:
Serializable,Comparable<AddressParts>,Constable
Fields used to define an address fragment
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCity nameThe State value stored as the state code, a two character String, for example, "IL", "CA", etc.Street component of an addressApartment, suite, or office numberFive or nine digit value used by the post office to facilitate the delivery of mail. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static AddressPartsReturns the enum constant of this class with the specified name.static AddressParts[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STREET_ADDRESS_1
Street component of an address -
STREET_ADDRESS_2
Apartment, suite, or office number -
CITY
City name -
STATE
The State value stored as the state code, a two character String, for example, "IL", "CA", etc. -
ZIPCODE
Five or nine digit value used by the post office to facilitate the delivery of mail.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<AddressParts>
-