站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

DirectPropertyAccessor (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.property
Class DirectPropertyAccessor

java.lang.Object
  extended byorg.hibernate.property.DirectPropertyAccessor
All Implemented Interfaces:
PropertyAccessor

public class DirectPropertyAccessor
extends Object
implements PropertyAccessor

Accesses fields directly.

Author:
Gavin King

Nested Class Summary
static class DirectPropertyAccessor.DirectGetter
           
static class DirectPropertyAccessor.DirectSetter
           
 
Constructor Summary
DirectPropertyAccessor()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectPropertyAccessor

public DirectPropertyAccessor()
Method Detail

getGetter

public Getter getGetter(Class theClass,
                        String propertyName)
                 throws PropertyNotFoundException
Description copied from interface: PropertyAccessor
Create a "getter" for the named attribute

Specified by:
getGetter in interface PropertyAccessor
Throws:
PropertyNotFoundException

getSetter

public Setter getSetter(Class theClass,
                        String propertyName)
                 throws PropertyNotFoundException
Description copied from interface: PropertyAccessor
Create a "setter" for the named attribute

Specified by:
getSetter in interface PropertyAccessor
Throws:
PropertyNotFoundException