V - type of user's custom object.T - type that custom object will be serialized to/from
should be backed by appropriate ExtendedType.public interface ValueObjectType<V,T>
ExtendedType.| Modifier and Type | Method and Description |
|---|---|
T |
fromJavaObject(V object) |
Class<T> |
getTargetType() |
Class<V> |
getValueType() |
String |
toCacheKey(V object)
Returned value should be same for objects that is logically equal.
|
V |
toJavaObject(T value) |
Copyright © 2001–2023 Apache Cayenne. All rights reserved.