Top Description Fields Constructors Methods
org.hibernate.property.access.internal

public Class PropertyAccessBasicImpl

extends Object
implements PropertyAccess
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.PropertyAccess
Imports
java.lang.reflect.Method, org.hibernate.internal.util.ReflectHelper, org.hibernate.property.access.spi.Getter, .GetterMethodImpl, .PropertyAccess, .PropertyAccessStrategy, .Setter, .SetterMethodImpl, org.jboss.logging.Logger

PropertyAccessor for accessing the wrapped property via get/set pair, which may be nonpublic.
Author
Steve Ebersole
See Also
PropertyAccessStrategyBasicImpl

Field Summary

Modifier and TypeField and Description
private final GetterMethodImpl
private static final Logger
private final SetterMethodImpl
private final PropertyAccessStrategyBasicImpl

Constructor Summary

AccessConstructor and Description
public
PropertyAccessBasicImpl(PropertyAccessStrategyBasicImpl strategy, Class<T> containerJavaType, final String propertyName)

Method Summary

Modifier and TypeMethod and Description
public Getter
getGetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getGetter.

Obtain the delegate for getting values for the described persistent property
public PropertyAccessStrategy
getPropertyAccessStrategy()

Implements org.hibernate.property.access.spi.PropertyAccess.getPropertyAccessStrategy.

Access to the PropertyAccessStrategy that created this PropertyAccess
public Setter
getSetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getSetter.

Obtain the delegate for setting values for the described persistent property
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

getterback to summary
private final GetterMethodImpl getter
logback to summary
private static final Logger log
setterback to summary
private final SetterMethodImpl setter
strategyback to summary
private final PropertyAccessStrategyBasicImpl strategy

Constructor Detail

PropertyAccessBasicImplback to summary
public PropertyAccessBasicImpl(PropertyAccessStrategyBasicImpl strategy, Class<T> containerJavaType, final String propertyName)

Method Detail

getGetterback to summary
public Getter getGetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getGetter.

Doc from org.hibernate.property.access.spi.PropertyAccess.getGetter.

Obtain the delegate for getting values for the described persistent property

Returns:Getter

The property getter

Annotations
@Override
getPropertyAccessStrategyback to summary
public PropertyAccessStrategy getPropertyAccessStrategy()

Implements org.hibernate.property.access.spi.PropertyAccess.getPropertyAccessStrategy.

Doc from org.hibernate.property.access.spi.PropertyAccess.getPropertyAccessStrategy.

Access to the PropertyAccessStrategy that created this PropertyAccess

Returns:PropertyAccessStrategy

The PropertyAccessStrategy that created this PropertyAccess

Annotations
@Override
getSetterback to summary
public Setter getSetter()

Implements org.hibernate.property.access.spi.PropertyAccess.getSetter.

Doc from org.hibernate.property.access.spi.PropertyAccess.getSetter.

Obtain the delegate for setting values for the described persistent property

Returns:Setter

The property setter

Annotations
@Override