Top Description Fields Constructors Methods
jakarta.persistence

public final Enum ConstraintMode

extends Enum<ConstraintMode>
Class Inheritance

Used to control the application of a constraint.
Since
2.1

Field Summary

Modifier and TypeField and Description
public static final ConstraintMode
CONSTRAINT

Apply the constraint.

public static final ConstraintMode
NO_CONSTRAINT

Do not apply the constraint.

public static final ConstraintMode
PROVIDER_DEFAULT

Use the provider-defined default behavior.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ConstraintMode
public static ConstraintMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONSTRAINTback to summary
public static final ConstraintMode CONSTRAINT

Apply the constraint.

NO_CONSTRAINTback to summary
public static final ConstraintMode NO_CONSTRAINT

Do not apply the constraint.

PROVIDER_DEFAULTback to summary
public static final ConstraintMode PROVIDER_DEFAULT

Use the provider-defined default behavior.

Constructor Detail

ConstraintModeback to summary
private ConstraintMode()

Method Detail

valueOfback to summary
public static ConstraintMode valueOf(String name)
valuesback to summary
public static ConstraintMode[] values()