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

public static enum Url.Field extends Enum<Url.Field>
An enumeration of the field names used in Url objects.
  • Enum Constant Details

    • VALUE

      public static final Url.Field VALUE
      the name of the value field.
    • TYPE

      public static final Url.Field TYPE
      the name of the type field.
  • Method Details

    • values

      public static Url.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 Url.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()
      The string representation of the enum.
      Overrides:
      toString in class Enum<Url.Field>