Enum Name.Field

    • Enum Constant Detail

      • ADDITIONAL_NAME

        public static final Name.Field ADDITIONAL_NAME
        The additional name.
      • FAMILY_NAME

        public static final Name.Field FAMILY_NAME
        The family name.
      • GIVEN_NAME

        public static final Name.Field GIVEN_NAME
        The given name.
      • HONORIFIC_PREFIX

        public static final Name.Field HONORIFIC_PREFIX
        The honorific prefix.
      • HONORIFIC_SUFFIX

        public static final Name.Field HONORIFIC_SUFFIX
        The honorific suffix.
      • FORMATTED

        public static final Name.Field FORMATTED
        The formatted name.
    • Method Detail

      • values

        public static Name.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 (Name.Field c : Name.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 Name.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