Record Class LoadedValuesCollector.LoadedEntityRegistration
java.lang.Object
java.lang.Record
org.hibernate.sql.exec.spi.LoadedValuesCollector.LoadedEntityRegistration
- All Implemented Interfaces:
LoadedValuesCollector.LoadedPartRegistration
- Enclosing interface:
LoadedValuesCollector
public static record LoadedValuesCollector.LoadedEntityRegistration(NavigablePath navigablePath, EntityMappingType entityDescriptor, EntityKey entityKey, boolean reloaded)
extends Record
implements LoadedValuesCollector.LoadedPartRegistration
Details about a loaded entity.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadedEntityRegistration(NavigablePath navigablePath, EntityMappingType entityDescriptor, EntityKey entityKey) LoadedEntityRegistration(NavigablePath navigablePath, EntityMappingType entityDescriptor, EntityKey entityKey, boolean reloaded) Creates an instance of aLoadedEntityRegistrationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityDescriptorrecord component.Returns the value of theentityKeyrecord 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 thenavigablePathrecord component.booleanreloaded()Returns the value of thereloadedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
modelPart
- Specified by:
modelPartin interfaceLoadedValuesCollector.LoadedPartRegistration
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
entityDescriptor
Returns the value of theentityDescriptorrecord component.- Returns:
- the value of the
entityDescriptorrecord component
-
entityKey
Returns the value of theentityKeyrecord component.- Returns:
- the value of the
entityKeyrecord component
-
reloaded
public boolean reloaded()Returns the value of thereloadedrecord component.- Returns:
- the value of the
reloadedrecord component
-