Package io.jans.scim.model.scim2.user
Enum Photo.Type
- java.lang.Object
-
- java.lang.Enum<Photo.Type>
-
- io.jans.scim.model.scim2.user.Photo.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Photo.Type>
- Enclosing class:
- Photo
public static enum Photo.Type extends Enum<Photo.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Photo.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Photo.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PHOTO
public static final Photo.Type PHOTO
-
THUMBNAIL
public static final Photo.Type THUMBNAIL
-
-
Method Detail
-
values
public static Photo.Type[] 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 (Photo.Type c : Photo.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Photo.Type 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 nameNullPointerException
- if the argument is null
-
-