com.jpattern.orm.persistor.type.ext
Class JodaLocalDateToSqlTimestampWrapper
java.lang.Object
com.jpattern.orm.persistor.type.ext.JodaLocalDateToSqlTimestampWrapper
- All Implemented Interfaces:
- ExtendedTypeWrapper<org.joda.time.LocalDate,Timestamp>, TypeWrapper<org.joda.time.LocalDate,Timestamp>
public class JodaLocalDateToSqlTimestampWrapper
- extends Object
- implements ExtendedTypeWrapper<org.joda.time.LocalDate,Timestamp>
- Author:
- Francesco Cina'
Mar 27, 2012
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JodaLocalDateToSqlTimestampWrapper
public JodaLocalDateToSqlTimestampWrapper()
jdbcType
public Class<Timestamp> jdbcType()
- Specified by:
jdbcType in interface TypeWrapper<org.joda.time.LocalDate,Timestamp>
propertyType
public Class<org.joda.time.LocalDate> propertyType()
- Specified by:
propertyType in interface TypeWrapper<org.joda.time.LocalDate,Timestamp>
wrap
public org.joda.time.LocalDate wrap(Timestamp value)
- Specified by:
wrap in interface TypeWrapper<org.joda.time.LocalDate,Timestamp>
unWrap
public Timestamp unWrap(org.joda.time.LocalDate value)
- Specified by:
unWrap in interface TypeWrapper<org.joda.time.LocalDate,Timestamp>
clone
public org.joda.time.LocalDate clone(org.joda.time.LocalDate source)
- Description copied from interface:
TypeWrapper
- Return a new instance equivalent to the source
- Specified by:
clone in interface TypeWrapper<org.joda.time.LocalDate,Timestamp>
- Returns:
Copyright © 2013. All Rights Reserved.