org.pojava.persistence.sql
Interface AdaptorMap<PROP,COL>

All Known Implementing Classes:
DefaultAdaptorMap

public interface AdaptorMap<PROP,COL>

AdaptorMap serves as a rules engine for determining which BindingAdaptor to use to translate data between a database field and a bean property.

Author:
John Pile

Method Summary
 org.pojava.transformation.BindingAdaptor<PROP,COL> chooseAdaptor(Method getter, Class<PROP> propertyClass)
          Choose an adaptor specific to a getter method and class.
 

Method Detail

chooseAdaptor

org.pojava.transformation.BindingAdaptor<PROP,COL> chooseAdaptor(Method getter,
                                                                 Class<PROP> propertyClass)
Choose an adaptor specific to a getter method and class.

Parameters:
getter - a method
propertyClass - the type of the drilled-down property
Returns:
BindingAdaptor satisfying that property


Copyright © 2011. All Rights Reserved.