java.lang.Object
java.lang.Record
org.seasar.doma.jdbc.criteria.context.WithContext
public record WithContext(EntityMetamodel<?> entityMetamodel, SetOperationContext<?> setOperationContext)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionWithContext(EntityMetamodel<?> entityMetamodel, SetOperationContext<?> setOperationContext) Creates an instance of aWithContextrecord class.WithContext(EntityMetamodel<?> entityMetamodel, SetOperand<?> setOperand) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityMetamodelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesetOperationContextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WithContext
Creates an instance of aWithContextrecord class.- Parameters:
entityMetamodel- the value for theentityMetamodelrecord componentsetOperationContext- the value for thesetOperationContextrecord component
-
WithContext
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
entityMetamodel
Returns the value of theentityMetamodelrecord component.- Returns:
- the value of the
entityMetamodelrecord component
-
setOperationContext
Returns the value of thesetOperationContextrecord component.- Returns:
- the value of the
setOperationContextrecord component
-