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