Package com.iizix.urn.user
Enum Class UserProfileImageURNType
- All Implemented Interfaces:
Serializable
,Comparable<UserProfileImageURNType>
,Constable
Possible type values for the
{@link UserProfileImageURN}
.- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionThe cropped uploaded profile image, the highest resolution.The DETAIL for file name for a large profile image (normally a large PNG, cropped and reduced perhaps: max size about 500x500).The DETAIL for file name for thumbnail profile image (normally a PNG of about 150x150).The uploaded profile image, the highest resolution.Field Summary
Method Summary
Modifier and TypeMethodDescriptionstatic 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.static UserProfileImageURNType
Returns the enum constant of this class with the specified name.static UserProfileImageURNType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
Uploaded
The uploaded profile image, the highest resolution.CroppedUploaded
The cropped uploaded profile image, the highest resolution. The image might be circular.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
The DETAIL for file name for thumbnail profile image (normally a PNG of about 150x150).
Field Details
detail
The DETAIL string for the User Details.
Method Details
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
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 nameNullPointerException
- if the argument is null
fromString
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.