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

All Known Subinterfaces:
ExtendedTypeWrapper<P,DB>
All Known Implementing Classes:
ArrayNullWrapper, BigDecimalNullWrapper, BlobNullWrapper, BooleanPrimitiveNullWrapper, BooleanToBigDecimalWrapper, BytePrimitiveNullWrapper, BytesNullWrapper, ByteToBigDecimalWrapper, CharacterToStringWrapper, ClobNullWrapper, DateNullWrapper, DoublePrimitiveNullWrapper, DoubleToBigDecimalWrapper, FloatPrimitiveNullWrapper, FloatToBigDecimalWrapper, InputStreamNullWrapper, IntegerPrimitiveNullWrapper, IntegerToBigDecimalWrapper, JodaDateMidnightToTimestampWrapper, JodaDateTimeToSqlTimestampWrapper, JodaLocalDateTimeToSqlTimestampWrapper, JodaLocalDateToSqlTimestampWrapper, LongPrimitiveNullWrapper, LongToBigDecimalWrapper, NClobNullWrapper, ObjectNullWrapper, ReaderNullWrapper, RefNullWrapper, RowIdNullWrapper, ShortPrimitiveNullWrapper, ShortToBigDecimalWrapper, SQLXMLNullWrapper, StringNullWrapper, TimeNullWrapper, TimestampNullWrapper, URLNullWrapper, UtilDateToSqlTimestampWrapper

public interface TypeWrapper<P,DB>

Author:
Francesco Cina' Mar 27, 2012

Method Summary
 P clone(P source)
          Return a new instance equivalent to the source
 Class<DB> jdbcType()
           
 Class<P> propertyType()
           
 DB unWrap(P value)
           
 P wrap(DB value)
           
 

Method Detail

jdbcType

Class<DB> jdbcType()

propertyType

Class<P> propertyType()

wrap

P wrap(DB value)

unWrap

DB unWrap(P value)

clone

P clone(P source)
Return a new instance equivalent to the source

Parameters:
source -
Returns:


Copyright © 2013. All Rights Reserved.