public class CurrencyStringConverter extends Object implements TypeConverter<Currency,String>
LOCALISER
Constructor and Description |
---|
CurrencyStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
toDatastoreType(Currency curr)
Method to convert the passed member value to the datastore type.
|
Currency |
toMemberType(String str)
Method to convert the passed datastore value to the member type.
|
public Currency toMemberType(String str)
TypeConverter
toMemberType
in interface TypeConverter<Currency,String>
str
- Value from the datastorepublic String toDatastoreType(Currency curr)
TypeConverter
toDatastoreType
in interface TypeConverter<Currency,String>
curr
- Value from the memberCopyright © 2019. All rights reserved.