public class DateLongConverter extends Object implements AttributeConverter<Date,Number>
Date to Long.
Since the value as represented in JSON loses type information and is just numeric, the converted type used is Number| Constructor and Description |
|---|
DateLongConverter() |
public Long toGraphProperty(Date value)
toGraphProperty in interface AttributeConverter<Date,Number>public Date toEntityAttribute(Number value)
toEntityAttribute in interface AttributeConverter<Date,Number>Copyright © 2016 Neo Technology, Inc.. All rights reserved.