Constructor and Description |
---|
LocalTimeConverter() |
Modifier and Type | Method and Description |
---|---|
LocalTime |
convertToMapped(Class<? extends LocalTime> type,
Time value)
Convert the persisted type B to the mapped type A.
|
Time |
convertToPersisted(LocalTime value)
Convert the mapped type A to the persisted type B.
|
Class<LocalTime> |
getMappedType() |
Integer |
getPersistedSize() |
Class<Time> |
getPersistedType() |
public Class<LocalTime> getMappedType()
getMappedType
in interface Converter<LocalTime,Time>
public Class<Time> getPersistedType()
getPersistedType
in interface Converter<LocalTime,Time>
public Integer getPersistedSize()
getPersistedSize
in interface Converter<LocalTime,Time>
public Time convertToPersisted(LocalTime value)
Converter
convertToPersisted
in interface Converter<LocalTime,Time>
value
- to convertpublic LocalTime convertToMapped(Class<? extends LocalTime> type, Time value)
Converter
convertToMapped
in interface Converter<LocalTime,Time>
type
- the type to convertvalue
- value to convert