Class EnhancedSetterImpl

  • All Implemented Interfaces:
    java.io.Serializable, Setter

    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:
    Serialized Form
    • Constructor Detail

      • EnhancedSetterImpl

        public EnhancedSetterImpl​(java.lang.Class containerClass,
                                  java.lang.String propertyName,
                                  java.lang.reflect.Field field)
    • Method Detail

      • set

        public void set​(java.lang.Object target,
                        java.lang.Object value,
                        SessionFactoryImplementor factory)
        Description copied from interface: Setter
        Set the property value from the given instance
        Specified by:
        set in interface Setter
        Overrides:
        set in class SetterFieldImpl
        Parameters:
        target - The instance upon which to set the given value.
        value - The value to be set on the target.
        factory - The session factory from which this request originated.