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

public Class SetterFieldImpl

extends Object
implements Setter
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.Setter, java.io.Serializable
Known Direct Subclasses
org.hibernate.property.access.spi.EnhancedSetterImpl
Annotations
@Internal
Imports
java.io.Serializable, java.lang.reflect.Field, .Method, java.util.Locale, org.hibernate.Internal, .PropertyAccessException, org.hibernate.internal.util.ReflectHelper, org.hibernate.property.access.internal.AbstractFieldSerialForm, org.hibernate.proxy.HibernateProxy, .LazyInitializer, org.checkerframework.checker.nullness.qual.Nullable

Field-based implementation of Setter
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final Class<?>
private final Field
private final String
private final @Nullable Method

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public Class<?>
public Field
public @Nullable Method
getMethod()

Implements org.hibernate.property.access.spi.Setter.getMethod.

Optional operation (may return null)
public @Nullable String
getMethodName()

Implements org.hibernate.property.access.spi.Setter.getMethodName.

Optional operation (may return null)
public String
public void
set(Object target, @Nullable Object value)

private Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

containerClassback to summary
private final Class<?> containerClass
fieldback to summary
private final Field field
propertyNameback to summary
private final String propertyName
setterMethodback to summary
private final @Nullable Method setterMethod

Constructor Detail

SetterFieldImplback to summary
public SetterFieldImpl(Class<?> containerClass, String propertyName, Field field)

Method Detail

getContainerClassback to summary
public Class<?> getContainerClass()
getFieldback to summary
public Field getField()
getMethodback to summary
public @Nullable Method getMethod()

Implements org.hibernate.property.access.spi.Setter.getMethod.

Doc from org.hibernate.property.access.spi.Setter.getMethod.

Optional operation (may return null)

Annotations
@Override
getMethodNameback to summary
public @Nullable String getMethodName()

Implements org.hibernate.property.access.spi.Setter.getMethodName.

Doc from org.hibernate.property.access.spi.Setter.getMethodName.

Optional operation (may return null)

Annotations
@Override
getPropertyNameback to summary
public String getPropertyName()
setback to summary
public void set(Object target, @Nullable Object value)
Annotations
@Override
writeReplaceback to summary
private Object writeReplace()
org.hibernate.property.access.spi back to summary

private Class SetterFieldImpl.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()