net.sf.hibernate.property
Interface Getter

All Known Implementing Classes:
BasicPropertyAccessor.BasicGetter, DirectPropertyAccessor.DirectGetter

public interface Getter

Gets values of a particular property

Author:
Gavin King

Method Summary
 Object get(Object target)
          Get the property value from the given instance
 Method getMethod()
          Optional operation (return null)
 String getMethodName()
          Optional operation (return null)
 Class getReturnType()
          Get the declared Java type
 

Method Detail

get

public Object get(Object target)
           throws HibernateException
Get the property value from the given instance

Throws:
HibernateException

getReturnType

public Class getReturnType()
Get the declared Java type


getMethodName

public String getMethodName()
Optional operation (return null)


getMethod

public Method getMethod()
Optional operation (return null)