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

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

public class ShortPrimitiveNullWrapper
extends Object
implements TypeWrapper<Short,Short>


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

Constructor Detail

ShortPrimitiveNullWrapper

public ShortPrimitiveNullWrapper()
Method Detail

jdbcType

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

propertyType

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

wrap

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

unWrap

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

clone

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

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


Copyright © 2013. All Rights Reserved.