com.jpattern.orm.persistor.type.ext
Class ShortToBigDecimalWrapper
java.lang.Object
com.jpattern.orm.persistor.type.ext.ShortToBigDecimalWrapper
- All Implemented Interfaces:
- ExtendedTypeWrapper<Short,BigDecimal>, TypeWrapper<Short,BigDecimal>
public class ShortToBigDecimalWrapper
- extends Object
- implements ExtendedTypeWrapper<Short,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 |
ShortToBigDecimalWrapper
public ShortToBigDecimalWrapper()
jdbcType
public Class<BigDecimal> jdbcType()
- Specified by:
jdbcType in interface TypeWrapper<Short,BigDecimal>
propertyType
public Class<Short> propertyType()
- Specified by:
propertyType in interface TypeWrapper<Short,BigDecimal>
wrap
public Short wrap(BigDecimal value)
- Specified by:
wrap in interface TypeWrapper<Short,BigDecimal>
unWrap
public BigDecimal unWrap(Short value)
- Specified by:
unWrap in interface TypeWrapper<Short,BigDecimal>
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,BigDecimal>
- Returns:
Copyright © 2013. All Rights Reserved.