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

@Incubating public interface GraphMutationTarget<TD extends TableDescriptor>
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 Details

    • getNavigableRole

      NavigableRole getNavigableRole()
      The model role of this target
    • getRolePath

      String getRolePath()
      The string representation of the role path
    • getTargetPart

      ModelPartContainer getTargetPart()
      The ModelPart describing the mutation target
    • forEachMutableTableDescriptor

      void forEachMutableTableDescriptor(Consumer<TD> consumer)
      Visit each mutable (non-inverse) table descriptor.
      API Note:
      Inverse tables are excluded here - they are not mutable relative to this mapping
    • forEachMutableTableDescriptorReverse

      void forEachMutableTableDescriptorReverse(Consumer<TD> consumer)
      Visit each mutable (non-inverse) table descriptor, but in reverse (delete) order.
      API Note:
      Inverse tables are excluded here - they are not mutable relative to this mapping
    • 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