Module org.seasar.doma.core
Package org.seasar.doma.jdbc.aggregate
Record Class AssociationEntityPoolEntry
java.lang.Object
java.lang.Record
org.seasar.doma.jdbc.aggregate.AssociationEntityPoolEntry
public record AssociationEntityPoolEntry(AssociationEntityKey entityKey, EntityRef entityRef)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAssociationEntityPoolEntry(AssociationEntityKey entityKey, EntityRef entityRef) Creates an instance of aAssociationEntityPoolEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionentityId()Returns the value of theentityKeyrecord component.Returns the value of theentityRefrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pathKey()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssociationEntityPoolEntry
Creates an instance of aAssociationEntityPoolEntryrecord class.- Parameters:
entityKey- the value for theentityKeyrecord componententityRef- the value for theentityRefrecord component
-
-
Method Details
-
pathKey
-
entityId
-
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). -
entityKey
Returns the value of theentityKeyrecord component.- Returns:
- the value of the
entityKeyrecord component
-
entityRef
Returns the value of theentityRefrecord component.- Returns:
- the value of the
entityRefrecord component
-