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

public Class SetterMethodImpl

extends Object
implements Setter
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.Setter, java.io.Serializable
Imports
java.io.ObjectStreamException, .Serializable, java.lang.reflect.InvocationTargetException, .Method, org.hibernate.PropertyAccessException, .PropertySetterAccessException, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.CoreMessageLogger, org.hibernate.internal.util.ReflectHelper

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<T>
private final boolean
private static final CoreMessageLogger
private final String
private final Method

Constructor Summary

AccessConstructor and Description
public
SetterMethodImpl(Class<T> containerClass, String propertyName, Method setterMethod)

Method Summary

Modifier and TypeMethod and Description
public Method
getMethod()

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

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

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

Optional operation (may return null)
public void
set(Object
The instance upon which to set the given value.
target
,
Object
The value to be set on the target.
value
,
SessionFactoryImplementor
The session factory from which this request originated.
factory
)

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

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Set the property value from the given instance
private Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

containerClassback to summary
private final Class<T> containerClass
isPrimitiveback to summary
private final boolean isPrimitive
LOGback to summary
private static final CoreMessageLogger LOG
propertyNameback to summary
private final String propertyName
setterMethodback to summary
private final Method setterMethod

Constructor Detail

SetterMethodImplback to summary
public SetterMethodImpl(Class<T> containerClass, String propertyName, Method setterMethod)

Method Detail

getMethodback to summary
public 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 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
setback to summary
public void set(Object target, Object value, SessionFactoryImplementor factory)

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

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

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Set the property value from the given instance

Parameters
target:Object

The instance upon which to set the given value.

value:Object

The value to be set on the target.

factory:SessionFactoryImplementor

The session factory from which this request originated.

Annotations
@Override
writeReplaceback to summary
private Object writeReplace()
org.hibernate.property.access.spi back to summary

private Class SetterMethodImpl.SerialForm

extends Object
implements Serializable
Class Inheritance
  • java.lang.Object
  • org.hibernate.property.access.spi.SetterMethodImpl.SerialForm
All Implemented Interfaces
java.io.Serializable

Field Summary

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

Constructor Summary

AccessConstructor and Description
private
SerialForm(Class<T> containerClass, String propertyName, Method method)

Method Summary

Modifier and TypeMethod and Description
private Object
private Method
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argumentTypeback to summary
private final Class<T> argumentType
containerClassback to summary
private final Class<T> containerClass
declaringClassback to summary
private final Class<T> declaringClass
methodNameback to summary
private final String methodName
propertyNameback to summary
private final String propertyName

Constructor Detail

SerialFormback to summary
private SerialForm(Class<T> containerClass, String propertyName, Method method)

Method Detail

readResolveback to summary
private Object readResolve()
resolveMethodback to summary
private Method resolveMethod()
Annotations
@SuppressWarnings:unchecked