Class FieldHandlerImpl<T>

java.lang.Object
All Implemented Interfaces:
ConfigurableFieldHandler<T>, FieldHandler<T>

public final class FieldHandlerImpl<T> extends AbstractFieldHandler<T>
A field handler that knows how to get/set the values of a field directly or through the get/set methods. Uses reflection.

Note: the field Java type is obtained from TypeInfo.getFieldType(), but if the field is a collection, the actual field/accessor type is obtained from TypeInfo.getCollectionHandler() and the object to create (with newInstance(Object)) is the former field type.

Version:
$Revision$ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Assaf Arkin