Enum Class AddressParts

java.lang.Object
java.lang.Enum<AddressParts>
formflow.library.inputs.AddressParts
All Implemented Interfaces:
Serializable, Comparable<AddressParts>, Constable

public enum AddressParts extends Enum<AddressParts>
Fields used to define an address fragment
  • Enum Constant Details

    • STREET_ADDRESS_1

      public static final AddressParts STREET_ADDRESS_1
      Street component of an address
    • STREET_ADDRESS_2

      public static final AddressParts STREET_ADDRESS_2
      Apartment, suite, or office number
    • CITY

      public static final AddressParts CITY
      City name
    • STATE

      public static final AddressParts STATE
      The State value stored as the state code, a two character String, for example, "IL", "CA", etc.
    • ZIPCODE

      public static final AddressParts ZIPCODE
      Five or nine digit value used by the post office to facilitate the delivery of mail.
  • Method Details

    • values

      public static AddressParts[] 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

      public static AddressParts valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AddressParts>