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

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

public class BigDecimalNullWrapper
extends Object
implements TypeWrapper<BigDecimal,BigDecimal>


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

Constructor Detail

BigDecimalNullWrapper

public BigDecimalNullWrapper()
Method Detail

jdbcType

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

propertyType

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

wrap

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

unWrap

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

clone

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

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


Copyright © 2013. All Rights Reserved.