Class LocalDateTimeValueType
java.lang.Object
org.apache.cayenne.access.types.LocalDateTimeValueType
- All Implemented Interfaces:
ValueObjectType<LocalDateTime, Timestamp>
@Deprecated(since="5.0",
forRemoval=true)
public class LocalDateTimeValueType
extends Object
implements ValueObjectType<LocalDateTime, Timestamp>
Deprecated, for removal: This API element is subject to removal in a future version.
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfromJavaObject(LocalDateTime object) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.toCacheKey(LocalDateTime object) Deprecated, for removal: This API element is subject to removal in a future version.Returned value should be same for objects that is logically equal.toJavaObject(Timestamp value) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ValueObjectType
equals
-
Constructor Details
-
LocalDateTimeValueType
public LocalDateTimeValueType()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getTargetType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getTargetTypein interfaceValueObjectType<LocalDateTime, Timestamp>- Returns:
- base type used to serialize V objects to.
-
getValueType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getValueTypein interfaceValueObjectType<LocalDateTime, Timestamp>- Returns:
- type of Objects described by this ValueObjectType.
-
toJavaObject
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
toJavaObjectin interfaceValueObjectType<LocalDateTime, Timestamp>- Parameters:
value- of type T- Returns:
- java object
-
fromJavaObject
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
fromJavaObjectin interfaceValueObjectType<LocalDateTime, Timestamp>- Parameters:
object- java object- Returns:
- value of type T
-
toCacheKey
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ValueObjectTypeReturned value should be same for objects that is logically equal.- Specified by:
toCacheKeyin interfaceValueObjectType<LocalDateTime, Timestamp>- Returns:
- String representation usable for cache.
-
LocalDateTimeType, which reads and writes the value directly via JDBC without ajava.sqlintermediary and the JVM time zone conversion that comes with it.