Top Description Inners Fields Constructors Methods
org.hibernate.property.access.spi

public Class EnhancedSetterImpl

extends SetterFieldImpl
Class Inheritance
Annotations
@Internal
Imports
java.io.Serializable, java.lang.reflect.Field, org.hibernate.Internal, org.hibernate.property.access.internal.AbstractFieldSerialForm, .AccessStrategyHelper, org.checkerframework.checker.nullness.qual.Nullable

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.
Authors
Steve Ebersole, Luis Barreiro

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final int
private final String

Constructor Summary

AccessConstructor and Description
public
EnhancedSetterImpl(Class<?> containerClass, String propertyName, Field field)

Method Summary

Modifier and TypeMethod and Description
public void
set(Object target, @Nullable Object value)

private Object
Inherited from org.hibernate.property.access.spi.SetterFieldImpl:
getContainerClassgetFieldgetMethodgetMethodNamegetPropertyNameset

Field Detail

enhancementStateback to summary
private final int enhancementState
propertyNameback to summary
private final String propertyName

Hides org.hibernate.property.access.spi.SetterFieldImpl.propertyName.

Constructor Detail

EnhancedSetterImplback to summary
public EnhancedSetterImpl(Class<?> containerClass, String propertyName, Field field)

Method Detail

setback to summary
public void set(Object target, @Nullable Object value)
Annotations
@Override
writeReplaceback to summary
private Object writeReplace()

Hides org.hibernate.property.access.spi.SetterFieldImpl.writeReplace.

org.hibernate.property.access.spi back to summary

private Class EnhancedSetterImpl.SerialForm

extends AbstractFieldSerialForm
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable

Field Summary

Modifier and TypeField and Description
private final Class<?>
private final String

Constructor Summary

AccessConstructor and Description
private
SerialForm(Class<?> containerClass, String propertyName, Field field)

Method Summary

Modifier and TypeMethod and Description
private Object
Inherited from org.hibernate.property.access.internal.AbstractFieldSerialForm:
resolveField

Field Detail

containerClassback to summary
private final Class<?> containerClass
propertyNameback to summary
private final String propertyName

Constructor Detail

SerialFormback to summary
private SerialForm(Class<?> containerClass, String propertyName, Field field)

Method Detail

readResolveback to summary
private Object readResolve()