Class UUIDUnmarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.UUIDUnmarshaller
-
- All Implemented Interfaces:
ArgumentUnmarshaller
public class UUIDUnmarshaller extends Object
An unmarshaller that unmarshals UUIDs as JavaUUID
objects.- Author:
- Sergei Egorov
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UUIDUnmarshaller
instance()
void
typeCheck(AttributeValue value, Method setter)
Asserts that the value given can be processed using the setter given.UUID
unmarshall(AttributeValue value)
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
-
-
-
Method Detail
-
instance
public static UUIDUnmarshaller instance()
-
unmarshall
public UUID unmarshall(AttributeValue value)
Description copied from interface:ArgumentUnmarshaller
Unmarshalls theAttributeValue
given into an instance of the appropriate type, as determined byDynamoDBReflector
andDynamoDBMapper
-
typeCheck
public void typeCheck(AttributeValue value, Method setter)
Description copied from interface:ArgumentUnmarshaller
Asserts that the value given can be processed using the setter given.- Specified by:
typeCheck
in interfaceArgumentUnmarshaller
-
-