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

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

public class ObjectNullWrapper
extends Object
implements TypeWrapper<Object,Object>


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

Constructor Detail

ObjectNullWrapper

public ObjectNullWrapper()
Method Detail

jdbcType

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

propertyType

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

wrap

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

unWrap

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

clone

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

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


Copyright © 2013. All Rights Reserved.