java.lang.Object
java.lang.Enum<Name.Field>
org.wso2.carbon.registry.social.api.people.userprofile.model.Name.Field
All Implemented Interfaces:
Serializable, Comparable<Name.Field>, java.lang.constant.Constable
Enclosing interface:
Name

public static enum Name.Field extends Enum<Name.Field>
An enumeration of fields in the json name object.
  • Enum Constant Details

    • 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 Details

    • values

      public static Name.Field[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Name.Field>
      See Also: