Enum Class ScimMembershipPatch.Kind

java.lang.Object
java.lang.Enum<ScimMembershipPatch.Kind>
com.revetsec.scim.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
  • Enum Constant Details

    • ADD_IDS

      public static final ScimMembershipPatch.Kind 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

      public static final ScimMembershipPatch.Kind 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

      public static final ScimMembershipPatch.Kind 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

      public static ScimMembershipPatch.Kind[] 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

      public static ScimMembershipPatch.Kind valueOf(String name)
      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 name
      NullPointerException - if the argument is null