Class EnhancedSetterImpl

java.lang.Object
org.hibernate.property.access.spi.SetterFieldImpl
org.hibernate.property.access.spi.EnhancedSetterImpl
All Implemented Interfaces:
Serializable, Setter

@Internal public class EnhancedSetterImpl extends SetterFieldImpl
A specialized Setter implementation for handling setting values into a bytecode-enhanced Class. The reason we need specialized handling is to render the fact that we need to account for certain enhancement features during the setting process.
See Also:
  • Constructor Details

    • EnhancedSetterImpl

      public EnhancedSetterImpl(Class<?> containerClass, String propertyName, Field field)
  • Method Details

    • set

      public void set(Object target, @Nullable Object value)
      Description copied from interface: Setter
      Set the property value on the given target instance.
      Specified by:
      set in interface Setter
      Overrides:
      set in class SetterFieldImpl
      Parameters:
      target - The instance containing the property value to be set.
      value - The value to be set.