Record Class CheckConstraintRenderRequest
java.lang.Object
java.lang.Record
org.hibernate.dialect.constraint.spi.CheckConstraintRenderRequest
-
Constructor Summary
ConstructorsConstructorDescriptionCheckConstraintRenderRequest(CheckConstraintPlacement placement, String name, String expression, String options) Creates an instance of aCheckConstraintRenderRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpressionrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.options()Returns the value of theoptionsrecord component.Returns the value of theplacementrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CheckConstraintRenderRequest
public CheckConstraintRenderRequest(CheckConstraintPlacement placement, @Nullable String name, String expression, @Nullable String options) Creates an instance of aCheckConstraintRenderRequestrecord class.- Parameters:
placement- the value for theplacementrecord componentname- the value for thenamerecord componentexpression- the value for theexpressionrecord componentoptions- the value for theoptionsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
placement
Returns the value of theplacementrecord component.- Returns:
- the value of the
placementrecord component
-
name
-
expression
Returns the value of theexpressionrecord component.- Returns:
- the value of the
expressionrecord component
-
options
-