Interface EnhancementOptions

All Known Subinterfaces:
EnhancementContext
All Known Implementing Classes:
DefaultEnhancementContext, EnhancementContextWrapper

public interface EnhancementOptions
Options for the enhancement process.
See Also:
  • Method Details

    • doDirtyCheckingInline

      default boolean doDirtyCheckingInline()
      Whether to enable support for inline dirtiness checking.
    • doExtendedEnhancement

      @Deprecated(forRemoval=true, since="7.1") default boolean doExtendedEnhancement()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed without replacement. See HHH-19661
      Whether to enable support for extended enhancement.
    • doBiDirectionalAssociationManagement

      @Deprecated(forRemoval=true, since="7.1") default boolean doBiDirectionalAssociationManagement()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will be removed without replacement. See HHH-19660
      Whether to enable support for automatic management of bidirectional associations.
    • doDirtyCheckingInline

      @Deprecated(forRemoval=true) boolean doDirtyCheckingInline(UnloadedClass classDescriptor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Should we in-line dirty checking for persistent attributes for this class?
      Parameters:
      classDescriptor - The descriptor of the class to check.
      Returns:
      true indicates that dirty checking should be in-lined within the entity; false indicates it should not. In-lined is more easily serializable and probably more performant.
    • doExtendedEnhancement

      @Deprecated(forRemoval=true, since="7.1") boolean doExtendedEnhancement(UnloadedClass classDescriptor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Should we enhance field access to entities from this class?
      Parameters:
      classDescriptor - The descriptor of the class to check.
      Returns:
      true indicates that any direct access to fields of entities should be routed to the enhanced getter / setter method.
    • doBiDirectionalAssociationManagement

      @Deprecated(forRemoval=true, since="7.1") boolean doBiDirectionalAssociationManagement(UnloadedField field)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Whether to enable support for automatic management of bidirectional associations for this field.
      Parameters:
      field - The field to check.
      Returns:
      true indicates that the field is enhanced so that for bidirectional persistent fields the association is managed, i.e. the associations are automatically set; false indicates that the management is handled by the user.