public static class DateAndTimeConverters.LongToTimestampConverter extends BidirectionalConverter<C,D>
destinationType, mapperFacade, sourceType| Constructor and Description |
|---|
LongToTimestampConverter() |
| Modifier and Type | Method and Description |
|---|---|
Long |
convertFrom(Timestamp source,
Type<Long> destinationType,
MappingContext context) |
Timestamp |
convertTo(Long source,
Type<Timestamp> destinationType,
MappingContext context) |
boolean |
equals(Object o) |
BidirectionalConverter<D,C> |
reverse() |
String |
toString() |
canConvert, convertgetAType, getBType, hashCode, setMapperFacadeclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetMapperFacadegetAType, getBTypepublic Timestamp convertTo(Long source, Type<Timestamp> destinationType, MappingContext context)
convertTo in class BidirectionalConverter<Long,Timestamp>public Long convertFrom(Timestamp source, Type<Long> destinationType, MappingContext context)
convertFrom in class BidirectionalConverter<Long,Timestamp>public BidirectionalConverter<D,C> reverse()
reverse in class BidirectionalConverter<C,D>public String toString()
toString in class BidirectionalConverter<C,D>public boolean equals(Object o)
equals in class CustomConverter<Object,Object>Copyright © 2019 Glasnost. All rights reserved.