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