public class LocalTimeValueType extends Object implements ValueObjectType<LocalTime,Time>
Constructor and Description |
---|
LocalTimeValueType() |
Modifier and Type | Method and Description |
---|---|
Time |
fromJavaObject(LocalTime object) |
Class<Time> |
getTargetType() |
Class<LocalTime> |
getValueType() |
String |
toCacheKey(LocalTime object)
Returned value should be same for objects that is logically equal.
|
LocalTime |
toJavaObject(Time value) |
public Class<Time> getTargetType()
getTargetType
in interface ValueObjectType<LocalTime,Time>
public Class<LocalTime> getValueType()
getValueType
in interface ValueObjectType<LocalTime,Time>
public LocalTime toJavaObject(Time value)
toJavaObject
in interface ValueObjectType<LocalTime,Time>
value
- of type Tpublic Time fromJavaObject(LocalTime object)
fromJavaObject
in interface ValueObjectType<LocalTime,Time>
object
- java objectpublic String toCacheKey(LocalTime object)
ValueObjectType
toCacheKey
in interface ValueObjectType<LocalTime,Time>
Copyright © 2001–2019 Apache Cayenne. All rights reserved.