Module org.seasar.doma.core
Package org.seasar.doma.jdbc.aggregate
Record Class AssociationEntityKey
java.lang.Object
java.lang.Record
org.seasar.doma.jdbc.aggregate.AssociationEntityKey
-
Constructor Summary
ConstructorsConstructorDescriptionAssociationEntityKey(AssociationPathKey pathKey, List<?> items) Creates an instance of aAssociationEntityKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionentityId()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.List<?>items()Returns the value of theitemsrecord component.pathKey()Returns the value of thepathKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssociationEntityKey
Creates an instance of aAssociationEntityKeyrecord class.- Parameters:
pathKey- the value for thepathKeyrecord componentitems- the value for theitemsrecord component
-
-
Method Details
-
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). -
pathKey
Returns the value of thepathKeyrecord component.- Returns:
- the value of the
pathKeyrecord component
-
items
Returns the value of theitemsrecord component.- Returns:
- the value of the
itemsrecord component
-