Interface EnhancementOptions
- All Known Subinterfaces:
EnhancementContext
- All Known Implementing Classes:
DefaultEnhancementContext
,EnhancementContextWrapper
public interface EnhancementOptions
Options for the enhancement process.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Deprecated, for removal: This API element is subject to removal in a future version.Will be removed without replacement.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Use doBiDirectionalAssociationManagement() instead.default boolean
Whether to enable support for inline dirtiness checking.boolean
doDirtyCheckingInline
(UnloadedClass classDescriptor) Deprecated, for removal: This API element is subject to removal in a future version.Use doDirtyCheckingInline() instead.default boolean
Deprecated, for removal: This API element is subject to removal in a future version.Will be removed without replacement.boolean
doExtendedEnhancement
(UnloadedClass classDescriptor) Deprecated, for removal: This API element is subject to removal in a future version.Use doExtendedEnhancement() instead.
-
Method Details
-
doDirtyCheckingInline
default boolean doDirtyCheckingInline()Whether to enable support for inline dirtiness checking. -
doExtendedEnhancement
Deprecated, for removal: This API element is subject to removal in a future version.Will be removed without replacement. See HHH-19661Whether to enable support for extended enhancement. -
doBiDirectionalAssociationManagement
Deprecated, for removal: This API element is subject to removal in a future version.Will be removed without replacement. See HHH-19660Whether to enable support for automatic management of bidirectional associations. -
doDirtyCheckingInline
Deprecated, for removal: This API element is subject to removal in a future version.Use doDirtyCheckingInline() instead.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.Use doExtendedEnhancement() instead.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.Use doBiDirectionalAssociationManagement() instead.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.
-