Package org.apache.cayenne.access.types
Class LocalTimeValueType
java.lang.Object
org.apache.cayenne.access.types.LocalTimeValueType
- All Implemented Interfaces:
ValueObjectType<LocalTime,
Time>
- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJavaObject
(LocalTime object) toCacheKey
(LocalTime object) Returned value should be same for objects that is logically equal.toJavaObject
(Time value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.cayenne.access.types.ValueObjectType
equals
-
Constructor Details
-
LocalTimeValueType
public LocalTimeValueType()
-
-
Method Details
-
getTargetType
- Specified by:
getTargetType
in interfaceValueObjectType<LocalTime,
Time> - Returns:
- base type used to serialize V objects to.
-
getValueType
- Specified by:
getValueType
in interfaceValueObjectType<LocalTime,
Time> - Returns:
- type of Objects described by this ValueObjectType.
-
toJavaObject
- Specified by:
toJavaObject
in interfaceValueObjectType<LocalTime,
Time> - Parameters:
value
- of type T- Returns:
- java object
-
fromJavaObject
- Specified by:
fromJavaObject
in interfaceValueObjectType<LocalTime,
Time> - Parameters:
object
- java object- Returns:
- value of type T
-
toCacheKey
Description copied from interface:ValueObjectType
Returned value should be same for objects that is logically equal.- Specified by:
toCacheKey
in interfaceValueObjectType<LocalTime,
Time> - Returns:
- String representation usable for cache.
-