Enum Address.Field

    • Enum Constant Detail

      • COUNTRY

        public static final Address.Field COUNTRY
        the field name for country.
      • LATITUDE

        public static final Address.Field LATITUDE
        the field name for latitude.
      • LOCALITY

        public static final Address.Field LOCALITY
        the field name for locality.
      • LONGITUDE

        public static final Address.Field LONGITUDE
        the field name for longitude.
      • POSTAL_CODE

        public static final Address.Field POSTAL_CODE
        the field name for postalCode.
      • REGION

        public static final Address.Field REGION
        the field name for region.
      • STREET_ADDRESS

        public static final Address.Field STREET_ADDRESS
        the feild name for streetAddress this field may be multiple lines.
      • TYPE

        public static final Address.Field TYPE
        the field name for type.
      • FORMATTED

        public static final Address.Field FORMATTED
        the field name for formatted.
      • PRIMARY

        public static final Address.Field PRIMARY
        the field name for primary.
    • Method Detail

      • values

        public static Address.Field[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Address.Field c : Address.Field.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Address.Field valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null