Package io.jans.scim.model.scim2
Enum AttributeDefinition.Returned
- java.lang.Object
-
- java.lang.Enum<AttributeDefinition.Returned>
-
- io.jans.scim.model.scim2.AttributeDefinition.Returned
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeDefinition.Returned>
- Enclosing class:
- AttributeDefinition
public static enum AttributeDefinition.Returned extends Enum<AttributeDefinition.Returned>
This enum is used to describe when/if an attribute should be returned in response to SCIM method invocations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
Indicates that the attribute is always returned.DEFAULT
Indicates that the attribute is returned by default.NEVER
Indicates that the attribute is never returned.REQUEST
Indicates that the attribute is only returned if requested.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Returns the keyword for the returned characteristic as in section 7 of RFC7643.static AttributeDefinition.Returned
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeDefinition.Returned[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final AttributeDefinition.Returned ALWAYS
Indicates that the attribute is always returned.
-
NEVER
public static final AttributeDefinition.Returned NEVER
Indicates that the attribute is never returned.
-
DEFAULT
public static final AttributeDefinition.Returned DEFAULT
Indicates that the attribute is returned by default.
-
REQUEST
public static final AttributeDefinition.Returned REQUEST
Indicates that the attribute is only returned if requested.
-
-
Method Detail
-
values
public static AttributeDefinition.Returned[] 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 (AttributeDefinition.Returned c : AttributeDefinition.Returned.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeDefinition.Returned 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
-
getName
public String getName()
Returns the keyword for the returned characteristic as in section 7 of RFC7643.- Returns:
- A string value
-
-