com.jpattern.orm.persistor.type.ext
Class FloatToBigDecimalWrapper
java.lang.Object
com.jpattern.orm.persistor.type.ext.FloatToBigDecimalWrapper
- All Implemented Interfaces:
- ExtendedTypeWrapper<Float,BigDecimal>, TypeWrapper<Float,BigDecimal>
public class FloatToBigDecimalWrapper
- extends Object
- implements ExtendedTypeWrapper<Float,BigDecimal>
- Author:
- Francesco Cina'
Apr 1, 2012
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatToBigDecimalWrapper
public FloatToBigDecimalWrapper()
jdbcType
public Class<BigDecimal> jdbcType()
- Specified by:
jdbcType in interface TypeWrapper<Float,BigDecimal>
propertyType
public Class<Float> propertyType()
- Specified by:
propertyType in interface TypeWrapper<Float,BigDecimal>
wrap
public Float wrap(BigDecimal value)
- Specified by:
wrap in interface TypeWrapper<Float,BigDecimal>
unWrap
public BigDecimal unWrap(Float value)
- Specified by:
unWrap in interface TypeWrapper<Float,BigDecimal>
clone
public Float clone(Float source)
- Description copied from interface:
TypeWrapper
- Return a new instance equivalent to the source
- Specified by:
clone in interface TypeWrapper<Float,BigDecimal>
- Returns:
Copyright © 2013. All Rights Reserved.