Enum Class ScimMembershipPatch.Kind
- All Implemented Interfaces:
Serializable, Comparable<ScimMembershipPatch.Kind>, Constable
- Enclosing class:
ScimMembershipPatch
Ordered instruction kinds; compare member IDs exactly, regardless of text collation.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAppend IDs absent from current membership, preserving existing metadata and order.Remove the optional members attribute, yielding absence rather than a present empty array.Remove the exact IDs if present; absent IDs are no-ops.Replace represented sequence, retaining metadata for surviving exact IDs; an empty list represents an empty array. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScimMembershipPatch.KindReturns the enum constant of this class with the specified name.static ScimMembershipPatch.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ADD_IDS
Append IDs absent from current membership, preserving existing metadata and order. An empty values list is a no-op that preserves absent, empty or assigned membership. -
REMOVE_IDS
Remove the exact IDs if present; absent IDs are no-ops. Removing the last value from an existing members array leaves it present and empty. -
CLEAR
Remove the optional members attribute, yielding absence rather than a present empty array. This differs from REPLACE_IDS with an empty list. -
REPLACE_IDS
Replace represented sequence, retaining metadata for surviving exact IDs; an empty list represents an empty array.
-
-
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
-