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