Package org.pojava.persistence.adaptor

Adaptors tranform data, or more specifically, data held in Bindings, where a Binding specifies both a Type (a Java Class) and a Value (which may be null, hence the necessity of the Type field).

See:
          Description

Class Summary
BigDecimalAdaptor Adaptor for managing translations for values of type double.
BooleanAdaptor Adaptor for managing translations for values of type boolean.
ByteAdaptor Adaptor for managing Java to JDBC for a Byte value.
CharAdaptor Adaptor for managing Java to JDBC for a Character value.
DateTimeSqlAdaptor Adaptor for managing Java to JDBC for a Timestamp or Date value mapped to a DateTime value.
DoubleAdaptor Adaptor for managing translations for values of type double.
FloatAdaptor Adaptor for managing translations for values of type float.
IntegerAdaptor Adaptor for managing translations for values of type integer.
LongAdaptor Adaptor for managing translations for values of type long.
PassthroughAdaptor<I,O> Adaptor for values where no conversion is necessary.
TimeAdaptor Process a Time value from a ResultSet.
UtilDateSqlAdaptor Adaptor for managing Java to JDBC for a Timestamp or Date value mapped to a DateTime value.
 

Package org.pojava.persistence.adaptor Description

Adaptors tranform data, or more specifically, data held in Bindings, where a Binding specifies both a Type (a Java Class) and a Value (which may be null, hence the necessity of the Type field).

POJava uses Bindings extensively, both in the Adaptors and in the BoundString object. Understanding Bindings is key to understanding how to get the most out of using POJava. In this case, an Adaptor performs data transformation on a Binding, returning either a new Binding or the same Binding as a result if no transformation is needed.



Copyright © 2011. All Rights Reserved.