com.amazonaws.services.dynamodb.datamodeling
Interface DynamoDBMarshaller<T>

All Known Implementing Classes:
JsonMarshaller

public interface DynamoDBMarshaller<T>

Marshaller interface for storing complex types in DynamoDB as Strings. Implementors provide methods to transform instances of a class to and from Strings.


Method Summary
 String marshall(T getterReturnResult)
          Turns an object of type T into its String representation.
 T unmarshall(Class<T> clazz, String obj)
          Turns a String representation of an object of type T into an object.
 

Method Detail

marshall

String marshall(T getterReturnResult)
Turns an object of type T into its String representation.


unmarshall

T unmarshall(Class<T> clazz,
             String obj)
Turns a String representation of an object of type T into an object.



Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.