Package org.apache.cayenne.access.types
Class LocalDateTimeValueType
java.lang.Object
org.apache.cayenne.access.types.LocalDateTimeValueType
- All Implemented Interfaces:
- ValueObjectType<LocalDateTime,- Timestamp> 
public class LocalDateTimeValueType
extends Object
implements ValueObjectType<LocalDateTime,Timestamp> 
- Since:
- 4.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfromJavaObject(LocalDateTime object) toCacheKey(LocalDateTime object) Returned value should be same for objects that is logically equal.toJavaObject(Timestamp value) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cayenne.access.types.ValueObjectTypeequals
- 
Constructor Details- 
LocalDateTimeValueTypepublic LocalDateTimeValueType()
 
- 
- 
Method Details- 
getTargetType- Specified by:
- getTargetTypein interface- ValueObjectType<LocalDateTime,- Timestamp> 
- Returns:
- base type used to serialize V objects to.
 
- 
getValueType- Specified by:
- getValueTypein interface- ValueObjectType<LocalDateTime,- Timestamp> 
- Returns:
- type of Objects described by this ValueObjectType.
 
- 
toJavaObject- Specified by:
- toJavaObjectin interface- ValueObjectType<LocalDateTime,- Timestamp> 
- Parameters:
- value- of type T
- Returns:
- java object
 
- 
fromJavaObject- Specified by:
- fromJavaObjectin interface- ValueObjectType<LocalDateTime,- Timestamp> 
- Parameters:
- object- java object
- Returns:
- value of type T
 
- 
toCacheKeyDescription copied from interface:ValueObjectTypeReturned value should be same for objects that is logically equal.- Specified by:
- toCacheKeyin interface- ValueObjectType<LocalDateTime,- Timestamp> 
- Returns:
- String representation usable for cache.
 
 
-