com.jpattern.orm.persistor.type.ext
Class BooleanToBigDecimalWrapper

java.lang.Object
  extended by com.jpattern.orm.persistor.type.ext.BooleanToBigDecimalWrapper
All Implemented Interfaces:
ExtendedTypeWrapper<Boolean,BigDecimal>, TypeWrapper<Boolean,BigDecimal>

public class BooleanToBigDecimalWrapper
extends Object
implements ExtendedTypeWrapper<Boolean,BigDecimal>

Author:
Francesco Cina' Apr 1, 2012

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

Constructor Detail

BooleanToBigDecimalWrapper

public BooleanToBigDecimalWrapper()
Method Detail

jdbcType

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

propertyType

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

wrap

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

unWrap

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

clone

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

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


Copyright © 2013. All Rights Reserved.