Interface GraphMutationTarget<TD extends TableDescriptor>
- All Known Subinterfaces:
CollectionMutationTarget, EntityMutationTarget, EntityPersister, GraphEntityMutationTarget, MutationTarget<T,TD>
- All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, BasicCollectionPersister, JoinedSubclassEntityPersister, OneToManyPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
Mutation target contract for the graph-based action queue.
Exposes table information as TableDescriptor instances, used by
graph-based decomposers for planning mutation operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidforEachMutableTableDescriptor(Consumer<TD> consumer) Visit each mutable (non-inverse) table descriptor.voidforEachMutableTableDescriptorReverse(Consumer<TD> consumer) Visit each mutable (non-inverse) table descriptor, but in reverse (delete) order.The table descriptor for the table containing the identifierThe name of the table defining the identifier for this targetThe model role of this targetThe string representation of the role pathThe ModelPart describing the mutation target
-
Method Details
-
getRolePath
String getRolePath()The string representation of the role path -
getTargetPart
ModelPartContainer getTargetPart()The ModelPart describing the mutation target -
forEachMutableTableDescriptor
-
forEachMutableTableDescriptorReverse
-
getIdentifierTableName
String getIdentifierTableName()The name of the table defining the identifier for this target -
getIdentifierTableDescriptor
TD getIdentifierTableDescriptor()The table descriptor for the table containing the identifier