Enum Class ReconciliationRules.Mutability
- All Implemented Interfaces:
Serializable, Comparable<ReconciliationRules.Mutability>, Constable
- Enclosing class:
ReconciliationRules
A single keyword indicating the circumstances under which the value of the attribute can be (re)defined:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 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 modified.The attribute MAY be updated and read at any time.The attribute MAY be updated at any time. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ReconciliationRules.Mutability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_ONLY
The attribute SHALL NOT be modified. -
READ_WRITE
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. -
WRITE_ONLY
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".
-
-
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
-