com.jpattern.orm.persistor.type
Interface ExtendedTypeWrapper<P,DB>

Type Parameters:
P -
DB -
All Superinterfaces:
TypeWrapper<P,DB>
All Known Implementing Classes:
BooleanToBigDecimalWrapper, ByteToBigDecimalWrapper, CharacterToStringWrapper, DoubleToBigDecimalWrapper, FloatToBigDecimalWrapper, IntegerToBigDecimalWrapper, JodaDateMidnightToTimestampWrapper, JodaDateTimeToSqlTimestampWrapper, JodaLocalDateTimeToSqlTimestampWrapper, JodaLocalDateToSqlTimestampWrapper, LongToBigDecimalWrapper, ShortToBigDecimalWrapper, UtilDateToSqlTimestampWrapper

public interface ExtendedTypeWrapper<P,DB>
extends TypeWrapper<P,DB>

This interface is used as a marker to identify Extended TypeWrappers. A wrapper for a specific type. This can be used to create custom converter from a desired type to a specific PreparedStatement setter type and from a ResultSet getter type to the desired type. P is the class of the desired property. DB is the class type of the related field in the ResultSet and PreparedStatement that will be used to perform read/write operations. Valid Class type for R are: byte[].class Object.class String.class java.io.InputStream.class java.io.Reader.class java.math.BigDecimal.class java.sql.Array.class java.sql.Blob.class java.sql.Clob.class java.sql.Date.class java.sql.NClob.class java.sql.Ref.class java.sql.RowId.class java.sql.SQLXML.class java.sql.Time.class java.sql.Timestamp.class java.net.URL.class

Author:
Francesco Cina', ufo

Method Summary
 
Methods inherited from interface com.jpattern.orm.persistor.type.TypeWrapper
clone, jdbcType, propertyType, unWrap, wrap
 



Copyright © 2013. All Rights Reserved.