org.progeeks.hibernate
Class MetaObjectAccessor

java.lang.Object
  extended by org.progeeks.hibernate.MetaObjectAccessor
All Implemented Interfaces:
org.hibernate.property.PropertyAccessor

public class MetaObjectAccessor
extends java.lang.Object
implements org.hibernate.property.PropertyAccessor

Access the value of a field in a MetaObject

Version:
$Revision: 1.1 $
Author:
Matt Veitas

Constructor Summary
MetaObjectAccessor()
           
 
Method Summary
 org.hibernate.property.Getter getGetter(java.lang.Class theClass, java.lang.String propertyName)
          Creates a Getter for this named attribute.
 org.hibernate.property.Setter getSetter(java.lang.Class theClass, java.lang.String propertyName)
          Creates a Setter for this named attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaObjectAccessor

public MetaObjectAccessor()
Method Detail

getGetter

public org.hibernate.property.Getter getGetter(java.lang.Class theClass,
                                               java.lang.String propertyName)
                                        throws org.hibernate.PropertyNotFoundException
Creates a Getter for this named attribute.

Specified by:
getGetter in interface org.hibernate.property.PropertyAccessor
Throws:
org.hibernate.PropertyNotFoundException

getSetter

public org.hibernate.property.Setter getSetter(java.lang.Class theClass,
                                               java.lang.String propertyName)
                                        throws org.hibernate.PropertyNotFoundException
Creates a Setter for this named attribute

Specified by:
getSetter in interface org.hibernate.property.PropertyAccessor
Throws:
org.hibernate.PropertyNotFoundException


Copyright © 2002-2003 Paul Speed. All Rights Reserved.