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

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

public class IntegerPrimitiveNullWrapper
extends Object
implements TypeWrapper<Integer,Integer>


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

Constructor Detail

IntegerPrimitiveNullWrapper

public IntegerPrimitiveNullWrapper()
Method Detail

jdbcType

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

propertyType

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

wrap

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

unWrap

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

clone

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

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


Copyright © 2013. All Rights Reserved.