com.jpattern.orm.persistor.type.ext
Class LongToBigDecimalWrapper
java.lang.Object
com.jpattern.orm.persistor.type.ext.LongToBigDecimalWrapper
- All Implemented Interfaces:
- ExtendedTypeWrapper<Long,BigDecimal>, TypeWrapper<Long,BigDecimal>
public class LongToBigDecimalWrapper
- extends Object
- implements ExtendedTypeWrapper<Long,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 |
LongToBigDecimalWrapper
public LongToBigDecimalWrapper()
jdbcType
public Class<BigDecimal> jdbcType()
- Specified by:
jdbcType in interface TypeWrapper<Long,BigDecimal>
propertyType
public Class<Long> propertyType()
- Specified by:
propertyType in interface TypeWrapper<Long,BigDecimal>
wrap
public Long wrap(BigDecimal value)
- Specified by:
wrap in interface TypeWrapper<Long,BigDecimal>
unWrap
public BigDecimal unWrap(Long value)
- Specified by:
unWrap in interface TypeWrapper<Long,BigDecimal>
clone
public Long clone(Long source)
- Description copied from interface:
TypeWrapper
- Return a new instance equivalent to the source
- Specified by:
clone in interface TypeWrapper<Long,BigDecimal>
- Returns:
Copyright © 2013. All Rights Reserved.