Class UUIDValueType
java.lang.Object
org.apache.cayenne.access.types.UUIDValueType
- All Implemented Interfaces:
ValueObjectType<UUID,String>
@Deprecated(since="5.0",
forRemoval=true)
public class UUIDValueType
extends Object
implements ValueObjectType<UUID,String>
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(UUID 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(UUID 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(String 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
-
UUIDValueType
public UUIDValueType()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<UUID,String> - 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<UUID,String> - 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<UUID,String> - 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<UUID,String> - 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<UUID,String> - Returns:
- String representation usable for cache.
-
UUIDType, which stores the value in a binary column when the mapped JDBC type is binary, instead of always converting it to a 36-char string.