public final class

PropertyAccessorFactory

extends Object
java.lang.Object
   ↳ org.hibernate.property.PropertyAccessorFactory

Class Overview

A factory for building/retrieving PropertyAccessor instances.

Summary

Public Methods
static PropertyAccessor getDom4jPropertyAccessor(String nodeName, Type type, SessionFactoryImplementor factory)
static PropertyAccessor getDynamicMapPropertyAccessor()
static PropertyAccessor getPropertyAccessor(Property property, EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and entity mode.
static PropertyAccessor getPropertyAccessor(Class optionalClass, String type)
static PropertyAccessor getPropertyAccessor(String type)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static PropertyAccessor getDom4jPropertyAccessor (String nodeName, Type type, SessionFactoryImplementor factory)

public static PropertyAccessor getDynamicMapPropertyAccessor ()

public static PropertyAccessor getPropertyAccessor (Property property, EntityMode mode)

Retrieves a PropertyAccessor instance based on the given property definition and entity mode.

Parameters
property The property for which to retrieve an accessor.
mode The mode for the resulting entity.
Returns
  • An appropriate accessor.

public static PropertyAccessor getPropertyAccessor (Class optionalClass, String type)

public static PropertyAccessor getPropertyAccessor (String type)