org.hibernate.property

Class DirectPropertyAccessor

Implemented Interfaces:
PropertyAccessor

public class DirectPropertyAccessor
extends java.lang.Object
implements PropertyAccessor

Accesses fields directly.
Author:
Gavin King

Nested Class Summary

static class
DirectPropertyAccessor.DirectGetter
static class
DirectPropertyAccessor.DirectSetter

Method Summary

Getter
getGetter(Class theClass, String propertyName)
Setter
getSetter(Class theClass, String propertyName)

Method Details

getGetter

public Getter getGetter(Class theClass,
                        String propertyName)
            throws PropertyNotFoundException
Specified by:
getGetter in interface PropertyAccessor

getSetter

public Setter getSetter(Class theClass,
                        String propertyName)
            throws PropertyNotFoundException
Specified by:
getSetter in interface PropertyAccessor