public class

DirectPropertyAccessor

extends Object
implements PropertyAccessor
java.lang.Object
   ↳ org.hibernate.property.DirectPropertyAccessor

Class Overview

Accesses fields directly.

Summary

Nested Classes
class DirectPropertyAccessor.DirectGetter  
class DirectPropertyAccessor.DirectSetter  
Public Constructors
DirectPropertyAccessor()
Public Methods
Getter getGetter(Class theClass, String propertyName)
Create a "getter" for the named attribute
Setter getSetter(Class theClass, String propertyName)
Create a "setter" for the named attribute
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.property.PropertyAccessor

Public Constructors

public DirectPropertyAccessor ()

Public Methods

public Getter getGetter (Class theClass, String propertyName)

Create a "getter" for the named attribute

Parameters
theClass The class on which the property is defined.
propertyName The name of the property.
Returns
  • An appropriate getter.

public Setter getSetter (Class theClass, String propertyName)

Create a "setter" for the named attribute

Parameters
theClass The class on which the property is defined.
propertyName The name of the property.
Returns
  • An appropriate setter