com.jpattern.orm.persistor.type.jdbc
Class DateNullWrapper

java.lang.Object
  extended by com.jpattern.orm.persistor.type.jdbc.DateNullWrapper
All Implemented Interfaces:
TypeWrapper<Date,Date>

public class DateNullWrapper
extends Object
implements TypeWrapper<Date,Date>


Constructor Summary
DateNullWrapper()
           
 
Method Summary
 Date clone(Date source)
          Return a new instance equivalent to the source
 Class<Date> jdbcType()
           
 Class<Date> propertyType()
           
 Date unWrap(Date value)
           
 Date wrap(Date value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateNullWrapper

public DateNullWrapper()
Method Detail

jdbcType

public Class<Date> jdbcType()
Specified by:
jdbcType in interface TypeWrapper<Date,Date>

propertyType

public Class<Date> propertyType()
Specified by:
propertyType in interface TypeWrapper<Date,Date>

wrap

public Date wrap(Date value)
Specified by:
wrap in interface TypeWrapper<Date,Date>

unWrap

public Date unWrap(Date value)
Specified by:
unWrap in interface TypeWrapper<Date,Date>

clone

public Date clone(Date source)
Description copied from interface: TypeWrapper
Return a new instance equivalent to the source

Specified by:
clone in interface TypeWrapper<Date,Date>
Returns:


Copyright © 2013. All Rights Reserved.