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

public Class PropertyAccessStrategyMixedImpl

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

A PropertyAccessStrategy that selects between available getter/setter method and/or field.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final PropertyAccessStrategyMixedImpl
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 PropertyAccessStrategyMixedImpl INSTANCE

Singleton access

Constructor Detail

PropertyAccessStrategyMixedImplback to summary
public PropertyAccessStrategyMixedImpl()

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