Enum ReferenceTypes
- java.lang.Object
-
- java.lang.Enum<ReferenceTypes>
-
- de.captaingoldfish.scim.sdk.common.constants.enums.ReferenceTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<ReferenceTypes>
public enum ReferenceTypes extends Enum<ReferenceTypes>
author Pascal Knueppel
created at: 29.09.2019 - 13:27
A multi-valued array of JSON strings that indicate the SCIM resource types that may be referenced. Valid values are as follows: + A SCIM resource type (e.g., "User" or "Group"), + "external" - indicating that the resource is an external resource (e.g., a photo), or + "uri" - indicating that the reference is to a service endpoint or an identifier (e.g., a schema URN). This attribute is only applicable for attributes that are of type "reference" (Section 2.3.7).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReferenceTypes
getByValue(String value)
static ReferenceTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReferenceTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE
public static final ReferenceTypes RESOURCE
-
EXTERNAL
public static final ReferenceTypes EXTERNAL
-
URI
public static final ReferenceTypes URI
-
-
Method Detail
-
values
public static ReferenceTypes[] 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 (ReferenceTypes c : ReferenceTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferenceTypes 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
-
getByValue
public static ReferenceTypes getByValue(String value)
-
-