Record Class EntityMutationPlanContributor.DeleteContext
java.lang.Object
java.lang.Record
org.hibernate.action.queue.spi.decompose.entity.EntityMutationPlanContributor.DeleteContext
- Enclosing interface:
EntityMutationPlanContributor
public static record EntityMutationPlanContributor.DeleteContext(EntityPersister entityPersister, org.hibernate.action.internal.EntityDeleteAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Object identifier, Object version, Object[] state, PostDeleteHandling postDeleteHandling)
extends Record
Context passed to delete contribution hooks.
- Since:
- 8.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteContext(EntityPersister entityPersister, org.hibernate.action.internal.EntityDeleteAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Object identifier, Object version, Object[] state, PostDeleteHandling postDeleteHandling) Creates an instance of aDeleteContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.action.internal.EntityDeleteActionaction()Returns the value of theactionrecord component.Returns the value of thedecompositionContextrecord component.Returns the value of theentityPersisterrecord 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 theidentifierrecord component.intReturns the value of theordinalBaserecord component.Returns the value of thepostDeleteHandlingrecord component.session()Returns the value of thesessionrecord component.Object[]state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
entityPersister
Returns the value of theentityPersisterrecord component.- Returns:
- the value of the
entityPersisterrecord component
-
action
public org.hibernate.action.internal.EntityDeleteAction action()Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
ordinalBase
public int ordinalBase()Returns the value of theordinalBaserecord component.- Returns:
- the value of the
ordinalBaserecord component
-
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
decompositionContext
Returns the value of thedecompositionContextrecord component.- Returns:
- the value of the
decompositionContextrecord component
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
postDeleteHandling
Returns the value of thepostDeleteHandlingrecord component.- Returns:
- the value of the
postDeleteHandlingrecord component
-