public class SerializableStringConverter extends Object implements TypeConverter<Serializable,String>
Constructor and Description |
---|
SerializableStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
toDatastoreType(Serializable memberValue)
Method to convert the passed member value to the datastore type.
|
Serializable |
toMemberType(String datastoreValue)
Method to convert the passed datastore value to the member type.
|
public String toDatastoreType(Serializable memberValue)
TypeConverter
toDatastoreType
in interface TypeConverter<Serializable,String>
memberValue
- Value from the memberpublic Serializable toMemberType(String datastoreValue)
TypeConverter
toMemberType
in interface TypeConverter<Serializable,String>
datastoreValue
- Value from the datastoreCopyright © 2015. All rights reserved.