Class EnhancedSetterImpl
- java.lang.Object
-
- org.hibernate.property.access.spi.SetterFieldImpl
-
- org.hibernate.property.access.spi.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 Summary
Constructors Constructor Description EnhancedSetterImpl(java.lang.Class containerClass, java.lang.String propertyName, java.lang.reflect.Field field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)Set the property value from the given instance-
Methods inherited from class org.hibernate.property.access.spi.SetterFieldImpl
getContainerClass, getField, getMethod, getMethodName, getPropertyName
-
-
-
-
Method Detail
-
set
public void set(java.lang.Object target, java.lang.Object value, SessionFactoryImplementor factory)Description copied from interface:SetterSet the property value from the given instance- Specified by:
setin interfaceSetter- Overrides:
setin classSetterFieldImpl- 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.
-
-