Enum Class UserProfileImageURNType

java.lang.Object
java.lang.Enum<UserProfileImageURNType>
com.iizix.urn.user.UserProfileImageURNType
All Implemented Interfaces:
Serializable, Comparable<UserProfileImageURNType>, Constable

public enum UserProfileImageURNType extends Enum<UserProfileImageURNType>
Possible type values for the {@link UserProfileImageURN}.
Author:
Christopher Mindus
  • Enum Constant Details

    • Uploaded

      public static final UserProfileImageURNType Uploaded
      The uploaded profile image, the highest resolution.
    • CroppedUploaded

      public static final UserProfileImageURNType CroppedUploaded
      The cropped uploaded profile image, the highest resolution. The image might be circular.
    • Large

      public static final UserProfileImageURNType Large
      The DETAIL for file name for a large profile image (normally a large PNG, cropped and reduced perhaps: max size about 500x500). This detail is NOT stored in the server's database table for details.
    • Thumbnail

      public static final UserProfileImageURNType Thumbnail
      The DETAIL for file name for thumbnail profile image (normally a PNG of about 150x150).
  • Field Details

    • detail

      public final String detail
      The DETAIL string for the User Details.
  • Method Details

    • values

      public static UserProfileImageURNType[] 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 UserProfileImageURNType 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
    • fromString

      public static UserProfileImageURNType fromString(String type)
      Gets the URN Profile User Image type from a string, case insensitive, the match with "enum" values in this class must match precisely.
      Parameters:
      type - The URN Profile User String type.
      Returns:
      The UserProfileStringURNQuery instance, or null if not found.