public class BigDecimalDoubleConverter extends Object implements TypeConverter<BigDecimal,Double>
| Constructor and Description |
|---|
BigDecimalDoubleConverter() |
| Modifier and Type | Method and Description |
|---|---|
Double |
toDatastoreType(BigDecimal bd)
Method to convert the passed member value to the datastore type.
|
BigDecimal |
toMemberType(Double val)
Method to convert the passed datastore value to the member type.
|
public BigDecimal toMemberType(Double val)
TypeConvertertoMemberType in interface TypeConverter<BigDecimal,Double>val - Value from the datastorepublic Double toDatastoreType(BigDecimal bd)
TypeConvertertoDatastoreType in interface TypeConverter<BigDecimal,Double>bd - Value from the memberCopyright © 2016. All rights reserved.