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

public Class PropertyAccessStrategyFieldImpl

extends Object
implements PropertyAccessStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.property.access.spi.PropertyAccessStrategy
Imports
org.hibernate.property.access.spi.PropertyAccess, .PropertyAccessStrategy

Defines a strategy for accessing property values directly via a field, which may be non-public.
Authors
Gavin King, Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final PropertyAccessStrategyFieldImpl
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PropertyAccess
buildPropertyAccess(Class<T>
The Java type that contains the property; may be null for non-pojo cases.
containerJavaType
,
String
The property name
propertyName
)

Implements org.hibernate.property.access.spi.PropertyAccessStrategy.buildPropertyAccess.

Build a PropertyAccess for the indicated property
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final PropertyAccessStrategyFieldImpl INSTANCE

Singleton access

Constructor Detail

PropertyAccessStrategyFieldImplback to summary
public PropertyAccessStrategyFieldImpl()

Method Detail

buildPropertyAccessback to summary
public PropertyAccess buildPropertyAccess(Class<T> containerJavaType, String propertyName)

Implements org.hibernate.property.access.spi.PropertyAccessStrategy.buildPropertyAccess.

Doc from org.hibernate.property.access.spi.PropertyAccessStrategy.buildPropertyAccess.

Build a PropertyAccess for the indicated property

Parameters
containerJavaType:Class<T>

The Java type that contains the property; may be null for non-pojo cases.

propertyName:String

The property name

Returns:PropertyAccess

The appropriate PropertyAccess

Annotations
@Override