Package ca.uhn.fhir.jpa.model.config
Enum PartitionSettings.BlockPatientCompartmentUpdateMode
java.lang.Object
java.lang.Enum<PartitionSettings.BlockPatientCompartmentUpdateMode>
ca.uhn.fhir.jpa.model.config.PartitionSettings.BlockPatientCompartmentUpdateMode
- All Implemented Interfaces:
Serializable
,Comparable<PartitionSettings.BlockPatientCompartmentUpdateMode>
- Enclosing class:
PartitionSettings
public static enum PartitionSettings.BlockPatientCompartmentUpdateMode
extends Enum<PartitionSettings.BlockPatientCompartmentUpdateMode>
-
Enum Constant Summary
Enum ConstantDescriptionResource updates which would change resource's patient compartment are blocked.Resource updates which would change resource's patient compartment are blocked when Partition Selection Mode is PATIENT_IDResource updates which would change resource's patient compartment are allowed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Resource updates which would change resource's patient compartment are blocked. -
DEFAULT
Resource updates which would change resource's patient compartment are blocked when Partition Selection Mode is PATIENT_ID -
NEVER
Resource updates which would change resource's patient compartment are allowed.
-
-
Method Details
-
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
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
-