Record Class UniqueKeyRepresentationRequest
java.lang.Object
java.lang.Record
org.hibernate.dialect.unique.spi.UniqueKeyRepresentationRequest
-
Constructor Summary
ConstructorsConstructorDescriptionUniqueKeyRepresentationRequest(boolean containsFormula, boolean explicitType, boolean explicitUsing) Creates an instance of aUniqueKeyRepresentationRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecontainsFormularecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexplicitTyperecord component.booleanReturns the value of theexplicitUsingrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UniqueKeyRepresentationRequest
public UniqueKeyRepresentationRequest(boolean containsFormula, boolean explicitType, boolean explicitUsing) Creates an instance of aUniqueKeyRepresentationRequestrecord class.- Parameters:
containsFormula- the value for thecontainsFormularecord componentexplicitType- the value for theexplicitTyperecord componentexplicitUsing- the value for theexplicitUsingrecord 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 with thecomparemethod from their corresponding wrapper classes. -
containsFormula
public boolean containsFormula()Returns the value of thecontainsFormularecord component.- Returns:
- the value of the
containsFormularecord component
-
explicitType
public boolean explicitType()Returns the value of theexplicitTyperecord component.- Returns:
- the value of the
explicitTyperecord component
-
explicitUsing
public boolean explicitUsing()Returns the value of theexplicitUsingrecord component.- Returns:
- the value of the
explicitUsingrecord component
-