java.lang.Object
java.lang.Enum<Mutability>
de.captaingoldfish.scim.sdk.common.constants.enums.Mutability
All Implemented Interfaces:
Serializable, Comparable<Mutability>, java.lang.constant.Constable

public enum Mutability extends Enum<Mutability>
author Pascal Knueppel
created at: 28.09.2019 - 17:58

A single keyword indicating the circumstances under which the value of the attribute can be (re)defined: readOnly The attribute SHALL NOT be modified. readWrite The attribute MAY be updated and read at any time. This is the default value. immutable The attribute MAY be defined at resource creation (e.g., POST) or at record replacement via a request (e.g., a PUT). The attribute SHALL NOT be updated. writeOnly The attribute MAY be updated at any time. Attribute values SHALL NOT be returned (e.g., because the value is a stored hash). Note: An attribute with a mutability of "writeOnly" usually also has a returned setting of "never".
  • Enum Constant Details

    • READ_ONLY

      public static final Mutability READ_ONLY
    • READ_WRITE

      public static final Mutability READ_WRITE
    • IMMUTABLE

      public static final Mutability IMMUTABLE
    • WRITE_ONLY

      public static final Mutability WRITE_ONLY
  • Method Details

    • values

      public static Mutability[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Mutability 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 name
      NullPointerException - if the argument is null
    • getByValue

      public static Mutability getByValue(String value)
    • getValue

      public String getValue()