com.jpattern.orm.persistor.type.ext
Class JodaDateMidnightToTimestampWrapper
java.lang.Object
com.jpattern.orm.persistor.type.ext.JodaDateMidnightToTimestampWrapper
- All Implemented Interfaces:
- ExtendedTypeWrapper<org.joda.time.DateMidnight,Timestamp>, TypeWrapper<org.joda.time.DateMidnight,Timestamp>
public class JodaDateMidnightToTimestampWrapper
- extends Object
- implements ExtendedTypeWrapper<org.joda.time.DateMidnight,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 |
JodaDateMidnightToTimestampWrapper
public JodaDateMidnightToTimestampWrapper()
jdbcType
public Class<Timestamp> jdbcType()
- Specified by:
jdbcType in interface TypeWrapper<org.joda.time.DateMidnight,Timestamp>
propertyType
public Class<org.joda.time.DateMidnight> propertyType()
- Specified by:
propertyType in interface TypeWrapper<org.joda.time.DateMidnight,Timestamp>
wrap
public org.joda.time.DateMidnight wrap(Timestamp value)
- Specified by:
wrap in interface TypeWrapper<org.joda.time.DateMidnight,Timestamp>
unWrap
public Timestamp unWrap(org.joda.time.DateMidnight value)
- Specified by:
unWrap in interface TypeWrapper<org.joda.time.DateMidnight,Timestamp>
clone
public org.joda.time.DateMidnight clone(org.joda.time.DateMidnight source)
- Description copied from interface:
TypeWrapper
- Return a new instance equivalent to the source
- Specified by:
clone in interface TypeWrapper<org.joda.time.DateMidnight,Timestamp>
- Returns:
Copyright © 2013. All Rights Reserved.